Package: src:rr
Version: 5.8.0-2
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
[ 22%] Building C object CMakeFiles/sched_attr.dir/src/test/sched_attr.c.o
/usr/bin/cc -DEXECINFO_BACKTRACE -DFANOTIFY_H=1 -DMQUEUE_H=1 -DPROC_SERVICE_H=1 
-DRR_VERSION=\"5.8.0\" -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 -Wall -Wextra 
-DDEBUG -UNDEBUG -g3 -O0 -MD -MT 
CMakeFiles/sched_attr.dir/src/test/sched_attr.c.o -MF 
CMakeFiles/sched_attr.dir/src/test/sched_attr.c.o.d -o 
CMakeFiles/sched_attr.dir/src/test/sched_attr.c.o -c 
/<<PKGBUILDDIR>>/src/test/sched_attr.c
/<<PKGBUILDDIR>>/src/test/sched_attr.c:5:8: error: redefinition of ‘struct 
sched_attr’
    5 | struct sched_attr {
      |        ^~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sched.h:63,
                 from /usr/include/sched.h:43,
                 from /usr/include/pthread.h:22,
                 from /<<PKGBUILDDIR>>/src/test/util.h:59,
                 from /<<PKGBUILDDIR>>/src/test/sched_attr.c:3:
/usr/include/linux/sched/types.h:98:8: note: originally defined here
   98 | struct sched_attr {
      |        ^~~~~~~~~~
make[3]: *** [CMakeFiles/sched_attr.dir/build.make:82: 
CMakeFiles/sched_attr.dir/src/test/sched_attr.c.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:14489: CMakeFiles/sched_attr.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 22%] Linking C executable bin/save_data_fd
/usr/bin/cmake -E cmake_link_script CMakeFiles/save_data_fd.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 -Wl,-z,relro 
-Wl,-z,now -Wl,--dependency-file=CMakeFiles/save_data_fd.dir/link.d 
CMakeFiles/save_data_fd.dir/src/test/save_data_fd.c.o -o bin/save_data_fd  
/usr/lib/x86_64-linux-gnu/librt.a -ldl
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 22%] Built target save_data_fd
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
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202503/

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 could not 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:rr, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to