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

Bug 699816

Summary: [PATCH] sci-libs/arpack-3.1.5 fails to find liblapack of sci-libs/lapack-reference-3.2.1-r4
Product: Gentoo Linux Reporter: John Doe <harald.brinkmann>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=596920
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Failing build log of sci-libs/arpack-3.1.5
Fix for eselect-lapack-0.2

Description John Doe 2019-11-11 12:30:59 UTC
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
Comment 1 John Doe 2019-11-11 12:34:26 UTC
Created attachment 595738 [details]
Failing build log of sci-libs/arpack-3.1.5
Comment 2 John Doe 2019-11-11 12:35:26 UTC
Created attachment 595740 [details, diff]
Fix for eselect-lapack-0.2
Comment 3 Benda Xu gentoo-dev 2019-11-13 08:53:49 UTC
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 ***