Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 219205
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Darren Dale <dsdale24@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 219205 depends on: Show dependency tree
Bug 219205 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-24 21:58 0000
I can't build numpy-1.0.4-r2 on ~amd64. I tagged this as major, since there is
no other numpy option in portage and my work is at a standstill until I can get
numpy reinstalled. (That will teach me to play with numpy-svn):

creating build/temp.linux-x86_64-2.5/numpy/linalg
compile options: '-DATLAS_INFO="\"3.8.1\"" -I/usr/include -Inumpy/core/include
-Ibuild/src.linux-x86_64-2.5/numpy/core -Inumpy/core/src -Inumpy/core/include
-I/usr/include/python2.5 -c'
x86_64-pc-linux-gnu-gcc: numpy/linalg/lapack_litemodule.c
/usr/bin/gfortran -Wall
build/temp.linux-x86_64-2.5/numpy/linalg/lapack_litemodule.o -L/usr/lib64/
-L/usr/lib64 -llapack -llapack -lblas -lpthread -lcblas -latlas -lpython2.5
-lgfortran -o build/lib.linux-x86_64-2.5/numpy/linalg/lapack_lite.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/libgfortranbegin.a(fmain.o): In function
`main':
(.text+0xa): undefined reference to `MAIN__'
collect2: ld returned 1 exit status
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/libgfortranbegin.a(fmain.o): In function
`main':
(.text+0xa): undefined reference to `MAIN__'
collect2: ld returned 1 exit status
error: Command "/usr/bin/gfortran -Wall
build/temp.linux-x86_64-2.5/numpy/linalg/lapack_litemodule.o -L/usr/lib64/
-L/usr/lib64 -llapack -llapack -lblas -lpthread -lcblas -latlas -lpython2.5
-lgfortran -o build/lib.linux-x86_64-2.5/numpy/linalg/lapack_lite.so" failed
with exit status 1
 *
 * ERROR: dev-python/numpy-1.0.4-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3345:  Called distutils_src_compile
'config_fc' '--fcompiler=gnu95'
 *             environment, line  990:  Called die
 * The specific snippet of code:
 *       ${python} setup.py build "$@" || die "compilation failed"
 *  The die message:
 *   compilation failed


Reproducible: Always




$ emerge --info
Portage 2.1.5_rc6 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2,
2.6.24-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r5 x86_64 Dual Core AMD Opteron(tm) Processor 275
Timestamp of tree: Thu, 24 Apr 2008 21:30:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.2-r2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config
/usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/font-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acl acpi alsa amd64 apache2 arts atlas avahi bash-completion
berkdb blas bookmarks branding bzip2 cairo cblas cdr cli cracklib crypt ctype
cups dbus doc dri dvd dvdr dvdread eds emacs emboss encode esd evo examples f77
fam fftw firefox foomativdb fortran gdbm gif gimpprint glitz gpm gstreamer gtk
hal iconv imagemagick imap isdnlog ivman java jpeg jpeg2k kde kdrive kerberos
lapack latex ldap lzo mad mdnsresponder-compat midi mikmod mime mmap mmx
mozbranding mozilla mozsvg mp3 mpeg mplayer mudflap multislot ncurses nptl
nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl pertty pic png ppds
pppd python qt3 qt3support qt4 quicktime readline reflection rss samba sdl
session spell spl sse sse2 ssl subversion svg symlink tcltk tcpd tetex threads
tiff tk transparency truetype umfpack unicode usb v4l v4l2 vorbis webdav
winbind xcomposite xfs xft xinerama xml xorg xulrunner xv zeroconf zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x   
 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3     
 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd
authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile
authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd
deflate dir disk_cache env expires ext_filter file_cache filter headers ident
imagemap include info log_config logio mem_cache mime mime_magic negotiation
proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so
speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US"
USERLAND="GNU" VIDEO_CARDS="nvidia vga nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Markus Dittrich 2008-05-05 13:02:36 0000 -------
Could you please try emerging numpy with some LDFLAGS
set, e.g., LDFLAGS="-Wl,-O1".

Thanks,
Markus

------- Comment #2 From Darren Dale 2008-05-05 13:35:01 0000 -------
(In reply to comment #1)
> Could you please try emerging numpy with some LDFLAGS
> set, e.g., LDFLAGS="-Wl,-O1".

Yes, it compiles with LDFLAGS="-Wl,-O1", or LDFLAGS="-O1", or LDFLAGS="-Wl",
but not LDFLAGS="".

------- Comment #3 From Markus Dittrich 2008-05-06 12:47:57 0000 -------
Hi Darren,

Thanks much for testing! I think I know how to fix
this then.

best,
Markus

------- Comment #4 From Markus Dittrich 2008-05-06 19:24:58 0000 -------
Fixed in portage cvs.

Thanks much for reporting.

Best,
Markus

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug