conda-forge / sundials-feedstock

A conda-smithy repository for sundials.
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

Broken target `SUNDIALS::sunlinsolsuperlumt` on `linux-64` #102

Closed adriendelsalle closed 7 months ago

adriendelsalle commented 7 months ago

Solution to issue cannot be found in the documentation.

Issue

The latest sundials package looks broken for use of the SUNDIALS::sunlinsolsuperlumt target.

superlu_mt is currently vendored by this package because there is no recent version of this library release, and package on conda-forge.

sundials is built with the correct definitions to activate superlu_mt but do not include in its package the required static library and headers, which points to the temporary work directory where superlu_mt is cloned and built.

Building a simple test program from sundials repo gives:

-- Configuring done (0.0s)
CMake Error in CMakeLists.txt:
  Imported target "SUNDIALS::sunlinsolsuperlumt" includes non-existent path

    "/home/conda/feedstock_root/build_artifacts/sundials_1709299599543/work/superlu_mt/SRC"

  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.

Static libs are still necessary to build downstream project and must be included in this package. I guess headers are also needed

Installed packages

gcc
cmake
ninja
sundials

Environment info

libmamba version : 1.5.8
     micromamba version : 1.5.8
           curl version : libcurl/8.6.0 OpenSSL/3.2.1 zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.58.0
     libarchive version : libarchive 3.7.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.5
       envs directories : /home/adrien/micromamba/envs
          package cache : /home/adrien/micromamba/pkgs
                          /home/adrien/.mamba/pkgs
            environment : test (active)
           env location : /home/adrien/micromamba/envs/test
      user config files : /home/adrien/.mambarc
 populated config files : /home/adrien/.condarc
       virtual packages : __unix=0=0
                          __linux=6.5.0=0
                          __glibc=2.35=0
                          __archspec=1=x86_64-v3
                          __cuda=12.0=0
               channels : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
       base environment : /home/adrien/micromamba
               platform : linux-64