Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 193884
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stephen Floor <snf@extrospective.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 193884 depends on: Show dependency tree
Bug 193884 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-26 16:15 0000
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 From Jakub Moc (RETIRED) 2007-09-26 16:28:10 0000 -------
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 From Stephen Floor 2007-09-26 16:44:48 0000 -------
(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 From Stephen Floor 2007-09-26 17:46:30 0000 -------
(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 From Sébastien Fabbro 2007-09-26 18:41:00 0000 -------
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 From Jakub Moc (RETIRED) 2007-10-10 19:03:42 0000 -------
*** Bug 195418 has been marked as a duplicate of this bug. ***

------- Comment #6 From Markus Dittrich 2007-10-10 21:45:35 0000 -------
blas-atlas-3.7.39 which is now in portage should also
provide the necessary pkg-config files.

------- Comment #7 From Markus Dittrich 2007-12-13 11:43:40 0000 -------
blas-atlas-3.8.0 was recently marked stable and
resolves this issue. Hence, I am closing this bug.

cheers,
Markus

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug