Source: durep
Version: 0.9-3.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`,
durep failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: durep
Binary: durep
Architecture: all
Version: 0.9-3.1
Maintainer: Eduard Bloch <bl...@debian.org>
Uploaders: Mats Erik Andersson <mats.anders...@gisladisker.se>
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/viewvc/collab-maint/deb-maint/
durep/trunk/
Vcs-Svn: svn://anonscm.debian.org/collab-maint/deb-maint/durep/trunk/
Build-Depends: debhelper (>= 7), quilt (>= 0.46)
Package-List:
 durep deb utils optional arch=all
Checksums-Sha1:
 95c228dbe518e4bb9602bbcb4c27c4c9c1143f29 13713 durep_0.9.orig.tar.gz
 7c0497aed8d5355bae45b6801215c6df3b5b5dec 25664 durep_0.9-3.1.debian.tar.xz
Checksums-Sha256:
 71605ebc4d25f6452e2aaa0119e9a6b7e753fe46ec2999e17311389a03016825 13713
durep_0.9.orig.tar.gz
 6c854c09ec69b675e21a8bd06e9b38931891759ba788d3d8b8d6a44ef7c049d2 25664
durep_0.9-3.1.debian.tar.xz
Files:
 fb6d09d48b02b150501f7e769087696f 13713 durep_0.9.orig.tar.gz
 0728a433ca65074398b6ee270d77a1d3 25664 durep_0.9-3.1.debian.tar.xz


gpgv: Signature made Sun Jan  3 13:01:54 2021 UTC
gpgv:                using RSA key B8BF54137B09D35CF026FE9D091AB856069AAA1C
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
durep_0.9-3.1.dsc: no acceptable signature found
dpkg-source: info: extracting durep in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking durep_0.9.orig.tar.gz
dpkg-source: info: unpacking durep_0.9-3.1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 10_protect_mdldm_call.diff
dpkg-source: info: applying 20_invalid_dirhandle.diff
dpkg-source: info: applying 30_durep_pod.diff
dpkg-source: info: applying 40_ignore_corrupt_ds.diff
dpkg-source: info: applying 50_prettify_text_output.diff

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 durep
dpkg-buildpackage: info: source version 0.9-3.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 clean
dh: warning: Compatibility levels before 10 are deprecated (level 7 in use)
   dh_auto_clean
dh_auto_clean: warning: Compatibility levels before 10 are deprecated
(level 7 in use)
        make -j1 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level
7 in use)
 debian/rules binary
dh binary
dh: warning: Compatibility levels before 10 are deprecated (level 7 in use)
   dh_update_autotools_config
   dh_auto_configure
dh_auto_configure: warning: Compatibility levels before 10 are
deprecated (level 7 in use)
   dh_auto_build
dh_auto_build: warning: Compatibility levels before 10 are deprecated
(level 7 in use)
        make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pod2man --center="Disk Usage Report Generator" --release="durep version
0.9" durep.pod > durep.1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
dh_auto_test: warning: Compatibility levels before 10 are deprecated
(level 7 in use)
   dh_prep
   dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated
(level 7 in use)
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp debian/durep-rolling /<<PKGBUILDDIR>>/debian/durep/etc/default
install durep /<<PKGBUILDDIR>>/debian/durep/usr/bin
install durep.cgi /<<PKGBUILDDIR>>/debian/durep/usr/lib/cgi-bin
cp -a bar.png style.css /<<PKGBUILDDIR>>/debian/durep/usr/share/durep/www
chgrp www-data /<<PKGBUILDDIR>>/debian/durep/var/lib/durep
chgrp: changing group of '/<<PKGBUILDDIR>>/debian/durep/var/lib/durep':
Operation not permitted
make[1]: *** [debian/rules:10: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T01:45:48Z

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


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