Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289602 - dev-python/imaging-1.1.6-r1 test suite fails on alpha
Summary: dev-python/imaging-1.1.6-r1 test suite fails on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 287560
  Show dependency tree
 
Reported: 2009-10-18 16:47 UTC by Tobias Klausmann (RETIRED)
Modified: 2009-12-01 08:17 UTC (History)
2 users (show)

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


Attachments
build log (dev-python:imaging-1.1.6-r1:20091018-164424.log,30.32 KB, text/plain)
2009-10-18 16:48 UTC, Tobias Klausmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2009-10-18 16:47:31 UTC
>>> Source compiled.
 * Testing of dev-python/imaging-1.1.6-r1 with Python 2.6...
*****************************************************************
Failure in example: im = Image.new("1", (128, 128)) # monochrome
from line #3 of selftest.testimage
Exception raised:
Traceback (most recent call last):
  File "./doctest.py", line 499, in _run_examples_inner
    exec compile(source, "<string>", "single") in globs
  File "<string>", line 1, in <module>
  File "PIL/Image.py", line 1711, in new
    return Image()._new(core.fill(mode, size, color))
  File "PIL/Image.py", line 452, in _new
    new.mode = im.mode
AttributeError: 'ImagingCore' object has no attribute 'mode'
/var/tmp/portage/dev-python/imaging-1.1.6-r1/temp/environment: line 3146: 23109 Segmentation fault      PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "${python}" selftest.py

# emerge --info
Portage 2.1.7.1 (default/linux/alpha/2008.0, gcc-4.3.4, glibc-2.9_p20081201-r3, 2.6.31.3 alpha)
=================================================================
System uname: Linux-2.6.31.3-alpha-EV68AL-with-gentoo-2.0.1
Timestamp of tree: Sun, 18 Oct 2009 13:15:01 +0000
distcc 3.1 alpha-unknown-linux-gnu [enabled]
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.3, 3.1.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.1-r1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="alpha ~alpha"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -pipe -O2 -mcpu=ev67"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev67"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans usepkg userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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/local/portage"
SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage"
USE="X acl alpha alsa apache2 audiofile bash-completion berkdb bmp bzip2 calendar cdparanoia cdr cli cracklib crypt dio dri encode ethereal exif ffmpeg fftw firefox flac fortran ftp gdbm gpm iconv imlib2 isdnlog jpeg kdeenablefinal libcaca lua mad matroska mmap mng modules moznocompose moznoirc moznomail mozsvg mpeg mudflap ncurses network-cron nls nptl nptlonly offensive ogg openmp pam pcre pdflib perl png pnm ppds pppd python rar readline recode reflection session sharedmem sockets sox spl ssl svg sysfs szip tcpd tetex theora truetype unicode usb v4l v4l2 vcd vidix vim vim-pager vlm vorbis xcb xorg xosd xpm xvid zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx 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" USERLAND="GNU" VIDEO_CARDS="vga glint mga nvidia vesa r128 " 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Build log follows.
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2009-10-18 16:48:17 UTC
Created attachment 207492 [details]
build log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-18 18:49:52 UTC
Does this problem occur also with dev-python/imaging-1.1.6?
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2009-10-18 19:02:18 UTC
No, but that doesn't have a test suite, it seems:

>>> Source compiled.
>>> Test phase [none]: dev-python/imaging-1.1.6

>>> Install imaging-1.1.6 into /var/tmp/portage/dev-python/imaging-1.1.6/image/ category dev-python
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-07 19:26:53 UTC
(In reply to comment #3)

I have added src_test() to dev-python/imaging-1.1.6, so that you can check if this problem is a regression.
Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2009-11-07 20:25:18 UTC
-r0 fails in exactly the same way. Want us to investigate or ignore and stabilize?
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-07 20:27:54 UTC
(In reply to comment #5)
> -r0 fails in exactly the same way. Want us to investigate or ignore and
> stabilize?

Please stabilize 1.1.6-r1, but leave this bug open.
Comment 7 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-11-30 09:44:00 UTC
Can you check if 1.1.7 does better?
Comment 8 Tobias Klausmann (RETIRED) gentoo-dev 2009-11-30 09:56:01 UTC
I can neither find 1.1.7 in portage nor at the two URLs mentioned for the package. Where can I get it?
Comment 9 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-11-30 10:11:28 UTC
Ah, sorry. I *just* put it into the tree, so you might have to get it from CVS.
Comment 10 Tobias Klausmann (RETIRED) gentoo-dev 2009-11-30 19:04:55 UTC
I've now thrown pretty much all the test I have (and those the package comes with) at 1.1.7, all of them pass without so much as a warning. I recommend stabilizing it in 30 days (or earlier, your call).
Comment 11 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-01 08:17:21 UTC
(In reply to comment #10)
> all of them pass

OK. I'm closing this bug.