Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 450910

Summary: sci-libs/scipy-0.11.0 doesn't build if Python3.3 is present
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: [OLD] LibraryAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: tdalman
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 437322    
Attachments: build log
modified ebuild for numpy
patch used by the ebuild attached before

Description Helmut Jarausch 2013-01-08 16:26:16 UTC

    
Comment 1 Helmut Jarausch 2013-01-08 16:28:48 UTC
sci-libs/scipy-0.11.0 doesn't build if Python3.3 is present (but not eselected)
on a system:

die "Active version of CPython 3 is not supported by ${CATEGORY}/${PF}"

even if the environment (/etc/portage/env/sci-libs/scipy) has
USE_PYTHON="2.7"

emerge --info sci-libs/scipy
Portage 2.2.0_alpha149_p46 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.8.0-rc2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.0-rc2-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.2
Timestamp of tree: Tue, 08 Jan 2013 13:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.4_pre20121230::progress, 3.3.1_pre20121230::progress
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.2, 4.8.0_pre9999::local
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo local sunrise
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb /var/lib/neatx/home"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac acl acpi alsa amd64 atm avahi berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran fuse gdbm gfortran gif gimp gnome gpm gtk gtk2 iconv ipv6 jpeg kde lapack lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt qt3support qt4 readline sdl session smp spell sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg tcl tcpd threads tiff tk truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xulrunner xv xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc multiboot" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="ati radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sci-libs/scipy-0.10.1 was built with the following:
USE="doc (multilib) test umfpack"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -shared"
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2013-01-08 19:29:09 UTC
sci-libs/scipy-0.11.0 is already restricted to not build for python 3.3.

could you post your full build log?
Comment 3 Helmut Jarausch 2013-01-09 08:38:31 UTC
Created attachment 334866 [details]
build log
Comment 4 François Bissey 2013-01-14 08:04:42 UTC
Just for the record since Steve Trogdon reported the same problem with numpy (1.7.0_prexxxxxxx) at https://github.com/cschwan/sage-on-gentoo/issues/179 can you build numpy at all?
Comment 5 Helmut Jarausch 2013-01-14 12:56:25 UTC
Created attachment 335596 [details]
modified ebuild for numpy
Comment 6 Helmut Jarausch 2013-01-14 12:56:59 UTC
Created attachment 335598 [details, diff]
patch used by the ebuild attached before
Comment 7 Helmut Jarausch 2013-01-14 12:58:40 UTC
(In reply to comment #4)
> Just for the record since Steve Trogdon reported the same problem with numpy
> (1.7.0_prexxxxxxx) at https://github.com/cschwan/sage-on-gentoo/issues/179
> can you build numpy at all?

At least, I think so :

>>> numpy.test('full')
Running unit tests for numpy
NumPy version 1.7.0rc1
NumPy is installed in /usr/lib64/python3.3/site-packages/numpy
Python version 3.3.0+ (3.3:c1fc6b6d1cfc+, Jan 10 2013, 21:12:03) [GCC 4.6.3]
nose version 1.2.1
......
OK (KNOWNFAIL=6, SKIP=5)
<nose.result.TextTestResult run=4833 errors=0 failures=0>

Helmut.
Comment 8 François Bissey 2013-01-14 17:24:03 UTC
I wasn't expecting you to try 1.7.0rc1 I must say. I was thinking of the latest version in the main tree.
Comment 9 Tolga Dalman 2013-05-03 10:08:16 UTC
Could you test scipy 0.12 as well ? It should be fixed now: http://projects.scipy.org/scipy/ticket/1739
Comment 10 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-08-31 20:10:41 UTC
scipy-0.11 was removed from tree, 0.12 should work with python3.3. Please test and reopen this bug should you encounter any issues.
Comment 11 Helmut Jarausch 2013-09-01 12:28:45 UTC
(In reply to Kacper Kowalik (Xarthisius) from comment #10)
> scipy-0.11 was removed from tree, 0.12 should work with python3.3. Please
> test and reopen this bug should you encounter any issues.

Many thanks, it works just fine,
Helmut.