Control: reassign -1 src:e2fsprogs 1.44.5-1+deb10u3 Control: affects -1 mc Control: tag -1 + patch
Hi, * Thorsten Glaser <[email protected]> [2025-06-19 21:22]:
The bug is still present and recompiling mc will also not fix it. The commit mentioned in the first post isn’t responsible: -Wl,--as-needed is no longer needed since at least bookworm but IIRC even bullseye as it became the toolchain default. My guess is more that mc links libext2something which links libcom_err, and that something in dependency generation goes wrong, see the build log: […] dh_shlibdeps dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libext2fs2t64 from: /lib/x86_64-linux-gnu/libext2fs.so.2 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libext2fs2t64 to: /lib/x86_64-linux-gnu/libext2fs.so.2.usr-is-merged dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libext2fs2t64 from: /lib/x86_64-linux-gnu/libe2p.so.2 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libext2fs2t64 to: /lib/x86_64-linux-gnu/libe2p.so.2.usr-is-merged […] Cc’ing tytso to chime in as needed.
The bug can be reproduced even in oldoldstable:
$ mmdebstrap --variant=essential --include=mc \
--chrooted-customize-hook="ldd /lib/x86_64-linux-gnu/libext2fs.so.2.4" \
oldoldstable /dev/null
I: running --chrooted-customize-hook in shell: sh -c 'ldd
/lib/x86_64-linux-gnu/libext2fs.so.2.4'
linux-vdso.so.1 (0x00007f8e5c37a000)
libcom_err.so.2 => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8e5c15c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8e5c37c000)
The problem is that libext2fs2t64 is missing a dependency on
libcom-err2. This is due to the debian/shlibs.local in e2fsprogs. I
think that can simply be removed. I tested that it builds fine and adds
the missing dependency. It also adds the libcom-err2 dependency for
libss2 trough ${shlibs:Depends} so the manual dependency there can be
removed.
Btw. while looking through the package I also noticed a typo in debian/rules.
-SYMBOL_LIBS := libext2fst64 libcomerr2 libss2 +SYMBOL_LIBS := libext2fst64 libcom-err2 libss2 I have opened a pull request with the needed changes here: https://github.com/tytso/e2fsprogs/pull/233 Cheers Jochen
signature.asc
Description: PGP signature

