Package: src:xshogi Version: 1.4.2-3 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build. Below you will find how the build ends (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202509/ 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 could not 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:xshogi, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_clean rm -f xshogi.png make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf configure.ac:11: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.ac:11: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:11: the top level configure.ac:20: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from... configure.ac:20: the top level configure.ac:46: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:46: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:46: the top level configure.ac:50: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:50: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:50: the top level configure.ac:60: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:60: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:60: the top level configure.ac:72: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:72: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:72: the top level configure.ac:74: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.ac:74: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.ac:74: the top level configure.ac:73: installing './config.guess' configure.ac:73: installing './config.sub' debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_configure -- --bindir=/usr/games ./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 --bindir=/usr/games 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 configure: C compiler 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 configure: yacc/bison, lex/flex, and install checking for bison... bison -y checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... no checking whether yytext is a pointer... yes configure: X 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 configure: header files 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 vfork.h... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes configure: typedefs checking for an ANSI C-conforming const... yes checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h configure: compiler characteristics checking size of long... 8 configure: library functions checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for dup2... yes checking for gethostname... yes checking for gettimeofday... yes checking for strcasecmp... yes checking for strchr... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_build make -j2 make[2]: Entering directory '/<<PKGBUILDDIR>>' /bin/bash ./ylwrap parser.y y.tab.c parser.c y.tab.h `echo parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output parser.output -- bison -y -d /<<PKGBUILDDIR>>/parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr] /<<PKGBUILDDIR>>/parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples updating parser.h make all-am make[3]: Entering directory '/<<PKGBUILDDIR>>' gcc -DHAVE_CONFIG_H -I. -DFIRST_SHOGI_PROGRAM=\"gnushogi\" -DSECOND_SHOGI_PROGRAM=\"gnushogi\" -DFIRST_HOST=\"localhost\" -DSECOND_HOST=\"localhost\" -Wdate-time -D_FORTIFY_SOURCE=2 -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xshogi-xshogi.o `test -f 'xshogi.c' || echo './'`xshogi.c gcc -DHAVE_CONFIG_H -I. -DFIRST_SHOGI_PROGRAM=\"gnushogi\" -DSECOND_SHOGI_PROGRAM=\"gnushogi\" -DFIRST_HOST=\"localhost\" -DSECOND_HOST=\"localhost\" -Wdate-time -D_FORTIFY_SOURCE=2 -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xshogi-parser.o `test -f 'parser.c' || echo './'`parser.c parser.c: In function âyyparseâ: parser.c:1459:7: error: too many arguments to function âyyerrorâ; expected 0, have 1 1459 | yyerror (YY_("syntax error")); | ^~~~~~~ parser.y:76:13: note: declared here 76 | static void yyerror(); | ^~~~~~~ parser.c:1570:3: error: too many arguments to function âyyerrorâ; expected 0, have 1 1570 | yyerror (YY_("memory exhausted")); | ^~~~~~~ parser.y:76:13: note: declared here 76 | static void yyerror(); | ^~~~~~~ parser.y: At top level: parser.y:206:13: error: conflicting types for âyyerrorâ; have âvoid(char *)â 206 | static void yyerror(char *errmsg) | ^~~~~~~ parser.y:76:13: note: previous declaration of âyyerrorâ with type âvoid(void)â 76 | static void yyerror(); | ^~~~~~~ parser.y:76:13: warning: âyyerrorâ used but never defined parser.y:206:13: warning: âyyerrorâ defined but not used [-Wunused-function] 206 | static void yyerror(char *errmsg) | ^~~~~~~ make[3]: *** [Makefile:783: xshogi-parser.o] Error 1 make[3]: *** Waiting for unfinished jobs.... xshogi.c: In function âCreatePlayerWindowâ: xshogi.c:1674:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1674 | (XtPointer)fromRemotePlayer); | ^ xshogi.c:1704:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1704 | (XtPointer)(player == &remotePlayer)); | ^ xshogi.c: In function âDrawSquareâ: xshogi.c:2820:9: warning: variable âsquare_colorâ set but not used [-Wunused-but-set-variable] 2820 | int square_color, x, y, direction, font_ascent, font_descent; | ^~~~~~~~~~~~ xshogi.c: In function âHandleMachineMoveâ: xshogi.c:3952:11: warning: variable âmprâ set but not used [-Wunused-but-set-variable] 3952 | char *mpr; | ^~~ xshogi.c: In function âReadGameFileProcâ: xshogi.c:4352:15: warning: variable âmove_typeâ set but not used [-Wunused-but-set-variable] 4352 | ShogiMove move_type; | ^~~~~~~~~ xshogi.c: In function âApplyMoveâ: xshogi.c:4426:10: warning: variable âpieceCharâ set but not used [-Wunused-but-set-variable] 4426 | char pieceChar; | ^~~~~~~~~ xshogi.c: In function âSelectCommandâ: xshogi.c:5114:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5114 | Cardinal fromRemotePlayer = (Cardinal)client_data; | ^ xshogi.c: At top level: xshogi.c:5687:20: warning: argument 1 of type âint (*)[8]â declared as a pointer [-Warray-parameter=] 5687 | ClearCatches(int (*catches)[8]) | ~~~~~~^~~~~~~~~~~ In file included from xshogi.c:101: xshogifn.h:92:27: note: previously declared as an array âint[2][8]â 92 | void ClearCatches(Catched to); | ~~~~~~~~^~ xshogi.c: In function âSaveGameProcâ: xshogi.c:6207:10: warning: variable âdefâ set but not used [-Wunused-but-set-variable] 6207 | char def[MSG_SIZ]; | ^~~ xshogi.c: In function âSavePositionProcâ: xshogi.c:6579:10: warning: variable âdefâ set but not used [-Wunused-but-set-variable] 6579 | char def[MSG_SIZ]; | ^~~ xshogi.c: In function âReadGameFileProcâ: xshogi.c:4375:5: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] 4375 | fgets(move, MSG_SIZ, gameFileFP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xshogi.c: In function âInitShogiProgramâ: xshogi.c:4577:5: warning: ignoring return value of âpipeâ declared with attribute âwarn_unused_resultâ [-Wunused-result] 4577 | pipe(to_prog); | ^~~~~~~~~~~~~ xshogi.c:4578:5: warning: ignoring return value of âpipeâ declared with attribute âwarn_unused_resultâ [-Wunused-result] 4578 | pipe(from_prog); | ^~~~~~~~~~~~~~~ xshogi.c: In function âLoadPositionâ: xshogi.c:5925:5: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] 5925 | fgets(line, MSG_SIZ, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~ xshogi.c:5937:5: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] 5937 | fgets(line, MSG_SIZ, fp); /* skip opponents */ | ^~~~~~~~~~~~~~~~~~~~~~~~ xshogi.c:5941:9: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] 5941 | fgets(line, MSG_SIZ, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~ xshogi.c:5963:13: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] 5963 | fscanf(fp, "%i%i%i%i%i%i%i%i\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5964 | &initial_catches[color][pawn], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5965 | &initial_catches[color][lance], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5966 | &initial_catches[color][knight], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5967 | &initial_catches[color][silver], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5968 | &initial_catches[color][gold], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5969 | &initial_catches[color][bishop], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5970 | &initial_catches[color][rook], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5971 | &initial_catches[color][king]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xshogi.c:5979:9: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] 5979 | fgets(line, MSG_SIZ, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~ xshogi.c: In function âMakeMoveâ: xshogi.c:4528:33: warning: â%sâ directive writing up to 255 bytes into a region of size between 239 and 253 [-Wformat-overflow=] 4528 | sprintf(message, "%d. %s%s", | ^~ ...... 4531 | movestr); | ~~~~~~~ In file included from /usr/include/stdio.h:970, from sysdeps.h:67, from xshogi.c:70: In function âsprintfâ, inlined from âMakeMoveâ at xshogi.c:4528:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output between 4 and 273 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ xshogi.c: In function âHandleMachineMoveâ: xshogi.c:4088:30: warning: â%sâ directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=] 4088 | sprintf(buf2, "Hint: %s", buf1); | ^~ ~~~~ In function âsprintfâ, inlined from âHandleMachineMoveâ at xshogi.c:4088:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output between 7 and 262 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ xshogi.c: In function âInitShogiProgramâ: xshogi.c:4600:33: warning: â__builtin___sprintf_chkâ may write a terminating nul past the end of the destination [-Wformat-overflow=] 4600 | sprintf(arg_buf, "%d", localPlayer.appData.searchDepth); | ^ In function âsprintfâ, inlined from âInitShogiProgramâ at xshogi.c:4600:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output between 2 and 11 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/<<PKGBUILDDIR>>' make[2]: *** [Makefile:632: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j2 returned exit code 2 make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:8: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

