dpkg-checkbuilddeps doesn't know about cross-building

Bug #886609 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Debian)
Fix Released
Unknown
dpkg (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Although dpkg-buildpackage has a -a $arch option, dpkg-checkbuilddeps does nothing with it. As a result, dpkg-checkbuilddeps may consider the build-dependencies satisfied when they actually aren't, because a package is installed for a wrong architecture. This is ok if you're already resolving dependencies with something like apt-get build-dep or mk-build-deps, but it does make it harder to test out fixes to the multiarch build-dependencies themselves.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: dpkg-dev 1.16.0.3ubuntu5
ProcVersionSignature: Ubuntu 3.1.0-3.3-generic 3.1.0
Uname: Linux 3.1.0-3-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Nov 5 10:12:06 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: dpkg
UpgradeStatus: Upgraded to oneiric on 2011-09-23 (42 days ago)

Revision history for this message
Steve Langasek (vorlon) wrote :
Changed in dpkg (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in dpkg (Debian):
status: Unknown → Fix Committed
Changed in dpkg (Debian):
status: Fix Committed → New
Changed in dpkg (Debian):
status: New → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

Fixed in quantal and above as of dpkg version 1.16.3ubuntu1.

Changed in dpkg (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.