xtensor-io icon indicating copy to clipboard operation
xtensor-io copied to clipboard

[BUG] conda-forge Incorrect INTERFACE_LINK_LIBRARIES

Open cheng-chi opened this issue 5 years ago • 3 comments

When using xtensor-io with conda, the INTERFACE_LINK_LIBRARIES in xtensor-ioTargets.cmake contains incorrect library paths such as "/home/conda/feedstock_root/build_artifacts/xtensor-io_1576590031955/_build_env/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib/librt.so" and is causing linker errors. I'm using the linux64 package.

cheng-chi avatar Apr 12 '20 04:04 cheng-chi

Hello @cheng-chi thank you for reporting. Which version are you using?

SylvainCorlay avatar Apr 12 '20 07:04 SylvainCorlay

Hello @cheng-chi thank you for reporting. Which version are you using?

Thanks for the fast reply! I'm using 0.9.0. The problem can also be demonstrated by decompressing the conda-forge tarball (lib/cmake/xtensor-io/xtensor-ioTargets.cmake)

cheng-chi avatar Apr 12 '20 07:04 cheng-chi

Indeed, everything should have anaconda1anaconda2anaconda3 instead, which is replaced by the correct path.

SylvainCorlay avatar Apr 12 '20 07:04 SylvainCorlay