samu: job failed: /usr/bin/x86_64-pc-linux-gnu-gfortran -I/tmp/portage/sci-libs/lapack-3.12.0/work/lapack-3.12.0/SRC -march=znver2 --param=l1-cache-size=32 --param=l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches -march=znver2 --param=l1-cache-size=32 --param=l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches -frecursive -JSRC -fPIC -fpreprocessed -o SRC/CMakeFiles/lapack.dir/zlassq.f90.o -c SRC/CMakeFiles/lapack.dir/zlassq.f90-pp.f90 /tmp/portage/sci-libs/lapack-3.12.0/work/lapack-3.12.0/SRC/zlassq.f90:124:8: 124 | use LA_CONSTANTS, & | 1 Fatal Error: Cannot open module file ‘la_constants.mod’ for reading at (1): No such file or directory compilation terminated. samu: subcommand failed
Created attachment 875609 [details] sci-libs:lapack-3.12.0:20231125-105908.log.xz
Created attachment 875610 [details] emerge --info
I wonder if this is a CMake regression.
I can reproduce with NINJA=samu, but not ninja.
*** This bug has been marked as a duplicate of bug 914429 ***