Gcompris reports the following message during startup phase: (LANG=de_DE) Kann folgende Datei nicht finden oder laden computer.svg ... Then the main menu is displayed but shows no game to chose. The user may only exit gcompris. Reproducible: Always Steps to Reproduce: 1. just start gcompris gcompris output: gcompris ** Message: Binary relocation disabled ** (process:16901): WARNING **: exec_prefix NONE package_data_dir = /usr/share/games/gcompris/boards package_skin_dir = /usr/share/games/gcompris/boards/skins package_menu_dir = /usr/share/games/gcompris/boards package_locale_dir = /usr/share/locale package_plugin_dir = /usr/games/lib/gcompris package_python_plugin_dir= /usr/share/games/gcompris/python user_dir = /home/rklehm/My GCompris Infos: Config dir '/home/rklehm/.config/gcompris' Users dir '/home/rklehm/My GCompris' Database '/home/rklehm/.config/gcompris/gcompris_sqlite.db' (gcompris:16901): Gtk-CRITICAL **: IA__gtk_window_set_type_hint: assertion `!gtk_widget_get_mapped (GTK_WIDGET (window))' failed emerge --info Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 i686) ================================================================= System uname: Linux-2.6.39-gentoo-r3-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.0.3 Timestamp of tree: Sat, 15 Oct 2011 07:30:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" 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" CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://lug.mtu.edu/gentoo/ " LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" 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="/mnt/unsave/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx X a52 aac acl acpi alsa arts berkdb bluetooth branding bzip2 cairo cdda cdr cips cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdnav dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm hbci iconv ipv6 jpeg kde lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt qt3support qt4 readline sdl session spell sql ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis webkit x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Does the file exist on your computer and is it owned by the gcompris package? "equery belongs computer.svg" and "equery check gcompris" might tell.
Please take a moment to read the Gentoo Bug Reporting Guide[1]. This bug should have been filled in the default component and not as a User Relations issue. [1] - http://www.gentoo.org/doc/en/bugzilla-howto.xml
try moving aside the config directory. It works fine for me with german, english, french... Here's what it looks like on my box: $ ls -l /usr/share/games/gcompris/boards/computer.svg -rw-r----- 1 root games 34760 Jan 8 2011 /usr/share/games/gcompris/boards/computer.svg
Created attachment 291141 [details] gcompris computer.svg error message
Thanks for your time and comments. Here is what I did in order to catch the problem and supply more information about it: as root - emerged gcompris once again > qcheck gcompris Checking games-kids/gcompris-9.6.1 ... * 9156 out of 9156 files are good as user with group game > ls -la /usr/share/games/gcompris/boards/computer.svg -rw-r----- 1 root games 34760 8. Jan 2011 /usr/share/games/gcompris/boards/computer.svg > gcompris ==> leads to the attached gcompris error message > strace gcompris > gcompris.strace 2>&1 ==> leads to the attached gcompris error message too (of course) > grep -C 3 -e computer.svg gcompris.strace mmap2(0xb4503000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 13, 0x2) = 0xb4503000 close(13) = 0 mprotect(0xb4503000, 4096, PROT_READ) = 0 access("computer.svg", F_OK) = -1 ENOENT (No such file or directory) access("/home/rklehm/My GCompris/computer.svg", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/games/gcompris/boards/computer.svg", F_OK) = 0 access("/usr/share/games/gcompris/boards/computer.svg", F_OK) = 0 open("/usr/share/games/gcompris/boards/computer.svg", O_RDONLY|O_LARGEFILE) = 13 (*) fstat64(13, {st_mode=S_IFREG|0640, st_size=34760, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76fa000 read(13, "<?xml version=\"1.0\" encoding=\"UT"..., 4096) = 4096 (*) made me think, that there may be trouble with open && O_LARGEFILE on my 32 bit system > getconf LFS_CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ==> OK > mount /dev/hda6 on / type ext3 (rw,noatime,commit=0) ==> ext3 has full support for LFS ==> Because I'm not familiar with this stuff, I searched and found some hints at http://www.suse.de/~aj/linux_lfs.html ==> Reading this the question came up: Is gcompris compiled using -D_FILE_OFFSET_BITS=64 ? ==> I emerged it again with a > tail -f /var/tmp/portage/portage/games-kids/gcompris-9.6.1/temp/build.log | grep FILE_OFFSET_BITS ==> was not found. Any help would now be nice. Thanks in advance. Cheers, Robby
Oh sorry, I forgot to mention that I removed all config files > rm -rf ~/.config/gcompris ~/My\ GCompris before running gcompris as Mr. Bones commmented.
How does 11.09 work for you?
- emerged games-kids/gcompris-11.09 worked fine > qcheck gcompris Checking games-kids/gcompris-11.09 ... * 9703 out of 9703 files are good > rm -rf .gcompris My\ GCompris/ > gcompris ==> nice sound, well, but then ... the same issue. Cheers, Robby
you're really going to have to do some work on your end. I can't reproduce it here at all. How about posting the full strace output.
Sure, I'll add the strace as an attachment. Here is some more information: > qlist -UIv gtk dev-cpp/gtkmm-2.24.0 dev-python/pygtk-2.24.0-r1 dev-util/gtk-doc-am-1.17 net-libs/webkit-gtk-1.2.7 (gstreamer jit) x11-libs/gtk+-2.24.4 (cups introspection) > qlist -UIv gdk-pix x11-libs/gdk-pixbuf-2.22.1-r2 (X introspection jpeg svg tiff) I recently updated the whole system and there are no out dated packages. At another forum I found some hints like - chmod 744 to *.svg (doesn't help) - downgrading to dk-pixbuf-2.22.0 (didn't tested). - Не работает GCompris - unixforum.org: means in doesn't run <http://unixforum.org/index.php?showtopic=117834> Does this say anything to you? If I should provide more information, please let me know. Cheers, Robby
Created attachment 292139 [details] complete strace: run gcompris, acknowlegde err msg, quiting
The solution here was the following line in the file /etc/portage/package.use: gnome-base/librsvg gtk Would you like to add this to the USE dependencies in the ebuild: gnome-base/librsvg[gtk] Cheers, Robby
great, thanks for tracking it down.