Your message dated Wed, 01 Jan 2025 22:35:17 +0000
with message-id <e1tt7j7-00devp...@fasolo.debian.org>
and subject line Bug#1089486: fixed in z8530-utils2 3.0-1-12
has caused the Debian Bug report #1089486,
regarding z8530-utils2: 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 ow...@bugs.debian.org
immediately.)


-- 
1089486: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089486
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: z8530-utils2
Version: 3.0-1-11
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`,
z8530-utils2 failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
  298 |         if (fgets(buf, sizeof(buf), fp) == NULL)
      |                   ^~~
      |                   |
      |                   unsigned char *
/usr/include/aarch64-linux-gnu/bits/stdio2.h:305:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sccparam.c:49:
sccutils.h: In function ‘check_version’:
sccstat.c:301:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign]
  301 |         if (!strncmp(buf, MSG_NOTINIT, strlen(MSG_NOTINIT)))
      |                      ^~~
      |                      |
      |                      unsigned char *
sccutils.h:17:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   17 |         fgets(buf, sizeof(buf), fp);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sccstat.c:36:
/usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                     ~~~~~~~~~~~~^~~~
sccstat.c:307:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign]
  307 |         if (!strncmp(buf, MSG_NOCHIPS, strlen(MSG_NOCHIPS)))
      |                      ^~~
      |                      |
      |                      unsigned char *
/usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                     ~~~~~~~~~~~~^~~~
sccstat.c:318:42: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness [-Wpointer-sign]
  318 |                         if (strncmp(dev, buf, strlen(dev)))
      |                                          ^~~
      |                                          |
      |                                          unsigned char *
/usr/include/string.h:159:51: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                                       ~~~~~~~~~~~~^~~~
sccstat.c:340:49: warning: pointer targets in passing argument 1 of ‘print_proc_kiss’ differ in signedness [-Wpointer-sign]
  340 |                                 print_proc_kiss(buf);
      |                                                 ^~~
      |                                                 |
      |                                                 unsigned char *
sccstat.c:241:23: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  241 | print_proc_kiss(char *buf)
      |                 ~~~~~~^~~
sccstat.c:343:50: warning: pointer targets in passing argument 1 of ‘print_proc_wregs’ differ in signedness [-Wpointer-sign]
  343 |                                 print_proc_wregs(buf);
      |                                                  ^~~
      |                                                  |
      |                                                  unsigned char *
sccstat.c:264:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  264 | print_proc_wregs(char *buf)
      |                  ~~~~~~^~~
sccstat.c:346:50: warning: pointer targets in passing argument 1 of ‘print_proc_rregs’ differ in signedness [-Wpointer-sign]
  346 |                                 print_proc_rregs(buf);
      |                                                  ^~~
      |                                                  |
      |                                                  unsigned char *
sccstat.c:270:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  270 | print_proc_rregs(char *buf)
      |                  ~~~~~~^~~
sccstat.c:349:50: warning: pointer targets in passing argument 1 of ‘print_proc_debug’ differ in signedness [-Wpointer-sign]
  349 |                                 print_proc_debug(buf);
      |                                                  ^~~
      |                                                  |
      |                                                  unsigned char *
sccstat.c:276:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  276 | print_proc_debug(char *buf)
      |                  ~~~~~~^~~
sccstat.c:352:24: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign]
  352 |         } while (fgets(buf, sizeof(buf), fp) != NULL);
      |                        ^~~
      |                        |
      |                        unsigned char *
/usr/include/aarch64-linux-gnu/bits/stdio2.h:305:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sccstat.c:49:
sccutils.h: In function ‘check_version’:
sccutils.h:17:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   17 |         fgets(buf, sizeof(buf), fp);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘fgets’,
    inlined from ‘main’ at sccinit.c:252:3:
/usr/include/aarch64-linux-gnu/bits/stdio2.h:316:12: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning]
  316 |     return __fgets_chk_warn (__s, __sz, __n, __stream);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -g -Wl,-z,relro -O2 -Wall -g -Wstrict-prototypes kissbridge.c -o kissbridge
kissbridge.c: In function ‘main’:
kissbridge.c:185:78: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 185 | len = recvfrom(sock_fd, buf, sizeof(buf), 0, &saddr, &addrlen); | ^~~~~~~~ | | | int *
In file included from /usr/include/aarch64-linux-gnu/sys/socket.h:343,
                 from kissbridge.c:26:
/usr/include/aarch64-linux-gnu/bits/socket2.h:69:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’
   69 |           __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
      |                                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
kissbridge.c:140:24: warning: variable ‘t’ set but not used [-Wunused-but-set-variable]
  140 |         struct timeval t;
      |                        ^
kissbridge.c: In function ‘kiss_encode’:
kissbridge.c:73:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   73 |         write(fd, mybuf, cnt2);
      |         ^~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_installdirs
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
make -j4 install DESTDIR=/<<PKGBUILDDIR>>/debian/z8530-utils2 AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
install --strip-program=true -s -g root -o root -m 0755 -s gencfg /<<PKGBUILDDIR>>/debian/z8530-utils2/usr/bin/gencfg install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/z8530-utils2/usr/bin/gencfg': Operation not permitted
make[2]: *** [Makefile:27: install] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j4 install DESTDIR=/<<PKGBUILDDIR>>/debian/z8530-utils2 AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:22: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T21:56:44Z

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


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


--- End Message ---
--- Begin Message ---
Source: z8530-utils2
Source-Version: 3.0-1-12
Done: Christoph Berg <m...@debian.org>

We believe that the bug you reported is fixed in the latest version of
z8530-utils2, 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 1089...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <m...@debian.org> (supplier of updated z8530-utils2 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 01 Jan 2025 23:27:07 +0100
Source: z8530-utils2
Architecture: source
Version: 3.0-1-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-h...@lists.debian.org>
Changed-By: Christoph Berg <m...@debian.org>
Closes: 1089486
Changes:
 z8530-utils2 (3.0-1-12) unstable; urgency=medium
 .
   * Team upload.
   * Build without root. (Closes: #1089486)
Checksums-Sha1:
 963187935b37e449e766239b2c5585c53c45a1c2 1973 z8530-utils2_3.0-1-12.dsc
 0c1a4de072229deb85cc9b864d847f56dc117e01 7140 
z8530-utils2_3.0-1-12.debian.tar.xz
Checksums-Sha256:
 f5986ff33d21cabc4ec4b0bae6527ad2d7c19686fe6b5b2fdf56c51a1003c299 1973 
z8530-utils2_3.0-1-12.dsc
 48bf9644d77d15a4fe1514b677654f4662b2ee9dd9e35909d49fa37cde895142 7140 
z8530-utils2_3.0-1-12.debian.tar.xz
Files:
 b7ce1bb98bc13b779c9053908450e882 1973 hamradio optional 
z8530-utils2_3.0-1-12.dsc
 ba5d33ca1ae6ebd2f52a19c84fc8bb2e 7140 hamradio optional 
z8530-utils2_3.0-1-12.debian.tar.xz

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

iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmd1wdQACgkQTFprqxLS
p65wDQ/+Id2b/G3Egv0k9JHQ3TXUkhW4JoTjGgRZsfqBdhERIvb2WQSzvH8BOQkH
lIGOTnZFWDQJavdlQ1zPsrMKMVi2PgaKxCgZXEB4GE/m9VPeNC1esyBWom5TLwDA
Urn/F5gpxVDiRthJvAq2DtSAevHCU/0eWRy7nsxpVRqM+K0rdiGk30QgRGS9t7PG
+a+SmVFvsq3CIaBwfxoaqlclWRukGUkbwtjNCh0aApM/2jP0dMEGYy6wmGyOzBMi
AxNRnpt7BSd/UVzIWQfKvr72AbFeIX79OrKhLFMQFPp7WdCoEchPJBo/icu0Vnni
UPVjXs/9fv+xHD2ZQSji3GEhYNp9u+GY/RRDHtT1ocjgjgmehmc+Womd0mtTRCtX
NFOL/Nmf8IKh53Yw8pkv8eUQZ3fsoKP4/22DFQbDPFrGjITSV9/eREUvTNhZqBET
fc23Vy5DBBbPJG2jHEhYc0Evi6hfZMLMOwlnePSI255fNVFbg2a5cEFkBY0GB6Kz
5XpZ/L9UuR8RELikiXcj1mjWtdLLjnaFElNXRXpnaLG7lHF8FuibJJBgD/shHChU
KXL7ffF3IkVi67Qkg2X3QKcotyWLE9s5viWtp/7A0W9+2nFffXIuFLRhC7juacje
bDpitS/Yv35V7Wg3q+kM9YSrZtmnBcgr1l5ilM2Dix9gkv0ajPk=
=leC6
-----END PGP SIGNATURE-----

Attachment: pgpXJWgCTpzqc.pgp
Description: PGP signature


--- End Message ---

Reply via email to