build-depends snarfing should also "cross" the arch-specific build-depends

Bug #637454 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
armel-cross-toolchain-base (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

armel-cross-toolchain{,-base} build-dependencies are copied from those in binutils and gcc. That gives us build-deps such as this:

   g++-multilib [amd64 i386 mips mipsel powerpc ppc64 s390 sparc kfreebsd-amd64]

But g++-multilib is a build-dependency used when building *native* toolchains on these architectures. When building an armel cross-compiler, this is superfluous.

The debian/rules magic should parse these build-dependencies, stripping out all architecture qualifiers, and discarding any arch-specific build-dependencies that don't apply to the target architecture (armel). See Section 7.1 of debian-policy 3.9.0 or later for a full explanation of the architecture matching rules that apply.

Steve Langasek (vorlon)
Changed in armel-cross-toolchain-base (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
importance: Wishlist → Low
assignee: nobody → Marcin Juszkiewicz (hrw)
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

started test build without g++-multilib dependency - will see

Marcin Juszkiewicz (hrw)
Changed in armel-cross-toolchain-base (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package armel-cross-toolchain-base - 1.53

---------------
armel-cross-toolchain-base (1.53) natty; urgency=low

  [ Michael Hope ]
  * fixed build for non-standard PF.

  [ Marcin Juszkiewicz ]
  * added binutils-arm-linux-gnueabi to build-conficts as we need binutils
    which know what sysroot is during build.
  * added fakeroot dependency
  * dropped g++-multilib dependency - closes LP: #637454
  * updated to natty versions
    - dropped binutils patch as it got merged in natty (bumped binutils
      dependency)
  * use gcc-4.4 to compile binutils and eglibc (update to gcc-4.5 is on
    todolist)
  * do not copy gcc patches anymore as this is symlink to debian/patches
 -- Marcin Juszkiewicz <email address hidden> Thu, 25 Nov 2010 13:28:34 +0100

Changed in armel-cross-toolchain-base (Ubuntu):
status: Fix Committed → 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.