Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 787401

Summary: dev-python/symengine-0.7.0_p2: cmake failes to find SymEngine package in Prefix on Debian/Ubuntu due to unprefixified paths
Product: Gentoo/Alt Reporter: Alexei Colin <ac>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/gentoo/gentoo/pull/20274
Whiteboard:
Package list:
Runtime testing required: ---

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.