Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295297 - dev-python/numeric-24.2-r6 fails tests
Summary: dev-python/numeric-24.2-r6 fails tests
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2009-12-01 10:10 UTC by Michał Kiedrowicz
Modified: 2010-04-25 20:36 UTC (History)
1 user (show)

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


Attachments
emerge numeric log (dev-python:numeric-24.2-r6:20091201-100124.log,13.92 KB, text/plain)
2009-12-01 10:11 UTC, Michał Kiedrowicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Kiedrowicz 2009-12-01 10:10:26 UTC
>>> Source compiled.
......E.............E......E..E..............
======================================================================
ERROR: test concatenate
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/numeric-24.2-r6/work/Numeric-24.2/Test/test.py", line 433, in testConcatenate
    assert_eq(Numeric.concatenate((self.a[:3], self.a[3:])), [0,1,2,3,4,5])
  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)
  File "/var/tmp/portage/dev-python/numeric-24.2-r6/work/Numeric-24.2/Test/test.py", line 24, in eq
    (aa.shape, a, ab.shape, b))
ValueError: sequences have different shapes:
a(3,)=array([0, 1, 2])
b(6,)=[0, 1, 2, 3, 4, 5]

======================================================================
ERROR: Test of average function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/numeric-24.2-r6/work/Numeric-24.2/Test/test.py", line 297, in testAverage
    c.shape=(3,2)
ValueError: total size of new array must be unchanged

======================================================================
ERROR: Test various object arrays
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/numeric-24.2-r6/work/Numeric-24.2/Test/test.py", line 334, in testObject
    a = Numeric.array([f,w,b],'O')
ValueError: invalid input sequence

======================================================================
ERROR: Test slicing, like x[1:3]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/numeric-24.2-r6/work/Numeric-24.2/Test/test.py", line 141, in testSlice
    assert_eq(a[0:], 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)
  File "/var/tmp/portage/dev-python/numeric-24.2-r6/work/Numeric-24.2/Test/test.py", line 24, in eq
    (aa.shape, a, ab.shape, b))
ValueError: sequences have different shapes:
a(0,)=zeros((0,), 'l')
b(4,)=array([1, 2, 3, 4])

----------------------------------------------------------------------
Ran 45 tests in 0.077s

FAILED (errors=4)


Reproducible: Always




Portage 2.1.6.13 (default/linux/amd64/10.0/developer, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 27 Nov 2009 07:15:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -g"
DISTDIR="/usr/portage.distfiles"
FEATURES="collision-protect cvs distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.po.opole.pl ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo  http://gentoo.prz.rzeszow.pl "
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage.packages"
PORTAGE_CONFIGROOT="/"
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/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cdr cli consolekit cracklib crypt cups dbus divx dri dts dvd dvdr emboss encode evo fam ffmpeg firefox flac fortran gd gdbm gif gpm gstreamer gtk hal iconv ipv6 java jpeg libnotify logrotate mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline realmedia reflection samba sdl session snmp spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd threads thunar tiff tk truetype type1 unicode usb vim-syntax vorbis wmp x264 xinerama xml xorg 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="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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="nvidia intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michał Kiedrowicz 2009-12-01 10:11:36 UTC
Created attachment 211668 [details]
emerge numeric log
Comment 2 Rafał Mużyło 2009-12-01 14:11:56 UTC
Seeing as numeric is declared abandoned by its upstream,
not very surprising.
I think there was a little syntax change about asserts.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-25 20:36:48 UTC
dev-python/numeric has been masked for deletion.