[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/bogl_0.1.18-22_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
[...]
Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package bogl
dpkg-buildpackage: info: source version 0.1.18-22
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Samuel Thibault <sthibault@debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/reproducible-path/bogl-0.1.18'
rm -fr build build-udeb
/usr/bin/make clean
make[2]: Entering directory '/build/reproducible-path/bogl-0.1.18'
rm -rf reduce-font bterm bdftobogl pngtobogl *.o helvB10.c helvB12.c helvR10.c timBI18.c tux75.c *-test lang.h tmp.*.c bowl-boxes libbogl.a unifont-reduced.bgf unifont-reduced.bdf boglinfo
rm -f bogl.lo bogl-font.lo bogl-cfb.lo bogl-pcfb.lo bogl-tcfb.lo bogl-vga16.lo arrow.lo boml.lo bowl.lo symbol.lo helvB10.lo helvB12.lo helvR10.lo timBI18.lo tux75.lo bowl-boxes.lo libbogl.so.0.1
rm -f .depend
make[2]: Leaving directory '/build/reproducible-path/bogl-0.1.18'
make[1]: Leaving directory '/build/reproducible-path/bogl-0.1.18'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/bogl-0.1.18'
mkdir -p build-udeb
(cd build-udeb ; ln -sf ../* .)
rm -f build-udeb/Makefile
sed -e 's/-O2/-Os/' < Makefile > build-udeb/Makefile
/usr/bin/make -C build-udeb depend
make[2]: Entering directory '/build/reproducible-path/bogl-0.1.18/build-udeb'
cc -E -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bogl-0.1.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -DBOGL_CFB_FB=1 -DBOGL_VGA16_FB=1 -Wdate-time -D_FORTIFY_SOURCE=2 -M arrow.c bdftobogl.c bogl-cfb.c bogl-cfb.h bogl-cfb8.c bogl-cfb8.h bogl-font.c bogl-font.h bogl-test.c bogl.h boglP.h boml.c boml.h bowl.c bowl.h boglinfo.c pngtobogl.c bogl-pcfb.c bogl-pcfb.h bogl-tcfb.c bogl-tcfb.h bowl-boxes.c bogl.c bogl-vga16.c bogl-vga16.h > .depend
make[2]: Leaving directory '/build/reproducible-path/bogl-0.1.18/build-udeb'
/usr/bin/make -C build-udeb CC=x86_64-linux-gnu-gcc
make[2]: Entering directory '/build/reproducible-path/bogl-0.1.18/build-udeb'
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bogl-0.1.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -DBOGL_CFB_FB=1 -DBOGL_VGA16_FB=1 -Wdate-time -D_FORTIFY_SOURCE=2 -o bogl.lo -fPIC -c bogl.c
bogl.c: In function ‘init_fb’:
bogl.c:242:14: error: too many arguments to function ‘bogl_vga16_init’; expected 0, have 1
242 | return bogl_vga16_init (fb);
| ^~~~~~~~~~~~~~~ ~~
In file included from bogl.c:52:
bogl-vga16.h:24:8: note: declared here
24 | size_t bogl_vga16_init ();
| ^~~~~~~~~~~~~~~
bogl.c:256:18: error: too many arguments to function ‘bogl_pcfb_init’; expected 0, have 2
256 | return bogl_pcfb_init (fb, bogl_bpp);
| ^~~~~~~~~~~~~~ ~~
In file included from bogl.c:55:
bogl-pcfb.h:24:8: note: declared here
24 | size_t bogl_pcfb_init ();
| ^~~~~~~~~~~~~~
bogl.c:262:18: error: too many arguments to function ‘bogl_tcfb_init’; expected 0, have 2
262 | return bogl_tcfb_init (fb, bogl_bpp);
| ^~~~~~~~~~~~~~ ~~
In file included from bogl.c:56:
bogl-tcfb.h:24:8: note: declared here
24 | size_t bogl_tcfb_init ();
| ^~~~~~~~~~~~~~
bogl.c: In function ‘bogl_fail’:
bogl.c:659:3: warning: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
659 | vasprintf (&error, format, args);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:53: bogl.lo] Error 1
make[2]: Leaving directory '/build/reproducible-path/bogl-0.1.18/build-udeb'
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/bogl-0.1.18'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2