Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329889 - games-rpg/nwmouse links against libelf.so.1 but doesnt RDEPEND on it
Summary: games-rpg/nwmouse links against libelf.so.1 but doesnt RDEPEND on it
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: 2010-07-26 09:27 UTC by Fab
Modified: 2010-08-17 20:31 UTC (History)
0 users

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 Fab 2010-07-26 09:27:19 UTC
Few weeks ago I updated games-rpg/nwn from 1.68-r4 to 1.68-r5 and I just noticed that running nwn fails with :

> $ nwn
> ./nwmain: error while loading shared libraries: libelf.so.1: cannot open
> shared object file: No such file or directory

Running (as root) :

> ln -s /opt/nwn/lib/libelf.so /opt/nwn/lib/libelf.so.1

fix the problem.

Reproducible: Always




$ emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_E7400_@_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 26 Jul 2010 08:15:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mmmx -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -mmmx -msse"
DISTDIR="/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j5"
PKGDIR="/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="/portage/trees/gentoo"
PORTDIR_OVERLAY="/portage/trees/perso /portage/trees/tempo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdr cli consolekit cracklib cups cxx dbus dri dts dvd dvdr emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gdu gif gnome gnome-keyring gnutls gstreamer gtk hal iconv java jpeg lcms libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap nautilus ncurses network-cron nls nptl nptlonly ogg openal opengl openmp oss pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection sdl session spell spl sse ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2010-07-26 17:28:26 UTC
Does nwn-1.69-r1 work?
Comment 2 Fab 2010-07-26 17:44:28 UTC
I did not test it because of this :

> 02 Aug 2008; Denis Dupeyron <calchan@gentoo.org> +nwn-1.69.ebuild:
> Version bump, see bug #231704. Massively simplified the ebuild since this
> version supports only the english language.

Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2010-07-26 21:35:49 UTC
Please try it with 1.69 and reopen.
Comment 4 Fab 2010-07-27 08:31:03 UTC
(In reply to comment #3)
> Please try it with 1.69 and reopen.
> 

No. Sorry. I will not try it. The libelf.so.1 file is hardcoded in the ebuild, so I suppose that it works. But I will not reinstall 4.6G of data just to have a unplayable game because of the language. If 1.68-r5 is not maintained please remove it from the tree, otherwise please fix the ebuild. Thanks.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2010-08-17 07:07:48 UTC
I tried games-rpg/nwn-1.68-r5.  It worked fine for me.  You might try remerging nwn on your system and see if that helps, but if it doesn't you get to keep both pieces.  I can't be bothered to try to help you if you aren't willing to hold up your end of the process.
Comment 6 SpanKY gentoo-dev 2010-08-17 12:08:15 UTC
can you both run `lddtree` on the nwmain binary and post the output
Comment 7 Fab 2010-08-17 13:57:56 UTC
(In reply to comment #6)
> can you both run `lddtree` on the nwmain binary and post the output
> 

Thanks for the suggestion. It seems that the guilty package is games-rpg/nwmouse and not the nwmain binary itself :

> $ lddtree.sh /opt/nwn/nwmouse.so | grep libelf
> libelf.so.1 => not found
Comment 8 SpanKY gentoo-dev 2010-08-17 14:04:26 UTC
that makes sense, thanks
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2010-08-17 20:31:53 UTC
I added an rdep for elfutils.