Source: 9mount
Version: 1.3+hg20170412-1
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`,
9mount failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: 9mount
Binary: 9mount
Architecture: linux-any
Version: 1.3+hg20170412-1
Maintainer: Andrej Shadura <[email protected]>
Homepage: http://sqweek.net/code/9mount/
Standards-Version: 4.1.2
Vcs-Browser: https://browse.dgit.debian.org/9mount.git/
Vcs-Git: https://git.dgit.debian.org/9mount
Build-Depends: debhelper (>= 11)
Package-List:
 9mount deb admin optional arch=linux-any
Checksums-Sha1:
 6d6e4e0435724d1b46b6681cb5c70efaedb45825 6696
9mount_1.3+hg20170412.orig.tar.bz2
 42613fca3df630fc731c06efd0eba4daa3182bbe 3516
9mount_1.3+hg20170412-1.debian.tar.xz
Checksums-Sha256:
 1d3c993143c3e5aa3bebed02f0f195750c7fc236102cb445ad0024793b1375a6 6696
9mount_1.3+hg20170412.orig.tar.bz2
 7f41dfff3c6cccb2fc31c9da9685e109a61b8209534de517102d1c0e77a7c607 3516
9mount_1.3+hg20170412-1.debian.tar.xz
Files:
 f1eab7f8b28906115010d2e6b8bd4cfa 6696 9mount_1.3+hg20170412.orig.tar.bz2
8d422f74115f81bdbc76cc828b60d3ed 3516 9mount_1.3+hg20170412-1.debian.tar.xz
Dgit: 8cf49aae95d5c80cb0e4119e2cafc014b84c2bbe debian archive/
debian/1.3+hg20170412-1 https://git.dgit.debian.org/9mount


gpgv: Signature made Wed Sep  5 09:14:25 2018 UTC
gpgv:                using RSA key 7AE4BD64BF00D23B3434688E5E408CD91CD839D2
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature
for ./9mount_1.3+hg20170412-1.dsc: no acceptable signature found
dpkg-source: info: extracting 9mount in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking 9mount_1.3+hg20170412.orig.tar.bz2
dpkg-source: info: unpacking 9mount_1.3+hg20170412-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying manpages.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 9mount
dpkg-buildpackage: info: source version 1.3+hg20170412-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andrej Shadura
<[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   dh_auto_clean
        make -j8 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f 9mount 9umount 9bind
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make CFLAGS="-g -O2 -Werror=implicit-function-declaration -
ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-
clash-protection -Wformat -Werror=format-security -mbranch-
protection=standard"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/
<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro 9mount.c -o 9mount
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/
<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro 9umount.c -o 9umount
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/
<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro 9bind.c -o 9bind
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make prefix=/<<PKGBUILDDIR>>/debian/9mount/usr install
make[2]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p /<<PKGBUILDDIR>>/debian/9mount/usr/bin
cp -f 9mount /<<PKGBUILDDIR>>/debian/9mount/usr/bin
cp -f 9umount /<<PKGBUILDDIR>>/debian/9mount/usr/bin
cp -f 9bind /<<PKGBUILDDIR>>/debian/9mount/usr/bin
chown root:users /<<PKGBUILDDIR>>/debian/9mount/usr/bin/9mount /
<<PKGBUILDDIR>>/debian/9mount/usr/bin/9umount /<<PKGBUILDDIR>>/
debian/9mount/usr/bin/9bind
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/9mount/usr/
bin/9mount': Operation not permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/9mount/usr/
bin/9umount': Operation not permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/9mount/usr/
bin/9bind': Operation not permitted
make[2]: *** [Makefile:25: install] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:12: override_dh_auto_install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-15T17:57:27Z

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


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

Thanks,

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to