Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build py310hd272ba4_1 of the osx-arm64 package for RDKit 2022.09.1 includes a broken cmake config file #114

Open
1 task done
rvianello opened this issue Nov 9, 2022 · 0 comments
Labels

Comments

@rvianello
Copy link

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

The cmake configuration file /lib/cmake/rdkit/rdkit-targets.cmake available with build py310hd272ba4_1 of the osx-arm64 package for RDKit 2022.09.1 contains an invalid path that references the _build_env environment that was presumably available when the package was created:

/Users/runner/miniforge3/conda-bld/rdkit_1666713427998/_build_env/venv/lib/python3.10/site-packages/numpy/core/include

Relocation doesn't apply to this path when the RDKit package is installed into a conda environment and the cmake configuration of a project that uses this config file fails with error messages similar to the following

Imported target "RDKit::MolHash" includes non-existent path

  "/Users/runner/miniforge3/conda-bld/rdkit_1666713427998/_build_env/venv/lib/python3.10/site-packages/numpy/core/include"

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.

The problem appears to be specific to the cross-compilation of the osx-arm64 package and I suspect it could be due to RDKit's FindNumpy.cmake using the python interpreter and numpy package that are found installed with the build requirements, instead of the host ones.

Installed packages

not relevant

Environment info

not relevant
@rvianello rvianello added the bug label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant