Source: darkstat
Version: 3.0.719-1.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`,
darkstat failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
Maintainer: Rene Mayorga <rmayo...@debian.org>
Uploaders: Emil Mikulic <emiku...@gmail.com>
Homepage: https://unix4lyfe.org/darkstat/
Standards-Version: 3.9.6
Build-Depends: debhelper (>= 9), libpcap-dev, autotools-dev, po-debconf, zlib1g-dev
Package-List:
 darkstat deb net optional arch=any
Checksums-Sha1:
519f5bb783a478de4e9ac9a5f9a2031fbe7143af 117695 darkstat_3.0.719.orig.tar.bz2 47074f6a5a70558f83da2427448af98a826389a6 17868 darkstat_3.0.719-1.1.debian.tar.xz
Checksums-Sha256:
aeaf909585f7f43dc032a75328fdb62114e58405b06a92a13c0d3653236dedd7 117695 darkstat_3.0.719.orig.tar.bz2 e9fb569a2b7fdd295683c91b5f590fb151733c36d273207d189734c9ce175775 17868 darkstat_3.0.719-1.1.debian.tar.xz
Files:
 963145de05cb21f4d93a9c244beeaea0 117695 darkstat_3.0.719.orig.tar.bz2
 f78c1026acfe49e35b0cba4f10de7225 17868 darkstat_3.0.719-1.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE0cuPObxd7STF0seMEwLx8Dbr6xkFAmPJutIACgkQEwLx8Dbr
6xlqCg//aHGFbdsZxBY9dqjkA7cabUiPrnxHlnAmBnUx+xWlIuL289uB4nYiG32K
oy5Yvc0OR64KpLI0BUAxvjbr8Ygj3JprFseSvl38wuX6c/Hih20FtE3ntUPXQsCq
SekalG0U3KUpIxYXYMn2BhRFNWH3OSPKTAjrNbFuH6tmoAQ8JDWy0xFlyxhGN5Uk
2TSSBvc3vwxxfjot3SFlsNvB3CcBBFScgNoV+z13Of8JuDZyyNdjzUs1D0M++48r
EGpOq8OydGQ6KEPkeU521zTFuTkQ49niKt65T6J64VoQhaczHcVpF5W4j0MxUc99
x5SCKyI3npQ5GkWHb/cKehzriw7OJNygdVsGszywWz4kxj3/LGR5TVrlRhwR6z6C
xQXCNCdEjqWRdc4IkTPz+yV/84PW6OXrSGOvg9XdmQ5zXTqT9hfxwuvL+9uuQGFx
0qwBK6dSp3KI9i+EM6tBShYZPwUCZso2RvNImma4zdGkQY+NgwgWwLegPU/Wtu3a
y8FTu/66dm1s2DllXJQIW+VpyPyILcI00JkrUxxFDw431G/7BXDlaFJm6yqxSyq4
djJKiFd7OMC8UXpl4vGlcfck5iPHFWThOL1SwuQdbPVLs1pr0Mi9OTw5CWbuGCx0
K+R380XL1DxpsBzDAxfv4GZjdVHk35eyIIguFfx932xZf41wZls=
=Rn7R
-----END PGP SIGNATURE-----

gpgv: Signature made Thu Jan 19 21:49:06 2023 UTC
gpgv:                using RSA key D1CB8F39BC5DED24C5D2C78C1302F1F036EBEB19
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./darkstat_3.0.719-1.1.dsc: no acceptable signature found
dpkg-source: info: extracting darkstat in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking darkstat_3.0.719.orig.tar.bz2
dpkg-source: info: unpacking darkstat_3.0.719-1.1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying CorrectTcmpdump-section

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 darkstat
dpkg-buildpackage: info: source version 3.0.719-1.1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Dr. Helge Kreutzmann <deb...@helgefjell.de>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh_testdir
dh_testroot
dh_clean build-stamp configure-stamp config.status config.log install-tamp config.sub config.guess dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
[ ! -f Makefile ] || /usr/bin/make clean
[ ! -f Makefile ] || rm -f Makefile
[ ! -f config.h ] || rm -f config.h
[ ! -f darkstat.8 ] || rm -f darkstat.8
debconf-updatepo
 debian/rules binary
dh_testdir
cp /usr/share/misc/config.sub /usr/share/misc/config.guess .
CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard" ./configure --host=aarch64-linux-gnu --build=aarch64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man
checking for a BSD-compatible install... /usr/bin/install -c
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-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 aarch64-linux-gnu-gcc accepts -g... yes
checking for aarch64-linux-gnu-gcc option to accept ISO C89... none needed
checking for C/C++ restrict keyword... __restrict
checking if we want debug code... sure
checking if your C compiler wants a hit off the pipe... sure does
checking if your C compiler has a link-time optimizer... sure does
checking for deflate in -lz... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing hstrerror... none required
checking how to run the C preprocessor... aarch64-linux-gnu-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 sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for library containing getifaddrs... none required
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for pcap_loop in -lpcap... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for library containing setproctitle... no
checking for library containing strlcpy... none required
checking for library containing strlcat... none required
checking bsd/string.h usability... no
checking bsd/string.h presence... no
checking for bsd/string.h... no
checking bsd/unistd.h usability... no
checking bsd/unistd.h presence... no
checking for bsd/unistd.h... no
checking for library containing clock_gettime... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating darkstat.8
config.status: creating config.h
touch configure-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory '/<<PKGBUILDDIR>>'
  CC     acct.o
  CC     addr.o
  CC     bsd.o
  CC     cap.o
  CC     conv.o
  CC     darkstat.o
  CC     daylog.o
  CC     db.o
  CC     decode.o
  CC     dns.o
  CC     err.o
  CC     graph_db.o
  CC     hosts_db.o
  CC     hosts_sort.o
  CC     html.o
  HOSTCC c-ify
  C-IFY  stylecss.h
  C-IFY  graphjs.h
  CC     http.o
  CC     localip.o
  CC     ncache.o
  CC     now.o
  CC     pidfile.o
  CC     str.o
  LINK   darkstat
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
/usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/darkstat
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/install -c -d /<<PKGBUILDDIR>>/debian/darkstat/usr/sbin
/usr/bin/install -c -m 555 darkstat /<<PKGBUILDDIR>>/debian/darkstat/usr/sbin
/usr/bin/install -c -d /<<PKGBUILDDIR>>/debian/darkstat/usr/share/man/man8
/usr/bin/install -c -m 444 darkstat.8 /<<PKGBUILDDIR>>/debian/darkstat/usr/share/man/man8
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
install -m 644 debian/init.cfg /<<PKGBUILDDIR>>/debian/darkstat/etc/darkstat
touch install-stamp
dh_testdir
dh_testroot
dh_installdebconf
dh_installdebconf: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installdocs -n
dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installinit -R
dh_installinit: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installchangelogs ChangeLog
dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_strip
dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) strip: unable to copy file 'debian/darkstat/usr/sbin/darkstat'; reason: Permission denied dh_strip: error: strip --remove-section=.comment --remove-section=.note debian/darkstat/usr/sbin/darkstat returned exit code 1
dh_strip: error: Aborting due to earlier error
make: *** [debian/rules:58: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T00:06:48Z

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


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