Trying to install sci-mathematics/octave-3.8.0 fails on my system with the messages * Checking dependencies are built with the same blas lib = libpthread * ******************************************************************************* * /usr/lib64/libqrupdate.so must be rebuilt with libpthread * * To check the libaries /usr/lib64/libqrupdate.so is currently built with: * * scanelf -n /usr/lib64/libqrupdate.so * * To find the package that needs to be rebuilt: * * equery belongs /usr/lib64/libqrupdate.so pkg-config --libs-only-l "blas" | sed -e 's@.*-l@lib@' | cut -d' ' -f 1 gives libpthread but scanelf -n /usr/lib64/libqrupdate.so gives ET_DYN libblas.so.0,liblapack.so.0,libgfortran.so.3,libm.so.6 /usr/lib64/libqrupdate.so which doesn't show libpthread thus triggering the bug. eselect blas list shows [1] atlas [2] atlas-threads * [3] reference So, what check is really meant?
Thanks for reporting, I will try it with atlas to see if I can reproduce the problem.
Like I believe you that the check is broken on your machine, but I tried it with atlas on my machine and the check works. So please send me the outputs of (with "eselect blas show" still showing that [2] atlas-threads * is selected): pkg-config --libs-only-l "blas" ls -al /usr/lib64/pkgconfig/blas* cat /usr/lib64/pkgconfig/blas.pc
Thinking about it some more I think I see the problem, and a candidate fix to change the sed to: local blaslib=$( \ pkg-config --libs-only-l blas | \ sed -e 's@-l\([^ \t]*\)@lib\1@' | \ cut -d' ' -f 1) Committed in revision: 1.3 with this hopeful commit message: Fix bug 501762, pkg-pretend check that dependencies are built with the same blas library as currently selected with "eselect blas show" was incorrect when "pkg-config --libs-only-l blas" listed more than 1 library, thanks to Helmut Jarausch for reporting. It would be neat if you could please re-test and let us know if it works or not.
(In reply to Mark Wright from comment #3) > Thinking about it some more I think I see the problem, and a candidate fix > to change the sed to: > > local blaslib=$( \ > pkg-config --libs-only-l blas | \ > sed -e 's@-l\([^ \t]*\)@lib\1@' | \ > cut -d' ' -f 1) > > Committed in revision: 1.3 with this hopeful commit message: > > Fix bug 501762, pkg-pretend check that dependencies are built with the same > blas library as currently selected with "eselect blas show" was incorrect > when "pkg-config --libs-only-l blas" listed more than 1 library, thanks to > Helmut Jarausch for reporting. > > It would be neat if you could please re-test and let us know if it works or > not. Many thanks, this solves the problem. (though I haven't seen an octave-3.8.0-r1, yet) Helmut