Skip to content

[Bug] Unable to compile addons with GRASS in conda #7067

@petrasovaa

Description

@petrasovaa

Describe the bug

When GRASS is installed via conda, the include/Make/Platform.make file contains hardcoded absolute paths to compilers from the build environment. For example:

CC = /home/conda/feedstock_root/build_artifacts/grass_1768323359793/_build_env/bin/x86_64-conda-linux-gnu-cc

These paths do not exist on the user's system, causing g.extension to fail when attempting to compile addons:

/bin/sh: line 1: /home/conda/feedstock_root/build_artifacts/grass_1768323359793/_build_env/bin/x86_64-conda-linux-gnu-cc: No such file or directory

While this may need to be addressed in https://github.com/conda-forge/grass-feedstock, I opened it here for more visibility and in case there is something in GRASS itself that can be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions