Source: xringd Version: 1.20-27.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`,
xringd failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
+------------------------------------------------------------------------------+
| Build
|
+------------------------------------------------------------------------------+
Unpack source
-------------
Format: 3.0 (quilt)
Source: xringd
Binary: xringd
Architecture: any
Version: 1.20-27.1
Maintainer: Steve Kowalik <[email protected]>
Standards-Version: 3.9.5
Build-Depends: debhelper (>= 9)
Package-List:
xringd deb comm extra arch=any
Checksums-Sha1:
8855851ce9b14718417386d8b777419796514e29 31787 xringd_1.20.orig.tar.gz
3b965581e0f1f15e4a8ba62745593b423f04317d 12024
xringd_1.20-27.1.debian.tar.xz
Checksums-Sha256:
3ecfa6fa8b871b6d92168370fdfab1bf48a90ddbf10a738f384def3b07a1b77f 31787
xringd_1.20.orig.tar.gz
45a6b95ffa89374bc8980f68647146efa6dc932dc2e3c6b68d781c6f1386eb81 12024
xringd_1.20-27.1.debian.tar.xz
Files:
e60aad96df5db19a8eee3813ae59f37c 31787 xringd_1.20.orig.tar.gz
c6fe5ae4bfe296e1bfe375baad8ec8c8 12024 xringd_1.20-27.1.debian.tar.xz
gpgv: Signature made Wed Aug 16 15:07:53 2023 UTC
gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314
gpgv: issuer "[email protected]"
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
xringd_1.20-27.1.dsc: no acceptable signature found
dpkg-source: info: extracting xringd in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking xringd_1.20.orig.tar.gz
dpkg-source: info: unpacking xringd_1.20-27.1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying debian.patch
Check disk space
----------------
Sufficient free space for build
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.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 xringd
dpkg-buildpackage: info: source version 1.20-27.1
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 clean
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_auto_clean
dh_auto_clean: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
make -j1 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f *.o xringd errors tags uartcount
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level
9 in use)
debian/rules binary
dh binary
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_update_autotools_config
dh_auto_configure
dh_auto_configure: warning: Compatibility levels before 10 are
deprecated (level 9 in use)
dh_auto_build
dh_auto_build: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/
<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
Wformat -Werror=format-security -mbranch-protection=standard -Wall -O2 -
DVERSION=\"1.20\" -DMODEM_FILE=\"/dev/ttyS0\" -DCONF_FILE=\"/etc/
xringd.conf\" -DINIT_TIMEOUT=15 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o
ringsm.o ringsm.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/
<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
Wformat -Werror=format-security -mbranch-protection=standard -Wall -O2 -
DVERSION=\"1.20\" -DMODEM_FILE=\"/dev/ttyS0\" -DCONF_FILE=\"/etc/
xringd.conf\" -DINIT_TIMEOUT=15 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o
xringd.o xringd.c
xringd.c: In function ‘daemon_init’:
xringd.c:474:9: warning: ignoring return value of ‘chdir’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
474 | chdir("/");
| ^~~~~~~~~~
xringd.c: In function ‘fork_cmd’:
xringd.c:529:17: warning: ignoring return value of ‘setuid’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
529 | setuid(getuid());
| ^~~~~~~~~~~~~~~~
xringd.c:530:17: warning: ignoring return value of ‘setgid’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
530 | setgid(getgid());
| ^~~~~~~~~~~~~~~~
gcc -Wl,-z,relro ringsm.o xringd.o -o xringd
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test
dh_auto_test: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
dh_prep
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
dh_auto_install --destdir=debian/xringd/
dh_auto_install: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/xringd
AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/install -o root -g bin -m 755 xringd /<<PKGBUILDDIR>>/debian/
xringd/usr/sbin
/usr/bin/install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/
xringd/usr/sbin/xringd': Operation not permitted
make[1]: *** [Makefile:37: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j1 install DESTDIR=/<<PKGBUILDDIR>>/
debian/xringd AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [debian/rules:3: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T21:21:25Z
-------------------------------------------------------------------------------
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/1052645.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

