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

Steve Langasek steve.langasek at canonical.com
Fri Mar 30 03:25:51 UTC 2012


** Changed in: apt (Ubuntu)
   Importance: Undecided => Medium

** Tags added: multiarch

-- 
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:
  New

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