Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 186113
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tiago Cunha <tcunha@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
enemy-territory-truecombat-0.49.ebuild.libstdcc++.patch Adds RDEPEND for app-emulation/emul-linux-x86-compat in the enemy-territory-truecombat-0.49.ebuild patch Tiago Cunha 2007-07-21 15:36 0000 304 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 186113 depends on: Show dependency tree
Bug 186113 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-21 15:33 0000
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 From Tiago Cunha 2007-07-21 15:36:52 0000 -------
Created an attachment (id=125553) [details]
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 From Chris Gianelloni (RETIRED) 2007-08-03 22:19:12 0000 -------
*** Bug 184904 has been marked as a duplicate of this bug. ***

------- Comment #3 From Chris Gianelloni (RETIRED) 2007-08-21 00:52:01 0000 -------
I guess I should have mentioned that this is now updated in the tree...

------- Comment #4 From Rafael Antonio Porras 2008-01-17 15:13:12 0000 -------
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 From Samuli Suominen 2008-01-17 15:34:04 0000 -------
(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 From Rafael Antonio Porras 2008-01-17 15:52:01 0000 -------
(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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug