Source: sleepenh
Version: 1.7-2
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`,
sleepenh failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]

+------------------------------------------------------------------------------+
| Build
                                                                       |
+------------------------------------------------------------------------------+


Unpack source
-------------

Format: 3.0 (quilt)
Source: sleepenh
Binary: sleepenh
Architecture: any
Version: 1.7-2
Maintainer: Nicolas Schier <[email protected]>
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/debian/sleepenh
Vcs-Git: https://salsa.debian.org/debian/sleepenh.git
Build-Depends: debhelper-compat (= 13)
Package-List:
 sleepenh deb utils optional arch=any
Checksums-Sha1:
 f8b7d62fcfcc078f7956c0ce8f02d418c5c39f94 4688 sleepenh_1.7.orig.tar.xz
 67e51923761116fe89c309cdd018fceee330b20c 3328 sleepenh_1.7-2.debian.tar.xz
Checksums-Sha256:
 96400b2a9722ff7c37269a38689514e2894bbe980107f24dad475e6bb215548e 4688
sleepenh_1.7.orig.tar.xz
 558f02d61f4fb305fcbcf498ced1e7092430da37cfc39aedb704bb3e6d1cd9ce 3328
sleepenh_1.7-2.debian.tar.xz
Files:
 d4a79af227439a2e0b0b03ce6eabefad 4688 sleepenh_1.7.orig.tar.xz
 d039065ff95775a3fdb0d8af1a64b74c 3328 sleepenh_1.7-2.debian.tar.xz


gpgv: Signature made Wed Sep 27 11:27:13 2023 UTC
gpgv:                using RSA key 874137A7873724A781BEC2C607520A7016261269
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
sleepenh_1.7-2.dsc: no acceptable signature found
dpkg-source: info: extracting sleepenh in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking sleepenh_1.7.orig.tar.xz
dpkg-source: info: unpacking sleepenh_1.7-2.debian.tar.xz

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.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 sleepenh
dpkg-buildpackage: info: source version 1.7-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Nicolas Schier
<[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   dh_auto_clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- EXTRA_CFLAGS=-g vcsversion='\"1.7\"'
        make -j8 "INSTALL=install --strip-program=true" EXTRA_CFLAGS=-g
vcsversion=\\\"1.7\\\"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -std=gnu11 -Wall -Wextra -O2 -g -DVCSVERSION=\"1.7\" -Wdate-time -
D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now  sleepenh.c   -o sleepenh
gzip -9 < sleepenh.1 > sleepenh.1.gz
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_auto_install --destdir=debian/sleepenh/
        make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/sleepenh
AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
install -D -m 0755 -o root -g root sleepenh /<<PKGBUILDDIR>>/debian/
sleepenh/usr/bin/sleepenh
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/sleepenh/
usr/bin/sleepenh': Operation not permitted
make[1]: *** [Makefile:25: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j8 install DESTDIR=/<<PKGBUILDDIR>>/
debian/sleepenh AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-
program=true" returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T15:03:26Z

-------------------------------------------------------------------------------


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/1044946.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.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to