Bug#1115209: libexplain: FTBFS with glibc 2.42 due to removal of obsolete termio interface
Source: libexplain
Version: 1.4.D001-16
Severity: important
Tags: ftbfs forky sid
Justification: fails to build from source
User: debian-glibc@lists.debian.org
Usertags: glibc-2.42
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/
The build failure is due to the removal of the obsolete termio interface
in glibc 2.42. This interface has been replaced by the termios one:
https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=f0b0e924a45c7698e6ca6415f2d9a096a24e37df;hb=d2097651cc57834dbfcaa102ddfacae0d86cfb66#l64
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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wl,--as-needed -I. -c libexplain/iocontrol/tcgeta.c -fPIC -DPIC -o libexplain/iocontrol/.libs/tcgeta.o
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wl,--as-needed -I. -c libexplain/iocontrol/tcgets.c -fPIC -DPIC -o libexplain/iocontrol/.libs/tcgets.o
libexplain/iocontrol/tcgeta.c:50:12: error: invalid application of 'sizeof' to incomplete type 'struct termio'
50 | sizeof(struct termio), /* data_size */
| ^~~~~~
make[1]: *** [Makefile:24947: libexplain/iocontrol/tcgeta.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wl,--as-needed -I. -c libexplain/iocontrol/tcgets.c -o libexplain/iocontrol/tcgets.o >/dev/null 2>&1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: