Control: tags -1 patch
On Fri, 17 Jan 2025 18:54:38 +0000 Santiago Vila <sanv...@debian.org> wrote:
Package: src:zfsnap Version: 1.11.1-8.1 Severity: serious Tags: ftbfs trixie sid Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] dh_installdirs dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_auto_install-indep make[1]: Entering directory '/<<PKGBUILDDIR>>' cp zfSnap.sh debian/zfsnap/usr/sbin/zfSnap chmod 0755 debian/zfsnap/usr/sbin/zfSnap chown root:root debian/zfsnap/usr/sbin/zfSnap chown: changing ownership of 'debian/zfsnap/usr/sbin/zfSnap': Operation not permitted make[1]: *** [debian/rules:25: override_dh_auto_install-indep] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:13: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------
Hi,With 90% probability this can be fixed by removing the offending `chown` line from `debian/rules`. It was redundant at best before rootless builds and after, it becomes an FTBFS bug.
If that does not solve the FTBFS problem here, then it is because the build chains into an upstream build system that also does chown'ing. In this case, adding `Rules-Requires-Root: binary-targets` to the source stanza of `debian/control` will work around the problem and enable the bug to be closed.
Tagging patch, since the above instructions will solve this bug. Best regards, Niels
OpenPGP_signature.asc
Description: OpenPGP digital signature