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

Bug 918511

Summary: sci-libs/lapack-3.12.0: fails to build with samu (Fatal Error: Cannot open module file ‘la_constants.mod’ for reading at (1): No such file or directory)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351559    
Attachments: sci-libs:lapack-3.12.0:20231125-105908.log.xz
emerge --info

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-25 11:05:31 UTC
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
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-25 11:05:59 UTC
Created attachment 875609 [details]
sci-libs:lapack-3.12.0:20231125-105908.log.xz
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-25 11:06:08 UTC
Created attachment 875610 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-25 11:07:35 UTC
I wonder if this is a CMake regression.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-25 11:49:33 UTC
I can reproduce with NINJA=samu, but not ninja.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-26 16:59:03 UTC

*** This bug has been marked as a duplicate of bug 914429 ***