Bug#1097427: nabi: ftbfs with GCC-15
Package: src:nabi
Version: 1.0.1-2
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
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/nabi_1.0.1-2_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
[...]
checking for CFLocaleCopyCurrent... no
checking for libintl.h... (cached) yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... ko de
checking for default theme name... Jini
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating IMdkit/Makefile
config.status: creating src/Makefile
config.status: creating tables/Makefile
config.status: creating themes/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
make[1]: Leaving directory '/build/reproducible-path/nabi-1.0.1'
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/nabi-1.0.1'
dh_auto_build
make -j8
make[2]: Entering directory '/build/reproducible-path/nabi-1.0.1'
make all-recursive
make[3]: Entering directory '/build/reproducible-path/nabi-1.0.1'
Making all in IMdkit
make[4]: Entering directory '/build/reproducible-path/nabi-1.0.1/IMdkit'
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nabi-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libXimd_a-FrameMgr.o `test -f 'FrameMgr.c' || echo './'`FrameMgr.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nabi-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libXimd_a-IMConn.o `test -f 'IMConn.c' || echo './'`IMConn.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nabi-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libXimd_a-IMMethod.o `test -f 'IMMethod.c' || echo './'`IMMethod.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nabi-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libXimd_a-IMValues.o `test -f 'IMValues.c' || echo './'`IMValues.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nabi-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libXimd_a-i18nAttr.o `test -f 'i18nAttr.c' || echo './'`i18nAttr.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nabi-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libXimd_a-i18nClbk.o `test -f 'i18nClbk.c' || echo './'`i18nClbk.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nabi-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libXimd_a-i18nIMProto.o `test -f 'i18nIMProto.c' || echo './'`i18nIMProto.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nabi-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libXimd_a-i18nIc.o `test -f 'i18nIc.c' || echo './'`i18nIc.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nabi-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libXimd_a-i18nMethod.o `test -f 'i18nMethod.c' || echo './'`i18nMethod.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nabi-1.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libXimd_a-i18nPtHdr.o `test -f 'i18nPtHdr.c' || echo './'`i18nPtHdr.c
i18nMethod.c:84:28: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(struct _Xi18nCore *, TransportSW *, char *)’ [-Wincompatible-pointer-types]
84 | {"X", 1, _Xi18nCheckXAddress},
| ^~~~~~~~~~~~~~~~~~~
i18nMethod.c:84:28: note: (near initialization for ‘_TransR[0].checkAddr’)
i18nMethod.c:79:13: note: ‘_Xi18nCheckXAddress’ declared here
79 | extern Bool _Xi18nCheckXAddress (Xi18n, TransportSW *, char *);
| ^~~~~~~~~~~~~~~~~~~
i18nMethod.c: In function ‘CheckIMName’:
i18nMethod.c:480:17: error: too many arguments to function ‘_TransR[i].checkAddr’; expected 0, have 3
480 | if (_TransR[i].checkAddr (i18n_core,
| ^~~~~~~ ~~~~~~~~~
In file included from i18nMethod.c:41:
Xi18n.h:75:19: note: declared here
75 | Bool (*checkAddr) ();
| ^~~~~~~~~
make[4]: *** [Makefile:556: libXimd_a-i18nMethod.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/reproducible-path/nabi-1.0.1/IMdkit'
make[3]: *** [Makefile:464: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/nabi-1.0.1'
make[2]: *** [Makefile:384: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/nabi-1.0.1'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/nabi-1.0.1'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: