Bug#1133496: hamlib: ftbfs with GCC-16

Emanuele Rocca <[email protected]>
Newsgroups gmane.linux.debian.devel.ham
Message-ID <[email protected]>
Package: src:hamlib
Version: 4.6.5-5
Severity: important
Tags: sid forky ftbfs
User: [email protected]
Usertags: ftbfs-gcc-16

Hi,

hamlib fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/hamlib_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


if [ ! -z "build-3.13/bindings/hamliblua_wrap.lo" ]; then\
	echo Installing /build/reproducible-path/hamlib-4.6.5/5.4-hamlib/lua-hamlib.h;\
	mkdir -p debian/tmp/usr//include/lua5.4;\
	libtool --tag=CC --mode=install install -m 0644 \
		/build/reproducible-path/hamlib-4.6.5/5.4-hamlib/lua-hamlib.h /build/reproducible-path/hamlib-4.6.5/debian/tmp/usr//include/lua5.4/;\
fi
Installing /build/reproducible-path/hamlib-4.6.5/5.4-hamlib/lua-hamlib.h
libtool: install: install -m 0644 /build/reproducible-path/hamlib-4.6.5/5.4-hamlib/lua-hamlib.h /build/reproducible-path/hamlib-4.6.5/debian/tmp/usr//include/lua5.4/lua-hamlib.h
Target install made

make[2]: Leaving directory '/build/reproducible-path/hamlib-4.6.5'
make[1]: Leaving directory '/build/reproducible-path/hamlib-4.6.5'
   debian/rules override_dh_auto_install-indep
make[1]: Entering directory '/build/reproducible-path/hamlib-4.6.5'
py3versions: no X-Python3-Version in control file, using supported versions
mkdir -p /build/reproducible-path/hamlib-4.6.5/debian/tmp/usr/share/doc/hamlib
cp -r /build/reproducible-path/hamlib-4.6.5/build-indep/doc/html \
	/build/reproducible-path/hamlib-4.6.5/debian/tmp/usr/share/doc/hamlib/
make[1]: Leaving directory '/build/reproducible-path/hamlib-4.6.5'
   debian/rules override_dh_install
make[1]: Entering directory '/build/reproducible-path/hamlib-4.6.5'
py3versions: no X-Python3-Version in control file, using supported versions
# Remove unneeded files
rm -fv debian/tmp/usr/share/doc/hamlib/ChangeLog
removed 'debian/tmp/usr/share/doc/hamlib/ChangeLog'
rm -fv debian/tmp/usr/share/doc/hamlib/COPYING*
removed 'debian/tmp/usr/share/doc/hamlib/COPYING'
removed 'debian/tmp/usr/share/doc/hamlib/COPYING.LIB'
rm -fv debian/tmp/usr/share/doc/hamlib/LICENSE
removed 'debian/tmp/usr/share/doc/hamlib/LICENSE'
rm -fv debian/tmp/usr/share/doc/hamlib/README*
removed 'debian/tmp/usr/share/doc/hamlib/README.betatester'
removed 'debian/tmp/usr/share/doc/hamlib/README.developer'
removed 'debian/tmp/usr/share/doc/hamlib/README.md'
rm -fv debian/tmp/usr/include/lua*/lua-hamlib.h
removed 'debian/tmp/usr/include/lua5.3/lua-hamlib.h'
removed 'debian/tmp/usr/include/lua5.4/lua-hamlib.h'
rm -fv debian/tmp/usr/lib/lua/*/Hamliblua.a
removed 'debian/tmp/usr/lib/lua/5.3/Hamliblua.a'
rm -fv debian/tmp/usr/lib/lua/*/Hamliblua.so
removed 'debian/tmp/usr/lib/lua/5.3/Hamliblua.so'
rm -fv debian/tmp/usr/lib/python*/site-packages/_Hamlib.a
removed 'debian/tmp/usr/lib/python3.13/site-packages/_Hamlib.a'
removed 'debian/tmp/usr/lib/python3.14/site-packages/_Hamlib.a'
rm -fv debian/tmp/usr/lib/*/*.a
removed 'debian/tmp/usr/lib/aarch64-linux-gnu/libhamlib.a'
removed 'debian/tmp/usr/lib/aarch64-linux-gnu/liblua5.3-hamlib.a'
removed 'debian/tmp/usr/lib/aarch64-linux-gnu/liblua5.4-hamlib.a'
rm -fv debian/tmp/usr/lib/*/*.la
removed 'debian/tmp/usr/lib/aarch64-linux-gnu/liblua5.3-hamlib.la'
removed 'debian/tmp/usr/lib/aarch64-linux-gnu/liblua5.4-hamlib.la'
rm -fv debian/tmp/usr/lib/*/liblua*-hamlib.so
removed 'debian/tmp/usr/lib/aarch64-linux-gnu/liblua5.3-hamlib.so'
removed 'debian/tmp/usr/lib/aarch64-linux-gnu/liblua5.4-hamlib.so'
rm -fv debian/tmp/usr/lib/*/pkgconfig/lua*-hamlib.pc
removed 'debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig/lua5.3-hamlib.pc'
removed 'debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig/lua5.4-hamlib.pc'
rm -fv debian/tmp/usr/lib/*/tcl*/Hamlib/hamlibtcl.a
removed 'debian/tmp/usr/lib/aarch64-linux-gnu/tcl8.6/Hamlib/hamlibtcl.a'
dh_install
dh_install: warning: Cannot find (any matches for) "usr/lib/*/libhamlib++.so.*" (tried in ., debian/tmp)

dh_install: warning: libhamlib++4t64 missing files: usr/lib/*/libhamlib++.so.*
dh_install: warning: Cannot find (any matches for) "debian/tmp/usr/lib/*/libhamlib++.so" (tried in ., debian/tmp)

dh_install: warning: libhamlib++-dev missing files: debian/tmp/usr/lib/*/libhamlib++.so
dh_install: error: missing files, aborting
make[1]: *** [debian/rules:113: override_dh_install] Error 255
make[1]: Leaving directory '/build/reproducible-path/hamlib-4.6.5'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.