Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56933 - supertux-0.1.1-r1: "Error: Can't covert to display format"
Summary: supertux-0.1.1-r1: "Error: Can't covert to display format"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-13 10:57 UTC by Carsten Milkau
Modified: 2008-11-09 12:48 UTC (History)
1 user (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 Carsten Milkau 2004-07-13 10:57:53 UTC
$ supertux
Datadir: /usr/share/games/supertux
Warning: No joysticks are available.

Error: Can't covert to display format
/usr/share/games/supertux/images/status/letters-black.png

Abgebrochen

This error message only appears when running supertux as a non-privileged user, it's probably some wrong permissions.  It is a quite strange error message, so I do not know how to recover from it.  I post this to gentoo because the message appeared after the update of various gentoo packages which did NOT include the supertux package.  I think this might be caused by a dependency or ebuild error.

Reproducible: Always
Steps to Reproduce:
1. emerge supertux-0.1.1-r1
2. run supertux as non-privileged user
3.

Actual Results:  
Error message as mentioned above, program abort. 

Expected Results:  
program startup 

# emerge info 
 
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7) 
================================================================= 
System uname: 2.6.7 i686 AMD Athlon(tm) XP 1800+ 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS=" 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo 
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ 
http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo 
" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dfx 3dnow X aalib alsa apache2 apm arts avi berkdb cdr clanJavaScript 
clanVoice crypt cups curl directfb dvd encode esd fbcon foomaticdb gdbm gif 
gpm gtk gtk2 guile imlib innodb java jpeg kde libg++ libwww linguas_de 
linguas_en mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis 
opengl oss pam pdflib perl png postgres postgresql ppds python qt quicktime 
readline ruby scanner sdl slang spell sse ssl stencil-buffer svga tcltk tcpd 
tetex threads tiff truetype usb video_cards_radeon vim-with-x wmf x86 xml xml2 
xmms xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-07-14 01:11:49 UTC
What's the ouput of the groups command for the user?
Comment 2 Carsten Milkau 2004-07-14 06:37:38 UTC
$ groups
tty wheel floppy audio cdrom games cdrw users parport vmware-user fetch
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-07-17 03:18:45 UTC
Remerge libsdl, run revdep-rebuild and remerge supertux and see if that makes
a difference.  Works fine here.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-07-25 23:43:13 UTC
Reopen with the results of trying that please.
Comment 5 Carsten Milkau 2004-07-26 01:01:52 UTC
Rebuild of broken dependencies solved the problem for me.  I am sorry but I do not have the output of revdep-rebuild on hand.  I believe to remember that libSDL and friends were involved.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-07-26 01:16:59 UTC
Ok. sounds fixed to me.
Comment 7 Carsten Milkau 2004-08-29 13:54:51 UTC
The problem appears again in supertux-0.1.2. Revdep-rebuild does not find broken binaries, nor does remerge of supertux help.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-08-29 18:13:23 UTC
rebuild all the listed deps for supertux and try merging it again.
Comment 9 Carsten Milkau 2004-08-30 04:23:39 UTC
I rebuilt media-libs/sdl-image-1.2.2, which made the error disappear. However, I think it is not a good thing that this necessity was not discovered by the portage tools.
Nevertheless this "works for me" now. 
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2004-08-30 11:54:14 UTC
I don't know why you have this failure.  I have never seen it.
Comment 11 Pekka Paalanen 2008-08-02 11:07:18 UTC
I've hit the same problem as in the original report, with supertux 0.1.3.
I've tried re-emerging libsdl, sdl-image, sdl-mixer, libXt, and supertux itself, but the problem persists.

'sudo /usr/games/bin/supertux' exhibits the problem, but 'sudo su -' and then '/usr/games/bin/supertux' does not, so it's probably something in the environment. Very weird.

The error message can be found in this source file:
http://supertux.lethargik.org/viewvc/viewvc.cgi/tags/supertux/0_1_3/src/texture.cpp?revision=3398&view=markup
Comment 12 Tupone Alfredo gentoo-dev 2008-11-09 12:48:03 UTC
Please post your emerge --info and check if you have the png use flag enabled