[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1114824: marked as done (libc-bin: ldd fails when "set -u" is used)



Your message dated Sat, 29 Nov 2025 19:50:35 +0000
with message-id <E1vPQxn-004CWd-0j@fasolo.debian.org>
and subject line Bug#1114824: fixed in glibc 2.42-3
has caused the Debian Bug report #1114824,
regarding libc-bin: ldd fails when "set -u" is used
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.)


-- 
1114824: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114824
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc-bin
Version: 2.36-9+deb12u13
Severity: normal
Tags: patch upstream
X-Debbugs-Cc: johan.palmqvist@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

ldd fails due to unbound variable named "unused" when run from scripts where "set -u" is used. This in turn makes update-initramfs silently generate truncated initrd's which refuse to boot properly due to missing "/usr/lib/x86_64-linux-gnu/*".

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

We created a small patch for /usr/bin/ldd:

--- /usr/bin/ldd.orig   2024-08-15 09:10:46.000000000 +0000
+++ /usr/bin/ldd        2024-10-04 07:17:46.778961250 +0000
@@ -30,6 +30,7 @@
 warn=
 bind_now=
 verbose=
+unused="${unused:-}"
 
 while test $# -gt 0; do
   case "$1" in

   * What was the outcome of this action?

Applying the patch solved our immediate issue but we think the fix should be permanently added in Debian.

   * What outcome did you expect instead?

N/A

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.12
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-37-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc-bin depends on:
ii  libc6  2.36-9+deb12u13

Versions of packages libc-bin recommends:
ii  manpages  6.03-2

libc-bin suggests no packages.

-- no debconf information
--- /usr/bin/ldd.orig	2024-08-15 09:10:46.000000000 +0000
+++ /usr/bin/ldd	2024-10-04 07:17:46.778961250 +0000
@@ -30,6 +30,7 @@
 warn=
 bind_now=
 verbose=
+unused="${unused:-}"
 
 while test $# -gt 0; do
   case "$1" in

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.42-3
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 1114824@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: Sat, 29 Nov 2025 19:36:10 +0100
Source: glibc
Architecture: source
Version: 2.42-3
Distribution: experimental
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Closes: 1114824
Changes:
 glibc (2.42-3) experimental; urgency=medium
 .
   [ Aurelien Jarno ]
   * debian/patches/any/git-ldd-set-u.diff: backport fix to allow using
     set -u on ldd.  Closes: #1114824.
   * debian/patches/git-updates.diff: update from upstream stable branch.
   * debian/patches/any/git-linux-termios.diff: backport fix for termios
     regression with non-standard baud rate.
 .
   [ Samuel Thibault ]
   * debian/patches/hurd-i386/git-sigreturn-SEGV.diff: catch SIGSEGV on
     returning from signal handler.
   * debian/patches/hurd-i386/git-rlimit-as.diff: Support RLIMIT_AS.
   * debian/patches/hurd-i386/local-aux-pagesz.diff: Fix getauxval(AT_PAGESZ).
   * debian/patches/hurd-i386/git-run-iconv-test.sh.diff: Fix running iconv
     tests.
   * debian/patches/hurd-i386/git-elf-ordering.diff: Fix running ELF ordering
     tests.
   * debian/patches/hurd-i386/git-rename.diff: Fix renaming directories with
     trailing slahes.
   * debian/patches/hurd-i386/git-signal-SSE-MMX.diff: Fix signals thrashing
     SSE&MMX state.
Checksums-Sha1:
 a3b155279a36cf92c8bea4f217ca52baaffeb9e4 7687 glibc_2.42-3.dsc
 559628134a8a62ef245e356068c7d214a52f196f 413752 glibc_2.42-3.debian.tar.xz
 35c076b0953d1ae802c783cfcbb25463a58b5faf 9662 glibc_2.42-3_source.buildinfo
Checksums-Sha256:
 674f6f7812245d6a9036db6d7035aff8dd4924653ec696fcbf6a65562fb0048a 7687 glibc_2.42-3.dsc
 edf20e009a0dd7ab09ca39f9fa9b2a1e982bea018ce26f0295aa1d38d7155737 413752 glibc_2.42-3.debian.tar.xz
 7b4b835f9d85680cf3edcbe70dae160bdd2f585c2aabc13e62e57d7ee78f4a3e 9662 glibc_2.42-3_source.buildinfo
Files:
 c3d2f93848077f055477808817aca9ae 7687 libs required glibc_2.42-3.dsc
 7089b9a4c514c71f9667af60b92ea00d 413752 libs required glibc_2.42-3.debian.tar.xz
 d28c226ffae6725545da8816e9ac3062 9662 libs required glibc_2.42-3_source.buildinfo

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

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmkrPfQACgkQE4jA+Jno
M2vZwQ//YI/nGHMg0Pk4LTzZ+ZvNxpAlbaevtPpzSDXX+YZ0SDk4Y4RKrqyJf1Eo
O+dsNjjnZHg+zrhwLkd59vGYnKzhR7qV7C76cEmQsmOQN0Hh+SFLOrhLCZV0pgcI
6ZEiHPB8dls6DMkV6x4x86oZ7cT1xVuHPwz1sNUBylinSw0KMQnLGGuMaojcn2zS
X/GCjXg8CsPhPsqyAQzcrp0Sa7OnK4qNvfDD5LhYsdQmzGcJ+kGWM1N9U2PhMmv+
BJxk/28Qp7rcW0etQyazaRD8AhqzQR4aumU0BW5fQvRMHwY1q2g2+R5pD1WI2FEO
aDcRUyIUXp/AGvWmMnXhscd8ZYQ7X21ylqbKTWMUJs8My2xTY264BAERpdlPF1tB
D8Bh+WioPFXAIQeVRa36XJPJHOd3jGTdM24QluiRVgrwrb/nKBIWtR0KSu5eDVg2
hd9nj2+k1cQ4B9XHAGJnCVxv6c73FbxVFHLxatl8WwrVUhMZI/M3GZJl8ua4FTM0
senYMQMqCK9J7vwbx/FRsRtdgv3aqdLlnRxATb/SlybNa0LTAHgg/yu0vDmglpAD
Ui5uRMrNzLKkBy3sVJJDdDpoXvruGs7jU2LneysPOIKmJ+jET9L+I7BG3WLXwmnU
/j+PHlIdCMOZRl+qmOdgzOW92rhrPZHULYfKmjax9kgawFIeo2Y=
=rkFw
-----END PGP SIGNATURE-----

Attachment: pgpLTtYwFBmuU.pgp
Description: PGP signature


--- End Message ---

Reply to: