Your message dated Tue, 27 Jan 2026 19:19:16 +0000
with message-id <[email protected]>
and subject line Bug#1122435: fixed in lookup 1.08b-16
has caused the Debian Bug report #1122435,
regarding lookup: FTBFS: lib/termset.c:106:25: error: invalid use of undefined
type 'struct sgttyb'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1122435: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122435
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: lookup
Source-Version: 1.08b-16
Done: Ludovic Drolez <[email protected]>
We believe that the bug you reported is fixed in the latest version of
lookup, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ludovic Drolez <[email protected]> (supplier of updated lookup package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 27 Jan 2026 07:36:39 +0100
Source: lookup
Architecture: source
Version: 1.08b-16
Distribution: unstable
Urgency: medium
Maintainer: Ludovic Drolez <[email protected]>
Changed-By: Ludovic Drolez <[email protected]>
Closes: 1122435
Changes:
lookup (1.08b-16) unstable; urgency=medium
.
* termios fix. Closes: #1122435
Checksums-Sha1:
207a5ec6da8804801cc169d049fed36415e0b98d 1344 lookup_1.08b-16.dsc
6fe1b3f69552896960ee8c88574df31a24a28f38 11356 lookup_1.08b-16.debian.tar.xz
ce186b950cb5fc5b0c9948b8cc0d019b4ac7933c 5604 lookup_1.08b-16_amd64.buildinfo
Checksums-Sha256:
1c519787e93f0c4af00e928c2ad5e3b4fbeacdb6e0f9f2d9818783bf6f0b8035 1344
lookup_1.08b-16.dsc
d2398600dc6ed5f3ff8725cd2eba1a3612a487b395fb6a4601e56e98475a4b43 11356
lookup_1.08b-16.debian.tar.xz
6b1092bcb127ff49e39ac7575df8a2c54d8db113ac8ce6e8c9f440b1c2d86f83 5604
lookup_1.08b-16_amd64.buildinfo
Files:
200a96252f7112a126377b83b8fb7fec 1344 text optional lookup_1.08b-16.dsc
173fd0df68681b3d7fe9c5441a6defd6 11356 text optional
lookup_1.08b-16.debian.tar.xz
0b2d5fb41ca1442f64b6e098cfb0aaec 5604 text optional
lookup_1.08b-16_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFHBAEBCAAxFiEEKrWNbKjxjlSqtxlZi3UoEkf5wXwFAml5DSETHGxkcm9sZXpA
ZGViaWFuLm9yZwAKCRCLdSgSR/nBfCs9B/9X9m282FqznMyhh1cZTOpSS6TBZGzP
4R6b1P6kjC7+XPOEUrJDPKYikxeHKx6nXJcK89hQGuL1p5EAscA5ShGR7OpZD6fH
d72HB7TtnsEwFWpJm/3NjkxY3VB4eTNh2eBbqegIWh9cuXLk40ao6PQLHqgPNbad
PdgNmymw/2QCHjvTDPo9WR41IbCA3PsnJiZNLGHQ1I6suPG4STJyGYaV0NRgA4mk
cHEaotVdq2RhIT79JVuRMw5SqOI6+BG7DI1dCf/kE6Nxtah2HhbVZeVltuRuZxZg
CpFau2n3kEDhq+d34axWboWSkg4NvmKzOB/bG7xJKdvadY82xmOj+mDn
=E4yQ
-----END PGP SIGNATURE-----
pgpeKNAxvZjtU.pgp
Description: PGP signature
--- End Message ---