Source: dlint
Version: 1.4.0-8
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`,
dlint failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: dlint
Binary: dlint
Architecture: all
Version: 1.4.0-8
Maintainer: Florian Roscher <f...@debian.org>
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/fh/dlint
Vcs-Git: https://salsa.debian.org/fh/dlint.git
Build-Depends: debhelper (>= 9)
Package-List:
 dlint deb net optional arch=all
Checksums-Sha1:
 5ed29d4259816c24a47117651416bcac0179f035 23007 dlint_1.4.0.orig.tar.gz
 5941584679337043c8d251eff2e816745b36de26 5808 dlint_1.4.0-8.debian.tar.xz
Checksums-Sha256:
 ee9a955faa0cd3b5edb9c623d48fa9314ddeb00b34ff9aba08ae737814ff5e5c 23007
dlint_1.4.0.orig.tar.gz
 bf27af07d219249ad5a1edd70f3babbb10c5a9f83c6c3265a719d08b53d03985 5808
dlint_1.4.0-8.debian.tar.xz
Files:
 9fc692ab461af132a52a27a8dae1e07a 23007 dlint_1.4.0.orig.tar.gz
 63859a1e8a0ec0e10af4601950c8fc7a 5808 dlint_1.4.0-8.debian.tar.xz


gpgv: Signature made Wed Feb  6 16:13:59 2019 UTC
gpgv:                using RSA key FDDD0CFF3864277630A2186C9164FA1D17BD5D36
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
dlint_1.4.0-8.dsc: no acceptable signature found
dpkg-source: info: extracting dlint in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking dlint_1.4.0.orig.tar.gz
dpkg-source: info: unpacking dlint_1.4.0-8.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 05-local-changes.patch
dpkg-source: info: applying 10-fix-old-urls.patch
dpkg-source: info: applying 20-sort-tail-deprecated-syntax.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 dlint
dpkg-buildpackage: info: source version 1.4.0-8
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Florian Roscher <f...@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
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f *.shar core
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level
9 in use)
 debian/rules binary
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
#/usr/bin/make
#/usr/bin/docbook-to-man debian/dlint.sgml > dlint.1
touch build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
# Add here commands to install the package into debian/tmp.
/usr/bin/make install DESTDIR=`pwd`/debian/dlint
make[1]: Entering directory '/<<PKGBUILDDIR>>'
install                  -c -m 755 -o bin -g bin dlint 
/<<PKGBUILDDIR>>/debian/dlint/
usr/bin
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/dlint/usr/
bin/dlint': Operation not permitted
make[1]: *** [Makefile:26: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:53: install] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T01:22: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/981197.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