[Bug 968828] Re: apt-get build-dep -a $arch has wrong behavior for Build-Depends-Indep

Launchpad Bug Tracker 968828 at bugs.launchpad.net
Fri Apr 6 02:01:10 UTC 2012


This bug was fixed in the package apt - 0.8.16~exp12ubuntu7

---------------
apt (0.8.16~exp12ubuntu7) precise; urgency=low

  * clean up obsolete conffile /etc/apt/apt.conf.d/01ubuntu, which was
    dropped in maverick.
  * Build-depend on gettext:any for cross-building support.
  * Don't treat build-depends-indep as cross-build-dependencies; we should
    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-dependencies, Architecture: all packages should be
    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 <steve.langasek at ubuntu.com>   Thu, 05 Apr 2012 18:00:23 -0700

** Changed in: apt (Ubuntu)
       Status: In Progress => Fix Released

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

Title:
  apt-get build-dep -a $arch has wrong behavior for Build-Depends-Indep

Status in “apt” package in Ubuntu:
  Fix Released

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.6-base:armhf gettext:armhf gettext-base:armhf libc6:armhf
    libcroco3:armhf libffi6:armhf libgcc1:armhf libgettextpo0:armhf
    libglib2.0-0:armhf libgomp1:armhf libncurses5:armhf libpcre3:armhf
    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-Indep.  We must install the
  Build-Depends-Indep for cross-building so that the 'build' target can
  be called, but since they're *indep*, we should always prefer the
  build-arch version.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: apt 0.8.16~exp12ubuntu6
  ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
  Uname: Linux 3.2.0-20-generic x86_64
  ApportVersion: 1.95-0ubuntu1
  Architecture: amd64
  CheckboxSubmission: 017452a27eca3c8b498abbfa5ef91db9
  CheckboxSystem: ecaaad6fa1e0799a0aa1126bf620f39e
  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)

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




More information about the foundations-bugs mailing list