Created attachment 370856 [details] dev-lang/julia-0.2.0.ebuild dev-lang/julia-0.2 don't find blas
Comment on attachment 370856 [details] dev-lang/julia-0.2.0.ebuild --- julia-0.2.0.ebuild 2014-01-09 15:05:50.559089368 +0100 +++ - 2014-02-20 13:57:28.218937317 +0100 @@ -63,8 +63,11 @@ cp "${DISTDIR}/dsfmt-2.2.tar.gz" deps/random/ cp "${DISTDIR}/double-conversion-1.1.1.tar.gz" deps/ # Some cleanups to avoid an OpenBlas dep, and remove some useless git errors - sed -e "s|-lblas|$($(tc-getPKG_CONFIG) --libs blas)|" Make.inc || die - sed -e 's/$(shell git rev-parse --short=10 HEAD)/v0.2.0/' Make.inc || die + blas_lib=$($(tc-getPKG_CONFIG) --libs blas) + blas_name=`echo ${blas_lib} | sed -e "s:-l:lib:g"` + sed -i -e "s|-lblas|$($(tc-getPKG_CONFIG) --libs blas)|" Make.inc || die + sed -i -e "s|libblas|${blas_name}|" Make.inc || die + sed -i -e 's/$(shell git rev-parse --short=10 HEAD)/v0.2.0/' Make.inc || die } src_compile() {
graphics.jl profile.jl LoadError("sysimg.jl",231,ErrorException("error compiling _start: error compiling check_blas: error compiling blas_vendor: could not load module -L/usr/lib64/blas/reference libblas: -L/usr/lib64/blas/reference libblas: cannot open shared object file: No such file or directory")) Makefile:69: recipe for target '/var/tmp/portage/dev-lang/julia-0.2.0-r1/work/usr/lib/julia/sys0.ji' failed make[1]: *** [/var/tmp/portage/dev-lang/julia-0.2.0-r1/work/usr/lib/julia/sys0.ji] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-lang/julia-0.2.0-r1/work' Makefile:34: recipe for target 'release' failed make: *** [release] Error 2 * ERROR: dev-lang/julia-0.2.0-r1::gentoo failed (compile phase): * emake failed I disagree with that patch :)
Seems to have been fixed by Calchan
+ 26 Feb 2014; Patrick Lauer <patrick@gentoo.org> julia-0.2.0.ebuild: + Revert changes that break build #501868 Well, uhm, it's more fun when it's actually installable. Also, when doing such changes it helps to do a revision bump (think binpkgs) or certain people get mildly unhappy.
could not load module -L/usr/lib64/blas/reference.so: -L/usr/lib64/blas/reference.so: cannot open shared object file: No such file or directory # ls /usr/lib64/blas/reference/ blas.pc libblas.a libblas.la libblas.so libblas.so.0 libblas.so.0.0.0 Spot the difference ...
sci-libs/blas-reference-20070226-r2 has: $ pkg-config --libs blas -L/usr/lib64/blas/reference -lblas $ Which was breaking the seds, fixed by using pkg-config --libs-only-l blas in julia-0.2.0-r1