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

Wookey wookey at wookware.org
Wed Apr 18 14:46:36 UTC 2012


Public bug reported:

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

** Tags added: cross

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to consolekit in Ubuntu.
https://bugs.launchpad.net/bugs/984962

Title:
  Uses wrong pkg-config for dbus test when cross-building

Status in “consolekit” package in Ubuntu:
  New

Bug description:
  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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/984962/+subscriptions




More information about the foundations-bugs mailing list