Building of blas fails yet portage merges it - that is, no files at all. This is a duplicate of bug 51344, which explains the problem is 'resolved in new blas packages', which seems inaccurate: In my portage tree (~x86, last synced on 2005-04-07) the latest version is sci-libs/blas-19980702-r2, which still has the problem listed above, as demonstrated by this output: ----[snip]----- Calculating dependencies ...done! >>> emerge (1 of 1) sci-libs/blas-19980702-r2 to / >>> md5 src_uri ;-) blas.tgz >>> Unpacking source... >>> Unpacking blas.tgz to /var/tmp/portage/blas-19980702-r2/work >>> Source unpacked. g77 -march=athlon-xp -Os -pipe -fomit-frame-pointer -falign-functions -falign-loops -falign-jumps -fPIC -c -o caxpy.o caxpy.f make: g77: Command not found make: *** [caxpy.o] Error 127 >>> Test phase [not enabled]: sci-libs/blas-19980702-r2 >>> Install blas-19980702-r2 into /var/tmp/portage/blas-19980702-r2/image/ category sci-libs /usr/lib/portage/bin/dolib: libblas.a does not exist man: prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded >>> Completed installing blas-19980702-r2 into /var/tmp/portage/blas-19980702-r2/image/ >>> Merging sci-libs/blas-19980702-r2 to / --- /usr/ --- /usr/lib/ >>> Regenerating /etc/ld.so.cache... * Caching service dependencies ... [ ok ] >>> sci-libs/blas-19980702-r2 merged. >>> Recording sci-libs/blas in "world" favorites file... ----[/snip]----- Reproducible: Always Steps to Reproduce: 1. 'emerge blas' Actual Results: See snippet above. Expected Results: The package to build and be merged, or to fail properly.
make: g77: Command not found <- this means there is no g77 compiler available. blas cannot compile without this (as it is written in fortran programming language...). please recompile gcc with "fortran" in you USE flags. I agree that this has be checked in the ebuild. something like this? inherit eutils if ! built_with_use sys-devel/gcc fortran ; then die "Build gcc with USE='fortran'"; fi
Fixed, thanks. Note that this package will be replaced in the future by 'blas-reference' and 'blas-atlas'.