They fail with: pygame.error: Unsupported image format In pygame documentation it's suggested to test pygame.image.get_extended to see if extended formats can be loaded (when it returns true), and in my checkings this is returning true. Reproducible: Always Steps to Reproduce: 1. emerge pygame 1.6.2 or 1.7.1 2. emerge any game which uses pygame and loads .png images (monsterz, dragonhunt, ...) 3. run them Actual Results: pygame.error: Unsupported image format Expected Results: .png images should load and games get started oxiporta ~ # emerge --info Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 x86_64) ================================================================= System uname: 2.6.20-gentoo-r8 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 27 Jun 2007 22:50:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 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.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.23b virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" 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/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" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.virginmedia.com/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="es_ES.UTF-8" LC_ALL="es_ES.UTF-8" LINGUAS="es" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=3600" 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://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl alsa amd64 apache2 asf bash-completion bidi bitmap-fonts cdda cdio cli cracklib crypt css ctype cups doc dri dts dvb dvd dvdr dvdread examples fbcon ffmpeg flac fortran freetype gdb gdbm gnutls gpm gtk2 httpd iconv ipv6 isdnlog jack java joystick kde ladspa lash libedit libg++ libnotify live logrotate mad matroska midi mikmod mjpeg mmx mmxext mp3 mpeg mudflap mysqli ncurses net nls nowin nptl nptlonly nsplugin nvidia nxclient ogg oggvorbis opengl openmp oss pam pcmcia pcre pdf perl portaudio povray pppd python qt3 rdesktop readline reflection sdl server session skins sox spell spl sse sse2 ssl stream tcpd theora truetype truetype-fonts type1 type1-fonts unicode userlocales v4l v4l2 vcd verbose vlm vnc vorbis workbench wxwindows xinerama xml xorg xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa fbdev nv none" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
*** Bug 183649 has been marked as a duplicate of this bug. ***
Maybe it would work better if you actually emerged media-libs/sdl-image with appropriate use flags enabled (such as USE="gif jpeg png tiff")
Thank you Jakub. Then these games ebuilds obviously need to check whether sdl-image is built with these use flags. Shall I post an individual patch for each game?
Well, games folks are against adding more built_with_use checks to ebuilds, so I guess it wouldn't be particularly productive. You really cannot expect graphics support if you disable all these flags. :)
use default-linux/amd64/2007.0/desktop if you want to avoid these problems
All right. Thanks pals :)