According to gentoo guidelines, 30 days have to pass for an ebuild to become stable. The ebuild for dev-python/numeric-24.2-r4 has been in the trunk for a bit less days (about 20), since may 25 2007 However, being that it's already a revision 4 of the ebuild, maybe it can already be stabilized. I've been using this app for some time with no problems at all. Thus, I'm requesting the stabilization.. Thanks! Reproducible: Always
Hi Jose, As you said according to the guidelines it's ok to stabilize this now. The thing is numeric is not maintained anymore and we're slowly porting packages to use numpy in the tree. You can have a look at bug 181653 about it. In addition to that numeric isn't compatible with python-2.5 on 64bit arches - see bug 176914 - which prevents us from unmasking python-2.5 until we're done with porting. This is why I don't think it's worth stabilizing another numeric version. You can use the numpy.oldnumeric module which is in numpy versions 1.0.2 and newer. It's written to ease porting Numeric to numpy.
Well, until you get everything ported to numpy (which won't be anytime soon I suspect), 24.2-r5 has tons of fixes and works with python-2.5 on amd64.
Adding arches. numeric-24.2-r5 and -r6 only differ by the lapack stuff. Arches without stable lapack should consider stabilizing -r5. Testing by src_test is enough. Thanks.
Sparc stable. With USE=lapack, all tests are good (and with sci-libs/lapack-reference-3.1.1-r1).
(In reply to comment #3) > Adding arches. > > numeric-24.2-r5 and -r6 only differ by the lapack stuff. Arches without stable > lapack should consider stabilizing -r5. hppa has had lapack use.masked for years - I'll be looking into that shortly. Stable for HPPA.
x86 stable
bsd has no stable keyword yet.
Created attachment 134139 [details] AMD64 build log AMD64: USE="doc lapack" compiles ok, tests fail with attached build log (lapack-reference-3.1.0) Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo x86_64) ================================================================= System uname: 2.6.23-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ Timestamp of tree: Mon, 22 Oct 2007 20:20:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -msse3 -pipe" CHOST="x86_64-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/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg collision-protect distlocks fixpackages metadata-transfer multilib-strict sandbox sfperms strict test unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://gentoo.virginmedia.com http://distfiles.gentoo.org" LINGUAS="en en_GB" MAKEOPTS="-j3" 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/enlightenment /usr/portage/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d a52 aac acpi alsa amd64 audiofile berkdb bitmap-fonts branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib cups curl dbus dri dvd dvdr dvdread emboss encode evo exif expat fam ffmpeg firefox foomaticdb fortran gdbm gif glitz gmp gs gtk guile hal iconv icu imagemagick imlib isdnlog ithreads java javascript jpeg libsamplerate libwww lirc lm_sensors logrotate mad midi mmap mmx mmxext mp3 msn mudflap ncurses network-cron nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support readline reflection sdl session sndfile spl sse sse2 ssl startup-notification svg symlink tcl tcpd test threads tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis wifi x264 xcb xine xml xorg xosd xpm xv zlib" ALSA_CARDS="usb-audio" 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" LINGUAS="en en_GB" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> USE="doc lapack" > compiles ok, tests fail with attached build log (lapack-reference-3.1.0) amd64, alpha, ppc, you want to stabilize lapack-reference-3.1.1-r1 first (bug #189738).
ppc64 stable
alpha/ia64 stable
AMD64: now compiles & emerges ok with lapack-reference-3.1.1-r1 for me.
ppc stable
-- amd64 -- Just a me too :) dev-python/numeric-24.2-r6 - USE: doc lapack 1: emerges 2: passes collision-protect, (multilib-)strict, test 3: works (passes src_test with and without the use flags) Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64) ================================================================= System uname: 2.6.22-gentoo-r9 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Timestamp of tree: Unknown ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -ggdb -march=athlon64 -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/env.d/java/ /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -ggdb -march=athlon64 -pipe" DISTDIR="/tmp/portage" FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://trumpetti.atm.tut.fi/gentoo/" LANG="en_US.utf-8" LINGUAS="en sv" MAKEOPTS="-j3" PKGDIR="/tmp/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/private" SYNC="rsync://dx/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi aiglx alsa amd64 apache2 arts asf avi bash-completion berkdb bitmap-fonts branding browserplugin cairo ccache cdr cli cpudetection cracklib crypt cscope css cups cvs dbus divx divx4linux dlloader dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac foomaticdb fortran freetype gdbm geoip gif gimp gmedia gnokii gnome gpm gstreamer gtk hal http iconv ieee1394 imap imlib ipv6 isdnlog java javascript jfs jpeg kde kdeenablefinal kdehiddenvisibility kdepim kerberos logitech-mouse mad madwifi maildir midi mikmod mmx mmx2 mmxext mono mozbranding moznopango mozsvg mp3 mpeg mplayer msn mudflap mysql ncurses nls nptl nptlonly nsplugin ntfs nvidia obex ogg oggvorbis opengl openmp oss pam pcre pdf pdflib perl png pppd python qt qt3 qt3support qt4 quicktime readline realmedia reflection reiserfs samba scanner sdl session spell spl sse sse2 ssl subversion svg symlink tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vim-syntax vim-with-x visualization vorbis wifi wmf wmp wxwindows xcomposite xface xfs xine xinerama xml xorg xosd xpm xprint xv xvid zlib" ALSA_CARDS="emu10k1" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
amd64 stable, thanks testers
What's up with ~x86-fbsd? Personally I don't care but wonder why this is still not closed. ;-)
Created attachment 171234 [details, diff] Numeric-24.2-NMU.patch Tests fail on mips: >>> Source compiled. ...........................................F. ====================================================================== FAIL: Test sqrt, log, log10, exp ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/numeric-24.2-r6/work/Numeric-24.2/Test/test.py", line 619, in testStandard assert_eq(Numeric.log10(self.a), map(math.log10, self.a)) File "/var/tmp/portage/dev-python/numeric-24.2-r6/work/Numeric-24.2/Test/test.py", line 28, in assert_eq assert eq(a,b) AssertionError ---------------------------------------------------------------------- Ran 45 tests in 3.366s FAILED (failures=1) Portage 2.2_rc12 (default/linux/mips/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r1 mips64) ================================================================= System uname: Linux-2.6.27-gentoo-r1-mips64-R5000_V2.1_FPU_V1.0-with-glibc2.0 Timestamp of tree: Tue, 28 Oct 2008 08:30:03 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="mips ~mips" CBUILD="mips-unknown-linux-gnu" CFLAGS="-O2 -mips4 -mabi=32 -pipe" CHOST="mips-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mips4 -mabi=32 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="en ru" 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" SYNC="rsync://192.168.0.61/gentoo-portage" USE="X alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dvd dvdread encode fam firefox fortran gdbm gif git gpm gtk iconv ipv6 isdnlog jpeg kde kpathsea libffi midi mikmod mips mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support quicktime readline reflection sdl session spell spl ssl startup-notification subversion sysfs tcpd tiff truetype unicode usb vim vim-syntax vorbis xml xorg xv zlib" 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="fbdev impact newport" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY I've localized the problem to the following test-case: import Numeric import unittest, os, types, math print "a:" a = .01 + Numeric.arange(6) / 8.0 print a print "b:" b=Numeric.log10(a) print b print "c:" c=map(math.log10, a) print c def eq(a, b): print a print b print "should be:" eq(b,c) print "we have:" eq(Numeric.log10(a),map(math.log10, a)) On mips I have: a: [ 0.01 0.135 0.26 0.385 0.51 0.635] b: [-2. 0.30103 0.30103 0.30103 0.30103 0.30103] c: [-2.0, 0.30102999566361177, 0.30102999566361177, 0.30102999566361177, 0.30102999566361177, 0.30102999566361177] should be: [-2. 0.30103 0.30103 0.30103 0.30103 0.30103] [-2.0, 0.30102999566361177, 0.30102999566361177, 0.30102999566361177, 0.30102999566361177, 0.30102999566361177] we have: [-2. 0.30103 0.30103 0.30103 0.30103 0.30103] [0.30102999566361177, 0.30102999566361177, 0.30102999566361177, 0.30102999566361177, 0.30102999566361177, 0.30102999566361177] You see the last line is corrupted and does not contain -2.0 as it should. Interesting that it fails only with log10 function, all other work fine... But since upstream now moved to numpy should we bother? At the same time in debian I found patch which fixes easily reproducible crash and I think it's worth to apply. Just do: python -c "import Numeric ; import RNG ; a = RNG.NormalDistribution(0,1) ; del a" and you'll see what I'm talking about.
dev-python/numeric has been masked for deletion.