Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787401 - dev-python/symengine-0.7.0_p2: cmake failes to find SymEngine package in Prefix on Debian/Ubuntu due to unprefixified paths
Summary: dev-python/symengine-0.7.0_p2: cmake failes to find SymEngine package in Pref...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-01 13:44 UTC by Alexei Colin
Modified: 2021-07-15 16:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexei Colin 2021-05-01 13:44:33 UTC
In Prefix, on Debian specifically:

    emerge dev-python/symengine

    CMake Error at CMakeLists.txt:5 (find_package):
      Could not find a package configuration file provided by "SymEngine"
      (requested version 0.7.0) with any of the following names:

        SymEngineConfig.cmake
        symengine-config.cmake

This is due to modules installed by cmake looking at the presence of /etc/debian_version outside of the Prefix.

Confirmed that this PR fixes this issue:
https://github.com/gentoo/gentoo/pull/20274

Reproducible: Always




Root cause is the same as in:
https://bugs.gentoo.org/733480
https://bugs.gentoo.org/757006

Filing yet another bug to add weight to the Pull Request so that it is prioritized for merging.