Activity log for bug #984962

Date Who What changed Old value New value Message
2012-04-18 14:46:36 Wookey bug added bug
2012-04-18 14:46:57 Wookey tags cross
2012-04-18 14:49:00 Wookey attachment added consolekit-0.4.5-cross-pkg-config.patch https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/984962/+attachment/3089695/+files/consolekit-0.4.5-cross-pkg-config.patch
2012-04-18 16:18:12 Ubuntu Foundations Team Bug Bot tags cross cross patch
2012-04-18 16:18:24 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2012-04-18 17:07:58 Wookey attachment removed consolekit-0.4.5-cross-pkg-config.patch https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/984962/+attachment/3089695/+files/consolekit-0.4.5-cross-pkg-config.patch
2012-04-18 17:08:33 Wookey attachment added consolekit-0.4.5-cross-pkg-config.patch https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/984962/+attachment/3090455/+files/consolekit-0.4.5-cross-pkg-config.patch
2012-04-19 11:38:55 Wookey bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669355
2012-04-19 11:38:55 Wookey bug task added consolekit (Debian)
2012-04-19 12:43:39 Bug Watch Updater consolekit (Debian): status Unknown New
2012-04-19 21:12:30 Bryce Harrington 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). [Problem] <1-2 sentence summary of the issue> [Impact] <fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release> [Development Fix] <fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. > [Stable Fix] <fill me in by pointing out a minimal patch applicable to the stable version of the package.> [Text Case] <fill me in with detailed *instructions* on how to reproduce the bug. This will be used by people later on to verify the updated package fixes the problem.> 1. 2. 3. Broken Behavior: Fixed Behavior: [Regression Potential] <fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.> [Original Report] 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).
2012-04-19 21:21:37 Bryce Harrington nominated for series Ubuntu Precise
2012-04-19 21:21:37 Bryce Harrington bug task added consolekit (Ubuntu Precise)
2012-04-19 21:21:37 Bryce Harrington nominated for series Ubuntu Q-series
2012-04-19 21:21:37 Bryce Harrington bug task added consolekit (Ubuntu Q-series)
2012-04-19 21:21:55 Bryce Harrington consolekit (Ubuntu Precise): importance Undecided High
2012-04-19 21:21:58 Bryce Harrington consolekit (Ubuntu Q-series): importance Undecided High
2012-04-19 21:22:00 Bryce Harrington consolekit (Ubuntu Precise): status New Incomplete
2012-04-19 21:22:02 Bryce Harrington consolekit (Ubuntu Q-series): status New Incomplete
2012-04-19 21:22:06 Bryce Harrington consolekit (Ubuntu Precise): milestone precise-updates
2012-04-19 22:14:34 Bryce Harrington summary Uses wrong pkg-config for dbus test when cross-building Uses wrong pkg-config for dbus test when cross-building [SRU]
2012-04-19 22:27:33 Bryce Harrington consolekit (Ubuntu Q-series): status Incomplete New
2012-04-19 22:27:38 Bryce Harrington consolekit (Ubuntu Q-series): status New Incomplete
2012-04-19 22:28:02 Bryce Harrington removed subscriber Ubuntu Sponsors Team
2012-04-20 16:02:54 Wookey description [Problem] <1-2 sentence summary of the issue> [Impact] <fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release> [Development Fix] <fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. > [Stable Fix] <fill me in by pointing out a minimal patch applicable to the stable version of the package.> [Text Case] <fill me in with detailed *instructions* on how to reproduce the bug. This will be used by people later on to verify the updated package fixes the problem.> 1. 2. 3. Broken Behavior: Fixed Behavior: [Regression Potential] <fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.> [Original Report] 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). [Problem] consolekit fails to cross-build due to trying use wrong-arch 'pkg-config' during configure. [Impact] The impact is only on those cross-building, but one target for the precise release was to have as much of the base system cross-buildable as possible. consolekit is a base system package so it's important to be able to cross-build it. [Development Fix] Upstream git has fixed this problem by removing the check in question entirely. See http://cgit.freedesktop.org/ConsoleKit/commit/?id=f42cafcce978c402bdbc9c6e03a0c90bb0924b89 But that version has not yet been released. I don't know if other changes are needed first before simply getting rid of it. [Stable Fix] The minimal fix is simply to use $PKG_CONFIG as set-up by autoconf instead of hard-coded 'pkg-config', then tha correct version is used for both native and cross builds. [Test Case] 1. apt-get source consolekit 2. apt-get -a armel build-dep consolekit 3. cd consolekit-0.4.5 4. CONFIG_SITE=/etc/dpkg-cross/cross-config.armel DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -aarmel -uc -us Broken Behavior: build will stop after a while saying: 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 is probably an error in this script, please report it along with the following information: Base DBUS version ='' DBUS_VERSION_MAJOR='0' DBUS_VERSION_MINOR='0' DBUS_VERSION_MICRO='0' (and then print out the whole of config.log) Fixed Behavior: build will get past this point, saying: Your dbus version is 1,4,18. It will stop a bit further on with "/bin/bash: /usr/bin/dbus-binding-tool: No such file or directory", unless you have qemu installed, but that's a different bug in a different package. [Regression Potential] The only thing that could go wrong is breaking the native build. I've tested that this works fine. You can confirm it with 1. apt-get build-dep consolekit 2. cd consolekit-0.4.5 3. dpkg-buildpackage -uc -us that build should complete as normal. [Original Report] 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).
2012-06-22 04:14:03 Kate Stewart tags cross patch cross patch rls-q-incoming
2012-06-24 15:38:49 Steve Langasek tags cross patch rls-q-incoming cross patch rls-q-notfixing
2014-12-03 09:49:03 Rolf Leggewie consolekit (Ubuntu Quantal): status Incomplete Won't Fix
2018-11-07 13:26:36 Bug Watch Updater consolekit (Debian): status New Fix Released
2021-10-14 01:08:54 Steve Langasek consolekit (Ubuntu Precise): status Incomplete Won't Fix