Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88350 - sci-libs/blas fails to emerge properly
Summary: sci-libs/blas fails to emerge properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 07:28 UTC by Bart Alewijnse
Modified: 2005-09-10 01:48 UTC (History)
0 users

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 Bart Alewijnse 2005-04-08 07:28:58 UTC
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.
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2005-05-18 06:07:53 UTC
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
Comment 2 Peter Bienstman (RETIRED) gentoo-dev 2005-09-10 01:48:21 UTC
Fixed, thanks. Note that this package will be replaced in the future by  
'blas-reference' and 'blas-atlas'.