debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #09691
[Bug 2127856] Re: please drop ldconfig wrapper around ldconfig.real if no longer needed
This bug was fixed in the package glibc - 2.42-2ubuntu1
---------------
glibc (2.42-2ubuntu1) resolute; urgency=medium
[ Simon Chopin ]
* Disable ELF metadata because it creeps into everything (LP: #2109333)
[ Simon Poirier ]
* Merge Debian glibc 2.42 branch. Dropped changes, superseded:
- Fix pthread page guard on linux<6.13
- Revert dropping the ldconfig wrapper, as we still have a lot of packages
that don't ship a trigger but instead call in postinst. (LP: #2127856)
- Explicitly enable sframe
* d/p/git-updates.diff: Update from upstream stable branch.
glibc (2.42-2) experimental; urgency=medium
[ Samuel Thibault ]
* patches/hurd-i386/git-random-malloc.diff: Use upstream patch.
[ Michael Biebl ]
* debian/rules.d/build.mk: remove /lib from ld.so.conf files. Closes:
#1111805.
[ Luca Monducci ]
* Update Italian debconf translation. Closes: #1111902.
[ Aurelien Jarno ]
* debian/control.in/libc, debian/rules.d/debhelper.mk: change
libc-gconv-modules-extra Recommends into a Depends as many packages still
use the extra gconv modules.
* debian/patches/git-updates.diff: update from upstream stable branch.
- debian/patches/hurd-i386/git-random-malloc.diff: upstreamed.
- debian/symbols.wildcards: add new GLIBC_ABI_DT_X86_64_PLT,
GLIBC_ABI_GNU_TLS and GLIBC_ABI_GNU2_TLS versions.
* debian/sysdeps/riscv64.mk: remove TIMEOUTFACTOR override as buildds are
not QEMU based anymore.
* debian/sysdeps/riscv64.mk: configure with --enable-multi-arch.
* debian/control.in/main: drop ${shlibs:Depends} for
libc-gconv-modules-extra to avoid creating a dependency loop. This can be
re-added once libc6 changes back the Depends into a Recommends.
glibc (2.42-1) experimental; urgency=medium
[ Aurelien Jarno ]
* New upstream release:
- debian/copyright: update following upstream changes.
- debian/symbols.wildcards: add 2.42.
- debian/control.in/main: bump binutils-for-host Build-Depends to >= 2.39.
- debian/patches/git-updates.diff: update from upstream stable branch.
- debian/patches/hurd-i386/git-proc_reauth.diff: upstreamed.
- debian/patches/hurd-i386/git-mig-strncpy.diff: upstreamed.
- debian/patches/hurd-i386/git-pthread_sigmask_nothread.diff: upstreamed.
- debian/patches/hurd-i386/git-rt-timedwait-realtime.diff: upstreamed.
- debian/patches/hurd-i386/git-pthread_setcancel.diff: upstreamed.
- debian/patches/hurd-i386/git-dup-refcnt.diff: upstreamed.
- debian/patches/hurd-i386/git-xstate.diff: upstreamed.
- debian/patches/hurd-i386/git-utime-EINVAL.diff: upstreamed.
- debian/patches/hurd-i386/git-xstate-initialized.diff: upstreamed.
- debian/patches/hurd-i386/git-signal-fpe-exceptions.diff: upstreamed.
- debian/patches/hurd-i386/git-symlink-eexist.diff: upstreamed.
- debian/patches/hurd-i386/git-rename.diff: upstreamed.
- debian/patches/hurd-i386/local-pthread_once.diff-2.42: renamed and
replace debian/patches/hurd-i386/local-pthread_once.diff.
- debian/patches/hurd-i386/hurd-i386/local-no_unsupported_ioctls.diff:
rebased.
- debian/patches/hurd-i386/local-static_pthread_setcancelstate.diff:
dropped, obsolete.
- debian/patches/any/local-tcsetaddr.diff: rebased.
* debian/debhelper.in/libc.preinst: drop support code for upgrading from
glibc < 2.34.
* debian/debhelper.in/libc.preinst: remove kFreeBSD support code.
* debian/debhelper.in/libc.postinst: remove support code to upgrade to
trixie.
* Drop support for /etc/locales.alias (Closes: #1095101):
- debian/debhelper.in/locales.install: stop installing /etc/locales.alias
- debian/debhelper.in/locales.links: remove
- debian/local/usr_sbin/locale-gen: stop passing locales.alias in the
localedef call.
- debian/patches/all/local-alias-et_EE.diff: drop, obsolete.
- debian/patches/all/local-ru_RU.diff: drop, obsolete
* debian/rules.d/{build.mk,debhelper.mk}: add makefile dependencies to get
the package buildable with make --shuffle=reverse. Closes: #1105334.
* debian/rules, debian/rules.d/control.mk: remove temporary libc{6,6.1,0.3}
files after the debian/control rule instead of in the clean rule.
* debian/rules: drop now useless removal of files from the clean rule.
* debian/rules: simplyfing using dpkg mk fragments files.
* debian/rules.d/debhelper.mk: merge normal and stage1 debhelper_% targets.
* Split-out gconv modules for non-Latin-1 and non-UTF encoding into a
separate package (Closes: #1005193):
- debian/control.in/main: add libc-gconv-modules-extra.
- debian/control.in/libc: recommends libc-gconv-modules-extra.
- debian/debhelper.in/libc.install: do not list any gconv file, the list
of gconv files is now computed dynamically.
- debian/rules.d/debhelper.mk: dynamically compute the list of gconv files
based on the gconv configuration files, for both the libc and
libc-gconv-modules-extra packages.
- debian/rules: Add libc-gconv-modules-extra to the list of arch:any
packages to build.
* debian/control.in/main, debian/sysdeps/{amd64,arm64,i386,x32}.mk: enable
SFrame support for amd64 and arm64 builds.
[ Samuel Thibault ]
* debian/testsuite-xfail-debian.mk: Update xfails. Closes: #1110125.
* debian/patches/hurd-i386/git-random-malloc.diff: Fix /hurd/random startup.
[ Simon Chopin ]
* debian/rules.d/build.mk: use envvars for CFLAGS rather than configparms
(LP: #2115734)
* debian/rules.d/tarball.mk: document the hash when importing from upstream
branch.
-- Simon Poirier <simon.poirier@xxxxxxxxxxxxx> Mon, 20 Oct 2025
12:03:47 +0200
** Changed in: glibc (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2127856
Title:
please drop ldconfig wrapper around ldconfig.real if no longer needed
Status in glibc package in Ubuntu:
Fix Released
Bug description:
In 2012 (eglibc 2.16-0experimental0), the Debian packaging for glibc
renamed upstream's /sbin/ldconfig static binary to
/sbin/ldconfig.real, and added a wrapper script around it,
debian/local/sbin/ldconfig (installed as /sbin/ldconfig) which defers
regeneration of ld.so.cache to a dpkg trigger if it is not immediately
needed. This was a workaround for redundant calls to ldconfig by
packages' maintainer scripts, mainly in code generated automatically
by debhelper's dh_makeshlibs.
In 2015 (debhelper 9.20151004), dh_makeshlibs stopped emitting those
calls to ldconfig: instead, it now relies on glibc's dpkg trigger.
In 2016 (glibc 2.22-0experimental2), Debian's glibc responded to that
change by removing the workaround: since then, /sbin/ldconfig *in
Debian* is upstream's static binary again, and there is no
ldconfig.real.
However, Ubuntu's glibc never removed the workaround: /sbin/ldconfig
in Ubuntu questing is still a script wrapper, which conditionally runs
/sbin/ldconfig.real, which is the actual static binary built by
upstream glibc. This is a source of awkwardness for container
technologies like Valve's Steam Runtime that want to work with the
upstream ldconfig binary directly.
It's now been a decade since dh_makeshlibs stopped emitting redundant
calls to ldconfig. Please could glibc in Ubuntu stop working around
them?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2127856/+subscriptions
References