Bug#1098110: wnn6-sdk: ftbfs with GCC-15
Package: src:wnn6-sdk
Version: 1.0.0-21
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/wnn6-sdk_1.0.0-21_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
[...]
make[3]: Leaving directory '/build/reproducible-path/wnn6-sdk-1.0.0/contrib/im/Xsi'
make
make[3]: Entering directory '/build/reproducible-path/wnn6-sdk-1.0.0/contrib/im/Xsi'
making all in ./../contrib/im/Xsi/Wnn...
make[4]: Entering directory '/build/reproducible-path/wnn6-sdk-1.0.0/contrib/im/Xsi/Wnn'
making all in ./../contrib/im/Xsi/Wnn/romkan...
make[5]: Entering directory '/build/reproducible-path/wnn6-sdk-1.0.0/contrib/im/Xsi/Wnn/romkan'
rm -f rk_bltinfn.o unshared/rk_bltinfn.o
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/wnn6-sdk-1.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/build/reproducible-path/wnn6-sdk-1.0.0/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DFUNCPROTO=15 -DNARROWPROTO -DLIBDIR=\"/usr/local/lib/wnn6\" -DWNNDEFAULT -DJAPANESE -g -O2 -fno-strict-aliasing -g rk_bltinfn.c -o unshared/rk_bltinfn.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:28,
from /build/reproducible-path/wnn6-sdk-1.0.0/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include/commonhd.h:145,
from rk_bltinfn.c:146:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
rk_bltinfn.c: In function ‘romkan_set_lang_body’:
rk_bltinfn.c:174:1: warning: old-style function definition [-Wold-style-definition]
174 | romkan_set_lang_body(lang, cur_rk)
| ^~~~~~~~~~~~~~~~~~~~
rk_bltinfn.c: In function ‘romkan_set_lang’:
rk_bltinfn.c:183:1: warning: old-style function definition [-Wold-style-definition]
183 | romkan_set_lang(lang)
| ^~~~~~~~~~~~~~~
rk_bltinfn.c: In function ‘to_zenalpha’:
rk_bltinfn.c:195:1: warning: old-style function definition [-Wold-style-definition]
195 | to_zenalpha(l, cur_rk)
| ^~~~~~~~~~~
rk_bltinfn.c: In function ‘to_hankata’:
rk_bltinfn.c:283:1: warning: old-style function definition [-Wold-style-definition]
283 | to_hankata(in, outp)
| ^~~~~~~~~~
rk_bltinfn.c: In function ‘to_zenhira’:
rk_bltinfn.c:321:1: warning: old-style function definition [-Wold-style-definition]
321 | to_zenhira(l, cur_rk)
| ^~~~~~~~~~
rk_bltinfn.c: In function ‘to_zenkata’:
rk_bltinfn.c:356:1: warning: old-style function definition [-Wold-style-definition]
356 | to_zenkata(l, cur_rk)
| ^~~~~~~~~~
rk_bltinfn.c: In function ‘handakuadd’:
rk_bltinfn.c:385:1: warning: old-style function definition [-Wold-style-definition]
385 | handakuadd(in, outp)
| ^~~~~~~~~~
rk_bltinfn.c: In function ‘dakuadd’:
rk_bltinfn.c:400:1: warning: old-style function definition [-Wold-style-definition]
400 | dakuadd(in, outp)
| ^~~~~~~
rk_bltinfn.c: In function ‘to_digit’:
rk_bltinfn.c:437:1: warning: old-style function definition [-Wold-style-definition]
437 | to_digit(in, lbase, outp)
| ^~~~~~~~
rk_bltinfn.c:443:22: error: too many arguments to function ‘vtol’; expected 0, have 1
443 | *(*outp)++ = vtol(in % lbase);
| ^~~~ ~~~~~~~~~~
rk_bltinfn.c:440:20: note: declared here
440 | letter c, vtol();
| ^~~~
make[5]: *** [Makefile:1316: rk_bltinfn.o] Error 1
make[5]: Leaving directory '/build/reproducible-path/wnn6-sdk-1.0.0/contrib/im/Xsi/Wnn/romkan'
make[4]: *** [Makefile:1284: all] Error 2
make[4]: Leaving directory '/build/reproducible-path/wnn6-sdk-1.0.0/contrib/im/Xsi/Wnn'
make[3]: *** [Makefile:1282: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/wnn6-sdk-1.0.0/contrib/im/Xsi'
make[2]: *** [Makefile.ini:43: World] Error 2
make[2]: Leaving directory '/build/reproducible-path/wnn6-sdk-1.0.0/contrib/im/Xsi'
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/wnn6-sdk-1.0.0'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: