[Debian-astro-maintainers] Bug#1120174: gravit: FTBFS: src/gravit.h:168:147: error: implicit declaration of function 'gluErrorString' [-Wimplicit-function-declaration]
Santiago Vila
sanvila at debian.org
Thu Nov 6 11:58:56 GMT 2025
Package: src:gravit
Version: 0.5.1+dfsg-6
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:gravit, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:37: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.in:37: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.in:37: the top level
configure.in:43: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from...
configure.in:43: the top level
configure.in:52: warning: The macro 'AC_LANG_C' is obsolete.
configure.in:52: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
configure.in:52: the top level
configure.in:70: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:70: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:70: the top level
configure.in:110: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:110: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.in:110: the top level
configure.in:112: warning: The macro 'AC_HEADER_TIME' is obsolete.
configure.in:112: You should run autoupdate.
./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from...
configure.in:112: the top level
configure.in:144: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.in:144: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude/ax_func_posix_memalign.m4:27: AX_FUNC_POSIX_MEMALIGN is expanded from...
configure.in:144: the top level
configure.in:171: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.in:171: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
acinclude/sdl.m4:11: AM_PATH_SDL is expanded from...
configure.in:171: the top level
configure.in:171: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:171: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
acinclude/sdl.m4:11: AM_PATH_SDL is expanded from...
configure.in:171: the top level
configure.in:208: warning: The macro 'ac_cv_prog_gcc' is obsolete.
configure.in:208: You should run autoupdate.
./lib/autoconf/c.m4:448: ac_cv_prog_gcc is expanded from...
configure.in:208: the top level
configure.in:227: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:227: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.in:227: the top level
configure.in:246: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:246: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:246: the top level
configure.in:315: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:315: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:315: the top level
configure.in:342: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:342: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:342: the top level
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:43: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:43: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:51: installing './compile'
configure.in:40: installing './config.guess'
configure.in:40: installing './config.sub'
configure.in:43: installing './install-sh'
configure.in:43: installing './missing'
Makefile.am:20: warning: source file 'src/color.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However, this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibility.
Makefile.am:20: warning: source file 'src/command.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/config.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/console.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/font.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/fps.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/frame-ot.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/frame-pp.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/frame-pp_sse.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/frame.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/gfx.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/input.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/main.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/osd.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/spawn.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/texture.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/timer.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/tool.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:20: warning: source file 'src/png_save.c' is in a subdirectory,
Makefile.am:20: but option 'subdir-objects' is disabled
Makefile.am:32: warning: source file 'src/lua.c' is in a subdirectory,
Makefile.am:32: but option 'subdir-objects' is disabled
Makefile.am: installing './depcomp'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -with-sse
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking -with-sse
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether UID '999' is supported by ustar format... yes
checking whether GID '999' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking whether make sets $(MAKE)... (cached) yes
checking for C compiler vendor... gnu
checking for gcc option to support OpenMP... -fopenmp
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for omp.h... yes
checking whether C compiler accepts -Ofast... yes
checking whether C compiler accepts -fomit-frame-pointer... yes
checking whether C compiler accepts -ffast-math... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/timeb.h... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict__
checking for size_t... yes
checking for mode_t... yes
checking for off_t... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pow in -lm... yes
checking whether closedir returns void... no
checking for GNU libc compatible malloc... yes
checking for GNU libc compatible realloc... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for atexit... yes
checking for floor... yes
checking for ftime... yes
checking for memset... yes
checking for mkdir... yes
checking for pow... yes
checking for select... yes
checking for sqrt... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for intrin.h... no
checking for x86intrin.h... yes
checking for xmmintrin.h... yes
checking for malloc.h... yes
checking for memory.h... yes
checking for memalign... yes
checking for _mm_malloc... no
checking for _mm_free... no
checking for _aligned_malloc... no
checking for __mingw_aligned_malloc... no
checking for working posix_memalign... yes
checking for windres... no
checking for linux-gnu-windres... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SDL... yes
checking for IMG_Load in -lSDL_image... yes
checking for TTF_Init in -lSDL_ttf... yes
checking for GL... yes
checking for GLU... yes
checking if lua support is requested... yes
checking for lua-config... no
checking for pkg-config lua... lua5.1
checking for LUA... yes
checking for LIBPNG... yes
checking if agar support is requested... yes
checking for agar-config... no
checking for AG_DestroyGUI in -lag_gui... no
checking for agar/core.h... no
configure: WARNING: *** Unable to find AGAR library (http://www.libagar.org)
configure: WARNING: new GUI disabled
checking for dlerror in -ldl... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DHAVE_CONFIG_H -I. -I./src -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fopenmp -msse -Ofast -fomit-frame-pointer -ffast-math -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -c -o color.o `test -f 'src/color.c' || echo './'`src/color.c
gcc -DHAVE_CONFIG_H -I. -I./src -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fopenmp -msse -Ofast -fomit-frame-pointer -ffast-math -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -c -o command.o `test -f 'src/command.c' || echo './'`src/command.c
gcc -DHAVE_CONFIG_H -I. -I./src -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fopenmp -msse -Ofast -fomit-frame-pointer -ffast-math -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -c -o config.o `test -f 'src/config.c' || echo './'`src/config.c
gcc -DHAVE_CONFIG_H -I. -I./src -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fopenmp -msse -Ofast -fomit-frame-pointer -ffast-math -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -c -o console.o `test -f 'src/console.c' || echo './'`src/console.c
gcc -DHAVE_CONFIG_H -I. -I./src -DSYSCONFDIR=\"/etc/gravit/\" -DDATA_DIR=\"/usr/share/gravit/\" -I/usr/include/lua5.1 -DWITHOUT_AGAR -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fopenmp -msse -Ofast -fomit-frame-pointer -ffast-math -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -c -o font.o `test -f 'src/font.c' || echo './'`src/font.c
In file included from src/font.c:22:
src/font.c: In function âloadFontsâ:
src/gravit.h:168:147: error: implicit declaration of function âgluErrorStringâ [-Wimplicit-function-declaration]
168 | #define glCheck() { GLenum er; while ((er = glGetError()) != GL_NO_ERROR) { conAdd(LERR, "glError: %s:%i %i %s", __FILE__, __LINE__, (int)er, gluErrorString(er)); } }
| ^~~~~~~~~~~~~~
src/font.c:144:9: note: in expansion of macro âglCheckâ
144 | glCheck();
| ^~~~~~~
make[1]: *** [Makefile:620: font.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Debian-astro-maintainers
mailing list