[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/amiga-fdisk_0.04-17_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=user42
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-5b98e07f-4e7f-461b-80fd-440fad58df75
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package amiga-fdisk
dpkg-buildpackage: info: source version 0.04-17
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Christian T. Steigies <cts@debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-non-bf-stamp build-bf-stamp build-cross-stamp
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || /usr/bin/make clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f *.o *~ core amiga-fdisk
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules build
make: Nothing to be done for 'build'.
fakeroot debian/rules binary
dh_testdir
# Add here commands to compile the cross package.
/usr/bin/make clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f *.o *~ core amiga-fdisk
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/bin/make CFLAGS+="-DUSE_READLINE=yes -I./include"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -DUSE_READLINE=yes -I./include -Wdate-time -D_FORTIFY_SOURCE=2 -c -o amigastuff.o amigastuff.c
amigastuff.c: In function ‘get_block’:
amigastuff.c:69:7: error: type of ‘block’ defaults to ‘int’ [-Wimplicit-int]
69 | char *get_block(block)
| ^~~~~~~~~
amigastuff.c:84:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
84 | if (get_dev)
| ^~
amigastuff.c:86:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
86 | return NULL;
| ^~~~~~
amigastuff.c: In function ‘rigiddisk_reorg’:
amigastuff.c:858:20: warning: pointer targets in assignment from ‘LONG *’ {aka ‘long int *’} to ‘ULONG *’ {aka ‘long unsigned int *’} differ in signedness [-Wpointer-sign]
858 | crk=&(FSHB(curr)->fhb_SegListBlocks);
| ^
make[1]: *** [<builtin>: amigastuff.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:56: build-cross-stamp] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2