Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269180 - games-strategy/darwinia dependency (gcc?) problem
Summary: games-strategy/darwinia dependency (gcc?) problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-09 20:44 UTC by Märt Bakhoff
Modified: 2009-08-31 19:27 UTC (History)
2 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 Märt Bakhoff 2009-05-09 20:44:30 UTC
games-strategy/darwinia-1.4.0_beta9 fails to run: 

mart@artemis ~ $ darwinia 
/opt/darwinia
/opt/darwinia/lib/darwinia.bin.x86: /opt/darwinia/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/32/libstdc++.so.6)


Reproducible: Always

Steps to Reproduce:




mart@artemis ~ $ emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.0.0
Timestamp of tree: Thu, 07 May 2009 13:00:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
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.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
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/layman/x11 /usr/local/portage/layman/jokey /usr/local/portage/custom"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion bzip2 cli consolekit cracklib crypt cups dbus dri gdbm gnome gnutls gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg libnotify midi mmx mmxext mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre png policykit pppd pulseaudio python qt4 readline reflection sdl session spl sse sse2 ssl ssse3 sysfs tcpd threads unicode xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2009-05-22 23:55:38 UTC
Try the darwinia-demo and if that works for you I'll modify darwinia in the same way.
Comment 2 Märt Bakhoff 2009-05-23 18:18:54 UTC
games-strategy/darwinia-demo-1.3.0:

mart@artemis ~ $ darwinia-demo 
/opt/darwinia-demo
/opt/darwinia-demo/lib/darwinia.bin.x86: /opt/darwinia-demo/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/32/libstdc++.so.6)
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-05-23 20:16:47 UTC
Make sure you resync and try the version that doesn't install /opt/darwinia-demo/lib/libgcc_s.so.1

Looks like you used the older ebuild.
Comment 4 Märt Bakhoff 2009-05-24 10:40:59 UTC
graphics card: intel x3100 integrated

mart@artemis ~ $ darwinia-demo   
/opt/darwinia-demo
SDL Version: Compiled against 1.2.8, running with 1.2.11

ERROR!  mapping regions
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering

Initialising SDL Audio
Frequency: 22050
Format: 32784
Channels: 2
Samples: 470
Size of Stereo Sample: 4
Loading profile DemoUser
CLIENT : Attempting connection...
Water lightmap generation took 2ms
Tree generated in 9ms
Tree generated in 14ms
Tree generated in 10ms
Tree generated in 23ms
EntityGrid max neighbours set to 100 (time taken 0.00ms)
ObstructionGrid took 1ms to generate
CLIENT : Requesting Team...
CLIENT : Requesting Team...
CLIENT : Requesting Team...

/opt/darwinia-demo/darwinia: line 39:  
4600 Segmentation fault      $here/lib/darwinia.bin.x86
Comment 5 Tristan Heaven (RETIRED) gentoo-dev 2009-06-17 23:46:29 UTC
That error seems unrelated.
Comment 6 Awad Mackie 2009-08-29 23:54:56 UTC
Can confirm that darwinia-demo works perfectly while darwinia causes this error. Moving provided libgcc_s.so.1, forcing use of system libraries also works.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2009-08-31 19:27:40 UTC
ok, should be fixed.  I made the same change as the demo.