Skip to content

[BUG] conda-forge Incorrect INTERFACE_LINK_LIBRARIES #69

Description

@cheng-chi

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.

Activity

  1. changed the title [-]conda-forge Incorrect INTERFACE_LINK_LIBRARIES[/-] [+][BUG] conda-forge Incorrect INTERFACE_LINK_LIBRARIES[/+] on Apr 12, 2020
  2. SylvainCorlay commented on Apr 12, 2020

    @SylvainCorlay
    Member

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

  3. cheng-chi commented on Apr 12, 2020

    @cheng-chi
    Author

    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)

  4. SylvainCorlay commented on Apr 12, 2020

    @SylvainCorlay
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions