Bug#1098039: unifont: ftbfs with GCC-15
Package: src:unifont
Version: 1:15.1.01-1
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/unifont_15.1.01-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
[...]
make[3]: Entering directory '/build/reproducible-path/unifont-15.1.01/font/ttfsrc'
rm -f *.hex *.txt
rm -f *.sfd *.ttf
make[3]: Leaving directory '/build/reproducible-path/unifont-15.1.01/font/ttfsrc'
make -C otfsrc distclean
make[3]: Entering directory '/build/reproducible-path/unifont-15.1.01/font/otfsrc'
rm -f *.hex *.txt
rm -f *.otf
make[3]: Leaving directory '/build/reproducible-path/unifont-15.1.01/font/otfsrc'
rm -f *-stamp
rm -f *~
rm -rf .DS* ._.DS*
make[2]: Leaving directory '/build/reproducible-path/unifont-15.1.01/font'
\rm -rf bin lib
\rm -f unifonttemp.hex
\rm -rf *~
\rm -rf .DS* ._.DS*
make[1]: Leaving directory '/build/reproducible-path/unifont-15.1.01'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/build/reproducible-path/unifont-15.1.01'
dh_auto_build -- CFLAGS='-Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' \
LDFLAGS='-Wl,-z,relro -Wl,-z,now' bindir
make -j8 "INSTALL=install --strip-program=true" "CFLAGS=-Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now" bindir
make[2]: Entering directory '/build/reproducible-path/unifont-15.1.01'
set -e && make -C src
make[3]: Entering directory '/build/reproducible-path/unifont-15.1.01/src'
gcc -std=c99 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection hex2otf.c -o hex2otf
gcc -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o unihangul-support.o unihangul-support.c
gcc -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o johab2syllables.o johab2syllables.c
gcc -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now unibmp2hex.c -o unibmp2hex
gcc -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now unicoverage.c -o unicoverage
gcc -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now unidup.c -o unidup
gcc -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now unibdf2hex.c -o unibdf2hex
gcc -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now unibmpbump.c -o unibmpbump
unicoverage.c: In function ‘main’:
unicoverage.c:149:11: error: too many arguments to function ‘nextrange’; expected 0, have 4
149 | slen = nextrange (coveragefp, &cstart, &cend, coverstring);
| ^~~~~~~~~ ~~~~~~~~~~
unicoverage.c:83:8: note: declared here
83 | int nextrange(); /* to get next range & name of Unicode glyphs */
| ^~~~~~~~~
unicoverage.c:163:17: error: too many arguments to function ‘nextrange’; expected 0, have 4
163 | slen = nextrange (coveragefp, &cstart, &cend, coverstring);
| ^~~~~~~~~ ~~~~~~~~~~
unicoverage.c:83:8: note: declared here
83 | int nextrange(); /* to get next range & name of Unicode glyphs */
| ^~~~~~~~~
unicoverage.c: At top level:
unicoverage.c:187:1: error: conflicting types for ‘nextrange’; have ‘int(FILE *, int *, int *, char *)’
187 | nextrange (FILE *coveragefp,
| ^~~~~~~~~
unicoverage.c:83:8: note: previous declaration of ‘nextrange’ with type ‘int(void)’
83 | int nextrange(); /* to get next range & name of Unicode glyphs */
| ^~~~~~~~~
make[3]: *** [<builtin>: unicoverage] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/unifont-15.1.01/src'
make[2]: *** [Makefile:80: bin] Error 2
make[2]: Leaving directory '/build/reproducible-path/unifont-15.1.01'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" "CFLAGS=-Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unifont-15.1.01=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now" bindir returned exit code 2
make[1]: *** [debian/rules:33: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/build/reproducible-path/unifont-15.1.01'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: