grass 5.0.2 ebuild fails to compile because it looks for fftw.h. fftw 3.0.1 includes fftw3.h instead. Reproducible: Always Steps to Reproduce: 1.on a system that does not already have fftw 2.1.3 or greater installed, emerge grass 2. 3. Actual Results: configure for grass failed because it could not find fftw.h Expected Results: Configure should have found fftw.h with fftw-2.1.5 installed. ebuild for grass 5.0.2 should specify the dependency for fftw as "=dev-lib/fftw-2.1.5" Changing ebuild for grass 5.0.2 so that it specifies the dependency for fftw as "=dev-lib/fftw-2.1.5" resolved the issue.
could you try grass 5.0.3 ?
Same with 5.0.3 My workaround: 1) emerge unmerge fftw 2) emerge /usr/portage/dev-libs/fftw/fftw-2.1.5.ebuild 3) emerge grass
Any GRASS 5.x only supports FFT2. FFTW3 is unsupported as it's API was changed. Hope this helps, Markus Neteler GRASS Development Team
Created attachment 24636 [details] Modified ebuild that correct the problem I added a modified ebuild that corrects the problem. I.e. it forces grass to install fftw 2.1.5 (and not fftw 3.0). Well, the problem is that portage unmerges fftw 2.1.5 when you install something that depends on fftw3... Maybe it would be usefull to separate fftw2 from fftw3 (dev-libs/fftw2 vs. dev-libs/fftw3). The question is: Is it possible to install the two versions together ?
Re-assign a stale bug, please close if this is no longer an issue.
I am not the maintainer, but since all current grass versions depend on fftw2 it looks like this bug is history.