Source: rsbackup
Version: 8.0-2
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`,
rsbackup failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
cp README.md debian/rsbackup/usr/share/doc/rsbackup/.
cp doc/CHANGES.md debian/rsbackup/usr/share/doc/rsbackup/changelog
gzip -9nv debian/rsbackup/usr/share/doc/rsbackup/*
debian/rsbackup/usr/share/doc/rsbackup/NEWS.Debian: 37.8% -- replaced with debian/rsbackup/usr/share/doc/rsbackup/NEWS.Debian.gz debian/rsbackup/usr/share/doc/rsbackup/README.md: 48.1% -- replaced with debian/rsbackup/usr/share/doc/rsbackup/README.md.gz debian/rsbackup/usr/share/doc/rsbackup/changelog: 67.5% -- replaced with debian/rsbackup/usr/share/doc/rsbackup/changelog.gz debian/rsbackup/usr/share/doc/rsbackup/changelog.Debian: 71.8% -- replaced with debian/rsbackup/usr/share/doc/rsbackup/changelog.Debian.gz
cp doc/*.html doc/*.css debian/rsbackup/usr/share/doc/rsbackup/.
rm -f debian/rsbackup/usr/share/doc/rsbackup/*.prefix.html
cp debian/copyright debian/rsbackup/usr/share/doc/rsbackup/.
install -m 755 src/rsbackup debian/rsbackup/usr/bin/rsbackup
/usr/bin/make -C tools install DESTDIR=/<<PKGBUILDDIR>>/debian/rsbackup
make[1]: Entering directory '/<<PKGBUILDDIR>>/tools'
make[2]: Entering directory '/<<PKGBUILDDIR>>/tools'
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/rsbackup/usr/bin'
/usr/bin/install -c rsbackup.cron rsbackup-mount rsbackup-snapshot-hook '/<<PKGBUILDDIR>>/debian/rsbackup/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/tools'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/tools'
install -m 644 doc/rsbackup.1 \
                doc/rsbackup.cron.1 \
                doc/rsbackup-mount.1 \
                doc/rsbackup-snapshot-hook.1 \
        debian/rsbackup/usr/share/man/man1/
install -m 644 doc/rsbackup.5 debian/rsbackup/usr/share/man/man5/
strip --strip-unneeded --remove-section=.comment --remove-section=.note debian/rsbackup/usr/bin/rsbackup
gzip -9nv debian/rsbackup/usr/share/man/man*/*
debian/rsbackup/usr/share/man/man1/rsbackup-mount.1: 50.5% -- replaced with debian/rsbackup/usr/share/man/man1/rsbackup-mount.1.gz debian/rsbackup/usr/share/man/man1/rsbackup-snapshot-hook.1: 51.5% -- replaced with debian/rsbackup/usr/share/man/man1/rsbackup-snapshot-hook.1.gz debian/rsbackup/usr/share/man/man1/rsbackup.1: 63.4% -- replaced with debian/rsbackup/usr/share/man/man1/rsbackup.1.gz debian/rsbackup/usr/share/man/man1/rsbackup.cron.1: 56.9% -- replaced with debian/rsbackup/usr/share/man/man1/rsbackup.cron.1.gz debian/rsbackup/usr/share/man/man5/rsbackup.5: 67.1% -- replaced with debian/rsbackup/usr/share/man/man5/rsbackup.5.gz
dpkg-shlibdeps -Tdebian/substvars.rsbackup \
        debian/rsbackup/usr/bin/*
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
 diversion by libc6 from: /lib/ld-linux-aarch64.so.1
dpkg-shlibdeps: warning: diversions involved - output may be incorrect
 diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged
dpkg-shlibdeps: warning: unknown executable format in file 'debian/rsbackup/usr/bin/rsbackup.cron' dpkg-shlibdeps: warning: unknown executable format in file 'debian/rsbackup/usr/bin/rsbackup-snapshot-hook' dpkg-shlibdeps: warning: unknown executable format in file 'debian/rsbackup/usr/bin/rsbackup-mount'
cd debian/rsbackup && \
  find -name DEBIAN -prune -o -type f -print \
    | sed 's/^\.\///' \
                | sort | xargs md5sum > DEBIAN/md5sums
dpkg-gencontrol -isp -prsbackup -Pdebian/rsbackup \
        -Tdebian/substvars.rsbackup
dpkg-gencontrol: warning: -isp is deprecated; it is without effect
chown -R root:root debian/rsbackup
chown: changing ownership of 'debian/rsbackup/var/log/backup': Operation not permitted chown: changing ownership of 'debian/rsbackup/var/log': Operation not permitted
chown: changing ownership of 'debian/rsbackup/var': Operation not permitted
chown: changing ownership of 'debian/rsbackup/DEBIAN/control': Operation not permitted chown: changing ownership of 'debian/rsbackup/DEBIAN/md5sums': Operation not permitted chown: changing ownership of 'debian/rsbackup/DEBIAN/postrm': Operation not permitted chown: changing ownership of 'debian/rsbackup/DEBIAN/postinst': Operation not permitted chown: changing ownership of 'debian/rsbackup/DEBIAN/conffiles': Operation not permitted chown: changing ownership of 'debian/rsbackup/DEBIAN': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/cron.monthly/rsbackup': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/cron.monthly': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/rsbackup/config': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/rsbackup/devices': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/rsbackup/hosts.d': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/rsbackup/defaults': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/rsbackup': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/cron.hourly/rsbackup': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/cron.hourly': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/cron.daily/rsbackup': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/cron.daily': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/cron.weekly/rsbackup': Operation not permitted chown: changing ownership of 'debian/rsbackup/etc/cron.weekly': Operation not permitted
chown: changing ownership of 'debian/rsbackup/etc': Operation not permitted
chown: changing ownership of 'debian/rsbackup/usr/share/man/man5/rsbackup.5.gz': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/man/man5': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/man/man1/rsbackup.1.gz': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/man/man1/rsbackup.cron.1.gz': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/man/man1/rsbackup-snapshot-hook.1.gz': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/man/man1/rsbackup-mount.1.gz': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/man/man1': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/man': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc-base/rsbackup': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc-base': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/disk-encryption.html': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/rsbackup.css': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/rsbackup-debian.html': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/copyright': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/rsbackup-manual.html': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/changelog.gz': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/rsbackup-manual.in.html': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/changelog.Debian.gz': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/README.md.gz': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/rsbackup-docs.html': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup/NEWS.Debian.gz': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc/rsbackup': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share/doc': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/share': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/bin/rsbackup': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/bin/rsbackup.cron': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/bin/rsbackup-snapshot-hook': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/bin/rsbackup-mount': Operation not permitted chown: changing ownership of 'debian/rsbackup/usr/bin': Operation not permitted
chown: changing ownership of 'debian/rsbackup/usr': Operation not permitted
chown: changing ownership of 'debian/rsbackup': Operation not permitted
make: *** [debian/rules:85: binary-rsbackup] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T11:02:22Z

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


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