Your message dated Tue, 09 Apr 2024 22:35:39 +0000 with message-id <E1ruK43-0025k5-5R@fasolo.debian.org> and subject line Bug#1063624: fixed in glibc 2.37-16 has caused the Debian Bug report #1063624, regarding libc.preinst: please skip kernel check via uname when DPKG_ROOT is not empty for gnu hurd support 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.) -- 1063624: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063624 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libc.preinst: please skip kernel check via uname when DPKG_ROOT is not empty for gnu hurd support
- From: Johannes Schauer Marin Rodrigues <josch@debian.org>
- Date: Fri, 09 Feb 2024 23:46:40 +0100
- Message-id: <170751880000.957008.9723250983986113448.reportbug@localhost>
Source: glibc Version: 2.37-15 Severity: normal Tags: patch User: debian-hurd@lists.debian.org Usertags: hurd X-Debbugs-Cc: debian-hurd@lists.debian.org, debian-cross@lists.debian.org Hi, one of the reasons for DPKG_ROOT support in packages close to the essential and build-essential set is to build chroots for architectures that do not have qemu-user support. Building chroots for hurd from linux is one such scenario where qemu-user emulation will never allow running hurd binaries from the chroot on the linux system creating that chroot and thus the only way to create it (short of running the whole thing inside a full virtual machine) is to use chrootless mode. In our last round of DPKG_ROOT related patches we built chroots for other linux architectures on linux. Now we try building chroots for foreign kernels. In this case: hurd on linux. In the process we discovered another problem class: maintainer scripts running uname. This is a problem because "uname -s" will print "Linux" and thus the linux-specific parts of the maintainer script get executed but we want to build a hurd chroot and need the hurd-specific bits instead. In case of libc.preinst, its use of "uname -s" and "uname -r" can be avoided by adding another condition on $DPKG_ROOT being empty, i.e to only check the kernel version for normal installations but not when glibc is installed with dpkg --force-script-chrootless as in that case, there exists no way for the script to know what kernel version will be running on the final system where the chroot will be deployed. So if "$DPKG_ROOT" is not empty, the kernel version checks just get skipped. I submitted a patch as a merge request here: https://salsa.debian.org/glibc-team/glibc/-/merge_requests/20 Please consider applying it to close this bug. What do you think? Thanks! cheers, josch
--- End Message ---
--- Begin Message ---
- To: 1063624-close@bugs.debian.org
- Subject: Bug#1063624: fixed in glibc 2.37-16
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Tue, 09 Apr 2024 22:35:39 +0000
- Message-id: <E1ruK43-0025k5-5R@fasolo.debian.org>
- Reply-to: Aurelien Jarno <aurel32@debian.org>
Source: glibc Source-Version: 2.37-16 Done: Aurelien Jarno <aurel32@debian.org> We believe that the bug you reported is fixed in the latest version of glibc, 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 1063624@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Aurelien Jarno <aurel32@debian.org> (supplier of updated glibc 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: Wed, 10 Apr 2024 00:15:44 +0200 Source: glibc Architecture: source Version: 2.37-16 Distribution: unstable Urgency: medium Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org> Changed-By: Aurelien Jarno <aurel32@debian.org> Closes: 1063624 1063937 1067909 1068188 1068251 Changes: glibc (2.37-16) unstable; urgency=medium . [ Samuel Thibault ] * debian/patches/hurd-i386/submitted-AF_ROUTE.diff: Also comment out PF_ROUTE/AF_ROUTE. * debian/patches/hurd-i386/git-proc_getchildren_rusage.diff: Implement RUSAGE_CHILDREN, should fix the grep testsuite. . [ Aurelien Jarno ] * debian/rules.d/build.mk: present glibc with a compiler that does not default to -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64, as upstream doesn't support this configuration. This has the consequence of hiding real issues found by the testsuite, but there is a consensus that this is the way to go for now. Thanks to Helmut Grohne for the hint and starting the discussion. Closes: #1068251. * debian/debhelper.in/glibc-doc.{links,manpages}, debian/local/manpages/pthread_*: drop the man pages for libpthread functions, as they are now included in manpages-dev. Closes: #1068188. * debian/control.in/main: update glibc-doc description following the removal of the pthread manpages. * debian/control.in/main: downgrade the Recommends from libc-dev-bin to libc-devtools to a Suggests. Closes: #1067909. * debian/patches/git-updates.diff: update from upstream stable branch. * debian/patches/sparc/submitted-sparc-clone.diff: pull patch from the upstream BTS to workaround issues with the clone syscall on sparc. Closes: #1063937. . [ Johannes Schauer Marin Rodrigues] * debian/debhelper.in/libc.preinst: skip kernel check in chrootless mode. Closes: #1063624. . [ Steve Langasek ] * Drop transitional dependency from libc6-dev to libnsl-dev. . [ Gioele Barabucci ] * debian/debhelper.in/locales.config: Extract default environment LANG using only sed. Checksums-Sha1: eaea3d56f7a38679550c9aed687e94b4ee06e26d 9043 glibc_2.37-16.dsc b049cfcbfdf698174f8edd5f57d6a0d197d2db8b 412544 glibc_2.37-16.debian.tar.xz c52c4a023fe835c6a0de5a61e88f8e43a8ef46e9 10134 glibc_2.37-16_source.buildinfo Checksums-Sha256: d51319d515d3c5e41a7a02c6f38fabb0f80e4d171f7171a85cafb9b9f3c78d3b 9043 glibc_2.37-16.dsc 9ba0e7da8897e4e6f35b666685d45dc52ef9e991a6ed9561e47a749bd6421577 412544 glibc_2.37-16.debian.tar.xz 3b6db197b8f3c64c2b6967f6b619a7ba87c0608b9eb6e2fc36622152ccb0a7cf 10134 glibc_2.37-16_source.buildinfo Files: 48ee58919315243ff3360c8bc1e8e16c 9043 libs required glibc_2.37-16.dsc 7a6a64b3f2993c269dd94d1926f674a9 412544 libs required glibc_2.37-16.debian.tar.xz 5b147d415a0154c41630f2447b7ceac8 10134 libs required glibc_2.37-16_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmYVvuAACgkQE4jA+Jno M2vB6A/+PLMCij5yZepiubXkghOsfPRsg7XOWqGJ6qswaFSKdK9RmKl3xO+C3INI ylEH5GINvdCG/9QxWWTnybAzOltbRTrmBA7Fi9bsuB9VDaw18j4pUH7zW2f3fNgN OifWBWTgneM/bazbXz1w2PoiXLGsOc+8Ai1DrwohOVgLGAlr9tBiZ8w4jHJZDXYb EJhWloDQx4GtsH5eANS0ISoL4++VB0AQPNhH3vzWsFb064r126eZyXKLPbijmt4x xxJRTIiPGMlPe+LDYprWoyWL17qwtmESZBWIIV/yuCuk1s0WBj8rfztX0nK3FSOW e5IzjujID8evUyzPHWPumhSUp1Xo1OE40kx2dRKVxXLppweG9sUgj77xi05R/Ruq QJYNQKdqQrwVS72XVEvhuF1/eKpk7lKzgYC0JkkWzejXEHomZlkHyQkqOtMWYDId q15B6MfwW39Q7D7T+yCbsxwAsOBgIlDwnGgGcOXxB2lVy8dEFiIjO0fhGOnUZx3c 7A8+YF/x7GNARHzJEYrChLkzQY9xuPeQuaMGedae1f84MFOU9cV0scQgi2w3bheb epRFcZQrzRG8YG1u5ozjbD5hLBacYUfDJLxOC0Yc/nEHTMJ4/DLramJ63tujGy6e HC4E2mvhN99MFz8NSlw9E3VgNc3s/O6b4xyeXUGCaKMjF3ceviQ= =uzJ0 -----END PGP SIGNATURE-----Attachment: pgpp3B7J_vcvE.pgp
Description: PGP signature
--- End Message ---