Source: rt-app Version: 1.0-1 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: ni...@thykier.net User: ni...@thykier.net Usertags: rrr-no-as-default-issue
Dear maintainer, During a test rebuild for building packages with `Rules-Requires-Root: no` as the default in `dpkg`, rt-app failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] config.status: executing libtool commands make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build make -j4 make[1]: Entering directory '/<<PKGBUILDDIR>>' Making all in libdl make[2]: Entering directory '/<<PKGBUILDDIR>>/libdl'gcc -DHAVE_CONFIG_H -I. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o dl_syscalls.o dl_syscalls.c
rm -f libdl.aar cru libdl.a dl_syscalls.o ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libdl.a make[2]: Leaving directory '/<<PKGBUILDDIR>>/libdl' Making all in src make[2]: Entering directory '/<<PKGBUILDDIR>>/src' make all-am make[3]: Entering directory '/<<PKGBUILDDIR>>/src'gcc -DHAVE_CONFIG_H -I. -I./../libdl/ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o rt-app_utils.o rt-app_utils.c gcc -DHAVE_CONFIG_H -I. -I./../libdl/ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o rt-app_args.o rt-app_args.c gcc -DHAVE_CONFIG_H -I. -I./../libdl/ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o rt-app.o rt-app.c gcc -DHAVE_CONFIG_H -I. -I./../libdl/ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o rt-app_parse_config.o rt-app_parse_config.c
rt-app.c: In function ‘run_event’:rt-app.c:405:25: warning: ‘pthread_yield’ is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations]
405 | pthread_yield(); | ^~~~~~~~~~~~~ In file included from /usr/include/features.h:510,from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdlib.h:26, from rt-app.c:25: /usr/include/pthread.h:479:12: note: declared here 479 | extern int __REDIRECT_NTH (pthread_yield, (void), sched_yield) | ^~~~~~~~~~~~~~/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro -o rt-app rt-app_utils.o rt-app_args.o rt-app.o rt-app_parse_config.o ../libdl/libdl.a -ljson-c -lrt -lm -lpthread libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o rt-app rt-app_utils.o rt-app_args.o rt-app.o rt-app_parse_config.o ../libdl/libdl.a -ljson-c -lrt -lm -lpthread
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: Entering directory '/<<PKGBUILDDIR>>' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/<<PKGBUILDDIR>>' Making check in libdl make[2]: Entering directory '/<<PKGBUILDDIR>>/libdl' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/<<PKGBUILDDIR>>/libdl' Making check in src make[2]: Entering directory '/<<PKGBUILDDIR>>/src' make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: Entering directory '/<<PKGBUILDDIR>>' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: Leaving directory '/<<PKGBUILDDIR>>' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/rt-app/make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/rt-app AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>' Making install in libdl make[2]: Entering directory '/<<PKGBUILDDIR>>/libdl' make[3]: Entering directory '/<<PKGBUILDDIR>>/libdl' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/<<PKGBUILDDIR>>/libdl' make[2]: Leaving directory '/<<PKGBUILDDIR>>/libdl' Making install in src make[2]: Entering directory '/<<PKGBUILDDIR>>/src' make[3]: Entering directory '/<<PKGBUILDDIR>>/src' /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/rt-app/usr/bin'/bin/bash ../libtool --mode=install /usr/bin/install -c rt-app '/<<PKGBUILDDIR>>/debian/rt-app/usr/bin' libtool: install: /usr/bin/install -c rt-app /<<PKGBUILDDIR>>/debian/rt-app/usr/bin/rt-app
/usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/rt-app/usr/bin'/usr/bin/install -c ./../doc/workgen '/<<PKGBUILDDIR>>/debian/rt-app/usr/bin'
make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: Entering directory '/<<PKGBUILDDIR>>' make[3]: Entering directory '/<<PKGBUILDDIR>>' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/<<PKGBUILDDIR>>' make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_install make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_install chmod -R -x debian/rt-app/usr/share/doc/rt-app/examples/chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/merge': Permission denied chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/tutorial': Permission denied chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/browser-short.json': Permission denied chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/browser-long.json': Permission denied chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/mp3-short.json': Permission denied chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/spreading-tasks.json': Permission denied chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/cpufreq_governor_efficiency': Permission denied chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/video-short.json': Permission denied chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/template.json': Permission denied chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/mp3-long.json': Permission denied chmod: cannot access 'debian/rt-app/usr/share/doc/rt-app/examples/video-long.json': Permission denied
make[1]: *** [debian/rules:15: override_dh_install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:7: binary] Error 2dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------------------------------------------------------------------------- Build finished at 2024-11-18T11:04:18Z Finished --------du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/merge': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/tutorial': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/browser-short.json': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/browser-long.json': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/mp3-short.json': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/spreading-tasks.json': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/cpufreq_governor_efficiency': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/video-short.json': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/template.json': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/mp3-long.json': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/rt-app/usr/share/doc/rt-app/examples/video-long.json': Permission denied
E: read_command failed to execute du E: Cannot determine space needed for /<<PKGBUILDDIR>> (du failed) +------------------------------------------------------------------------------+| Cleanup |
+------------------------------------------------------------------------------+ Purging /<<BUILDDIR>> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+| Summary |
+------------------------------------------------------------------------------+ Build Architecture: arm64 Build Type: binary Build-Space: n/a Build-Time: 15 Distribution: sid Fail-Stage: build Host Architecture: arm64 Install-Time: 18 Job: /tmp/debusine-fetch-exec-upload-pbi88vyc/rt-app_1.0-1.dsc Machine Architecture: arm64 Package: rt-app Package-Time: 69 Source-Version: 1.0-1 Space: n/a Status: attempted Version: 1.0-1 -------------------------------------------------------------------------------- Finished at 2024-11-18T11:04:18Z Build needed 00:01:09, no disk space ------------------------------------------------------------------------------- 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/~nthykier/rrr-no-as-default/logs/1039508.gz You can find common solutions at https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. If this package is listed in https://people.debian.org/~nthykier/rrr-no-as-default/docs/static-ownership.list, then please just set `Rules-Requires-Root: binary-targets` to the source stanza of `debian/control` as a fix to this bug. If this package is listed in https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe-misbuilds.list, then the package was deemed at risk for misbuilding (having wrong ownership) but had a FTBFS problem we tested it. Please test whether the package works with `Rules-Requires-Root: no` validating that the resulting deb has the correct ownership for all paths in the deb. The goal is to have the default changed in `dpkg` either in `Trixie` or `Forky`, depending on progress and feasibility with the release schedule for Trixie. For more information on this bug filing, please see: https://lists.debian.org/debian-dpkg/2024/11/msg00016.html Thanks, PS: The builds were performed in mid-November. If you fixed the problem between between then and this bug being filed, then please just close the bug with the version it was fixed in.
OpenPGP_signature.asc
Description: OpenPGP digital signature