udev fails to cross-build with xdeb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Undecided
|
Loïc Minier |
Bug Description
udev fails to cross-build due to xdeb failing to install cross-dependencies:
Considering source package udev
sudo apt-get -y --allow-
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gir1.2-
libgirepositor
libglib2.
This may be an issue of unclean build chroot rather than xdeb doing it wrong.
Background:
The build command is:
xdeb --only-explicit -a armel --prefer-apt --apt-source --debug --force-rebuild udev
The actual build command xdeb issues is:
debuild --no-lintian -eUSER -eCONFIG_
To easily reproduce the build environment in which this bug was discovered follow the HOWTO here:
https:/
Changed in udev (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Loïc Minier (lool) |
Changed in udev (Ubuntu): | |
status: | In Progress → Fix Committed |
I don't get the error you're getting, instead I get: introspection_ 1.30.0- 0ubuntu2 ===== usbutils/ usb.ids pci-ids- path= deb/config. status] Error 1
[...]
===== Importing gobject-
[...]
(other imports)
[...]
===== Building udev_173-0ubuntu4 =====
[...]
checking for INTROSPECTION... yes
checking for USBUTILS... yes
checking for USB database location... /var/lib/
configure: error: pci.ids not found, try --with-
make: *** [build-
dpkg-buildpackage: error: debian/rules build gave error exit status 2
which seems similar to the issue fixed in the karmic ~ubuntu- crossbuild/ cross PPA: /launchpad. net/~ubuntu- crossbuild/ +archive/ cross/+ packages
https:/
udev (147~-7~cross1) karmic; urgency=low
* Resynchronise with Ubuntu karmic. Remaining changes: CHECK_FILES when autodetecting the path to the PCI ids database.
- Be more cross-compilation friendly: pass --with-pci-ids-path to
configure for deb and udeb and change configure.ac to only
AC_
- Disable gtk-doc building when cross-compiling since it requires
running a generated source (lt-gudev-scan) which is usually not
possible when cross-compiling; should really be fixed to build this
scanner with BUILD_CC instead, but this would require building whole
projects twice too.
-- Colin Watson <email address hidden> Wed, 06 Jan 2010 13:36:45 +0000
again, this is with a variant=buildd oneiric chroot.