arpack fails to build because it can't find the lapack library using pkg-config (see attached log). 1. app-eselect/eselect-lapack is unable to select sci-libs/lapack-reference-3.2.1-r4, because it checks for liblapack.so.3 which the package does not install. 2. app-eselect/eselect-lapack does not write the PKG_CONFIG_PATH to /etc/env.d, so pkg-config is unable to find lapack. The attached patch for eselect-lapack fixes the above issues and allows to select sci-libs/lapack-reference by running: eselect lapack add lib64 /usr/lib64/lapack/reference lapack-reference eselect lapack set lapack-reference This fixes building arpack. One thing I am not sure about is if the 50 in the filename /etc/env.d/50lapack is allowed or if there is a specific ordering convention which calls for a different number. Another thought: If there is only one lapack version installed, it should probably add and select itself with eselect-lapack. Reproducible: Always
Created attachment 595738 [details] Failing build log of sci-libs/arpack-3.1.5
Created attachment 595740 [details, diff] Fix for eselect-lapack-0.2
Dear John Doe, Thank you so much for patch. I apologize for the confusion. We have deprecated the lapack-reference packages and moved to sci-libs/lapack-3.8.0. Let's move to bug 698756 for further discussions. Benda *** This bug has been marked as a duplicate of bug 698756 ***