[Pkg-octave-devel] Bug#850402: octave-msh: FTBFS: Tests/check-pkg hang [msh2m_gmsh]
Sébastien Villemot
sebastien at debian.org
Fri Jan 13 14:44:08 UTC 2017
Control: tags -1 + confirmed
Le vendredi 06 janvier 2017 à 06:28 +0000, Chris Lamb a écrit :
> Source: octave-msh
> Version: 1.0.10-1
> Severity: serious
> Justification: fails to build from source
> octave-msh fails to build from source in unstable/amd64:
>
> […]
> PASSES 4 out of 4 tests
> [msh2m_gmsh]
>
> […]
I investigated this issue a little bit, and it turns out that it comes
from a bad interaction between fakeroot and gmsh.
More precisely, the test in msh2m_gmsh.m calls /usr/bin/gmsh. Given that
we are in a build environment, the LD_LIBRARY_PATH and LD_PRELOAD
variables are set such that libfakeroot-sysv.so is loaded, and this
causes gmsh to stall. I could verify that clearing LD_PRELOAD before
calling gmsh (for example in /usr/share/octave-pkg-dev/check-pkg) fixes
the FTBFS.
I don't know which solution is better:
- report this as a bug in gmsh
- clear LD_PRELOAD from msh2m_gmsh.m (and possibly other M-files)
- clear LD_PRELOAD from /usr/share/octave-pkg-dev/check-pkg
- other ideas?
What do you think?
--
.''`. Sébastien Villemot
: :' : Debian Developer
`. `' http://sebastien.villemot.name
`- GPG Key: 4096R/381A7594
More information about the Pkg-octave-devel
mailing list