Source: physlock Version: 13-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`,
physlock failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
+------------------------------------------------------------------------------+
| Build
|
+------------------------------------------------------------------------------+
Unpack source
-------------
Format: 3.0 (quilt)
Source: physlock
Binary: physlock
Architecture: any
Version: 13-1
Maintainer: Michael Prokop <[email protected]>
Homepage: https://github.com/muennich/physlock
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/mika/physlock
Vcs-Git: https://salsa.debian.org/mika/physlock.git
Build-Depends: debhelper (>= 10), libpam0g-dev, libsystemd-dev
Package-List:
physlock deb utils optional arch=any
Checksums-Sha1:
50b188279612a6fa9c5895ce98c24a87d27b1521 14123 physlock_13.orig.tar.gz
e9fddfb3fce472525108b6df664d0d1ada8d9c78 2552 physlock_13-1.debian.tar.xz
Checksums-Sha256:
a1203050f02f2a7363dd4a67e0fe59f64dccb7e997e35a8c5cbf494ea0b6c1ba 14123
physlock_13.orig.tar.gz
84c1e67e113c00aad4acae79d1b9fef74fde49640d5f959c5ea96ded9eae0c7f 2552
physlock_13-1.debian.tar.xz
Files:
cc40b7e62a056be7d27d7656e1e402f8 14123 physlock_13.orig.tar.gz
34676c76ff083698eae5fcd01d6ae34e 2552 physlock_13-1.debian.tar.xz
gpgv: Signature made Mon Jan 28 20:51:35 2019 UTC
gpgv: using RSA key 33CCB136401AFEC843A3876396A87872B7EA3737
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
physlock_13-1.dsc: no acceptable signature found
dpkg-source: info: extracting physlock in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking physlock_13.orig.tar.gz
dpkg-source: info: unpacking physlock_13-1.debian.tar.xz
Check disk space
----------------
Sufficient free space for build
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_US.UTF-8
LC_ALL=C.UTF-8
LOGNAME=debusine-worker
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=debusine-worker
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package physlock
dpkg-buildpackage: info: source version 13-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Michael Prokop <[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
debian/rules clean
dh clean
dh_auto_clean
make -j4 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
GEN config.h
GEN version.h
CC main.o
CC options.o
CC session.o
CC util.o
CC vt.o
LINK physlock
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test
create-stamp debian/debhelper-build-stamp
dh_prep
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make PREFIX=/<<PKGBUILDDIR>>/debian/physlock/usr install
make[2]: Entering directory '/<<PKGBUILDDIR>>'
GEN version.h
CC options.o
LINK physlock
INSTALL bin/physlock
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/physlock/
usr/bin/physlock': Operation not permitted
make[2]: *** [Makefile:55: install] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:14: override_dh_auto_install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T20:13:03Z
-------------------------------------------------------------------------------
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/1028134.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

