Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50585 - lapack-3.0.ebuild installs the package even if compile fails
Summary: lapack-3.0.ebuild installs the package even if compile fails
Status: RESOLVED DUPLICATE of bug 30459
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-09 17:30 UTC by Emil Erlandsson
Modified: 2005-07-17 13:06 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 Emil Erlandsson 2004-05-09 17:30:39 UTC
I missed to compile gcc with support for fortran which lapack apparently needs. The thing is, I tried to install it and the build command failed. Even though, portage installed the sandbox, and the package was installed, even though no files was compiled nor installed.

Reproducible: Always
Steps to Reproduce:
1. Make sure to have gcc compiled _without_ support for fortran.
2. emerge -vp lapack
3. emerge lapack

Actual Results:  
>>> md5 src_uri ;-) lapack.tgz
>>> Unpacking source...
>>> Unpacking lapack.tgz to /var/tmp/portage/lapack-3.0/work
>>> Source unpacked.
g77 -O2 -march=pentium4 -pipe -fomit-frame-pointer  -c -o cbdsqr.o cbdsqr.f
make: g77: Command not found
make: *** [cbdsqr.o] Error 127
 
>>> Install lapack-3.0 into /var/tmp/portage/lapack-3.0/image/ category app-sci
/usr/lib/portage/bin/dolib.a: SRC/liblapack.a does not exist
man:
prepallstrip:
strip:
>>> Completed installing into /var/tmp/portage/lapack-3.0/image/
 
>>> Merging app-sci/lapack-3.0 to /
--- /usr/
--- /usr/lib/
 * Caching service dependencies...
>>> app-sci/lapack-3.0 merged.
>>> Recording app-sci/lapack in "world" favorites file...


Expected Results:  
The ebuild should warn or even die if gcc was compiled without support for fortan.

hive portage # emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.10
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb cdr crypt cups doc dvdr emacs encode esd foomaticdb
gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod motif mozilla
mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python
qt quicktime readline ruby samba sdl slang spell ssl svga tcltk tcpd tetex
truetype x86 xml xml2 xmms xv zlib"
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2004-05-10 16:56:26 UTC
Ditto here (as in #50586). Although lapack stuff is still "in the work", but should have this problem (which is basically recent since gcc-3.3.3-r2 I believe, which made fortran optional). I'll try to get lapack done soon as well.

George

*** This bug has been marked as a duplicate of 30459 ***