Bug 180713 - stabilize dev-python/numpy-1.0.3
|
Bug#:
180713
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: sci@gentoo.org
|
Reported By: kim@khh.dk
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: stabilize dev-python/numpy-1.0.3
|
|
Keywords: STABLEREQ
|
|
Status Whiteboard:
|
|
Opened: 2007-06-03 11:13 0000
|
numpy 0.9.8 (USE=-lapack) fails build with:
building 'numpy.core._dotblas' extension
compiling C sources
i686-pc-linux-gnu-gcc options: '-pthread -fno-strict-aliasing -DNDEBUG -O2
-march=pentium-m -pipe -fPIC'
creating build/temp.linux-i686-2.4/numpy/core/blasdot
compile options: '-DNO_ATLAS_INFO=1 -Inumpy/core/blasdot -Inumpy/core/include
-Ibuild/src.linux-i686-2.4/numpy/core -Inumpy/core/src -Inumpy/core/include
-I/usr/include/python2.4 -c'
i686-pc-linux-gnu-gcc: numpy/core/blasdot/_dotblas.c
/usr/bin/gfortran -shared
build/temp.linux-i686-2.4/numpy/core/blasdot/_dotblas.o -L/usr/lib -lblas
-lgfortran -o build/lib.linux-i686-2.4/numpy/core/_dotblas.so
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lblas
collect2: ld returned 1 exit status
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lblas
collect2: ld returned 1 exit status
error: Command "/usr/bin/gfortran -shared
build/temp.linux-i686-2.4/numpy/core/blasdot/_dotblas.o -L/usr/lib -lblas
-lgfortran -o build/lib.linux-i686-2.4/numpy/core/_dotblas.so" failed with exit
status 1
!!! ERROR in dev-python/numpy-0.9.8:
!!! In distutils_src_compile at line 1060
!!! compilation failed
!!! Call stack:
!!! * distutils_src_compile
(/var/tmp/paludis/dev-python/numpy-0.9.8/temp/loadsaveenv:1060)
!!! * src_compile
(/var/tmp/paludis/dev-python/numpy-0.9.8/temp/loadsaveenv:3325)
!!! * ebuild_f_compile (/usr/libexec/paludis/src_compile.bash:51)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:363)
!!! * main (/usr/libexec/paludis/ebuild.bash:381)
die trap: exiting with error.
Install error:
* In program paludis -i =dev-python/numpy-0.9.8:
* When performing install action from command line:
* When executing install task:
* When installing 'dev-python/numpy-0.9.8':
* Install error: Install failed for 'dev-python/numpy-0.9.8::gentoo'
Resume command: paludis --log-level qa --dl-deps-default discard --install
'=dev-python/numpy-0.9.8::gentoo' --add-to-world-spec '(
=dev-python/numpy-0.9.8 )'
numpy 1.0.2 builds fine
Reproducible: Always
Steps to Reproduce:
1.install numpy 0.9.8 (stable)
2.
3.
hifi-laptop hifi # paludis --info
paludis 0.24.2
Built by root@hifi-laptop on 2007-05-29T11:58:48+0200
CXX: i686-pc-linux-gnu-g++ 4.1.2 (Gentoo 4.1.2)
CXXFLAGS: -O2 -march=pentium-m -pipe
LDFLAGS:
DATADIR: /usr/share
LIBDIR: /usr/lib
LIBEXECDIR: /usr/libexec
SYSCONFDIR: /etc
stdlib: GNU libstdc++ 20070214
libebt: 1.3.0
libwrapiter: 1.0.0
sandbox: enabled
Repository virtuals:
Configuration information:
format: virtuals
Repository installed_virtuals:
Configuration information:
format: installed_virtuals
Repository gentoo:
Configuration information:
buildroot: /var/tmp/paludis
cache: /usr/portage/metadata/cache
distdir: /usr/portage/distfiles
eclassdirs: /usr/portage/eclass
format: ebuild
location: /usr/portage
names_cache: /usr/portage/.cache/names
newsdir: /usr/portage/metadata/news
pkgdir: /usr/portage/packages
profiles: /usr/portage/profiles/default-linux/x86/2006.0
securitydir: /usr/portage/metadata/glsa
setsdir: /usr/portage/sets
sync: rsync://rsync.gentoo.org/gentoo-portage
sync_options:
write_cache: /var/empty
Package information:
app-admin/eselect-compiler: (none)
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python: 2.3.5-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: (none)
dev-util/confcache: (none)
sys-apps/sandbox: 1.2.17
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.22
virtual/os-headers: 2.6.17-r2
Variable information:
ACCEPT_KEYWORDS:
AUTOCLEAN:
CBUILD: i686-pc-linux-gnu
CFLAGS: -O2 -march=pentium-m -pipe
CHOST: i686-pc-linux-gnu
CONFIG_PROTECT:
CONFIG_PROTECT_MASK:
CTARGET:
CXXFLAGS: -O2 -march=pentium-m -pipe
DISTDIR: /usr/portage/distfiles
FEATURES:
GENTOO_MIRRORS:
INSTALL_MASK:
LANG:
LC_ALL:
LDFLAGS:
LINGUAS:
MAKEOPTS: -j2
PKGDIR:
PORTAGE_COMPRESS:
PORTAGE_COMPRESS_FLAGS:
PORTAGE_RSYNC_EXTRA_OPTS:
PORTAGE_RSYNC_OPTS:
PORTAGE_TMPDIR: /var/tmp/paludis
PORTDIR: /usr/portage
PORTDIR_OVERLAY:
SYNC:
USE:
Repository installed:
Configuration information:
buildroot: /var/tmp/paludis
format: vdb
location: /var/db/pkg
names_cache: /var/db/pkg/.cache/names
provides_cache: /var/db/pkg/.cache/provides
root: /
world: /var/db/pkg/world
Repository my_overlay:
Configuration information:
buildroot: /var/tmp/paludis
cache: /var/empty
distdir: /usr/portage/distfiles
eclassdirs: /usr/portage/eclass
format: ebuild
location: /usr/local/portage
names_cache: /usr/local/portage/.cache/names
newsdir: /usr/local/portage/metadata/news
pkgdir: /usr/local/portage/packages
profiles: /usr/portage/profiles/default-linux/x86/2006.0
securitydir: /usr/local/portage/metadata/glsa
setsdir: /usr/local/portage/sets
sync:
sync_options:
write_cache: /var/empty
Repository paludis-extras:
Configuration information:
buildroot: /var/tmp/paludis
cache: /var/empty
distdir: /usr/portage/distfiles
eclassdirs: /usr/portage/eclass
/usr/local/paludis-extras/eclass
format: ebuild
location: /usr/local/paludis-extras
master_repository: gentoo
names_cache: /usr/local/paludis-extras/.cache/names
newsdir: /usr/local/paludis-extras/metadata/news
pkgdir: /usr/portage/packages
profiles: /usr/portage/profiles/default-linux/x86/2006.0
securitydir: /usr/local/paludis-extras/metadata/glsa
setsdir: /usr/local/paludis-extras/sets
sync:
sync_options:
write_cache: /var/empty
spelling mistake in summary
Builds fine here on amd64 with paludis 0.24.2 and portage 2.1.2-r7.
Yes, I tested the package with both package managers.
gentoofan:
do you have some blas library installed? Blas-config gives me no profiles to
choose from, and seems that "lblas" i missing ?
No I have no blas libraries installed. I am actually a bit perplexed at which
library it should even depend on.
It is obvious it wants to link to blas but it compiles fine on my system.
weird.
Hi,
If you really need numpy-0.9.8, install blas-atlas.
The only reason <numpy-1 is still in the tree is to support pymmlib, but if you
don't use this package, I strongly recommend using the numpy-1.0.3, which I
will ask for stabling in a week or so, if no new bug is found.
Sébastien
PS: anyone in the sci is familiar with pymmlib? It seems that this package only
works with the old numpy-0.9.8 API. May be an update will be good.
Compile fails for me too. 1.0.3 works. Please stabilise 1.0.3 as soon as
possible to fix this bug.
CCing arches.....
Hope I did this right.
====amd64====
1.Merges fine.
2. Passes all Tests.
3. No collisions.
Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3,
2.6.20-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r7 x86_64 unknown
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 26 Jun 2007 01:00:10 +0000
ccache version 2.4 [enabled]
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r7
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict
sandbox sfperms strict test userpriv"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/
http://distfiles.gentoo.org/"
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"
SYNC="rsync://192.168.1.206/gentoo-portage"
USE="X acl aiglx aim amd64 berkdb bitmap-fonts branding cli cracklib crypt cups
dri fortran gdbm gpm gtk iconv imap ipv6 isdnlog libg++ midi mmx mpeg3 mudflap
ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl pppd python qt3
readline reflection session sockets spl sqlite3 sse sse2 ssl tcpd test
truetype-fonts type1-fonts unicode vim xcomposite xine xorg 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"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY
Do you mean dev-python/numpy-1.0.3? Sparc has no keyword for -1.0.2, and so
will not go stable, but -1.0.3 is marked ~sparc and it runs all its tests and
installs correctly. (However, -1.0.3 has been ~sparc for only two weeks; if
you want us stable, please wait a couple weeks and ask us again.
Leaving sparc on CC for tracking.
Should we stable blas-atlas .11-r1? And the corresponding eselect module?
dev-python/numpy-1.0.3 stable for HPPA.
sparc stable with eselect-blas, eselect-cblas and blas-atlas-3.7.11-r1/3.6.0-r2
(== current but eselect-friendly).
ia64 stable, can't do alpha until bug 159002 is fixed
alpha stable finally, closing.