Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649892 - sci-libs/arpack-3.5.0 configure: error: cannot find BLAS libraries
Summary: sci-libs/arpack-3.5.0 configure: error: cannot find BLAS libraries
Status: RESOLVED DUPLICATE of bug 638384
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-08 05:02 UTC by Anton Kochkov
Modified: 2019-07-11 06:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (arpack_build.log,6.12 KB, text/plain)
2018-03-08 05:02 UTC, Anton Kochkov
Details
emerge --info output (emerge_info.log,5.20 KB, text/plain)
2018-03-08 05:02 UTC, Anton Kochkov
Details
config.log (config.log,48.87 KB, text/plain)
2018-03-14 04:15 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2018-03-08 05:02:15 UTC
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
Comment 1 Anton Kochkov 2018-03-08 05:02:32 UTC
Created attachment 522920 [details]
emerge --info output
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-09 06:04:44 UTC
!!! 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?
Comment 3 Anton Kochkov 2018-03-14 04:15:41 UTC
Created attachment 523848 [details]
config.log

Attaching the config log, sorry for the delay.
Comment 4 François Bissey 2018-03-14 04:20:10 UTC
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
Comment 5 Bernd 2019-06-09 07:07:43 UTC
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.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2019-07-11 06:33:07 UTC

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