Source: poppass-cgi
Version: 3-6.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`,
poppass-cgi failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: poppass-cgi
Binary: poppass-cgi
Architecture: all
Version: 3-6.1
Maintainer: Jonas Smedegaard <d...@jones.dk>
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/poppass-cgi.git
Vcs-Git: https://anonscm.debian.org/git/collab-maint/poppass-cgi
Build-Depends: debhelper (>= 9)
Package-List:
 poppass-cgi deb web optional arch=all
Checksums-Sha1:
 e62bb8ddf4395f81135a4af565ee4c2328af2e5c 3388 poppass-cgi_3.orig.tar.gz
 5a8eaaa1915038d5c9b2b0c2c57ce80dcea65f18 4464 poppass-
cgi_3-6.1.debian.tar.xz
Checksums-Sha256:
 c0b082194c92ddb24ee24bbeb32ddd2566042e6d031df40419d554ac8424a4b9 3388
poppass-cgi_3.orig.tar.gz
 8f65ce3d7c129ae14afb31dd8b315f9954724546a154db94d290a22aa5494ec1 4464
poppass-cgi_3-6.1.debian.tar.xz
Files:
 14fb23908ee8fe832da2c68eb019520f 3388 poppass-cgi_3.orig.tar.gz
 ec0f1bc17305ef1c2d1932fae2d02d77 4464 poppass-cgi_3-6.1.debian.tar.xz


gpgv: Signature made Sat Jan  9 10:59:38 2021 UTC
gpgv:                using RSA key B8BF54137B09D35CF026FE9D091AB856069AAA1C
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./poppass-
cgi_3-6.1.dsc: no acceptable signature found
dpkg-source: info: extracting poppass-cgi in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking poppass-cgi_3.orig.tar.gz
dpkg-source: info: unpacking poppass-cgi_3-6.1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 10-perl-location.patch
dpkg-source: info: applying 70-ignore-textual-responses.patch
dpkg-source: info: applying 70-use-http-auth-username.patch
dpkg-source: info: applying 70-modernize-CGI.patch
dpkg-source: info: applying 99-debug-fix.patch

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 poppass-cgi
dpkg-buildpackage: info: source version 3-6.1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Holger Levsen <hol...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level
9 in use)
 debian/rules binary
dh_testdir
touch configure-stamp
dh_testdir
touch build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
install -o root -g root -m 0755 poppass /<<PKGBUILDDIR>>/debian/poppass-
cgi/usr/lib/cgi-bin
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/poppass-
cgi/usr/lib/cgi-bin/poppass': Operation not permitted
make: *** [debian/rules:31: install] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T21:19:40Z

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


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