Can't install libboost-dev:armhf in a cross-build environment

Bug #1552914 reported by Michał Sawicz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
boost-defaults (Ubuntu)
Fix Released
Undecided
Dimitri John Ledkov

Bug Description

Trying to install libboost-dev:armhf in a cross-build environment tries to install g++:armhf:

# apt-get install -s libboost-dev:armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost-dev:armhf : Depends: g++:armhf (>= 4:5-0) but it is not going to be installed
                      Depends: g++-5:armhf (>= 5.2.1-11) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libboost-dev (not installed)
ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
Uname: Linux 4.4.0-8-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 3 22:02:52 2016
SourcePackage: boost-defaults
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

Dimitri, is this something you might be able to help sort out?

Changed in boost-defaults (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
Revision history for this message
Matthias Klose (doko) wrote :

just drop the dependency on the compiler package; it was only needed for the libstdc++/GCC 5 ABI transition

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in boost-defaults (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

This is blocking Mir cross-compilation on xenial.

Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

Note that the problem also exists for other boost -dev packages, and should be fixed for them too.

Changed in boost-defaults (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package boost-defaults - 1.58.0.1ubuntu1

---------------
boost-defaults (1.58.0.1ubuntu1) xenial; urgency=medium

  * Drop compiler ABI dependencies, breaks cross-compilation. LP: #1552914

 -- Dimitri John Ledkov <email address hidden> Fri, 08 Apr 2016 13:26:05 +0100

Changed in boost-defaults (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.