Source: avr-libc
Version: 1:2.0.0+Atmel3.7.0-1
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`,
avr-libc failed to rebuild.

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

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


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

Format: 3.0 (quilt)
Source: avr-libc
Binary: avr-libc
Architecture: all
Version: 1:2.0.0+Atmel3.7.0-1
Maintainer: Steve Meliza <s...@swm1.com>
Homepage: https://www.microchip.com/en-us/tools-resources/develop/
microchip-studio/gcc-compilers
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/debian/avr-libc
Vcs-Git: https://salsa.debian.org/debian/avr-libc.git
Build-Depends: gcc-avr (>= 7.3.0+Atmel3.7.0), binutils-avr (>=
2.26.20160125+Atmel3.7.0), debhelper-compat (= 13), doxygen-latex,
doxygen, transfig, ghostscript, netpbm, x11-common, autoconf, automake,
unzip
Package-List:
 avr-libc deb otherosfs optional arch=all
Checksums-Sha1:
 46eda42c44ce716f7034da5d388e4822eea40c73 3120944 avr-
libc_2.0.0+Atmel3.7.0.orig.tar.xz
 bf7dd2827502cd51219670b55735686ead4a7f05 337560 avr-
libc_2.0.0+Atmel3.7.0-1.debian.tar.xz
Checksums-Sha256:
 d99ac04b6fee7c5cf2180e234f789018e0733036c42f91831efa3372cf186dea
3120944 avr-libc_2.0.0+Atmel3.7.0.orig.tar.xz
 de2ad71826635f781b93b7cf171291a1b262c46366882eb3ca2b00e9a06a3977 337560
avr-libc_2.0.0+Atmel3.7.0-1.debian.tar.xz
Files:
 c13a41e4bf3992f7de60619d7b6fd64b 3120944 avr-
libc_2.0.0+Atmel3.7.0.orig.tar.xz
 6d94316539a5cc37c1e927bd70fbcecb 337560 avr-
libc_2.0.0+Atmel3.7.0-1.debian.tar.xz


gpgv: Signature made Sun Nov 26 20:50:45 2023 UTC
gpgv:                using RSA key 406220C8B8552802378CCE411F5C7A8B45564314
gpgv:                issuer "b...@debian.org"
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./avr-
libc_2.0.0+Atmel3.7.0-1.dsc: no acceptable signature found
dpkg-source: info: extracting avr-libc in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking avr-libc_2.0.0+Atmel3.7.0.orig.tar.xz
dpkg-source: info: unpacking avr-libc_2.0.0+Atmel3.7.0-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying man_pages_3avr.patch
dpkg-source: info: applying debian_additions.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 avr-libc
dpkg-buildpackage: info: source version 1:2.0.0+Atmel3.7.0-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Steve Meliza <s...@swm1.com>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
test -f debian/rules
[ ! -f Makefile ] || make -C libc/avr-libc distclean
rm -rf debian/tmp debian/files* core debian/substvars
rm -f build-stamp
rm -rf libc/avr-libc/avr
dh_clean
 debian/rules binary
test -f debian/rules
test root = "`whoami`"
make: *** [debian/rules:65: checkroot] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-15T19:50:51Z

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


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