Source: rmagic Version: 2.21-5.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`,
rmagic failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
+------------------------------------------------------------------------------+
| Build
|
+------------------------------------------------------------------------------+
Unpack source
-------------
Format: 3.0 (quilt)
Source: rmagic
Binary: rmagic
Architecture: all
Version: 2.21-5.1
Maintainer: Jonas Smedegaard <[email protected]>
Homepage: http://www.reportmagic.org/
Standards-Version: 3.9.3
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/rmagic.git
Vcs-Git: git://git.debian.org/git/collab-maint/rmagic
Build-Depends: cdbs (>= 0.4.72~), debhelper, dh-buildinfo
Package-List:
rmagic deb web extra arch=all
Checksums-Sha1:
8ead933615963cf2632b8ba2faa12599ab17875d 451179 rmagic_2.21.orig.tar.gz
0d9ffd2ba1bfde32e1409d5bfe760bc998b86529 34908
rmagic_2.21-5.1.debian.tar.xz
Checksums-Sha256:
a3e9276634e25cee08c7a309a98a61eec6a5af15ca8a75653b40b98ead35e69f 451179
rmagic_2.21.orig.tar.gz
1e44cb034206a78c5167494bea1ed9631ee9d7889f0a9de0f4b90f2c4ad30c05 34908
rmagic_2.21-5.1.debian.tar.xz
Files:
23b109da43e34d2ee3b8390c20daa98a 451179 rmagic_2.21.orig.tar.gz
cc9932761f6e194633d06f6b569f88da 34908 rmagic_2.21-5.1.debian.tar.xz
gpgv: Signature made Tue Jan 5 10:30:25 2021 UTC
gpgv: using RSA key B8BF54137B09D35CF026FE9D091AB856069AAA1C
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
rmagic_2.21-5.1.dsc: no acceptable signature found
dpkg-source: info: extracting rmagic in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking rmagic_2.21.orig.tar.gz
dpkg-source: info: unpacking rmagic_2.21-5.1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0001_de_locale_update.patch
dpkg-source: info: applying 0002_fr_locale_update.patch
dpkg-source: info: applying 0003_nl_locale.patch
dpkg-source: info: applying 1001_gd_zero_malloc.patch
dpkg-source: info: applying 2001_static_exec_dir.patch
dpkg-source: info: applying 2002_no_link_to_other_licenses.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 rmagic
dpkg-buildpackage: info: source version 2.21-5.1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Holger Levsen <[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
debian/rules clean
CDBS WARNING: copyright-check disabled - licensecheck is missing.
test -x debian/rules
rm -f debian/copyright_newhints
rm -f debian/cdbs-install-list debian/cdbs-package-list debian/stamp-
copyright-check
rm -rf "debian/upstream-cruft"
rm -f debian/stamp-upstream-cruft
dh_clean dh_clean: warning: Compatibility levels before 10 are
deprecated (level 7 in use)
rm -f debian/rmagic.ini
debian/rules binary
CDBS WARNING: copyright-check disabled - licensecheck is missing.
test -x debian/rules
dh_testroot
dh_prep dh_installdirs -A dh_installdirs: warning: Compatibility levels
before 10 are deprecated (level 7 in use)
mkdir -p "."
CDBS WARNING: DEB_COPYRIGHT_CHECK_IGNORE_REGEX is deprecated since
0.4.133
Scanning upstream source for new/changed copyright notices...
set -e; LC_ALL=C.UTF-8 /usr/bin/licensecheck --check '.*' --recursive --
copyright --deb-fmt --ignore '^(docs/images/logo\.gif|debian/(changelog|
copyright(|_hints|_newhints)))$' --lines 0 -- * | /usr/lib/cdbs/
licensecheck2dep5 > debian/copyright_newhints
/bin/sh: 1: /usr/bin/licensecheck: not found
0 combinations of copyright and licensing found.
WARNING: New or changed notices discovered:
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
To fix the situation please do the following:
1) Examine debian/copyright_* and referenced files
2) Update debian/copyright as needed
3) Replace debian/copyright_hints with debian/copyright_newhints
touch debian/stamp-copyright-check
touch debian/stamp-upstream-cruft
# Use sed rather than a diff here, to avoid failing if options
# just been moved around
sed \
-e 's/^Language = en/Language = custom/' \
-e 's/^Include =/#Include =/' \
-e 's/^Active_Column = R/Active_Column = P/' \
lang/en/rmagic.ini > debian/rmagic.ini
Adding cdbs dependencies to debian/rmagic.substvars
dh_installdirs -prmagic \
dh_installdirs: warning: Compatibility levels before 10 are deprecated
(level 7 in use)
dh_installdocs -prmagic ./README
dh_installdocs: warning: Compatibility levels before 10 are deprecated
(level 7 in use)
dh_installexamples -prmagic dh_installexamples: warning: Compatibility
levels before 10 are deprecated (level 7 in use)
dh_installman -prmagic dh_installman: warning: Compatibility levels
before 10 are deprecated (level 7 in use)
dh_installinfo -prmagic dh_installinfo: warning: Compatibility levels
before 10 are deprecated (level 7 in use)
dh_installmenu -prmagic dh_installmenu: warning: Compatibility levels
before 10 are deprecated (level 7 in use)
dh_installcron -prmagic dh_installcron: warning: Compatibility levels
before 10 are deprecated (level 7 in use)
dh_systemd_enable -prmagic dh_systemd_enable: warning: Compatibility
levels before 10 are deprecated (level 7 in use)
dh_installinit -prmagic dh_installinit: warning: Compatibility levels
before 10 are deprecated (level 7 in use)
dh_installdebconf -prmagic dh_installdebconf: warning: Compatibility
levels before 10 are deprecated (level 7 in use)
dh_installemacsen -prmagic dh_installemacsen: warning: Compatibility
levels before 10 are deprecated (level 7 in use)
dh_installcatalogs -prmagic dh_installcatalogs: warning: Compatibility
levels before 10 are deprecated (level 7 in use)
dh_installpam -prmagic dh_installpam: warning: Compatibility levels
before 10 are deprecated (level 7 in use)
dh_installlogrotate -prmagic dh_installlogrotate: warning: Compatibility
levels before 10 are deprecated (level 7 in use)
dh_installlogcheck -prmagic dh_installlogcheck: warning: Compatibility
levels before 10 are deprecated (level 7 in use)
dh_installchangelogs -prmagic dh_installchangelogs: warning:
Compatibility levels before 10 are deprecated (level 7 in use)
dh_installudev -prmagic dh_installudev: warning: Compatibility levels
before 10 are deprecated (level 7 in use)
dh_lintian -prmagic dh_lintian: warning: Compatibility levels before 10
are deprecated (level 7 in use)
dh_bugfiles -prmagic dh_bugfiles: warning: Compatibility levels before
10 are deprecated (level 7 in use)
dh_install -prmagic dh_install: warning: Compatibility levels before 10
are deprecated (level 7 in use)
dh_systemd_start -prmagic dh_systemd_start: warning: Compatibility
levels before 10 are deprecated (level 7 in use)
dh_link -prmagic dh_link: warning: Compatibility levels before 10 are
deprecated (level 7 in use)
dh_buildinfo -prmagic dh_installmime -prmagic dh_installmime: warning:
Compatibility levels before 10 are deprecated (level 7 in use)
dh_installgsettings -prmagic dh_installgsettings: warning: Compatibility
levels before 10 are deprecated (level 7 in use)
install -p -o root -g root -m 755 rmagic.pl /<<PKGBUILDDIR>>/
debian/rmagic//usr/bin/rmagic
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/rmagic//
usr/bin/rmagic': Operation not permitted
make: *** [debian/rules:39: binary-post-install/rmagic] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T10:49:03Z
-------------------------------------------------------------------------------
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/1039276.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.
OpenPGP_signature.asc
Description: OpenPGP digital signature

