Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181015 - sci-libs/scipy-0.5.2-r1 emerge fails
Summary: sci-libs/scipy-0.5.2-r1 emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 181109 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-05 21:51 UTC by Mateusz Biliński
Modified: 2007-06-06 21:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Results of "emerge scipy" (emerge_scipy.txt,8.89 KB, text/plain)
2007-06-05 21:52 UTC, Mateusz Biliński
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Biliński 2007-06-05 21:51:09 UTC
While migrating all packages to python-2.5 (# python-updater -i) portage tries to build scipy. Unfortunately it fails in configuration part of emerge. Probably related to NumPy version: recently a new one - 1.0.3 - was released and is in portage. I've got it already build and in python-2.5 packages.

Reproducible: Always

Steps to Reproduce:
1. USE="-debug -fftw -umfpack" emerge scipy
2. The same results I get in IPython when trying to import the same object as installer:

In [1]: from numpy.distutils.misc_util import get_path
---------------------------------------------------------------------------
<type 'exceptions.ImportError'>           Traceback (most recent call last)

/usr/bin/<ipython console> in <module>()

<type 'exceptions.ImportError'>: cannot import name get_path

Actual Results:  
Results of "emerge scipy" - see attchment.

Expected Results:  
Build without errors. :)

vlaptop2 bin # emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.5-r3, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 05 Jun 2007 11:00:07 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks layman metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.zie.pg.gda.pl "
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portato /usr/local/portage /usr/local/overlays/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X aac acl acpi alsa aoss apache2 avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo capslib cdparanoia cdr cli cracklib crypt cscope cups daap db2 dba dbus dhcp divx djvu dri dvd dvdr dvdread eds emboss emerald encode epydoc ethereal evo exif extras fam fbcon fglrx firefox flac foomaticdb fortran gadu gajim gd gdbm gdl gdm gif gimp glitz gmedia gnome gnuplot gnutls gpgme gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal howl iconv idle imagemagick ipv6 irda isdnlog jabber java javascript jingle jpeg jpeg2k jython kerberos keyring ldap libg++ libnotify libsexy mad mbox meanwhile midi mikmod mmx mmx2 mono mozdevelop mozsvg mozxmlterm mp3 mpeg mudflap musepack musicbrainz mysql nautilus ncurses netbeans networkmanager nextaw nls nntp nptl nptlonly nsplugin ogg openexr opengl openmp openssh pam pcmcia pcre pdf perl pic png postgres ppds pppd python qt3support quicktime readline real realmedia reflection ruby samba sdl serpentine session skey smtp spell spl sqlite sqlite3 srv sse sse2 ssl startup-notification streamripper svg swig tagwriting tcpd tetex theora threads tiff tlen totem trayicon truetype truetype-fonts type1-fonts unicode usb userlocales v4l2 vim-pager vorbis widescreen wifi win32codecs wmf wmp x86 xcb xcomposite xhtml xml xmlreader xmlrpc xorg xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="vesa vga fglrx fbdev radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mateusz Biliński 2007-06-05 21:52:55 UTC
Created attachment 121291 [details]
Results of "emerge scipy"
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-05 22:35:08 UTC
This is NOT a Gentoo Bugzilla product bug; read the descriptions.
Comment 3 James Tomlinson 2007-06-06 10:10:01 UTC
I had this problem with Scipy-0.5.2-r1 and Numpy-1.0.3, and resolved it by masking Numpy-1.0.3 and using Numpy-1.0.2. It seems the get_path function is not included in numpy.distutils.misc_util for the 1.0.3 version.
Comment 4 Mateusz Biliński 2007-06-06 12:06:42 UTC
(In reply to comment #3)
> I had this problem with Scipy-0.5.2-r1 and Numpy-1.0.3, and resolved it by
> masking Numpy-1.0.3 and using Numpy-1.0.2. It seems the get_path function is
> not included in numpy.distutils.misc_util for the 1.0.3 version.

Just as I thought. But to be onest a little bit suprising. Haven't found anything about this in numpy-1.0.3 release notes: http://www.scipy.org/ReleaseNotes/NumPy_1.0

They only mention: "improvements to numpy.distutils including compiler support" but I don't suppose this relates to our problem.

If masking numpy-1.0.3 works for me can I mark this bug as "FIXED" or there is another state for solving emerge problems in this way? 

Sorry in advance for my noob way/questions. This is my first report (jakub: thanks for moving the bug).
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2007-06-06 13:35:58 UTC
Hi

I confirm this bug. Don't mark it fixed it for now, I'm working on an improvement of the scipy ebuild that should take care of this bug and other problem I've been encountering. I was waiting for a new scipy release, upstream does not seem to be ready to release yet. If masking numpy-1.0.3 works out for you, go ahead. 

Thanks 

Sébastien
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-06-06 18:42:14 UTC
*** Bug 181109 has been marked as a duplicate of this bug. ***
Comment 7 Sébastien Fabbro (RETIRED) gentoo-dev 2007-06-06 21:31:20 UTC
I finally made the commit of scipy-0.5.2-r2, including the sandbox modules (with new use flag) and a whole bunch of patches. sync and emerge, re-open if it does not fix it. Thanks for reporting!

Sébastien