Package: src:isochron
Version: 0.9-0.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 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f src/argparser.o src/common.o src/daemon.o src/isochron.o src/log.o 
src/management.o src/orchestrate.o src/ptpmon.o src/rcv.o src/report.o 
src/rtnl.o src/send.o src/sk.o src/syncmon.o src/sysmon.o  src/argparser.d  
src/common.d  src/daemon.d  src/isochron.d  src/log.d  src/management.d  
src/orchestrate.d  src/ptpmon.d  src/rcv.d  src/report.d  src/rtnl.d  
src/send.d  src/sk.d  src/syncmon.d  src/sysmon.d isochron
rm -f docs/man/*
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
        rm -f -- debian/isochron.substvars debian/files
        rm -fr -- debian/isochron/ debian/tmp/
        find .  \( \( \
                \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
-type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} + \) -o \
                \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) 
-prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/argparser.c -o src/argparser.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/common.c -o src/common.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/daemon.c -o src/daemon.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/isochron.c -o src/isochron.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/log.c -o src/log.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/management.c -o src/management.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/orchestrate.c -o src/orchestrate.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/ptpmon.c -o src/ptpmon.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/rcv.c -o src/rcv.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/report.c -o src/report.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/rtnl.c -o src/rtnl.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/send.c -o src/send.o
cc -DVERSION=\"v0.9\" -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_TX_SWHW -Wall 
-Wextra -Werror -Wno-error=sign-compare -Wno-error=missing-field-initializers 
-Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -MMD 
-c src/sk.c -o src/sk.o
In file included from src/send.c:31:
src/common.h:41:8: error: redefinition of ‘struct sched_attr’
   41 | 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 src/send.c:27:
/usr/include/linux/sched/types.h:98:8: note: originally defined here
   98 | struct sched_attr {
      |        ^~~~~~~~~~
src/common.h:55:19: 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)’}
   55 | static inline int sched_setattr(pid_t pid, const struct sched_attr 
*attr,
      |                   ^~~~~~~~~~~~~
/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)
      |     ^~~~~~~~~~~~~
make[1]: *** [Makefile:94: src/send.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:9: 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:isochron, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to