[Debian-astro-maintainers] Bug#943812: libsopt-dev: missing dependency on libopenmpi-dev
Helmut Grohne
helmut at subdivi.de
Wed Oct 30 05:12:21 GMT 2019
Package: libsopt-dev
Version: 3.0.1-7
Severity: serious
Justification: missing required dependency
User: debian-cross at lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:purify
The headers shipped in libsopt-dev #include <mpi.h>, but they fail
depending on an mpi implementation. This is a bug.
Moreover, /usr/share/cmake/sopt/SoptCPPTargets.cmake declares an
imported library "sopt" whose INTERFACE_INCLUDE_DIRECTORIES contain
/usr/lib/arm-linux-gnueabi/openmpi/include/openmpi. Any use of this
target fails at the cmake level unless libopenmpi-dev is installed. Here
is an example of how it breaks purify.
| CMake Error in cpp/purify/CMakeLists.txt:
| Imported target "sopt" includes non-existent path
|
| "/usr/lib/arm-linux-gnueabi/openmpi/include/openmpi"
|
| in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
|
| * The path was deleted, renamed, or moved to another location.
|
| * An install or uninstall procedure did not complete successfully.
|
| * The installation package was faulty and references files it does not
| provide.
A quick glimpse at the package also suggests that libeigen3-dev very
likely should also be a dependency.
Helmut
More information about the Debian-astro-maintainers
mailing list