Source: libtcod Version: 1.24.0+dfsg-1 Severity: important Tags: ftbfs forky sid upstream fixed-upstream Justification: fails to build from source User: [email protected] Usertags: glibc-2.42 Control: forwarded -1 https://github.com/libtcod/libtcod/commit/3ce9cd66aa57764c3f3676f5edd58f57f5e9b7dd
Dear maintainer, During a rebuild of all packages in unstable with glibc 2.42 from experimental, your package failed to build. Below you will find how the build ends. If required, the full build log is available here: https://people.debian.org/~aurel32/glibc-2.42/ Fortunately the issue has already been fixed upstream with the following commit: https://github.com/libtcod/libtcod/commit/3ce9cd66aa57764c3f3676f5edd58f57f5e9b7dd About the archive rebuild: The build was made on virtual machines from AWS, using sbuild, a reduced chroot with only build-essential packages and glibc 2.42 from experimental. Regards Aurelien -------------------------------------------------------------------------------- [...] libtool: compile: gcc -DPACKAGE_NAME=\"libtcod\" -DPACKAGE_TARNAME=\"libtcod\" -DPACKAGE_VERSION=\"1.24.0\" "-DPACKAGE_STRING=\"libtcod 1.24.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libtcod\" -DVERSION=\"1.24.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_MATH_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_CTYPE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_WCTYPE_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XATOM_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ERRNO_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_SEMAPHORE_H=1 -DHAVE_DLFCN_H=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_CXX17=1 -I. -I./../../src -I./../../src/vendor -I./../../src/vendor/utf8proc -fvisibility=hidden -DLIBTCOD_EXPORTS -DNDEBUG -O3 -Wall -Wextra -Wpedantic -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -I./../../src -I./../../src/vendor -I./../../src/vendor/utf8proc -fvisibility=hidden -DLIBTCOD_EXPORTS -DNDEBUG -O3 -Wall -Wextra -Wpedantic -I/usr/include/SDL2 -D_REENTRANT -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../src/libtcod/renderer_xterm.c -fPIC -DPIC -o ../../src/libtcod/.libs/libtcod_la-renderer_xterm.o libtool: compile: gcc -DPACKAGE_NAME=\"libtcod\" -DPACKAGE_TARNAME=\"libtcod\" -DPACKAGE_VERSION=\"1.24.0\" "-DPACKAGE_STRING=\"libtcod 1.24.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libtcod\" -DVERSION=\"1.24.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_MATH_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDARG_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_CTYPE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_WCTYPE_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_X11_XLIB_H=1 -DHAVE_X11_XATOM_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ERRNO_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_SEMAPHORE_H=1 -DHAVE_DLFCN_H=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_CXX17=1 -I. -I./../../src -I./../../src/vendor -I./../../src/vendor/utf8proc -fvisibility=hidden -DLIBTCOD_EXPORTS -DNDEBUG -O3 -Wall -Wextra -Wpedantic -I/usr/include/SDL2 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -I./../../src -I./../../src/vendor -I./../../src/vendor/utf8proc -fvisibility=hidden -DLIBTCOD_EXPORTS -DNDEBUG -O3 -Wall -Wextra -Wpedantic -I/usr/include/SDL2 -D_REENTRANT -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../../src/libtcod/renderer_sdl2.c -o ../../src/libtcod/libtcod_la-renderer_sdl2.o >/dev/null 2>&1 In file included from /usr/include/x86_64-linux-gnu/bits/termios.h:84, from /usr/include/termios.h:39, from ../../src/libtcod/renderer_xterm.c:45: ../../src/libtcod/renderer_xterm.c: In function 'ucs4_to_utf8': ../../src/libtcod/renderer_xterm.c:95:30: error: expected identifier or '(' before numeric constant 95 | static const unsigned char B10000000 = 128; | ^~~~~~~~~ ../../src/libtcod/renderer_xterm.c: In function 'xterm_handle_input': ../../src/libtcod/renderer_xterm.c:567:37: warning: unused parameter 'arg' [-Wunused-parameter] 567 | static int xterm_handle_input(void* arg) { | ~~~~~~^~~ ../../src/libtcod/renderer_xterm.c: In function 'xterm_on_window_change_signal': ../../src/libtcod/renderer_xterm.c:592:47: warning: unused parameter 'signum' [-Wunused-parameter] 592 | static void xterm_on_window_change_signal(int signum) { | ~~~~^~~~~~ ../../src/libtcod/renderer_xterm.c: In function 'xterm_on_hangup_signal': ../../src/libtcod/renderer_xterm.c:609:40: warning: unused parameter 'signum' [-Wunused-parameter] 609 | static void xterm_on_hangup_signal(int signum) { | ~~~~^~~~~~ ../../src/libtcod/renderer_xterm.c: In function 'TCOD_renderer_init_xterm': ../../src/libtcod/renderer_xterm.c:628:74: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 628 | struct TCOD_RendererXterm* data = context->contextdata_ = calloc(sizeof(*data), 1); | ^ ../../src/libtcod/renderer_xterm.c:628:74: note: earlier argument should specify number of elements, later size of each element make[1]: *** [Makefile:1587: ../../src/libtcod/libtcod_la-renderer_xterm.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/<<PKGBUILDDIR>>/buildsys/autotools' dh_auto_build: error: cd buildsys/autotools && make -j2 returned exit code 2 make: *** [debian/rules:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

