Bug#1115208: cyclades-serial-client: FTBFS with glibc 2.42 due to removal of obsolete termio interface
Source: cyclades-serial-client
Version: 0.95
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
--------------------------------------------------------------------------------
[...]
gcc -DUSE_TERMIO -DUSE_TERMIOS -DUSE_POSIX_NONBLOCK -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c misc.c
linux-dev.c:31:11: fatal error: termio.h: No such file or directory
31 | # include <termio.h>
| ^~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:79: linux-dev.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from misc.c:25:
misc.c: In function ‘external_poll’:
inc/tsrio.h:314:33: warning: argument 2 null where non-null expected [-Wnonnull]
314 | memcpy (memptr, evparam, evsize); \
| ^~~~~~
misc.c:160:5: note: in expansion of macro ‘SET_EVENT’
160 | SET_EVENT(EV_UP, EV_UPWROK, 0, 0);
| ^~~~~~~~~
In file included from /usr/include/features.h:523,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from misc.c:15:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: in a call to function ‘memcpy’ declared ‘nonnull’
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
inc/tsrio.h:314:33: warning: argument 2 null where non-null expected [-Wnonnull]
314 | memcpy (memptr, evparam, evsize); \
| ^~~~~~
misc.c:173:5: note: in expansion of macro ‘SET_EVENT’
173 | SET_EVENT(EV_RN, EV_RNWROK, 0, 0);
| ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:26:1: note: in a call to function ‘memcpy’ declared ‘nonnull’
26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
| ^~~~~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: