Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186113 - games-fps/enemy-territory-truecombat should RDEPEND on app-emulation/emul-linux-x86-compat on AMD64
Summary: games-fps/enemy-territory-truecombat should RDEPEND on app-emulation/emul-lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 184904 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-21 15:33 UTC by Tiago Cunha (RETIRED)
Modified: 2008-01-17 15:52 UTC (History)
3 users (show)

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


Attachments
Adds RDEPEND for app-emulation/emul-linux-x86-compat in the enemy-territory-truecombat-0.49.ebuild (enemy-territory-truecombat-0.49.ebuild.libstdcc++.patch,304 bytes, patch)
2007-07-21 15:36 UTC, Tiago Cunha (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Cunha (RETIRED) gentoo-dev 2007-07-21 15:33:20 UTC
games-fps/enemy-territory-truecombat-0.49  USE="opengl -dedicated" fails with the following message:

$ et-tcetest
ET 2.60b linux-i386 May  8 2006
[...]
"libstdc++.so.5: cannot open shared object file: No such file or directory"
Sys_LoadDll(ui) failed dlopen() completely!
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: VM_Create on UI failed

If I emerge -1 app-emulation/emul-linux-x86-compat games-fps/enemy-territory-truecombat works (ebuild patch follows).

$ eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *

Portage 2.1.2.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 20 Jul 2007 21: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.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
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/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-k"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirrors1.netvisao.pt/gentoo http://darkstar.ist.utl.pt/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 arts bash-completion bitmap-fonts cairo cdr cli cracklib crypt dbus dri dts dvd dvdr dvdread emboss encode evo fam firefox flac fortran gif gnome gpm gtk hal iconv ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libg++ mad midi mikmod mmx mp3 mpeg mudflap musepack musicbrainz mysql ncurses nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl png postgres pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd test tiff truetype truetype-fonts type1-fonts unicode vorbis xcomposite xml xorg xscreensaver xv 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 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" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tiago Cunha (RETIRED) gentoo-dev 2007-07-21 15:36:52 UTC
Created attachment 125553 [details, diff]
Adds RDEPEND for app-emulation/emul-linux-x86-compat in the enemy-territory-truecombat-0.49.ebuild

Also, all of the others et-mods (including enemy-territory) work without libstdc++.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-03 22:19:12 UTC
*** Bug 184904 has been marked as a duplicate of this bug. ***
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-21 00:52:01 UTC
I guess I should have mentioned that this is now updated in the tree...
Comment 4 SpOeK 2008-01-17 15:13:12 UTC
games-fps(In reply to comment #1)
> Also, all of the others et-mods (including enemy-territory) work without
> libstdc++.
> 

That's not true, at least for games-fps/enemy-territory-2.60b with mod "Omnibot"[1]. I've needed to emerge app-emulation/emul-linux-x86-compat to obtain the missing library: libstdc++.so.5.

So please, add emul-linux-x86-compat to enemy-territory's RDEPEND.

[1] http://www.omni-bot.de/


This is the error's log:
[...]
Sys_LoadDll(/home/rafa/.etwolf/omnibot/ui.mp.i386.so)... 
Sys_LoadDll(/home/rafa/.etwolf/omnibot/ui.mp.i386.so) failed:
"libstdc++.so.5: cannot open shared object file: No such file or directory"
Sys_LoadDll(/opt/enemy-territory/omnibot/ui.mp.i386.so)... 
Sys_LoadDll(/opt/enemy-territory/omnibot/ui.mp.i386.so) failed:
"/opt/enemy-territory/omnibot/ui.mp.i386.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(ui) failed dlopen() completely!
----- FS_Startup -----
Current search path:
/home/rafa/.etwolf/omnibot/omnibot_et.pk3 (4 files)
/home/rafa/.etwolf/omnibot/omnibot_et.ba3619c9.pk3 (4 files)
/home/rafa/.etwolf/omnibot/omnibot_et.1bd97631.pk3 (4 files)
/home/rafa/.etwolf/omnibot
/opt/enemy-territory/omnibot
/home/rafa/.etwolf/etmain
/opt/enemy-territory/etmain/pak2.pk3 (22 files)
/opt/enemy-territory/etmain/pak1.pk3 (10 files)
/opt/enemy-territory/etmain/pak0.pk3 (3725 files)
/opt/enemy-territory/etmain/mp_bin.pk3 (6 files)
/opt/enemy-territory/etmain

----------------------
11313 files in pk3 files
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: VM_Create on UI failed

Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2008-01-17 15:34:04 UTC
(In reply to comment #4)
> games-fps(In reply to comment #1)
> > Also, all of the others et-mods (including enemy-territory) work without
> > libstdc++.
> > 
> 
> That's not true, at least for games-fps/enemy-territory-2.60b with mod
> "Omnibot"[1]. I've needed to emerge app-emulation/emul-linux-x86-compat to
> obtain the missing library: libstdc++.so.5.
> 
> So please, add emul-linux-x86-compat to enemy-territory's RDEPEND.
> 
> [1] http://www.omni-bot.de/

So you installed a program, a mod as you call it, outside from portage and it needs libstdc++. 

Now, how does that mean enemy-territory needs it? No way, but you are free to write a own ebuild for the mod and add the depend there.

> 
> 
> This is the error's log:
> [...]
> Sys_LoadDll(/home/rafa/.etwolf/omnibot/ui.mp.i386.so)... 
> Sys_LoadDll(/home/rafa/.etwolf/omnibot/ui.mp.i386.so) failed:
> "libstdc++.so.5: cannot open shared object file: No such file or directory"
> Sys_LoadDll(/opt/enemy-territory/omnibot/ui.mp.i386.so)... 
> Sys_LoadDll(/opt/enemy-territory/omnibot/ui.mp.i386.so) failed:
> "/opt/enemy-territory/omnibot/ui.mp.i386.so: cannot open shared object file: No
> such file or directory"
> Sys_LoadDll(ui) failed dlopen() completely!
> ----- FS_Startup -----
> Current search path:
> /home/rafa/.etwolf/omnibot/omnibot_et.pk3 (4 files)
> /home/rafa/.etwolf/omnibot/omnibot_et.ba3619c9.pk3 (4 files)
> /home/rafa/.etwolf/omnibot/omnibot_et.1bd97631.pk3 (4 files)
> /home/rafa/.etwolf/omnibot
> /opt/enemy-territory/omnibot
> /home/rafa/.etwolf/etmain
> /opt/enemy-territory/etmain/pak2.pk3 (22 files)
> /opt/enemy-territory/etmain/pak1.pk3 (10 files)
> /opt/enemy-territory/etmain/pak0.pk3 (3725 files)
> /opt/enemy-territory/etmain/mp_bin.pk3 (6 files)
> /opt/enemy-territory/etmain
> 
> ----------------------
> 11313 files in pk3 files
> ----- CL_Shutdown -----
> RE_Shutdown( 1 )
> -----------------------
> ----- CL_Shutdown -----
> -----------------------
> Sys_Error: VM_Create on UI failed
> 

Comment 6 SpOeK 2008-01-17 15:52:01 UTC
(In reply to comment #5)
> 
> So you installed a program, a mod as you call it, outside from portage and it
> needs libstdc++. 
> 
> Now, how does that mean enemy-territory needs it? No way, but you are free to
> write a own ebuild for the mod and add the depend there.

Yes, you are right. I think that I filed the "no bug" without thinking thoroughly. Sorry for wasting your time.