[Bug 984962] [NEW] Uses wrong pkg-config for dbus test when cross-building

Launchpad Bug Tracker 984962 at bugs.launchpad.net
Wed Apr 18 16:18:24 UTC 2012


You have been subscribed to a public bug by Ubuntu Foundation's Bug Bot (crichton):

consolekit can't find dbus-1 when cross-building:

>From the build log: http://people.linaro.org/~wookey/buildd/precise/sbuild-ma/consolekit_0.4.5-2-precise-ma-cross-armel-20120417-025041.38177.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)

(This patch is not sufficient to cross-build this package which has
other issues).

** Affects: consolekit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: cross patch
-- 
Uses wrong pkg-config for dbus test when cross-building
https://bugs.launchpad.net/bugs/984962
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list