Package: src:rt-tests
Version: 2.6-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean
make -j2 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
for F in cyclictest hackbench pip_stress pi_stress pmqtest ptsematest
rt-migrate-test signaltest sigwaittest svsematest cyclicdeadline deadline_test
queuelat ssdd oslat *.o .depend *.*~ *.orig *.rej *.d *.a *.8.gz *.8.bz2 ; do
find -type f -name $F | xargs rm -f; done
rm -f rt-tests-*.tar
rm -f hwlatdetect
rm -f get_cyclictest_snapshot
rm -f tags
rm -rf BUILD BUILDROOT RPMS SRPMS SPECS releases *.tar.gz *.tar.asc tmp
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh build-arch
dh_update_autotools_config -a
dh_autoreconf -a
dh_auto_configure -a
dh_auto_build -a
make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -D VERSION=2.6 -c src/cyclictest/cyclictest.c -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2
-D_GNU_SOURCE -Isrc/include -o bld/cyclictest.o
gcc -D VERSION=2.6 -c src/lib/rt-error.c -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2
-D_GNU_SOURCE -Isrc/include -o bld/rt-error.o
gcc -D VERSION=2.6 -c src/lib/rt-get_cpu.c -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2
-D_GNU_SOURCE -Isrc/include -o bld/rt-get_cpu.o
gcc -D VERSION=2.6 -c src/lib/rt-sched.c -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2
-D_GNU_SOURCE -Isrc/include -o bld/rt-sched.o
gcc -D VERSION=2.6 -c src/lib/rt-utils.c -g -O2
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2
-D_GNU_SOURCE -Isrc/include -o bld/rt-utils.o
In file included from src/lib/rt-utils.c:28:
src/include/rt-sched.h:45:8: error: redefinition of âstruct sched_attrâ
45 | struct sched_attr {
| ^~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sched.h:63,
from /usr/include/sched.h:43,
from src/lib/rt-utils.c:14:
/usr/include/linux/sched/types.h:98:8: note: originally defined here
98 | struct sched_attr {
| ^~~~~~~~~~
src/include/rt-sched.h:62:5: error: conflicting types for âsched_setattrâ;
have âint(pid_t, const struct sched_attr *, unsigned int)â {aka
âint(int, const struct sched_attr *, unsigned int)â}
62 | int sched_setattr(pid_t pid,
| ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/sched.h:148:5: note: previous declaration of
âsched_setattrâ with type âint(pid_t, struct sched_attr *, unsigned
int)â {aka âint(int, struct sched_attr *, unsigned int)â}
148 | int sched_setattr (pid_t tid, struct sched_attr *attr, unsigned int
flags)
| ^~~~~~~~~~~~~
src/include/rt-sched.h:66:5: error: conflicting types for âsched_getattrâ;
have âint(pid_t, struct sched_attr *, unsigned int, unsigned int)â {aka
âint(int, struct sched_attr *, unsigned int, unsigned int)â}
66 | int sched_getattr(pid_t pid,
| ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/sched.h:153:5: note: previous declaration of
âsched_getattrâ with type âint(pid_t, struct sched_attr *, unsigned int,
unsigned int)â {aka âint(int, struct sched_attr *, unsigned int,
unsigned int)â}
153 | int sched_getattr (pid_t tid, struct sched_attr *attr, unsigned int
size,
| ^~~~~~~~~~~~~
src/lib/rt-utils.c: In function âtracemarkâ:
src/lib/rt-utils.c:480:9: warning: ignoring return value of âwriteâ
declared with attribute âwarn_unused_resultâ [-Wunused-result]
480 | write(tracemark_fd, tracebuf, len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib/rt-utils.c:483:9: warning: ignoring return value of âwriteâ
declared with attribute âwarn_unused_resultâ [-Wunused-result]
483 | write(trace_fd, "0\n", 2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:97: bld/rt-utils.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned
exit code 2
make: *** [debian/rules:21: build-arch-stamp] 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:rt-tests, so that this is still
visible in the BTS web page for this package.
Thanks.