Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117983 - sci-libs/lapack-atlas-3.6.0-r1 compile error
Summary: sci-libs/lapack-atlas-3.6.0-r1 compile error
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: 2006-01-05 20:45 UTC by Luke Imhoff
Modified: 2006-01-15 17:24 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 Luke Imhoff 2006-01-05 20:45:59 UTC
When trying to install scipy-svn, lapack-atlas is installed if not no lapack is available.  During build, compiling fortran files fails with 

libtool --mode=compile --tag=F77 g77 -pipe -O2 -c sgbequ.f
 g77 -pipe -O2 -c sgbequ.f  -fPIC -o .libs/sgbequ.o
sgbequ.f: In subroutine `sgbequ':
sgbequ.f:103:
         INTRINSIC          ABS, MAX, MIN
                            ^
Invalid declaration of or reference to symbol `abs' at (^) [initially seen at (^)]
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2006-01-06 07:59:04 UTC
The package compiles fine here on my P4. Could you please post your emerge info.

Thanks,
Markus
Comment 2 Luke Imhoff 2006-01-06 11:54:45 UTC
Gentoo Base System version 1.12.0_pre13
Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(TM) XP 2100+
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -mtune=athlon-xp -march=athlon-xp -ftracer -fprefetch-loop-arrays -msse -m3dnow -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -mtune=athlon-xp -march=athlon-xp -ftracer -fprefetch-loop-arrays -msse -m3dnow -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/opt/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apache2 apm asm audiofile avi berkdb bitmap-fonts bonobo browserplugin bzip2 cdr crypt cups curl divx4linux dts dvd eds emboss encode exif expat fam ffmpeg firefox flac foomaticdb fortran freetype gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jikes jpeg junit lcms libg++ libwww mad matroska mikmod mmx mmxext mng mod motif mp3 mpeg mysql nas ncurses nls nsplugin ntpl ntplonly offensive ogg oggvorbis opengl pam pcre pdflib perl pic png ppds python quicktime readline sdl shout slang speex spell sse ssl svg svga sysvipc tcltk tcpd tetex theora tiff tifftype1 truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis win32codecs wxwindows xml xml2 xosd xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2006-01-15 07:36:41 UTC
I had a look at the source file and I don't see any reason for g77
to complain. If you still have this problem could you please try
to unpack lapack.tgz in /tmp, then cd into LAPACK/SRC and then 
run "g77 -pipe -O2 -c sgbequ.f" and report back what you get?

Thanks,
Markus
Comment 4 Luke Imhoff 2006-01-15 12:06:13 UTC
I got it to install.  Not sure why it worked all of sudden, but it's installed fine now.  The only problem is it keeps wanting to downgrade and upgrade between 3.6.0-r1 and 3.7
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2006-01-15 17:24:11 UTC
Good to hear that it works for you now. I'll close this bug then.
Regarding the version oscillation please have a look at bug #118521.