Hi Aurelien, On Sun, Nov 24, 2024 at 12:48:25PM +0100, Helmut Grohne wrote: > The common pattern is failure to locate libc.so.6 in the multilib call > for dpkg-shlibdeps. I think we need to explicitly pass the correct > library directory here. As a result, I came up with the attached > one-line change to the dh_makeshlibs invocation. It looks up the slibdir > for the current pass and appends it via the -l flag. What do you think > about the proposed change? Does it have any downsides? It appears to > practically solve instances of the mentioned problem. Please let me know > if you would like further details to assess the proposed change.
What I attached unfortunately is the pre-/usr-move version of the patch. I reverified the aforementioned architectures and am attaching the now working variant. Helmut
--- a/debian/rules.d/debhelper.mk +++ b/debian/rules.d/debhelper.mk @@ -109,7 +109,7 @@ ./debian/shlibs-add-udebs $(curpass) dh_installdeb -p$(curpass) - dh_shlibdeps -p$(curpass) + dh_shlibdeps $(if $($(lastword $(subst -, ,$(curpass)))_slibdir),-l$(CURDIR)/debian/$(curpass)/usr/$($(lastword $(subst -, ,$(curpass)))_slibdir)) -p$(curpass) dh_gencontrol -p$(curpass) if [ $(curpass) = nscd ] ; then \ sed -i -e "s/\(Depends:.*libc[0-9.]\+\)-[a-z0-9]\+/\1/" debian/nscd/DEBIAN/control ; \

