Bug#1120183: bloboats: FTBFS: src/window.cpp:74:9: error: 'gluOrtho2D' was not declared in this scope; did you mean 'glOrtho'?

Santiago Vila sanvila at debian.org
Thu Nov 6 11:58:32 GMT 2025


Package: src:bloboats
Version: 1.0.2+dfsg-5
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202511/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:bloboats, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
	make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f bloboats.dirs
rm -f src/*.o
rm -f src/models/*.o
rm -f bin/bloboats
rm -f *-stamp
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   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 '/<<PKGBUILDDIR>>'
dh_auto_build -- DATADIR=/usr/share/games/bloboats
	make -j2 INSTALL="install --strip-program=true" DATADIR=/usr/share/games/bloboats
make[2]: Entering directory '/<<PKGBUILDDIR>>'
echo "datadir /usr/share/games/bloboats" >bloboats.dirs
echo "privatedir ~/.bloboats" >>bloboats.dirs
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/main.o src/main.cpp
chmod 644 bloboats.dirs
echo "#define DEFAULT_CONFIGFILE \"//etc/bloboats.dirs\"" >src/compiling_settings.h
echo "#define SOUND 0" >> src/compiling_settings.h
echo "#define MUSIC 1" >> src/compiling_settings.h
echo "#define DEBUG 0" >> src/compiling_settings.h
touch config-stamp
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/vec.o src/vec.cpp
src/vec.cpp: In member function ‘void vec::display()’:
src/vec.cpp:62:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘vec*’ [-Wformat=]
   62 |         printf ("Vector at %s: x:%f y:%f\n", this, x, y);
      |                            ~^                ~~~~
      |                             |                |
      |                             char*            vec*
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/particle.o src/particle.cpp
src/main.cpp: In function ‘int main(int, char**)’:
src/main.cpp:200:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  200 |         SDL_Surface *icon = Graphics.LoadPicture( Path->data("images/icon.png") );
      |                                                              ^~~~~~~~~~~~~~~~~
src/main.cpp:224:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  224 |         Window.SetTitle("Bloboats", "Bloboats");
      |                         ^~~~~~~~~~
src/main.cpp:224:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  224 |         Window.SetTitle("Bloboats", "Bloboats");
      |                                     ^~~~~~~~~~
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/keyboard.o src/keyboard.cpp
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g `sdl-config --cflags` -o bin/bloboats -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/window.o src/window.cpp
src/window.cpp: In member function ‘SDL_Surface* window::OpenWindow(int, int, int, Uint32)’:
src/window.cpp:74:9: error: ‘gluOrtho2D’ was not declared in this scope; did you mean ‘glOrtho’?
   74 |         gluOrtho2D(0, width, 0, height);
      |         ^~~~~~~~~~
      |         glOrtho
make[2]: *** [<builtin>: src/window.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" DATADIR=/usr/share/games/bloboats returned exit code 2
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-games-devel mailing list