[Debian-med-packaging] Bug#1075138: libace-perl: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:32:17 BST 2024
Package: src:libace-perl
Version: 1.92-11
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[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/libace-perl_1.92-11_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
[...]
/usr/include/x86_64-linux-gnu/bits/unistd.h:99:10: warning: call to ‘__getwd_warn’ declared with attribute warning: please use getcwd instead, as getwd doesn't specify buffer size [-Wattribute-warning]
99 | return __getwd_warn (__buf);
| ^~~~~~~~~~~~~~~~~~~~
gcc -g -Wall -O2 -DACEDB4 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./wh -I/usr/include/tirpc -DLINUX -c -o randsubs.o randsubs.c
gcc -g -Wall -O2 -DACEDB4 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./wh -I/usr/include/tirpc -DLINUX -c -o call.o call.c
gcc -g -Wall -O2 -DACEDB4 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./wh -I/usr/include/tirpc -DLINUX -c -o menu.o menu.c
gcc -g -Wall -O2 -DACEDB4 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./wh -I/usr/include/tirpc -DLINUX -c -o dict.o dict.c
menu.c: In function ‘menuAddItem’:
menu.c:123:7: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
123 | { for (below = menu->items ;
| ^~~
menu.c:126:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
126 | if (!below)
| ^~
gcc -g -Wall -O2 -DACEDB4 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./wh -I/usr/include/tirpc -DLINUX -c -o helpsubs.o helpsubs.c
timesubs.c: In function ‘timeDiffMonths’:
timesubs.c:487:6: warning: ‘wantMonth1’ may be used uninitialized [-Wmaybe-uninitialized]
487 | if (!wantMonth1 || !wantMonth2)
| ^
timesubs.c:480:8: note: ‘wantMonth1’ was declared here
480 | BOOL wantMonth1, wantDay1, wantHours1, wantMins1, wantSecs1;
| ^~~~~~~~~~
gcc -g -Wall -O2 -DACEDB4 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./wh -I/usr/include/tirpc -DLINUX -c -o texthelp.o texthelp.c
texthelp.c: In function ‘printTextSection’:
texthelp.c:213:16: warning: variable ‘currentLink’ set but not used [-Wunused-but-set-variable]
213 | static char *currentLink ;
| ^~~~~~~~~~~
texthelp.c:210:5: warning: variable ‘MODE_HEADER’ set but not used [-Wunused-but-set-variable]
210 | MODE_HEADER=FALSE,
| ^~~~~~~~~~~
texthelp.c:209:5: warning: variable ‘MODE_HREF’ set but not used [-Wunused-but-set-variable]
209 | MODE_HREF=FALSE,
| ^~~~~~~~~
RPC.xs: In function ‘constant’:
RPC.xs:157:13: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch]
157 | return _ACECLIENT_;
| ^~~~~~
RPC.xs:24:1: note: declared here
24 | constant(name, arg)
| ^~~~~~~~
make[3]: *** [Makefile:327: RPC.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rpcgen -b -I -K -1 rpcace.x
helpsubs.c: In function ‘htmlPageCreateFromFile’:
helpsubs.c:450:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
450 | fread (page->htmlText, sizeof (char), fileSize, fil);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -Wall -O2 -DACEDB4 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./wh -I/usr/include/tirpc -DLINUX -c -fstack-protector-strong -L/usr/local/lib -c aceclientlib.c
gcc -g -Wall -O2 -DACEDB4 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./wh -I/usr/include/tirpc -DLINUX -c -o rpcace_clnt.o rpcace_clnt.c
gcc -g -Wall -O2 -DACEDB4 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./wh -I/usr/include/tirpc -DLINUX -c -o rpcace_xdr.o rpcace_xdr.c
rpcace_xdr.c: In function ‘xdr_ace_reponse’:
rpcace_xdr.c:94:27: warning: unused variable ‘buf’ [-Wunused-variable]
94 | register int32_t *buf;
| ^~~
aceclientlib.c: In function ‘wakeUp’:
aceclientlib.c:44:14: warning: variable ‘sig’ set but not used [-Wunused-but-set-variable]
44 | static int sig = 0 ;
| ^~~
ar rlu libaceperl.a freesubs.o freeout.o messubs.o memsubs.o arraysub.o liste.o filsubs.o heap.o timesubs.o bump.o randsubs.o call.o menu.o dict.o helpsubs.o texthelp.o aceclientlib.o rpcace_clnt.o rpcace_xdr.o
ar: creating libaceperl.a
if ( true ) then ranlib libaceperl.a; fi
make[4]: Leaving directory '/<<PKGBUILDDIR>>/acelib'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/RPC'
make[2]: *** [Makefile:687: subdirs] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" "OPTIMIZE=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" LD_RUN_PATH= "OTHERLDFLAGS=-Wl,-z,relro -Wl,-z,now" returned exit code 2
make[1]: *** [debian/rules:34: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list