Bug#802706: slepc: FTBFS: Unable to link with PETSc

Drew Parsons dparsons at debian.org
Sat Oct 24 16:05:08 UTC 2015


On Fri, 23 Oct 2015 10:21:35 +0800 Drew Parsons <dparsons at debian.org>
wrote:
> This one's a mystery ... "works for me"  
> i.e. my upload was built successfully with sbuild.
> 

We diagnosed the problem on irc (i.e. why it was "working for me"): the
default sbuild configuration uses the default apt configuration, which
installs Recommends.  The buildds have installation of Recommends
deactivated.

So I can reproduce the build error after reconfiguring my sbuild chroot
(configure apt as per https://wiki.debian.org/BuilddSetup#debian.org_Bu
ildd_setup)

The fix, as you said, is to add the -dev Depends to the petsc dev
packages.

The reason this is needed is that petsc handles these libraries as
external libraries and lists them as required in
<petsc>/lib/pkgconfig/PETSc.pc and petsc>/lib/petsc/conf/petscvariables

Drew



More information about the debian-science-maintainers mailing list