Your message dated Wed, 08 Jan 2025 21:55:40 +0000
with message-id <[email protected]>
and subject line Bug#1089422: fixed in rt-app 1.0-1.1
has caused the Debian Bug report #1089422,
regarding rt-app: Supporting rootless builds by default
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1089422: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089422
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rt-app
Version: 1.0-1
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: [email protected]
User: [email protected]
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.a
ar 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 2
dpkg-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
--- End Message ---
--- Begin Message ---
Source: rt-app
Source-Version: 1.0-1.1
Done: Niels Thykier <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rt-app, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Niels Thykier <[email protected]> (supplier of updated rt-app package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 01 Jan 2025 15:55:19 +0000
Source: rt-app
Architecture: source
Version: 1.0-1.1
Distribution: unstable
Urgency: medium
Maintainer: Linaro Packagers <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 1089422
Changes:
rt-app (1.0-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Remove need for root when building the package.
(Closes: #1089422)
Checksums-Sha1:
832df4e904112b855f84a975616212ff3037b85c 1452 rt-app_1.0-1.1.dsc
640287847d8b05f666f4a45ebaedaa423cc7c94d 5360 rt-app_1.0-1.1.debian.tar.xz
d9ee032250da94ad3e1c1b4bc4850668a6a099f9 5301 rt-app_1.0-1.1_source.buildinfo
Checksums-Sha256:
d391c4ab24ffd162641d9948a677a3f8f72e494eddd17b34ed1a6ca9566e4ac0 1452
rt-app_1.0-1.1.dsc
aa59c5db91699a329b5bf71f704ee9d5ef3589aea4a999568e61f0d434c61a45 5360
rt-app_1.0-1.1.debian.tar.xz
1635271e5f814dc09bbb0bea7d6c330b46f8a8a91773fc185aae693f979218d1 5301
rt-app_1.0-1.1_source.buildinfo
Files:
f4b44ebdd71051a3dc8adeba5ea26230 1452 misc optional rt-app_1.0-1.1.dsc
aaa7b3923652333835ad1c29e4215269 5360 misc optional
rt-app_1.0-1.1.debian.tar.xz
31c6c155f040fdb4561e0f3c4069dbc3 5301 misc optional
rt-app_1.0-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFGBAEBCgAwFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmd4R40SHG5pZWxzQHRo
eWtpZXIubmV0AAoJEHQNaIiDZdKJbxkIAJGLJYYcMGkpoz88NpOj5lkBRJftjnKS
dad0eYt5TbfKOqZUNS4pj6frhRVlZEdEkPeke2WUaakzbCQKSn2ltLcgF7ndsFwd
quo9riaIHr7Z4WMXQJ+ej8IgYokirTWcgiOpK8s1DnnC8eJF77q5P7OEODwMjmVg
GECjdOFopubb0yd6mtIf9tqXFgN9wBcZfcL1lqZAv+MxLhyFn48W0jpXyAVp8Rwl
a8DJaUQYNTNFRN665sTR6/rjkVIQTC+4AU+wUUD4KOvHIszAFH+zcnBPlODLyjF2
pJzwQBnEA8sGEYlQt+NmFQ2SByaQbXHF2iz+h+n9pPRHIRVJqdEeeXo=
=jiDn
-----END PGP SIGNATURE-----
pgpFv6th5fiMD.pgp
Description: PGP signature
--- End Message ---