Bug#642292:

2012-07-27 Thread shawn
severity 642292 important thanks The fact that this bug has been open as long as it has, and that /usr/lib//pkgconfig is STILL not searched (and this is a simple fix) makes me wonder if anyone is actually trying to get packages to cross build the multi-arch way. (or if they, like me, just keep fix

Bug#631275: Bug#642292: pkg-config-crosswrapper and multiarch

2011-11-28 Thread Wookey
I faled to spot this discussion earlier, but have just come back to it as I realised that the current version of pkg-config-crosswrapper being shipped in pkg-config is, well, 'wrong'. This discussion above is all good stuff. Simon's patch is good, and pretty-much follows what I have here (but appa

Bug#631275: Bug#642292: [patch] pkg-config-crosswrapper and multiarch

2011-09-22 Thread Vincent Danjean
On 22/09/2011 23:20, Steve Langasek wrote: > On Thu, Sep 22, 2011 at 09:24:24AM +0200, Vincent Danjean wrote: >> For my part, I think this is really error prone. > > Well, we'll have to agree to disagree then and let the maintainer decide. Ok ;-) >> Lots of native libraries will be wrongly det

Bug#631275: Bug#642292: [patch] pkg-config-crosswrapper and multiarch

2011-09-22 Thread Steve Langasek
On Thu, Sep 22, 2011 at 09:24:24AM +0200, Vincent Danjean wrote: > > Keeping /usr/lib/pkgconfig on the path was quite deliberate on my part. > > Certainly any library shipping in /usr/lib/pkgconfig is not a multiarch > > library, but that doesn't actually mean it has to be a *native* library: it >

Bug#631275: Bug#642292: [patch] pkg-config-crosswrapper and multiarch

2011-09-22 Thread Vincent Danjean
On 22/09/2011 07:36, Steve Langasek wrote: > So my suggestion would be to make the script special-case i386, instead of > adding a runtime dependency on dpkg-dev for dpkg-architecture. We can use dpkg-architecture and fail back on hard-coded (with or without the handling of i386) if dpkg-architect

Bug#642292: [patch] pkg-config-crosswrapper and multiarch

2011-09-21 Thread Vincent Danjean
Hi, I like your proposal. I have one little remark. pkg-config does not behave the same if PKG_CONFIG_LIBDIR is unset or if it is empty (in this case, it does not try system directories). You can keep this behavior by replacing: if [ -z "$PKG_CONFIG_LIBDIR" ]; by: if [ x"${PKG_CONFIG_LIBDIR+se

Bug#642292: Could the multiarch wiki page be explicit about pkgconfig files?

2011-09-21 Thread Vincent Danjean
On 21/09/2011 09:13, Raphael Hertzog wrote: > On Tue, 20 Sep 2011, Vincent Danjean wrote: >> dpkg-architecture can convert Debian arch to triplet (DEB_HOST_GNU_TYPE) >> and multiarchdir (DEB_HOST_MULTIARCH) >> >> Is there an easy way to convert triplet to multiarchdir ? (which is >> what is neede

Bug#642292: pkg-config: pkg-config-crosswrapper should look for multiarch and arch-independant packages

2011-09-21 Thread Vincent Danjean
Package: pkg-config Version: 0.26-1 Severity: wishlist Hi, Following discussion in debian-devel, I think the pkg-config-crosswrapper must be fixed. For now, pkg-config-crosswrapper set PKG_CONFIG_LIBDIR to /usr/${triplet}/lib/pkgconfig. I see two problems: - arch-indep package are not searche