Source: cil
Version: 0.07.00-12
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`,
cil failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: cil
Binary: cil
Architecture: all
Version: 0.07.00-12
Maintainer: Jörg Frings-Fürst <[email protected]>
Homepage: https://github.com/chilts/cil
Standards-Version: 4.2.1
Vcs-Browser: https://jff.email/cgit/cil.git
Vcs-Git: git://jff.email/opt/git/cil.git
Build-Depends: debhelper (>= 11), libmodule-build-perl
Build-Depends-Indep: libclass-accessor-perl, libdatetime-perl, libemail-
date-perl, libemail-find-perl, libemail-simple-perl, libfile-slurp-perl,
libfile-touch-perl, perl
Package-List:
 cil deb perl optional arch=all
Checksums-Sha1:
 0a26a4242ed0282ee4187af05d3a0e0ab747bf75 54055 cil_0.07.00.orig.tar.gz
3ecc3a684d295418ede26f8c1e0526e77b21ffc5 12992 cil_0.07.00-12.debian.tar.xz
Checksums-Sha256:
 e32897f8e52c351f96586eaf7a2d2d205dc03dbf0b568fd68af41d3ca43887a0 54055
cil_0.07.00.orig.tar.gz
 4e6834fcc9262974dad49f1a042eb2c318db9915e9edf7231978ed650b6b749f 12992
cil_0.07.00-12.debian.tar.xz
Files:
 77abb4d2917e2bde57179bbdc0410767 54055 cil_0.07.00.orig.tar.gz
 77b488e2286956912f77147f40030dc6 12992 cil_0.07.00-12.debian.tar.xz


gpgv: Signature made Sun Sep  9 18:53:23 2018 UTC
gpgv:                using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
cil_0.07.00-12.dsc: no acceptable signature found
dpkg-source: info: extracting cil in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking cil_0.07.00.orig.tar.gz
dpkg-source: info: unpacking cil_0.07.00-12.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0700-getopt_mixed.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 cil
dpkg-buildpackage: info: source version 0.07.00-12
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Jörg Frings-Fürst
<[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>>'
find . -name '*~' -exec rm {} ';'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
rm -rf /<<PKGBUILDDIR>>/cil.1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
        /usr/bin/perl Build.PL --installdirs vendor --config "optimize=-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" --config "ld=aarch64-linux-gnu-gcc -g -O2 -
Werror=implicit-function-declaration -ffile-prefix-map=/
<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro"
Could not get valid metadata. Error is: ERROR: Missing required field
'dist_abstract' for metafile

Could not create MYMETA files
Creating new 'Build' script for 'CIL' version 'v0.7.0'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pod2man /<<PKGBUILDDIR>>/bin/cil > /<<PKGBUILDDIR>>/cil.1
dh_auto_build
        /usr/bin/perl Build
Building CIL
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
        /usr/bin/perl Build test --verbose 1
t/00_files.t .. ok 1 - Check parsing of file
1..1
ok
All tests successful.
Files=1, Tests=1,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.18 cusr
 0.03 csys =  0.24 CPU)
Result: PASS
   create-stamp debian/debhelper-build-stamp
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
        /usr/bin/perl Build install --destdir /<<PKGBUILDDIR>>/debian/cil --
create_packlist 0
Building CIL
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/man/man1/cil.1p
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Git.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Attachment.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Comment.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Issue.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Mixed.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Base.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Utils.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/
Summary.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/
DependsOn.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Edit.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Add.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Fsck.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/
Precedes.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Show.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Status.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/
Comment.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/List.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Work.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Label.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Attach.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Steal.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Am.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/
Extract.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Init.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/perl5/CIL/Command/Track.pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/share/man/man3/CIL::Mixed.3pm
Installing /<<PKGBUILDDIR>>/debian/cil/usr/bin/cil
rm -rf /<<PKGBUILDDIR>>/debian/cil/usr/share/man/man1/cil.1p
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install
cp: cannot create regular file 'debian/cil/usr/bin/cil': Permission denied
dh_install: error: cp --reflink=auto -a ./bin/cil debian/cil/usr/bin/
returned exit code 1
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-15T21:47:09Z

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


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