Your message dated Tue, 07 Jan 2025 18:34:34 +0000
with message-id <[email protected]>
and subject line Bug#1089293: fixed in binfmtc 0.17-2.4
has caused the Debian Bug report #1089293,
regarding binfmtc: Supporting rootless builds by default
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1089293: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089293
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: binfmtc
Version: 0.17-2.3
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`,
binfmtc failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
----------------
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 binfmtc
dpkg-buildpackage: info: source version 0.17-2.3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Bastian Germann <[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: *** No rule to make target 'clean'. Stop.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: [debian/rules:38: clean] Error 2 (ignored)
/usr/bin/make distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: *** No rule to make target 'distclean'. Stop.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: [debian/rules:39: clean] Error 2 (ignored)
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level
9 in use)
debian/rules binary
dh_testdir
INSTALL_PROGRAM='install -p -o root -g root -m 755' CFLAGS='-Wall
-g -O2' dh_auto_configure
dh_auto_configure: warning: Compatibility levels before 10 are
deprecated (level 9 in use)
./configure --build=aarch64-linux-gnu --prefix=/usr
--includedir=\${prefix}/include --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir=\${prefix}/lib/aarch64-linux-gnu
--libexecdir=\${prefix}/lib/aarch64-linux-gnu --disable-maintainer-mode
--disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... checking whether we are cross
compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
touch configure-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make all-am
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2
-c binfmtc-interpreter.c
binfmtc-interpreter.c: In function ‘compile_source’:
binfmtc-interpreter.c:46:3: warning: ignoring return value of ‘asprintf’
declared with attribute ‘warn_unused_result’ [-Wunused-result]
46 | asprintf(&tempfilename, "%s/binfmtcXXXXXX",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47 | getenv("BINFMTCTMPDIR")?:
| ~~~~~~~~~~~~~~~~~~~~~~~~~
48 | getenv("TMPDIR")?:
| ~~~~~~~~~~~~~~~~~~
49 | getenv("TEMPDIR")?:
| ~~~~~~~~~~~~~~~~~~~
50 | "/tmp"
| ~~~~~~
51 | );
| ~
binfmtc-interpreter.c:102:3: warning: ignoring return value of
‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
102 | asprintf (&gcccommandline,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
103 | "%s -o %s %s %s %s \"%s\"",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 | compiler_name(),
| ~~~~~~~~~~~~~~~~
105 | tempfilename,
| ~~~~~~~~~~~~~
106 | gcc_x,
| ~~~~~~
107 | s+BINFMTC_MAGIC_LEN,
| ~~~~~~~~~~~~~~~~~~~~
108 | default_options(),
| ~~~~~~~~~~~~~~~~~~
109 | basename(sourcename));
| ~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2
-c binfmtc-lang-c.c
gcc -Wall -g -O2 -Wl,-z,relro -o binfmtc-interpreter
binfmtc-interpreter.o binfmtc-lang-c.o gcc -DHAVE_CONFIG_H -I.
-Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -c binfmtc-lang-f.c
gcc -Wall -g -O2 -Wl,-z,relro -o binfmtf-interpreter
binfmtc-interpreter.o binfmtc-lang-f.o gcc -DHAVE_CONFIG_H -I.
-Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -c binfmtc-lang-f95.c
gcc -Wall -g -O2 -Wl,-z,relro -o binfmtf95-interpreter
binfmtc-interpreter.o binfmtc-lang-f95.o gcc -DHAVE_CONFIG_H -I.
-Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -c binfmtc-lang-cxx.c
gcc -Wall -g -O2 -Wl,-z,relro -o binfmtcxx-interpreter
binfmtc-interpreter.o binfmtc-lang-cxx.o gcc -DHAVE_CONFIG_H -I.
-Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -c binfmtc-lang-asm.c
gcc -Wall -g -O2 -Wl,-z,relro -o binfmtasm-interpreter
binfmtc-interpreter.o binfmtc-lang-asm.o gcc -DHAVE_CONFIG_H -I.
-Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -c binfmtc-lang-gcj.c
gcc -Wall -g -O2 -Wl,-z,relro -o binfmtgcj-interpreter
binfmtc-interpreter.o binfmtc-lang-gcj.o make[2]: Leaving directory
'/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
#-/usr/bin/make check
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_clean: warning: Compatibility levels before 10 are deprecated (level
9 in use)
dh_clean: warning: dh_clean -k is deprecated; use dh_prep instead
dh_clean: warning: This feature will be removed in compat 12.
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
/usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/binfmtc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
test -z "/usr/bin" || /usr/bin/mkdir -p
"/<<PKGBUILDDIR>>/debian/binfmtc/usr/bin"
install -p -o root -g root -m 755 binfmtc-interpreter
binfmtf-interpreter binfmtf95-interpreter binfmtcxx-interpreter
binfmtasm-interpreter binfmtgcj-interpreter
'/<<PKGBUILDDIR>>/debian/binfmtc/usr/bin'
install: cannot change ownership of
'/<<PKGBUILDDIR>>/debian/binfmtc/usr/bin/binfmtc-interpreter': Operation
not permitted
install: cannot change ownership of
'/<<PKGBUILDDIR>>/debian/binfmtc/usr/bin/binfmtf-interpreter': Operation
not permitted
install: cannot change ownership of
'/<<PKGBUILDDIR>>/debian/binfmtc/usr/bin/binfmtf95-interpreter':
Operation not permitted
install: cannot change ownership of
'/<<PKGBUILDDIR>>/debian/binfmtc/usr/bin/binfmtcxx-interpreter':
Operation not permitted
install: cannot change ownership of
'/<<PKGBUILDDIR>>/debian/binfmtc/usr/bin/binfmtasm-interpreter':
Operation not permitted
install: cannot change ownership of
'/<<PKGBUILDDIR>>/debian/binfmtc/usr/bin/binfmtgcj-interpreter':
Operation not permitted
make[2]: *** [Makefile:346: install-binPROGRAMS] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:889: install-am] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:47: install] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-15T20:16:12Z
-------------------------------------------------------------------------------
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/975147.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
--- End Message ---
--- Begin Message ---
Source: binfmtc
Source-Version: 0.17-2.4
Done: Niels Thykier <[email protected]>
We believe that the bug you reported is fixed in the latest version of
binfmtc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Niels Thykier <[email protected]> (supplier of updated binfmtc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 02 Jan 2025 17:59:03 +0000
Source: binfmtc
Architecture: source
Version: 0.17-2.4
Distribution: unstable
Urgency: medium
Maintainer: Junichi Uekawa <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 1089293
Changes:
binfmtc (0.17-2.4) unstable; urgency=medium
.
* Non-maintainer upload.
* Remove need for root when building the package.
(Closes: #1089293)
* Replace `dh_clean -k` with `dh_prep`.
* Bump `Priority` to `optional` (`extra` is long gone).
Checksums-Sha1:
d65294624157a1d5d51b6ed56adeb767e341c07e 1338 binfmtc_0.17-2.4.dsc
f3809e0ee8241ee0672620d48afb54202e682036 4664 binfmtc_0.17-2.4.debian.tar.xz
3d4d686670827358d5cc4edb10fa0946c6d54f2d 5360 binfmtc_0.17-2.4_source.buildinfo
Checksums-Sha256:
935fbc3be1f4b74eed3ff7578d8d5c8035033531ca67959f0328907c694992fd 1338
binfmtc_0.17-2.4.dsc
1e374beb5a9f31762be5a4586e1989425501f52d3d1c7e884e47170a79a8d75c 4664
binfmtc_0.17-2.4.debian.tar.xz
44fd46de1ab378dc8f621de542ee3d6a70eff8eeabb078da7f65ec79b5c0bad0 5360
binfmtc_0.17-2.4_source.buildinfo
Files:
b6d9ff2b62a6ccf0484421435065df9d 1338 utils optional binfmtc_0.17-2.4.dsc
ec816498ca55dfacbeff77fdacf81b96 4664 utils optional
binfmtc_0.17-2.4.debian.tar.xz
a32a293600ed3da18c1f4898b8448770 5360 utils optional
binfmtc_0.17-2.4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFGBAEBCgAwFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmd21HkSHG5pZWxzQHRo
eWtpZXIubmV0AAoJEHQNaIiDZdKJ59AH/1crAYPCNz6mg0n7k/Zj6gE5PY3O73pk
XRh4CiC/vhp46B49+wTg6sXAZXeRXSVQ9mtSjWs78dyFzROybPEMjjwmAV3WJ95T
ibpD0p0pY6na1EX49P9R5G/qHpEWY5u7FWd/7b/+x8io3qO607xV2TmpQWVRdaYS
aVOgYD848ingC4WGJtSoHE/LIOD3MYENQlwjqo11e85WROuNMI5UONsAmib9T5Kq
ezudycJYI+3lAAQzmyN7XpjTEzH0xoJNb0nztFWtg6n6naUne5amULFj6p51y59t
VOyKBQgxaCP+Ve2dHhT1+j+rYqcLwIYFZfs/HFZmTD3cYpi//QYpegg=
=kD15
-----END PGP SIGNATURE-----
pgpiD61JtDP3u.pgp
Description: PGP signature
--- End Message ---