Source: ucf
Version: 3.0043+nmu1
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`,
ucf failed to rebuild.

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

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


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

Format: 3.0 (native)
Source: ucf
Binary: ucf
Architecture: all
Version: 3.0043+nmu1
Maintainer: Manoj Srivastava <[email protected]>
Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/srivasta/ucf
Vcs-Git: https://salsa.debian.org/srivasta/ucf.git
Build-Depends: debhelper-compat (= 13)
Build-Depends-Indep: po-debconf, gettext
Package-List:
 ucf deb utils standard arch=all
Checksums-Sha1:
 069f56d4daadb890b56641eb5cb9fa0642eace38 70916 ucf_3.0043+nmu1.tar.xz
Checksums-Sha256:
 a07143046236cb082517e346362306cb3fe4d3634cad1add40c905b0e0ecf58c 70916
ucf_3.0043+nmu1.tar.xz
Files:
 a20bd1af1ae304812c8afb0580737f64 70916 ucf_3.0043+nmu1.tar.xz


gpgv: Signature made Mon Jan 30 15:33:30 2023 UTC
gpgv:                using RSA key D0A97B9DD6EEB7EF67E1B62CE725E87914600216
gpgv:                issuer "[email protected]"
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
ucf_3.0043+nmu1.dsc: no acceptable signature found
dpkg-source: info: extracting ucf in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking ucf_3.0043+nmu1.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 ucf
dpkg-buildpackage: info: source version 3.0043+nmu1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Arnaud Rebillout
<[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   dh_auto_clean
        make -j4 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
nothing to do for clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j4 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
sh -n  ucf
sh -n  ucfr
perl -wc ucfq
ucfq syntax OK
sh -n  debian/ucf.preinst
sh -n  debian/ucf.postinst
sh -n  debian/ucf.postrm
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
        make -j4 check
make[1]: Entering directory '/<<PKGBUILDDIR>>'
sh -n  ucf
sh -n  ucfr
perl -wc ucfq
ucfq syntax OK
sh -n  debian/ucf.preinst
sh -n  debian/ucf.postinst
sh -n  debian/ucf.postrm
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_auto_install --destdir=debian/ucf/
        make -j4 install DESTDIR=/<<BUILDDIR>>/ucf-3.0043\+nmu1/debian/ucf
AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/install -p -d -o root -g root -m 755   /<<PKGBUILDDIR>>/debian/
ucf/usr/bin
/usr/bin/install: cannot change owner and permissions of ‘/
<<PKGBUILDDIR>>/debian/ucf/usr/bin’: Operation not permitted
make[1]: *** [Makefile:43: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j4 install DESTDIR=/<<BUILDDIR>>/
ucf-3.0043\+nmu1/debian/ucf AM_UPDATE_INFO_DIR=no "INSTALL=install --
strip-program=true" returned exit code 2
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T18:43:42Z

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


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