[Pkg-octave-devel] Bug#639187: octave-msh: FTBFS: build-dependency not installable: octave-pkg-dev (>= 0.7.0)

Colin Watson cjwatson at ubuntu.com
Wed Sep 14 10:48:25 UTC 2011


tags 639187 patch
user ubuntu-devel at lists.ubuntu.com
usertags 639187 ubuntu-patch oneiric
thanks

On Wed, Aug 24, 2011 at 10:17:21PM +0200, Mònica Ramírez Arceda wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
> > ┌──────────────────────────────────────────────────────────────────────────────┐
> > │ Install octave-msh build dependencies (apt-based resolver)                   │
> > └──────────────────────────────────────────────────────────────────────────────┘
> > 
> > Installing build dependencies
> > Reading package lists...
> > Building dependency tree...
> > Reading state information...
> > 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:
> >  sbuild-build-depends-octave-msh-dummy : Depends: octave-pkg-dev (>= 0.7.0) but it is not going to be installed
> > E: Broken packages

I think this is the same as
https://bugs.launchpad.net/ubuntu/+source/octave-msh/+bug/831407:

  $ chdist apt-get unstable -o Debug::pkgProblemResolver=true install octave-pkg-dev gmsh
  Reading package lists... Done
  Building dependency tree... Done
  Starting
  Starting 2
  Investigating (0) gmsh [ i386 ] < none -> 2.5.1~beta1~svn9724~dfsg-1 > ( math )
  Broken gmsh:i386 Depends on libhdf5-openmpi-1.8.4 [ i386 ] < none -> 1.8.4-patch1-3 > ( libs )
    Considering libhdf5-openmpi-1.8.4:i386 2 as a solution to gmsh:i386 9999
    Re-Instated libhdf5-openmpi-1.8.4:i386
  Investigating (0) libhdf5-serial-1.8.4 [ i386 ] < none -> 1.8.4-patch1-3 > ( libs )
  Broken libhdf5-serial-1.8.4:i386 Conflicts on libhdf5-1.8 [ i386 ] < none > ( none )
    Considering libhdf5-openmpi-1.8.4:i386 2 as a solution to libhdf5-serial-1.8.4:i386 2
    Holding Back libhdf5-serial-1.8.4:i386 rather than change libhdf5-1.8:i386
  Investigating (0) libhdf5-serial-dev [ i386 ] < none -> 1.8.4-patch1-3 > ( libdevel )
  Broken libhdf5-serial-dev:i386 Depends on libhdf5-serial-1.8.4 [ i386 ] < none -> 1.8.4-patch1-3 > ( libs ) (= 1.8.4-patch1-3)
    Considering libhdf5-serial-1.8.4:i386 2 as a solution to libhdf5-serial-dev:i386 0
    Holding Back libhdf5-serial-dev:i386 rather than change libhdf5-serial-1.8.4:i386
  Investigating (1) octave3.2-headers [ i386 ] < none -> 3.2.4-12 > ( math )
  Broken octave3.2-headers:i386 Depends on libhdf5-serial-dev [ i386 ] < none -> 1.8.4-patch1-3 > ( libdevel ) (>= 1.8.4)
    Considering libhdf5-serial-dev:i386 0 as a solution to octave3.2-headers:i386 1
    Holding Back octave3.2-headers:i386 rather than change libhdf5-serial-dev:i386
  Broken octave3.2-headers:i386 Depends on libhdf5-lam-dev [ i386 ] < none -> 1.8.4-patch1-3 > ( libdevel ) (>= 1.8.4)
    Considering libhdf5-lam-dev:i386 1 as a solution to octave3.2-headers:i386 1
    Holding Back octave3.2-headers:i386 rather than change libhdf5-lam-dev:i386
  Broken octave3.2-headers:i386 Depends on libhdf5-mpich-dev [ i386 ] < none -> 1.8.4-patch1-3 > ( libdevel ) (>= 1.8.4)
    Considering libhdf5-mpich-dev:i386 1 as a solution to octave3.2-headers:i386 1
    Holding Back octave3.2-headers:i386 rather than change libhdf5-mpich-dev:i386
  Broken octave3.2-headers:i386 Depends on libhdf5-openmpi-dev [ i386 ] < none -> 1.8.4-patch1-3 > ( libdevel ) (>= 1.8.4)
    Considering libhdf5-openmpi-dev:i386 1 as a solution to octave3.2-headers:i386 1
    Holding Back octave3.2-headers:i386 rather than change libhdf5-openmpi-dev:i386
    Or group keep for octave3.2-headers:i386
  Investigating (2) octave-pkg-dev [ i386 ] < none -> 0.7.4 > ( devel )
  Broken octave-pkg-dev:i386 Depends on octave3.2-headers [ i386 ] < none -> 3.2.4-12 > ( math )
    Considering octave3.2-headers:i386 1 as a solution to octave-pkg-dev:i386 9999
    Re-Instated libhdf5-serial-1.8.4:i386
    Re-Instated libhdf5-serial-dev:i386
    Re-Instated octave3.2-headers:i386
  Investigating (2) libhdf5-serial-1.8.4 [ i386 ] < none -> 1.8.4-patch1-3 > ( libs )
  Broken libhdf5-serial-1.8.4:i386 Conflicts on libhdf5-1.8 [ i386 ] < none > ( none )
    Considering libhdf5-openmpi-1.8.4:i386 2 as a solution to libhdf5-serial-1.8.4:i386 2
    Holding Back libhdf5-serial-1.8.4:i386 rather than change libhdf5-1.8:i386
  Investigating (2) libhdf5-serial-dev [ i386 ] < none -> 1.8.4-patch1-3 > ( libdevel )
  Broken libhdf5-serial-dev:i386 Depends on libhdf5-serial-1.8.4 [ i386 ] < none -> 1.8.4-patch1-3 > ( libs ) (= 1.8.4-patch1-3)
    Considering libhdf5-serial-1.8.4:i386 2 as a solution to libhdf5-serial-dev:i386 0
    Holding Back libhdf5-serial-dev:i386 rather than change libhdf5-serial-1.8.4:i386
  Investigating (3) octave3.2-headers [ i386 ] < none -> 3.2.4-12 > ( math )
  Broken octave3.2-headers:i386 Depends on libhdf5-serial-dev [ i386 ] < none -> 1.8.4-patch1-3 > ( libdevel ) (>= 1.8.4)
    Considering libhdf5-serial-dev:i386 0 as a solution to octave3.2-headers:i386 1
    Holding Back octave3.2-headers:i386 rather than change libhdf5-serial-dev:i386
  Broken octave3.2-headers:i386 Depends on libhdf5-lam-dev [ i386 ] < none -> 1.8.4-patch1-3 > ( libdevel ) (>= 1.8.4)
    Considering libhdf5-lam-dev:i386 1 as a solution to octave3.2-headers:i386 1
    Holding Back octave3.2-headers:i386 rather than change libhdf5-lam-dev:i386
  Broken octave3.2-headers:i386 Depends on libhdf5-mpich-dev [ i386 ] < none -> 1.8.4-patch1-3 > ( libdevel ) (>= 1.8.4)
    Considering libhdf5-mpich-dev:i386 1 as a solution to octave3.2-headers:i386 1
    Holding Back octave3.2-headers:i386 rather than change libhdf5-mpich-dev:i386
  Broken octave3.2-headers:i386 Depends on libhdf5-openmpi-dev [ i386 ] < none -> 1.8.4-patch1-3 > ( libdevel ) (>= 1.8.4)
    Considering libhdf5-openmpi-dev:i386 1 as a solution to octave3.2-headers:i386 1
    Holding Back octave3.2-headers:i386 rather than change libhdf5-openmpi-dev:i386
    Or group keep for octave3.2-headers:i386
  Investigating (4) octave-pkg-dev [ i386 ] < none -> 0.7.4 > ( devel )
  Broken octave-pkg-dev:i386 Depends on octave3.2-headers [ i386 ] < none -> 3.2.4-12 > ( math )
    Considering octave3.2-headers:i386 1 as a solution to octave-pkg-dev:i386 9999
  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:
   octave-pkg-dev : Depends: octave3.2-headers but it is not going to be installed
  E: Unable to correct problems, you have held broken packages.

In other words, confusion caused by the multiple libhdf5-*-dev
implementations; the results vary depending on the resolver in use (e.g.
pbuilder-satisfydepends-aptitude manages to figure it out).  I suggest
the admittedly slightly unpleasant workaround of explicitly picking the
correct implementation in octave-msh's build-dependencies:

  * Add explicit build-dependency on libhdf5-openmpi-dev to work around apt
    confusion when resolving dependencies of gmsh and octave3.2-headers
    (closes: #639187, LP: #831407).

diff -Nru octave-msh-1.0.2/debian/control octave-msh-1.0.2/debian/control
--- octave-msh-1.0.2/debian/control	2011-05-09 20:55:30.000000000 +0100
+++ octave-msh-1.0.2/debian/control	2011-09-14 11:12:05.000000000 +0100
@@ -4,7 +4,7 @@
 Maintainer: Debian Octave Group <pkg-octave-devel at lists.alioth.debian.org>
 Uploaders: Thomas Weber <tweber at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 6), cdbs, octave-pkg-dev (>= 0.7.0), gmsh, openssh-client
+Build-Depends: debhelper (>= 6), cdbs, octave-pkg-dev (>= 0.7.0), gmsh, openssh-client, libhdf5-openmpi-dev
 Standards-Version: 3.9.1
 Homepage: http://octave.sourceforge.net/msh
 Vcs-Git: git://git.debian.org/git/pkg-octave/octave-msh.git

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]





More information about the Pkg-octave-devel mailing list