Bug#456914: ia32-libs: Missing shlibs entry for libxml2
OK, I've had a look at the ia32-libs package, and the sed script for fixing the shlibs files is presumably broken, as it generates those two lines in the shlibs file without a library. I replaced the two sed calls around line 90 of debian/rules with this: sed -e s/^\(\(udeb: \)*[^ ]* *[^ ]* *\)$*.*$$/\1$(notdir $(DEST)) (= $(SHLIB_VERSION))/ And it seems to work, producing the following diff from the installed 2.2 to the rebuilt package: --- /var/lib/dpkg/info/ia32-libs.shlibs 2007-12-19 00:21:26.0 +1100 +++ debian/ia32-libs/DEBIAN/shlibs 2008-01-16 12:12:08.0 +1100 @@ -93,7 +93,7 @@ libQtOpenGL 4 ia32-libs (= 1.6) libQtAssistantClient 4 ia32-libs (= 1.6) libQtDesigner 4 ia32-libs (= 1.6) -ia32-libs (= 1.6) +libsane 1 ia32-libs (= 1.6) libsasl2 2 ia32-libs (= 1.6) libSDL-1.2 0 libsdl1.2debian (= 1.2.10-1) libsigc-2.0 0 ia32-libs (= 1.6) @@ -119,7 +119,7 @@ libXft 2 ia32-libs (= 1.6) libXi 6 ia32-libs (= 1.6) libXinerama 1 ia32-libs (= 1.6) -ia32-libs (= 1.6) +libxml2 2 ia32-libs (= 1.6) libXmu 6 ia32-libs (= 1.6) libXmuu 1 ia32-libs (= 1.6) libXp 6 ia32-libs (= 1.6) So that seems to fix the two occurances of bad shlibs lines, and should hence fix the wine build. I guess the udeb: could really be [^ ]*:, but I dunno if that syntax is generic in shlibs files, or an exception for udebs. And in fact, udebs support here is probably wrong, since udebs built under -m32 would end up with dependancies on ia32-libs rather than the original -udeb package. I'm not totally sure the should be left alone, either. It just looks messy all over, maybe it'd be best to strip udeb: lines? Regardless of udebs, this change looks to only be improvements to me. I hope this change or equivalent can go in soonish so I can stop rebuilding the wine package locally. ^_^ -- Paul TBBle Hampson, [EMAIL PROTECTED] Shorter .sig for a more eco-friendly paperless office. pgpQ9MSB1EcSA.pgp Description: PGP signature
Bug#456914: ia32-libs: Missing shlibs entry for libxml2
Kurt Roeckx wrote: On Wed, Dec 19, 2007 at 12:32:16AM +1100, Paul TBBle Hampson wrote: Package: ia32-libs Version: 2.2 Severity: normal Doing a rebuild of wine on my AMD64 box, it failed with the following error (this is using the amd64.tar.lzma.uu with precompiled ia32 binaries in it): (Approximation, I scrolled the error away...) dpkg-shlibs: No shlibs information for /usr/lib32/libxml2.so. Also see #453885 and #457833. It's not the correct dir. The full error (from the buildd [1]) is: dpkg-shlibdeps: failure: no dependency information found for /usr/lib32/libxml2.so.2 (used by debian/libwine/usr/lib/wine/msxml3.dll.so). I added the following line: libxml2 2 ia32-libs (= 1.6) to /var/lib/dpkg/info/ia32-libs.shlibs and the build succeeded. That seems weird. And does debian/libwine.substvars contain I see from #457833 that you're now on top of this, and that the path has been fixed to be /emul/... so I guess I'll leave it up to the ia32-libs maintainers to sort this last bit out. I can't say this fix is definately correct (I haven't looked at the source for ia32-libs, nor do I see how dpkg-shlibs can tell a 32-bit and 64-bit .shlibs file apart. I _do_ have the 64-bit libxml2 pacakge installed) So, does debian/libwine.substvars contain libxml2 or not? It shouldn't contain it, since it's in ia32-libs. No, it doesn't: shlibs:Depends=libwine, libfreetype6 (= 2.3.5), libxrender1, libpng12-0 (= 1.2.13-4), libxext6, libc6 (= 2.7-1), libjpeg62, libc6-i386 (= 2.7-1), ia32-libs (= 1.6), libx11-6 (From my local build of 0.9.51-1) I've also noticed some lines just saying: ia32-libs (= 1.6), as in, without library and version. Yeah. I haven't looked, but I'm guessing the file's script-generated... -- --- Paul TBBle Hampson, B.Sc, LPI, MCSE Very-later-year Asian Studies student, ANU The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] Of course Pacman didn't influence us as kids. If it did, we'd be running around in darkened rooms, popping pills and listening to repetitive music. -- Kristian Wilson, Nintendo, Inc, 1989 License: http://creativecommons.org/licenses/by/2.1/au/ --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#456914: ia32-libs: Missing shlibs entry for libxml2
On Wed, Dec 19, 2007 at 12:32:16AM +1100, Paul TBBle Hampson wrote: Package: ia32-libs Version: 2.2 Severity: normal Doing a rebuild of wine on my AMD64 box, it failed with the following error (this is using the amd64.tar.lzma.uu with precompiled ia32 binaries in it): (Approximation, I scrolled the error away...) dpkg-shlibs: No shlibs information for /usr/lib32/libxml2.so. Also see #453885 and #457833. It's not the correct dir. I added the following line: libxml2 2 ia32-libs (= 1.6) to /var/lib/dpkg/info/ia32-libs.shlibs and the build succeeded. That seems weird. And does debian/libwine.substvars contain I can't say this fix is definately correct (I haven't looked at the source for ia32-libs, nor do I see how dpkg-shlibs can tell a 32-bit and 64-bit .shlibs file apart. I _do_ have the 64-bit libxml2 pacakge installed) So, does debian/libwine.substvars contain libxml2 or not? It shouldn't contain it, since it's in ia32-libs. I've also noticed some lines just saying: ia32-libs (= 1.6), as in, without library and version. Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#456914: ia32-libs: Missing shlibs entry for libxml2
Package: ia32-libs Version: 2.2 Severity: normal Doing a rebuild of wine on my AMD64 box, it failed with the following error (this is using the amd64.tar.lzma.uu with precompiled ia32 binaries in it): (Approximation, I scrolled the error away...) dpkg-shlibs: No shlibs information for /usr/lib32/libxml2.so. I added the following line: libxml2 2 ia32-libs (= 1.6) to /var/lib/dpkg/info/ia32-libs.shlibs and the build succeeded. I can't say this fix is definately correct (I haven't looked at the source for ia32-libs, nor do I see how dpkg-shlibs can tell a 32-bit and 64-bit .shlibs file apart. I _do_ have the 64-bit libxml2 pacakge installed) Anyway, for your consideration. Currently the buildds are barfing on something earlier in the package, but I'm happy to retest the build with whatever solution you feel is best. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- Paul TBBle Hampson, [EMAIL PROTECTED] Shorter .sig for a more eco-friendly paperless office. pgpCZW62jSvUq.pgp Description: PGP signature