Source: ethstatus
Version: 0.4.9
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`,
ethstatus failed to rebuild.

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

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


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

Format: 3.0 (native)
Source: ethstatus
Binary: ethstatus
Architecture: linux-any
Version: 0.4.9
Maintainer: Marcio de Souza Oliveira <[email protected]>
Standards-Version: 4.1.4
Build-Depends: debhelper (>= 9), libncurses5-dev
Package-List:
 ethstatus deb net optional arch=linux-any
Checksums-Sha1:
 8df23ab4899dcda023d033bf1a6f669acfd03859 18136 ethstatus_0.4.9.tar.xz
Checksums-Sha256:
 4a85051f9d704c88e770577f18caaf4b97583e622a919dfdc87e0bd6b8166722 18136
ethstatus_0.4.9.tar.xz
Files:
 f2343f087a3e56d59928b79438a959c5 18136 ethstatus_0.4.9.tar.xz


gpgv: Signature made Wed Jun 20 03:45:02 2018 UTC
gpgv:                using RSA key B8BF6B0CCCA27CB17427AEE6476DF16D280CDAD3
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
ethstatus_0.4.9.dsc: no acceptable signature found
dpkg-source: info: extracting ethstatus in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking ethstatus_0.4.9.tar.xz

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 ethstatus
dpkg-buildpackage: info: source version 0.4.9
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Marcio de Souza Oliveira
<[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --parallel
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_auto_clean -O--parallel
dh_auto_clean: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
        make -j16 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f ethstatus *.o core *~ make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean -O--parallel
dh_clean: warning: Compatibility levels before 10 are deprecated (level
9 in use)
 debian/rules binary
dh binary --parallel
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_update_autotools_config -O--parallel
   dh_auto_configure -O--parallel
dh_auto_configure: warning: Compatibility levels before 10 are
deprecated (level 9 in use)
   dh_auto_build -O--parallel
dh_auto_build: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
        make -j16
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/
<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
Wformat -Werror=format-security -mbranch-protection=standard -O2 -Wall -
Wdate-time -D_FORTIFY_SOURCE=2 -o ethstatus ethstatus.c -Wl,-z,relro -
Wl,-z,now -lncurses
ethstatus.c: In function ‘main’:
ethstatus.c:614:44: warning: variable ‘reload’ set but not used [-
Wunused-but-set-variable]
  614 |    short int x, y, key_pressed, first = 1, reload = FALSE;
      |                                            ^~~~~~
ethstatus.c: In function ‘check_email’:
ethstatus.c:105:17: warning: ignoring return value of ‘fgets’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
  105 |                 fgets(buf, 128, email_box);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
ethstatus.c: In function ‘is_online’:
ethstatus.c:166:9: warning: ignoring return value of ‘fgets’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
  166 |         fgets(check, 256, routefile);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ethstatus.c: In function ‘close_eths’:
ethstatus.c:556:4: warning: ignoring return value of ‘system’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
  556 |    system("clear");
      |    ^~~~~~~~~~~~~~~
ethstatus.c: In function ‘main’:
ethstatus.c:845:4: warning: ignoring return value of ‘system’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
  845 |    system("clear");
      |    ^~~~~~~~~~~~~~~
ethstatus.c: In function ‘opt_analiser’:
ethstatus.c:303:11: warning: function returns address of local variable
[-Wreturn-local-addr]
  303 |    return rt;
      |           ^~
ethstatus.c:279:9: note: declared here
  279 |    char real[256], temp[256], *rt;
      |         ^~~~
ethstatus.c: In function ‘get_option’:
ethstatus.c:332:11: warning: function returns address of local variable
[-Wreturn-local-addr]
  332 |    return rt;
      |           ^~
ethstatus.c:313:20: note: declared here
  313 |    char real[256], get[256], *rt;
      |                    ^~~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--parallel
dh_auto_test: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   dh_testroot -O--parallel
   dh_prep -O--parallel
   dh_installdirs -O--parallel
dh_installdirs: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   dh_auto_install --destdir=debian/ethstatus/ -O--parallel
dh_auto_install: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
        make -j16 install DESTDIR=/<<PKGBUILDDIR>>/debian/ethstatus
AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Edited for Debian GNU/Linux.
/usr/bin/install -o 0 -g 0 -m 0755 ethstatus /<<PKGBUILDDIR>>/debian/
ethstatus/usr/bin
/usr/bin/install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/
ethstatus/usr/bin/ethstatus': Operation not permitted
make[1]: *** [Makefile:28: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j16 install DESTDIR=/<<PKGBUILDDIR>>/
debian/ethstatus AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [debian/rules:7: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T02:40:06Z

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


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