Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193884 - sci-libs/blas-atlas-3.7.11-r1 fails to provide blas.pc
Summary: sci-libs/blas-atlas-3.7.11-r1 fails to provide blas.pc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Science Related Packages
URL: http://rafb.net/p/G8eoyh33.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-26 16:15 UTC by Stephen Floor
Modified: 2007-12-13 11:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Floor 2007-09-26 16:15:29 UTC
While trying to emerge sci-libs/lapack-reference-3.1.1-r1 I noticed that pkg-config was not finding blas installed.  This is because no blas.pc file is located in /usr/lib/pkgconfig:

corni blas-atlas # pkg-config --libs blas
Package blas was not found in the pkg-config search path.
Perhaps you should add the directory containing `blas.pc'
to the PKG_CONFIG_PATH environment variable
No package 'blas' found

This prevents merging of any package that uses pkg-config to test for the presence of blas.  Installed blas:

corni blas-atlas # eix -I blas-atlas
[I] sci-libs/blas-atlas
     Available versions:  3.6.0 3.6.0-r1 3.6.0-r2 3.7.11 3.7.11-r1 ~3.7.31 ~3.7.32 ~3.7.34 {debug doc}
     Installed versions:  3.7.11-r1(20:07:35 09/25/07)(-debug doc)
     Homepage:            http://math-atlas.sourceforge.net/
     Description:         Automatically Tuned Linear Algebra Software BLAS implementation

Currently merging blas-atlas-3.7.31 to see if that fixes the problem.  I'll post on this bug if it does.

Thanks.

Reproducible: Always

Steps to Reproduce:
1. install blas-atlas-3.7.11-r1
2. notice that pkg-config --libs blas does not find blas
3. attempt to merge lapack-reference-3.1.1-r1 which depends on finding blas using pkg-config and it will fail.




see the url provided:  http://rafb.net/p/G8eoyh33.html
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-26 16:28:10 UTC
rm /etc/env.d/blas/lib/config and re-run eselect blas set ...


*** This bug has been marked as a duplicate of bug 189942 ***
Comment 2 Stephen Floor 2007-09-26 16:44:48 UTC
(In reply to comment #1)
> rm /etc/env.d/blas/lib/config and re-run eselect blas set ...
> 
> 
> *** This bug has been marked as a duplicate of bug 189942 ***
> 

I tried this and it doesn't resolve the problem:

corni blas-atlas # eselect blas show
lib: threaded-atlas
corni blas-atlas # rm /etc/env.d/blas/lib/config 
rm: remove regular file `/etc/env.d/blas/lib/config'? y
corni blas-atlas # eselect blas set threaded-atlas 
corni blas-atlas # eselect blas show
lib: threaded-atlas
corni blas-atlas # pkg-config --libs blas
Package blas was not found in the pkg-config search path.
Perhaps you should add the directory containing `blas.pc'
to the PKG_CONFIG_PATH environment variable
No package 'blas' found
Comment 3 Stephen Floor 2007-09-26 17:46:30 UTC
(In reply to comment #2)
> I tried this and it doesn't resolve the problem:
> 
> corni blas-atlas # eselect blas show
> lib: threaded-atlas
> corni blas-atlas # rm /etc/env.d/blas/lib/config 
> rm: remove regular file `/etc/env.d/blas/lib/config'? y
> corni blas-atlas # eselect blas set threaded-atlas 
> corni blas-atlas # eselect blas show
> lib: threaded-atlas
> corni blas-atlas # pkg-config --libs blas
> Package blas was not found in the pkg-config search path.
> Perhaps you should add the directory containing `blas.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'blas' found
> 

Additionally, if I emerge blas-reference and run 
eselect blas set reference

pkg-config now works:

corni blas-atlas # pkg-config --libs blas
-lblas  

However, changing back to atlas causes pkg-config to fail:

corni blas-atlas # eselect blas set atlas
corni blas-atlas # pkg-config --libs blas
Package blas was not found in the pkg-config search path.
Perhaps you should add the directory containing `blas.pc'
to the PKG_CONFIG_PATH environment variable
No package 'blas' found

This confirms (in my mind at least) that blas-atlas is not properly providing blas.pc separating this bug from #189942.  Because of this I reopened the bug.  sci-libs/blas-atlas-3.7.31 exhibits the same behavior.
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2007-09-26 18:41:00 UTC
Hi Stephen,

Yes, the pkg-config stuff is work in progress. If you want to use it with blas-atlas, you can use the blas-atlas-3.7.37 from the science overlay.

Sebastien
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-10-10 19:03:42 UTC
*** Bug 195418 has been marked as a duplicate of this bug. ***
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2007-10-10 21:45:35 UTC
blas-atlas-3.7.39 which is now in portage should also
provide the necessary pkg-config files.
Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2007-12-13 11:43:40 UTC
blas-atlas-3.8.0 was recently marked stable and
resolves this issue. Hence, I am closing this bug.

cheers,
Markus