[Bug 877673] Re: Cross compilation fails due to pkg-config
Colin Watson
cjwatson at canonical.com
Fri Dec 7 00:21:17 UTC 2012
This doesn't seem to be a problem any more with multiarch cross-building
(https://wiki.ubuntu.com/CrossBuilding), which has dropped the old-style
dpkg-cross-ish PKG_CONFIG_LIBDIR handling:
http://people.canonical.com/~cjwatson/cross/armhf/raring/ncurses_5.9-10ubuntu2_armhf-20121206-2259
Would you object to considering this closed? It's a different build
system, but (as the author) I consider xdeb a dead-end experiment at
this point; it served its purpose, and its ordering heuristics may still
be useful, but multiarch cross-building is a more future-proof approach.
** Tags added: cross
** Changed in: ncurses (Ubuntu)
Status: New => Triaged
** Changed in: ncurses (Ubuntu)
Importance: Undecided => Medium
** Changed in: ncurses (Ubuntu)
Importance: Medium => Low
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ncurses in Ubuntu.
https://bugs.launchpad.net/bugs/877673
Title:
Cross compilation fails due to pkg-config
Status in “ncurses” package in Ubuntu:
Triaged
Bug description:
Attempting to cross-compile ncurses with xdeb results in failure when
attempting to install pkg-config files. This is because autotools
inferred that PKG_CONFIG_LIBDIR=/usr/$(HOST_GNU_TYPE)/lib/pkgconfig,
which does not exist when configure is run. This results in configure
disabling generation of pkgconfig's .pc files (which would have been
put in the wrong location even if they had been generated).
The solution as far as I can see is to export PKG_CONFIG_LIBDIR in
debian/rules and ensure that this directory exists when configure is
invoked. A patch to accomplish this is attached.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/877673/+subscriptions
More information about the foundations-bugs
mailing list