Created attachment 522918 [details] build.log configure: error: cannot find BLAS libraries !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sci-libs/arpack-3.5.0/work/arpack-ng-3.5.0/config.log [31;01m*[0m ERROR: sci-libs/arpack-3.5.0::gentoo failed (configure phase): [31;01m*[0m econf failed [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 124: Called src_configure [31;01m*[0m environment, line 2431: Called econf '--with-blas=-lblas' '--with-lapack=-llapack -lblas' '--disable-mpi' [31;01m*[0m phase-helpers.sh, line 666: Called __helpers_die 'econf failed' [31;01m*[0m isolated-functions.sh, line 117: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m die "$@" [31;01m*[0m
Created attachment 522920 [details] emerge --info output
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/sci-libs/arpack-3.5.0/work/arpack-ng-3.5.0/config.log Yes?
Created attachment 523848 [details] config.log Attaching the config log, sorry for the delay.
Same as https://bugs.gentoo.org/649894 configure:5488: checking for sgemm_ in -lblas configure:5521: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -lblas -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../.. -lgfortran -lm -lquadmath >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libgfortran.so.3, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libblas.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libblas.so: undefined reference to `_gfortran_stop_string@GFORTRAN_1.0' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libblas.so: undefined reference to `_gfortran_string_len_trim@GFORTRAN_1.0' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libblas.so: undefined reference to `_gfortran_st_write@GFORTRAN_1.0' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libblas.so: undefined reference to `_gfortran_st_write_done@GFORTRAN_1.0' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libblas.so: undefined reference to `_gfortran_transfer_character_write@GFORTRAN_1.4' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libblas.so: undefined reference to `_gfortran_transfer_integer_write@GFORTRAN_1.4' collect2: error: ld returned 1 exit status
Looking at the config.log file, bug #638384 seems to be a duplicate of this bug. Would it be possible to add a note to pkg_postinst of gcc, if USE="fortran", to point users to re-emerge their libs and apps linking to fortran? This issue has troubled me several times in the past and I maintain a manual list of packages to reinstall after a gcc update.
*** This bug has been marked as a duplicate of bug 638384 ***