GRASS GIS - Grass Addons not compiling on Fedora 37

Hi everyone

I’m having a problem when trying to install any GRASS GIS ADDON. The log I’m getting is this:

g.extension extension=r.stream.snap
WARNING: Extension <r.stream.snap> already installed. Re-installing…
Fetching <r.stream.snap> from GRASS GIS Addons repository (be patient)…
Compiling…
gcc: fatal error: environment variable ‘RPM_ARCH’ not
defined
compilation terminated.
make: *** [/usr/lib64/grass82/include/Make/Module.make:18: /
tmp/grass8-andresd-
18817/tmpip5p400j/r.stream.snap/bin/r.stream.snap] Error 1

This happens with any module.

Plus, qgis-grass module y not compiling properly from DNF.

Thank you.

I don’t know if you can get some useful info out of this bug request:

2121587 – scons: RPM_ARCH not defined

Maybe I should post it in GRASS GIS repository.

1 Like