Source: rr
Version: 5.9.0-3
Severity: important
Tags: ftbfs forky sid upstream fixed-upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.42
Control: forwarded -1 
https://github.com/rr-debugger/rr/commit/2f671df2f3015c1a44b8769420c01b6afae272f5
 

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

Fortunately the issue has already been fixed upstream with the following
patch:

https://github.com/rr-debugger/rr/commit/2f671df2f3015c1a44b8769420c01b6afae272f5

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

--------------------------------------------------------------------------------
[...]
/usr/bin/cc -DEXECINFO_BACKTRACE -DFANOTIFY_H=1 -DMQUEUE_H=1 -DPROC_SERVICE_H=1 
-DRR_VERSION=\"5.9.0\" -DZSTD=1 -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/third-party/proc-service -I/<<PKGBUILDDIR>>/build 
-I/<<PKGBUILDDIR>>/src/preload -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -D__USE_LARGEFILE64 -pthread -msse2 -D__MMX__ -D__SSE__ 
-D__SSE2__ -fmacro-prefix-map=/<<PKGBUILDDIR>>/= -Wstrict-prototypes -std=gnu11 
 -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include 
-Wall -Wextra -DDEBUG -UNDEBUG -g3 -O0 -MD -MT 
CMakeFiles/ioctl_vt.dir/src/test/ioctl_vt.c.o -MF 
CMakeFiles/ioctl_vt.dir/src/test/ioctl_vt.c.o.d -o 
CMakeFiles/ioctl_vt.dir/src/test/ioctl_vt.c.o -c 
/<<PKGBUILDDIR>>/src/test/ioctl_vt.c
In file included from /<<PKGBUILDDIR>>/src/test/ioctl_tty.c:3:
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c: In function ‘main’:
/<<PKGBUILDDIR>>/src/test/util.h:409:55: error: invalid application of ‘sizeof’ 
to incomplete type ‘struct termio’
  409 | #define ALLOCATE_GUARD(p, v) p = allocate_guard(sizeof(*p), v)
      |                                                       ^
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c:37:3: note: in expansion of macro 
‘ALLOCATE_GUARD’
   37 |   ALLOCATE_GUARD(tio, 'b');
      |   ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/test/util.h:410:44: error: invalid application of ‘sizeof’ 
to incomplete type ‘struct termio’
  410 | #define VERIFY_GUARD(p) verify_guard(sizeof(*p), p)
      |                                            ^
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c:39:3: note: in expansion of macro 
‘VERIFY_GUARD’
   39 |   VERIFY_GUARD(tio);
      |   ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c:42:20: error: invalid use of undefined 
type ‘struct termio’
   42 |                 tio->c_iflag, tio->c_oflag, tio->c_cflag, tio->c_lflag);
      |                    ^~
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c:42:34: error: invalid use of undefined 
type ‘struct termio’
   42 |                 tio->c_iflag, tio->c_oflag, tio->c_cflag, tio->c_lflag);
      |                                  ^~
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c:42:48: error: invalid use of undefined 
type ‘struct termio’
   42 |                 tio->c_iflag, tio->c_oflag, tio->c_cflag, tio->c_lflag);
      |                                                ^~
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c:42:62: error: invalid use of undefined 
type ‘struct termio’
   42 |                 tio->c_iflag, tio->c_oflag, tio->c_cflag, tio->c_lflag);
      |                                                              ^~
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c:51:20: error: invalid use of undefined 
type ‘struct termio’
   51 |                 tio->c_iflag, tio->c_oflag, tio->c_cflag, tio->c_lflag);
      |                    ^~
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c:51:34: error: invalid use of undefined 
type ‘struct termio’
   51 |                 tio->c_iflag, tio->c_oflag, tio->c_cflag, tio->c_lflag);
      |                                  ^~
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c:51:48: error: invalid use of undefined 
type ‘struct termio’
   51 |                 tio->c_iflag, tio->c_oflag, tio->c_cflag, tio->c_lflag);
      |                                                ^~
/<<PKGBUILDDIR>>/src/test/ioctl_tty.c:51:62: error: invalid use of undefined 
type ‘struct termio’
   51 |                 tio->c_iflag, tio->c_oflag, tio->c_cflag, tio->c_lflag);
      |                                                              ^~
make[3]: *** [CMakeFiles/ioctl_tty.dir/build.make:82: 
CMakeFiles/ioctl_tty.dir/src/test/ioctl_tty.c.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:9391: CMakeFiles/ioctl_tty.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[  8%] Linking C executable bin/ioctl_vt
/usr/bin/cmake -E cmake_link_script CMakeFiles/ioctl_vt.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -D__USE_LARGEFILE64 -pthread -msse2 -D__MMX__ -D__SSE__ 
-D__SSE2__ -fmacro-prefix-map=/<<PKGBUILDDIR>>/= -Wstrict-prototypes -std=gnu11 
 -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include 
-Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=CMakeFiles/ioctl_vt.dir/link.d 
CMakeFiles/ioctl_vt.dir/src/test/ioctl_vt.c.o -o bin/ioctl_vt  
/usr/lib/x86_64-linux-gnu/librt.a -ldl
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[  8%] Built target ioctl_vt
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j2 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to