Bug#1059377: sundials: FTBFS: Imported target "MPI::MPI_Fortran" includes non-existent path

Sebastian Ramacher sramacher at debian.org
Sat Dec 23 21:00:39 GMT 2023


Source: sundials
Version: 6.4.1+dfsg1-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=sundials&arch=arm64&ver=6.4.1%2Bdfsg1-3%2Bb3&stamp=1703364135&raw=0

-- Found MPI_CXX: /usr/lib/aarch64-linux-gnu/openmpi/lib/libmpi_cxx.so (found suitable version "3.1", minimum required is "2.0.0") 
CMake Error in /<<PKGBUILDDIR>>/debian/build/CMakeFiles/CMakeScratch/TryCompile-yumbt7/CMakeLists.txt:
  Imported target "MPI::MPI_Fortran" includes non-existent path

    "/usr/include/x86_64-linux-gnu/fortran/gfortran-mod-15/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.



CMake Error at /usr/share/cmake-3.28/Modules/FindMPI.cmake:1278 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FindMPI.cmake:1297 (_MPI_try_staged_settings)
  /usr/share/cmake-3.28/Modules/FindMPI.cmake:1645 (_MPI_check_lang_works)
  cmake/tpl/SundialsMPI.cmake:71 (find_package)
  cmake/SundialsSetupTPLs.cmake:27 (include)
  CMakeLists.txt:174 (include)


-- Configuring incomplete, errors occurred!

Cheers
-- 
Sebastian Ramacher



More information about the debian-science-maintainers mailing list