Package: src:lookup Version: 1.08b-15 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/202512/ 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:lookup, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh_testdir dh_testroot rm -f build-stamp rm -f lookup.man # Add here commands to clean up after the build process. /usr/bin/make clean make[1]: Entering directory '/<<PKGBUILDDIR>>' /bin/rm -f .*~ *~ */*~ core a.out man.tmp doc/*.bak /bin/rm -f \#* *.o *.d doc/#* jefflib.a lib/system.h make[1]: Leaving directory '/<<PKGBUILDDIR>>' rm -f lookup dh_clean debian/rules binary dh_testdir # Add here commands to compile the package. dh_auto_build CFLAGS="-Wall -g -DUSE_VSNPRINTF -O3" make -j2 make[1]: Entering directory '/<<PKGBUILDDIR>>' gcc -c -o virtfile.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/virtfile.c gcc -c -o euc.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/euc.c gcc -c -o fuzzkana.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/fuzzkana.c /bin/rm -f lib/system.h echo '/* this file generated by Makefile */' > tmp; echo '#ifndef __SYSTEM_H__ /*file wrapper*/' >> tmp; echo '#define __SYSTEM_H__' >> tmp; if echo '#include <strings.h>' | gcc -E - >/dev/null 2>&1; then\ echo '#define _HAVE_STRINGS_H_' >> tmp; \ else true; fi if echo '#include <sys/termio.h>' | gcc -E - >/dev/null 2>&1; then\ echo '#define _HAVE_SYS_TERMIO_H_' >> tmp; \ else true; fi if echo '#include <termio.h>' | gcc -E - >/dev/null 2>&1; then\ echo '#define _HAVE_TERMIO_H_' >> tmp; \ else true; fi gcc -c -o input.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/input.c if echo '#include <sys/stdtypes.h>' | gcc -E - >/dev/null 2>&1; then\ echo '#define _HAVE_SYS_STDTYPES_H_' >> tmp; \ else true; fi if echo '#include <sys/fcntl.h>' | gcc -E - >/dev/null 2>&1; then\ echo '#define _HAVE_SYS_FCNTL_H_' >> tmp; \ else true; fi if echo '#include <fcntl.h>' | gcc -E - >/dev/null 2>&1; then\ echo '#define _HAVE_FCNTL_H_' >> tmp; \ else true; fi gcc -c -o jregex.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/jregex.c echo '#endif /* file wrapper */' >> tmp; mv tmp lib/system.h gcc -c -o kanaid.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/kanaid.c gcc -c -o loadfile.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/loadfile.c gcc -c -o output.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/output.c gcc -c -o replace.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/replace.c gcc -c -o romaji2kana.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/romaji2kana.c gcc -c -o std_romaji.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/std_romaji.c gcc -c -o strsave.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/strsave.c gcc -c -o termset.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/termset.c gcc -c -o xmalloc.o -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Ilib/ lib/xmalloc.c lib/termset.c: In function âset_tty_state_to_cbreakâ: lib/termset.c:106:25: error: invalid use of undefined type âstruct sgttybâ 106 | if (original.sg_flags == 0) | ^ lib/termset.c:108:42: error: âTIOCGETPâ undeclared (first use in this function); did you mean âTIOCGETDâ? 108 | if (ioctl(fileno(stdin), TIOCGETP, (char*)&original) < 0) | ^~~~~~~~ | TIOCGETD lib/termset.c:108:42: note: each undeclared identifier is reported only once for each function it appears in lib/termset.c:111:23: error: âoriginalâ has an incomplete type âstruct sgttybâ 111 | new = original; | ^~~~~~~~ lib/termset.c:111:21: error: ânewâ has an incomplete type âstruct sgttybâ 111 | new = original; | ^ lib/termset.c:112:20: error: invalid use of undefined type âstruct sgttybâ 112 | new.sg_flags |= CBREAK; /* turn cbreak on */ | ^ lib/termset.c:112:33: error: âCBREAKâ undeclared (first use in this function); did you mean âCBRKâ? 112 | new.sg_flags |= CBREAK; /* turn cbreak on */ | ^~~~~~ | CBRK lib/termset.c:113:20: error: invalid use of undefined type âstruct sgttybâ 113 | new.sg_flags &= ~ECHO; /* turn echo off */ | ^ lib/termset.c:113:34: error: âECHOâ undeclared (first use in this function) 113 | new.sg_flags &= ~ECHO; /* turn echo off */ | ^~~~ lib/termset.c:116:38: error: âTIOCSETPâ undeclared (first use in this function); did you mean âTIOCSETDâ? 116 | if (ioctl(fileno(stdin), TIOCSETP, (char*)&new) < 0) | ^~~~~~~~ | TIOCSETD lib/termset.c: In function âreset_tty_stateâ: lib/termset.c:123:25: error: invalid use of undefined type âstruct sgttybâ 123 | if (original.sg_flags) | ^ lib/termset.c:124:38: error: âTIOCSETPâ undeclared (first use in this function); did you mean âTIOCSETDâ? 124 | ioctl(fileno(stdin), TIOCSETP, (char*)&original); | ^~~~~~~~ | TIOCSETD lib/termset.c: At top level: lib/termset.c:102:30: error: storage size of âoriginalâ isnât known 102 | static struct sgttyb original, new; | ^~~~~~~~ lib/termset.c:102:40: error: storage size of ânewâ isnât known 102 | static struct sgttyb original, new; | ^~~ make[1]: *** [Makefile:133: termset.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:27: build-stamp] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

