apt-get build-dep -a $arch has wrong behavior for Build-Depends-Indep
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek |
Bug Description
Have just seen this wrong behavior with apt:
$ sudo apt-get build-dep -a armhf adduser
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
bzr-builddeb debhelper equivs gettext gettext-base intltool-debian lintian
po-debconf po4a quilt
The following NEW packages will be installed:
gcc-4.
libcroco3:armhf libffi6:armhf libgcc1:armhf libgettextpo0:armhf
libglib2.
libselinux1:armhf libstdc++6:armhf libtinfo5:armhf libunistring0:armhf
libxml2:armhf zlib1g:armhf
0 upgraded, 18 newly installed, 10 to remove and 0 not upgraded.
Need to get 7832 kB of archives.
After this operation, 8120 kB of additional disk space will be used.
Do you want to continue [Y/n]?
apt-get build-dep -a $arch appears to be incorrectly applying the cross-building rules to Build-Depends-
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~exp12ubuntu6
ProcVersionSign
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
CheckboxSubmission: 017452a27eca3c8
CheckboxSystem: ecaaad6fa1e0799
Date: Thu Mar 29 20:15:01 2012
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: Upgraded to precise on 2011-11-08 (142 days ago)
Related branches
- Michael Vogt (community): Approve
- David Kalnischkies: Pending requested
-
Diff: 24 lines (+3/-1)2 files modifiedcmdline/apt-get.cc (+1/-1)
debian/changelog (+2/-0)
Changed in apt (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Steve Langasek (vorlon) |
This bug was fixed in the package apt - 0.8.16~exp12ubuntu7
--------------- exp12ubuntu7) precise; urgency=low
apt (0.8.16~
* clean up obsolete conffile /etc/apt/ apt.conf. d/01ubuntu, which was dependencies; we should dependencies, Architecture: all packages should be
dropped in maverick.
* Build-depend on gettext:any for cross-building support.
* Don't treat build-depends-indep as cross-build-
always install the host arch versions. LP: #968828.
* Makefile, po/makefile: make sure our pot generation datestamp doesn't
change at build time, since this makes translations fail to be
co-installable with multiarch. Based on a patch by David Kalnischkies.
Closes: #659333, LP: #924628.
* For cross-build-
treated as implicitly Multi-Arch: foreign, because either they *are*
M-A: foreign when used as a build-dependency, or they need to be updated
to not be Architecture: all; and since cross-build-deps are new
functionality in apt, we can safely make this change without breaking
existing systems. Closes: #666772.
-- Steve Langasek <email address hidden> Thu, 05 Apr 2012 18:00:23 -0700