Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223055 - [Test] dev-python/pygame-1.8.0 fails tests
Summary: [Test] dev-python/pygame-1.8.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-21 12:53 UTC by Olivier Huber
Modified: 2009-07-15 02:02 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Huber 2008-05-21 12:53:17 UTC
>>> Source compiled.
loading pixelarray_test
loading sprite_test
loading blit_test
loading key_test
loading rect_test
loading font_test
loading display_test
loading mask_test
loading surfarray_test
loading transform_test
loading base_test
loading image_test
loading sndarray_test
loading movie_test
loading surface_test
.................................................................................................ALSA lib confmisc.c:674:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:2714:(snd_config_hooks_call) function snd_config_hook_load_for_all_cards returned error: Permission denied
ALSA lib confmisc.c:674:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: Permission denied
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: Permission denied
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: Permission denied
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: Permission denied
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
Error: "/root/.kde/socket-bureau" points to "/tmp/.private/root/ksocket-root" instead of "/var/tmp/portage/dev-python/pygame-1.8.0/temp/ksocket-root".

Link points to "/tmp/.private/root/ksocket-root"
Error: "/root/.kde/socket-bureau" points to "/tmp/.private/root/ksocket-root" instead of "/var/tmp/portage/dev-python/pygame-1.8.0/temp/ksocket-root".
Creating link /root/.kde/socket-bureau.
Error: Can not create link from "/root/.kde/socket-bureau" to "/var/tmp/portage/dev-python/pygame-1.8.0/temp/ksocket-root"
Error: Can not create link from "/root/.kde/socket-bureau" to "/var/tmp/portage/dev-python/pygame-1.8.0/temp/ksocket-rootKDEg6B"
can't create mcop directory

emerge --info : 

Portage 2.1.5.2 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.25-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Wed, 21 May 2008 04:45:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
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.1-r1
sys-devel/binutils:  2.18-r1, 2.18.50.0.1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo "
LANG="fr_FR.utf-8"
LC_ALL="fr_FR.utf-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="fr"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/overlays/proaudio/proaudio/trunk/overlays/proaudio /usr/local/overlays/nouveau-overlay /usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3d 3dnow 3dnowext X X509 Xaw3d a52 aac aalib accessibility ace acl acpi ada adns aio akode alsa amarok amd64 amr amrnb amrwb animation annotate ao apache2 apm ares arts artswrappersuid asf async atm audacious audiofile automount avahi avi background bash-completion bashlogger bench berkdb bidi bitmap-fonts bl blas blender-game bonjour boost border branding browserplugin bs bzip2 ca0106 cairo caps cdda cddb cdio cdr cgkit chardet chipcard chroot cjk cli compress copacity corba cpio cpudetection cracklib crashhandler crypt cscope css ctype cups curl d daap dba dbus dedicated device-mapper directfb disk-partition divx djbfft djvu dlloader dmi dri dts dv dvb dvd dvdnav dvdr dvdread dvi dynamic emboss emovix enca encode enscript escreen esd evo exif expat exscalibar extensions extra-algorithms extrafilters fam fame fastbuild fbcon fbcondecor fbdev ffmpeg fftw filepicker firectfb firefox fits flac flash float font-server fontconfig foomaticdb force-cgi-redirect fortran fping fpx freetype2 ftp fuse gadu gcj gd gdbm geoip ggi gif gimp gimpprint glibc-omitfp glitz glut gmedia gmp gnokii gnuplot gnutls gpac gpg gpm graphics graphviz group gs gstreamer gtk gtk2 gtkhtml gts hal hardened hbci hdf5 howl howl-compat httpd hybrid icecast iconv icu id3 idea idn ifc ifp ilbc imagemagick imlib immqt inotify intl ip2200 iproute2 ipv6 irc isdnlog ithreads jack jack-tmpfs java javascript jbig jce jingle jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos kpathsea ladsp ladspa lame lapack lash lcms ldap lesstif libaa libcaca libg++ libgcrypt libnotify libsamplerate live lm_sensors logitech-mouse logrotate loop-aes lucene lzo lzw lzw-tiff macmenu mad maps math matroska md5sum mdnsresponder-compat meanwhile memlimit midi mikmod miniwin mjpeg mktemp mmap mmx mmxext mng mod modplug mono motif mozbranding mozilla mozsha1 mozsvg mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer msn mtp mudflap mule multislot musepack music musicbrainz nas nat ncurses neXt neg nemesi net nethack netjack network network-cron nextaw nfs nls nntp nossp nouveau nptl nptlonly nsplugin nss nv nvidia objc objc++ objc-gc odbc ofx ogg openal openexr opengl openmp openntpd openssl ortp osd oss pam parse-clocks pascal passwdqc pcapnav pch pcre pdf pdflib perl perlsuid pertty pg-hier pg-intdatetime php physfs pic pkcs11 player plib plotutils png pnm portaudio posix postgres povray ppds pppd profile pstricks pulseaudio put python qmail qq qt qt-copy qt3 qt3support qt4 quicktime quotes radio rar rc5 readline realmedia reflection resolvconf risky rpm rsync rtc rtsp ruby rubytests samba sasl scanner science sdl sdl-image sensord server session sftp sftplogging shorten shout showdesktop simplexml skey slang slp sndfile snmp soap sockets soundtouch sox speex spell spl spoof-source sqlite sqlite3 srt sse sse2 ssl startup-notification state stream subtitles subversion suhosin svg swat sysfs taglib tcltk tcpd teletext test tetex tga theora threads tiff tivo tokenizer tools tordns trailfocus truetype truetype-fonts type1-fonts udev unicode unstablecups upnp usb uuencode v4l v4l2 vcd verse vhosts vidcap vim-syntax vim-with-x visualization vlm vorbis wallpaper wavpack webdav widget wifi wma wmf wmp wxwindows x264 xanim xattr xcb xchatdccserver xchattext xcomposite xetex xface xine xinerama xml xml2 xorg xosd xpm xprint xsl xulrunner xv xvid xvmc yafray yp yv12 zeroconf zip zlib" ALSA_CARDS="ca0106 intel8x0 intel8x0m bt87x" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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="fr" USERLAND="GNU" VIDEO_CARDS="vesa nvidia v4l fbdev nouveau"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2009-04-06 23:06:33 UTC
tests pass ok for me when merging from an xterminal, seems that they need X
Comment 2 Michał Kiedrowicz 2009-06-03 20:46:37 UTC
pygame-1.8.1 fails for me too.

======================================================================
FAIL: ColorTypeTest.test_float
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\color_test.py", line 245, in test_float
AssertionError: 1.844674407283719e+19 != 3422604288.0

======================================================================
FAIL: ColorTypeTest.test_hex
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\color_test.py", line 275, in test_hex
AssertionError: '0xffffffffcc00cc00L' != '0xcc00cc00L'

======================================================================
FAIL: ColorTypeTest.test_int
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\color_test.py", line 327, in test_int
AssertionError: 18446744072837188608L != 3422604288

======================================================================
FAIL: ColorTypeTest.test_long
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\color_test.py", line 344, in test_long
AssertionError: 18446744072837188608L != 3422604288L

======================================================================
FAIL: ColorTypeTest.test_oct
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\color_test.py", line 260, in test_oct
AssertionError: '01777777777771400146000L' != '031400146000L'

======================================================================
FAIL: ColorTypeTest.test_webstyle
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\color_test.py", line 291, in test_webstyle
AssertionError: '0xffffffffcc00cc11L' != '0xcc00cc11L'

======================================================================
ERROR: DisplayModuleTest.test_update
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\display_test.py", line 15, in test_update
error: No available video device

======================================================================
ERROR: FontModuleTest.testFontRendering
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\font_test.py", line 14, in testFontRendering
RuntimeError: default font not found 'freesansbold.ttf'

======================================================================
ERROR: GL_ImageSave.test_image_save_works_with_opengl_surfaces
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\image__save_gl_surface_test.py", line 11, in test_image_save_works_with_opengl_surfaces
error: No available video device

======================================================================
ERROR: ImageModuleTest.testLoadIcon
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\image_test.py", line 30, in testLoadIcon
  File "/var/tmp/portage/dev-python/pygame-1.8.1/work/pygame-1.8.1release/build/lib.linux-x86_64-2.5/pygame/pkgdata.py", line 65, in getResource
    return file(os.path.normpath(path), 'rb')
IOError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/pygame-1.8.1/work/pygame-1.8.1release/build/lib.linux-x86_64-2.5/pygame/pygame_icon.bmp'

======================================================================
ERROR: MixerMusicModuleTest.test_load
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\mixer_music_test.py", line 15, in test_load
error: No available audio device

======================================================================
ERROR: MixerModuleTest.test_get_num_channels__defaults_eight_after_init
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\mixer_test.py", line 82, in test_get_num_channels__defaults_eight_after_init
error: No available audio device

======================================================================
ERROR: MixerModuleTest.test_quit
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\mixer_test.py", line 103, in test_quit
error: No available audio device

======================================================================
ERROR: MixerModuleTest.test_set_num_channels
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\mixer_test.py", line 91, in test_set_num_channels
error: No available audio device

======================================================================
ERROR: MovieTypeTest.test_render_frame__off_screen
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\movie_test.py", line 50, in test_render_frame__off_screen
error: No available video device

======================================================================
FAIL: SurfaceTypeTest.test_set_masks
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\surface_test.py", line 536, in test_set_masks
AssertionError: (16711680, 65280, 255, 0) != (0, 0, 0, 0)

======================================================================
FAIL: SurfaceTypeTest.test_set_shifts
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\rene\pygame_mingw32_compile_pack\PyGame\trunk\test\surface_test.py", line 544, in test_set_shifts
AssertionError: (16, 8, 0, 0) != (0, 0, 0, 0)

----------------------------------------------------------------------
Ran 497 tests in 2.303s

FAILED (failures=8, errors=9)
Comment 3 Michał Kiedrowicz 2009-06-03 20:47:09 UTC
Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.2.5
Timestamp of tree: Wed, 03 Jun 2009 19:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 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:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage.distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS=" 	http://gentoo.prz.rzeszow.pl 	ftp://gentoo.po.opole.pl 	ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ 	http://gentoo.inode.at/ 	"
LANG="pl_PL.UTF-8"
LC_ALL="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 aac alsa amd64 bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread encode flac gadu gd gdbm gif gnutls gpm gstreamer gtk hal iconv java jpeg kdeenablefinal kdehiddenvisibility lcms lm_sensors logrotate mad midi mmx mp3 mpeg mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png python quicktime readline sasl sdl session slang spell spl sse sse2 ssl svg sysfs tcpd threads truetype unicode vim-syntax vorbis xcomposite xml xorg xvid zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Jesus Rivero (RETIRED) gentoo-dev 2009-07-15 02:02:03 UTC
Hello, 

   This is fixed now in CVS (dev-python/pygame-1.8.0-r1)

   Best regards and thanks for the reports. 

   Please reopen if you find some more issues