Package: src:libnjb; Maintainer for src:libnjb is Alessio Treglia <[email protected]>;
Reported by: Matthias Klose <[email protected]>
Date: Mon, 17 Feb 2025 17:33:24 UTC
Severity: important
Tags: forky, sid
Found in version libnjb/2.2.7~dfsg0-5.1
Reply or subscribe to this bug.
View this report as an mbox folder, status mbox, maintainer mbox
Report forwarded
to Alessio Treglia <[email protected]>
:
Bug#1097238
; Package src:libnjb
.
(Mon, 17 Feb 2025 17:33:25 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <[email protected]>
:
New Bug report received and forwarded. Copy sent to Alessio Treglia <[email protected]>
.
(Mon, 17 Feb 2025 17:33:25 GMT) (full text, mbox, link).
Message #5 received at [email protected] (full text, mbox, reply):
Package: src:libnjb Version: 2.2.7~dfsg0-5.1 Severity: important Tags: sid forky User: [email protected] Usertags: ftbfs-gcc-15 [This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The severity of this report will be raised before the forky release. The full build log can be found at: http://qa-logs.debian.net/2025/02/16/amd64exp/libnjb_2.2.7~dfsg0-5.1_unstable_gccexp.log.gz The last lines of the build log are at the end of this report. To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS. Other 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-15/porting_to.html [...] | ~~~^ | | | unsigned int | %04lx protocol3.c:2688:43: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ssize_t' {aka 'long int'} [-Wformat=] 2688 | printf("Parsing this buffer, 0x%x bytes:\n", bread); | ~^ ~~~~~ | | | | unsigned int ssize_t {aka long int} | %lx protocol3.c:2526:9: warning: unused variable 'success' [-Wunused-variable] 2526 | int success; | ^~~~~~~ protocol3.c: In function 'create_playlistid': protocol3.c:2757:12: warning: old-style function definition [-Wold-style-definition] 2757 | static int create_playlistid(postid, target) | ^~~~~~~~~~~~~~~~~ protocol3.c: In function 'add_to_playlistid': protocol3.c:2773:12: warning: old-style function definition [-Wold-style-definition] 2773 | static int add_to_playlistid(frameid, framelen, data, target) | ^~~~~~~~~~~~~~~~~ protocol3.c: In function 'terminate_playlistid': protocol3.c:2797:12: warning: old-style function definition [-Wold-style-definition] 2797 | static int terminate_playlistid(njb, target) | ^~~~~~~~~~~~~~~~~~~~ protocol3.c: In function 'create_datafile': protocol3.c:2943:12: warning: old-style function definition [-Wold-style-definition] 2943 | static int create_datafile(postid, target) | ^~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/libnjb-2.2.7~dfsg0=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wmissing-prototypes -c njbtime.c -o njbtime.o >/dev/null 2>&1 protocol3.c: In function 'add_to_datafile': protocol3.c:2958:12: warning: old-style function definition [-Wold-style-definition] 2958 | static int add_to_datafile(frameid, framelen, data, target) | ^~~~~~~~~~~~~~~ protocol3.c: In function 'terminate_datafile': protocol3.c:3003:12: warning: old-style function definition [-Wold-style-definition] 3003 | static int terminate_datafile(njb, target) | ^~~~~~~~~~~~~~~~~~ protocol3.c: In function 'create_key': protocol3.c:3106:12: warning: old-style function definition [-Wold-style-definition] 3106 | static int create_key(postid, target) | ^~~~~~~~~~ protocol3.c: In function 'add_to_key': protocol3.c:3120:12: warning: old-style function definition [-Wold-style-definition] 3120 | static int add_to_key(frameid, framelen, data, target) | ^~~~~~~~~~ protocol3.c: In function 'terminate_key': protocol3.c:3140:12: warning: old-style function definition [-Wold-style-definition] 3140 | static int terminate_key(njb, target) | ^~~~~~~~~~~~~ protocol3.c: In function 'njb3_read_keys': protocol3.c:3185:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] 3185 | int result; | ^~~~~~ make[4]: *** [Makefile:507: protocol3.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/libnjb-2.2.7~dfsg0=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wmissing-prototypes -c unicode.c -o unicode.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/libnjb-2.2.7~dfsg0=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wmissing-prototypes -c songid.c -o songid.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/libnjb-2.2.7~dfsg0=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wmissing-prototypes -c protocol.c -o protocol.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/build/reproducible-path/libnjb-2.2.7~dfsg0=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wmissing-prototypes -c procedure.c -o procedure.o >/dev/null 2>&1 make[4]: Leaving directory '/build/reproducible-path/libnjb-2.2.7~dfsg0/src' make[3]: *** [Makefile:502: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/libnjb-2.2.7~dfsg0' make[2]: *** [Makefile:386: all] Error 2 make[2]: Leaving directory '/build/reproducible-path/libnjb-2.2.7~dfsg0' dh_auto_build: error: make -j8 returned exit code 2 make[1]: *** [debian/rules:11: override_dh_auto_build] Error 255 make[1]: Leaving directory '/build/reproducible-path/libnjb-2.2.7~dfsg0' make: *** [debian/rules:4: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Send a report that this bug log contains spam.
Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.