Bug#786613: FTBFS if boost is installed

Tobias Hansen thansen at debian.org
Sat May 23 13:06:19 UTC 2015


Source: eclib
Severity: important

Hi Julien,

currently eclib FTBFS if libboost-dev is installed. It tries to use it
and fails. First we should decide if it should use boost and then make
it use it or not regardless of whether boost is installed.

This comment from eclibs configure.ac explains for what boost is used:

# NB At present if configure finds boost on your system then it WILL
# define ECLIB_MULTITHREAD which you may not want, if you have not put
# --with-boost on the configure line.  This should be fixed.  Until
# then, if your system has boost but you do not want to use
# multithreading, manually edit out the lines in configure which
# define ECLIB_MULTITHREAD=1.

If we want to use boost, we have to add it as a build-dep and fix the
build with boost.
It fails here:

checking for boostlib >= 1.35.0... yes
checking whether the Boost::System library is available... yes
configure: error: Could not find a version of the library!

This could be the fix:
https://www.biostars.org/p/59182/

If we don't want to use boost, it shouldn't be used even when it's
installed.

Best,
Tobias



More information about the debian-science-maintainers mailing list