Bug#631452: Does not find libraries from multiarch directories

Michael Biebl biebl at debian.org
Thu Jun 23 23:42:21 UTC 2011


Package: gobject-introspection
Version: 0.10.8-1
Severity: important
File: /usr/bin/dh_girepository

Building epiphany-browser, I get:
dh_girepository -pepiphany-browser -lsrc
dh_girepository: Could not find library libm.so.6

libm.so.6 is installed at /lib/i386-linux-gnu/libm.so.6

dh_girepository uses:

my $arch_triplet = `dpkg-architecture -qDEB_BUILD_GNU_TYPE`;
my @libdirs = ("/lib/$arch_triplet", "/lib", "/usr/lib/$arch_triplet",
"/usr/lib", @privlibdirs);

dpkg-architecture -qDEB_BUILD_GNU_TYPE = i486-linux-gnu

>From the irc log:

[01:24:41] <mbiebl> having some troubles with dh_girepository and multi-arch
[01:25:03] <mbiebl> dh_girepository uses:
[01:25:10] <mbiebl> my $arch_triplet = `dpkg-architecture -qDEB_BUILD_GNU_TYPE`;
[01:25:10] <mbiebl> my @libdirs = ("/lib/$arch_triplet", "/lib", "/usr/lib/$arch_triplet", "/usr/lib", @privlibdirs);
[01:25:37] <mrvn> s/DEB_BUILD_GNU_TYPE/DEB_BUILD_MULTIARCH/
[01:25:41] <mbiebl> but dpkg-architecture -qDEB_HOST_GNU_TYPE = i486-linux-gnu
[01:26:07] <vorlon> mbiebl: then... dh_girepository is wrong :)
[01:26:13] <mrvn> DEB_HOST_GNU_TYPE=i486-linux-gnu
[01:26:13] <mrvn> DEB_HOST_MULTIARCH=i386-linux-gnu
[01:26:28] <mbiebl> mrvn, vorlon: thanks
[01:26:44] <vorlon> http://wiki.debian.org/Multiarch/Implementation documents the various build-deps you need to use DEB_HOST_MULTIARCH
[01:28:54] <vorlon> mbiebl: btw, AIUI gir is a tricky one in general for cross-compilation, but at least in principle this should be *HOST*, not BUILD
[01:30:20] <mbiebl> vorlon: so, DEB_HOST_MULTIARCH instead of DEB_BUILD_GNU_TYPE?
[01:31:12] <mrvn> mbiebl: MULTIARCH for sure. HOST if you mean the dir on the system where the deb will be installed on in the end and BUILD if you mean the dir the building system happens to use.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-486
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gobject-introspection depends on:
ii  libc6                         2.13-7     Embedded GNU C Library: Shared lib
ii  libffi5                       3.0.9-7    Foreign Function Interface library
ii  libgirepository-1.0-1         0.10.8-1   Library for handling GObject intro
ii  libglib2.0-0                  2.28.6-1   The GLib library of C routines
ii  python                        2.6.6-14   interactive high-level object-orie

gobject-introspection recommends no packages.

gobject-introspection suggests no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list