[Pkg-utopia-maintainers] Bug#669355: Uses wrong pkg-config for dbus test when cross-building
Wookey
wookey at wookware.org
Thu Apr 19 11:03:26 UTC 2012
Source: consolekit
Version: 0.4.5-3
Severity: normal
User: crossbuild at debian.org
Usertags: cross
consolekit can't find dbus-1 when cross-building:
>From the build log:
-----------
Package dbus-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing dbus-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-1' found
Error: Couldn't determine the version of your DBUS package.
-----------
This turns out to be because a local test in configure.ac used
hard-coded 'pkg-config' instead of $PKG_CONFIG which autoconf has set
to the correct path (/usr/bin/<triplet>-pkg-config when cross-building)
patch attached. This should be upstreamed.
(Note that this patch does not solve all the issues of cross-building
this package using multiarch mechanisms - there are other issues which
will be reported separately).
Wookey
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: consolekit-0.4.5-3-cross-pkg-config.patch
Type: text/x-diff
Size: 1620 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20120419/d4c519e1/attachment.patch>
More information about the Pkg-utopia-maintainers
mailing list