Your message dated Mon, 09 Dec 2024 14:40:49 +0000 with message-id <E1tKewL-001Oc5-J5@fasolo.debian.org> and subject line Bug#1089445: fixed in sup 20100519-5 has caused the Debian Bug report #1089445, regarding sup: 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 owner@bugs.debian.org immediately.) -- 1089445: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089445 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: sup: Supporting rootless builds by default
- From: Niels Thykier <niels@thykier.net>
- Date: Sat, 7 Dec 2024 21:49:18 +0100
- Message-id: <[🔎] 26b9f2c5-9f7c-47ca-8518-4ebef040a6ac@thykier.net>
Source: sup Version: 20100519-4 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: niels@thykier.net User: niels@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`, sup failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] 1041 | (void) chdir(basedir); | ^~~~~~~~~~~~~~scan.c:1051:16: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]1051 | (void) chdir(basedir); | ^~~~~~~~~~~~~~scan.c:1052:16: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]1052 | (void) chdir(prefix); | ^~~~~~~~~~~~~ In file included from supcdefs.h:77: supcmeat.c: In function ‘recvreg’:sup.h:147:25: warning: ‘/BACKUP/’ directive writing 8 bytes into a region of size between 1 and 2000 [-Wformat-overflow=]147 | #define FILEBACKUP "%s/BACKUP/%s" | ^~~~~~~~~~~~~~ supcmeat.c:1004:42: note: in expansion of macro ‘FILEBACKUP’1004 | (void) sprintf(filename, FILEBACKUP, dirpart, filepart);| ^~~~~~~~~~ sup.h:147:28: note: format string is defined here 147 | #define FILEBACKUP "%s/BACKUP/%s" | ^~~~~~~~ In function ‘sprintf’, inlined from ‘recvreg’ at supcmeat.c:1004:10:/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 9 and 4007 bytes into a destination of size 200030 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ supcmeat.c: In function ‘recvreg’:sup.h:146:25: warning: ‘/BACKUP’ directive writing 7 bytes into a region of size between 1 and 2000 [-Wformat-overflow=]146 | #define FILEBKDIR "%s/BACKUP" | ^~~~~~~~~~~ supcmeat.c:1007:45: note: in expansion of macro ‘FILEBKDIR’ 1007 | (void) sprintf(buf, FILEBKDIR, dirpart); | ^~~~~~~~~ sup.h:146:28: note: format string is defined here 146 | #define FILEBKDIR "%s/BACKUP" | ^~~~~~~ In function ‘sprintf’, inlined from ‘recvreg’ at supcmeat.c:1007:11:/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 8 and 2007 bytes into a destination of size 200030 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ar r libextra.a atoo.o expand.o ffilecopy.o filecopy.o nxtarg.o path.o quit.o read_line.o run.o estrdup.o skipto.o vprintf.o setproctitle.oar: creating libextra.a supfilesrv.c: In function ‘main’:supfilesrv.c:404:17: warning: ignoring return value of ‘daemon’ declared with attribute ‘warn_unused_result’ [-Wunused-result]404 | daemon(0, 0); | ^~~~~~~~~~~~ supfilesrv.c: In function ‘srvsetup’:supfilesrv.c:935:24: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]935 | (void) chdir(basedir); | ^~~~~~~~~~~~~~ ranlib libextra.a supfilesrv.c: In function ‘srvfinishup’:supfilesrv.c:1511:16: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]1511 | (void) write(logfd, tmpbuf, (p - tmpbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scan.c: In function ‘chkscanfile’:scan.c:947:34: warning: ‘.temp’ directive writing 5 bytes into a region of size between 1 and 2000 [-Wformat-overflow=]947 | (void) sprintf(tname, "%s.temp", fname); | ^~~~~ In file included from /usr/include/stdio.h:970, from libc.h:85, from supcdefs.h:59, from scan.c:101: In function ‘sprintf’, inlined from ‘chkscanfile’ at scan.c:947:9:/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 6 and 2005 bytes into a destination of size 200030 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scan.c: In function ‘makescanfile’:scan.c:966:34: warning: ‘.temp’ directive writing 5 bytes into a region of size between 1 and 2000 [-Wformat-overflow=]966 | (void) sprintf(tname, "%s.temp", fname); | ^~~~~ In function ‘sprintf’, inlined from ‘makescanfile’ at scan.c:966:9:/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 6 and 2005 bytes into a destination of size 200030 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~cc -UCMUCS -UCMU -UMACH -DVAR_TMP -DHAS_DAEMON -DHAS_POSIX_DIR -DNEED_SETPROCTITLE -DLIBWRAP -I. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -o sup supcmain.o supcvers.o supcparse.o supcname.o supcmisc.o supcmeat.o scm.o scmio.o stree.o log.o supmsg.o netcrypt.o libextra.a -lcrypt -lwrap cc -UCMUCS -UCMU -UMACH -DVAR_TMP -DHAS_DAEMON -DHAS_POSIX_DIR -DNEED_SETPROCTITLE -DLIBWRAP -I. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -o supscan supscan.o stree.o scan.o libextra.a -lcrypt -lwrap cc -UCMUCS -UCMU -UMACH -DVAR_TMP -DHAS_DAEMON -DHAS_POSIX_DIR -DNEED_SETPROCTITLE -DLIBWRAP -I. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -o supfilesrv supfilesrv.o scan.o scm.o scmio.o stree.o log.o supmsg.o netcrypt.o wrap_pwd.o libextra.a libextra.a -lcrypt -lwrapmake[2]: Leaving directory '/<<PKGBUILDDIR>>' 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 -- PREFIX=/<<PKGBUILDDIR>>/debian/sup/usrmake -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/sup AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" PREFIX=/<<PKGBUILDDIR>>/debian/sup/usrmake[2]: Entering directory '/<<PKGBUILDDIR>>'install -c -m 555 -o bin -g bin sup supscan supfilesrv /<<PKGBUILDDIR>>/debian/sup/usr/bin install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/sup/usr/bin/sup': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/sup/usr/bin/supscan': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/sup/usr/bin/supfilesrv': Operation not permittedmake[2]: *** [Makefile:138: install] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>'dh_auto_install: error: make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/sup AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" PREFIX=/<<PKGBUILDDIR>>/debian/sup/usr returned exit code 2make[1]: *** [debian/rules:14: override_dh_auto_install] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: binary] Error 2dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2-------------------------------------------------------------------------------- Build finished at 2024-11-18T16:22:43Z ------------------------------------------------------------------------------- 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/1046742.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 ---
- To: 1089445-close@bugs.debian.org
- Subject: Bug#1089445: fixed in sup 20100519-5
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Mon, 09 Dec 2024 14:40:49 +0000
- Message-id: <E1tKewL-001Oc5-J5@fasolo.debian.org>
- Reply-to: Alexandre Detiste <tchet@debian.org>
Source: sup Source-Version: 20100519-5 Done: Alexandre Detiste <tchet@debian.org> We believe that the bug you reported is fixed in the latest version of sup, 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 1089445@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alexandre Detiste <tchet@debian.org> (supplier of updated sup 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 ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 09 Dec 2024 14:53:08 +0100 Source: sup Architecture: source Version: 20100519-5 Distribution: unstable Urgency: medium Maintainer: Debian QA Group <packages@qa.debian.org> Changed-By: Alexandre Detiste <tchet@debian.org> Closes: 1089445 Changes: sup (20100519-5) unstable; urgency=medium . * QA upload. * Patch Makefile for "Rules-Requires-Root: no" (Closes: #1089445) Checksums-Sha1: 858ec23945f87d30c0f18357e58a93162650b0ee 1691 sup_20100519-5.dsc 13207b8571589acb0fc0b53dcce29fab0bf5de1b 18692 sup_20100519-5.debian.tar.xz 2f89870b787cf995c6e5ddb8d32fc3b4109f75a0 6888 sup_20100519-5_source.buildinfo Checksums-Sha256: e2e9cd07a60cbc0506ae2b67323cfcf1aa0b293a7268d4506c51c1a517b0eaf7 1691 sup_20100519-5.dsc 984b9bb58da960d17c916e2f388979085f256b95a6bd153f8c4a9127a66f16e9 18692 sup_20100519-5.debian.tar.xz 75d3cc6e31899bf201dd5eb17c42d2c6a9d6e0b258a8e891bcdd58db3761fb7c 6888 sup_20100519-5_source.buildinfo Files: d45b244ad1230ade11d3d53f80472e29 1691 devel optional sup_20100519-5.dsc b82c2382a197929cf141d9ee49e970ef 18692 devel optional sup_20100519-5.debian.tar.xz cc0c82b9e0a56fc4173b2d15b4e675ca 6888 devel optional sup_20100519-5_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmdW9lERHHRjaGV0QGRl Ymlhbi5vcmcACgkQMfMURUShdBrTpQ//bIAZTq7BrBuhvcoX9N9HWyYlIAR+QdX5 CedFyV3CNYkiv69fmn2Y9IZp7/6nta05W937nJvT/ANZPGQC0Z/+rmJmhjOJeSoO D9LuMgB4ibDb9YPbn9KLzSbwRpjQ6Le35UAllnsMinP6DmAaobHM4ywZ2q6sbPDz VBAca3kQGWMxeoAEh7fLqg4diKk8RDHJHmmuJmkmTAem2ex/uQd/LtAXIfqwH6+G n1ZTmFX4j0CF5/yr2EKGhEGAWoTEEYIpOY7QorHJEUIZq9lBF2n4RGb34EkwU3cF Qw/eqeTSNLL7hXWeOy2HIPxTtVsMHCOZ7rcoLTCtCgEsoNflDUnIzs1PcfccOnNC nRuJQyaDpjkmldPc15JHDiNW/lzD51Mo5HCVRsKpARMNUUzqBD7GkLcmJut8+ukg eBrBrlAi7RIZM3rUz8fC9bha7Sm3KlHDA7GQv4nBcWIKn3ftbmdB/1cdw466BeJJ Pus71pB/5JRdVe8BF1UfAGQPnGFtYpD+Vz+Yh3UWJL/aJxNZyRa+EK4/PM39Tg8S OobJUX4lLbAuExEQ5HBnn5jKCVHTDDuq8J/1FB8BZk4+Jw+uqE8CMF5dAKY9qezq +ukHMvsqDxWinTbmrQh7IljykUzFfu7NCe1Om3kHWE4O8+HNRzlNsea6hmTehDFk JdSsAm8EjDw= =WgHN -----END PGP SIGNATURE-----Attachment: pgpp3PJXeNGXh.pgp
Description: PGP signature
--- End Message ---