Source: postfixadmin
Version: 3.3.13-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`,
postfixadmin failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: postfixadmin
Binary: postfixadmin
Architecture: all
Version: 3.3.13-1
Maintainer: Norman Messtorff <nor...@normes.org>
Uploaders: Gaudenz Steinlin <gaud...@debian.org>, Christoph Martin
<mar...@uni-mainz.de>
Homepage: http://postfixadmin.sourceforge.net
Standards-Version: 3.9.6
Vcs-Browser: https://salsa.debian.org/debian/postfixadmin
Vcs-Git: https://salsa.debian.org/debian/postfixadmin.git
Build-Depends: debhelper-compat (= 12), po-debconf, dh-apache2
Package-List:
 postfixadmin deb admin optional arch=all
Checksums-Sha1:
 741478575cd3dc14bfc1c80d89ed75163cb91944 1865708
postfixadmin_3.3.13.orig.tar.gz
 06377d591db951e0b428c4b073088c67ab4c3d35 8080
postfixadmin_3.3.13-1.debian.tar.xz
Checksums-Sha256:
 026c4f370656b96b6c9f62328e901b9416a6e56d1c4df86249995d661498947b
1865708 postfixadmin_3.3.13.orig.tar.gz
 8e62ff102306f0e3a48f177ab820db3c015ed98c65a9aaba8770297b9c7b7ff6 8080
postfixadmin_3.3.13-1.debian.tar.xz
Files:
 6495da607f5a3a3e8e32de75ffe39882 1865708 postfixadmin_3.3.13.orig.tar.gz
 ecfcefd1636d9f35b2bb594045c9ca84 8080 postfixadmin_3.3.13-1.debian.tar.xz


gpgv: Signature made Tue Jan 17 12:10:34 2023 UTC
gpgv:                using RSA key B7570591F2770D56EBAB872EEE69445E0C5BE417
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
postfixadmin_3.3.13-1.dsc: no acceptable signature found
dpkg-source: info: extracting postfixadmin in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking postfixadmin_3.3.13.orig.tar.gz
dpkg-source: info: unpacking postfixadmin_3.3.13-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0001-db_credentials.patch
dpkg-source: info: applying 0002-dovecotpw.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 postfixadmin
dpkg-buildpackage: info: source version 3.3.13-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Christoph Martin <martin@uni-
mainz.de>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh_testdir
dh_testroot
dh_clean
 debian/rules binary
dh_testdir
touch build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_install
dh_apache2
mv debian/postfixadmin/usr/share/postfixadmin/config.inc.php debian/
postfixadmin/etc/postfixadmin/config.inc.php
ln -s /etc/postfixadmin/config.local.php debian/postfixadmin/usr/share/
postfixadmin/config.local.php
find debian/postfixadmin -name .svn | xargs -r rm -r
ln -s ../share/postfixadmin/scripts/postfixadmin-cli debian/
postfixadmin/usr/bin/
ln -s /var/cache/postfixadmin/templates_c debian/postfixadmin/usr/share/
postfixadmin/
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdebconf
dh_installdocs -X.svn
dh_installexamples -X.svn
dh_link
dh_compress
dh_fixperms
chown www-data debian/postfixadmin/var/cache/postfixadmin/templates_c -R
chown: changing ownership of 'debian/postfixadmin/var/cache/
postfixadmin/templates_c': Operation not permitted
make: *** [debian/rules:52: binary-indep] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T21:23: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/1029801.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