I did not even know I have this game installed until this build error, but I thought I'd create a report. In file included from /usr/include/glib-2.0/glib/gstring.h:32, from /usr/include/glib-2.0/glib/giochannel.h:32, from /usr/include/glib-2.0/glib.h:45, from /usr/include/gtk-2.0/gdk/gdktypes.h:32, from /usr/include/gtk-2.0/gdk/gdkcolor.h:31, from /usr/include/gtk-2.0/gdk/gdkcairo.h:23, from /usr/include/gtk-2.0/gdk/gdk.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:31, from popup.c:34: /usr/include/glib-2.0/glib/gutils.h:31:20: warning: /usr/games/include/stdarg.h: Permission denied i686-pc-linux-gnu-gcc -march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer -Wall -L/usr/games/lib -L/usr/local/lib -o ggz.chess -L/usr/lib -L/usr/lib board.o callbacks.o game.o main.o main_win.o net.o popup.o support.o ../common/libgtk-games.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 libcgc/libcgc.a -lggzmod -lggz -lm -lnsl /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libggzcore.so.1, needed by /usr/lib/libggzmod.so, not found (try using -rpath or -rpath-link) /usr/lib/libggzmod.so: undefined reference to `ggzcore_channel_connect' collect2: ld returned 1 exit status distcc[1136] ERROR: compile (null) on localhost failed make[3]: *** [ggz.chess] Error 1 make[3]: Leaving directory `/var/tmp/portage/ggz-gtk-games-0.0.13/work/ggz-gtk-games-0.0.13/chess' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/ggz-gtk-games-0.0.13/work/ggz-gtk-games-0.0.13/chess' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ggz-gtk-games-0.0.13/work/ggz-gtk-games-0.0.13' make: *** [all] Error 2 !!! ERROR: games-board/ggz-gtk-games-0.0.13 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile ggz-gtk-games-0.0.13.ebuild, line 24: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1.1_pre4-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 i686) ================================================================= System uname: 2.6.16-gentoo-r13 i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.15 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: 0.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.4.3-r4, 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/openldap/schema /etc/revdep-rebuild /etc/sane.d /etc/sound/events /etc/terminfo /etc/webmin /etc/xdg/xfce4 /usr/lib/X11/xkb /usr/share/texmf/dvips/config" CXXFLAGS="-march=athlon64 -Os -pipe -fforce-addr -fomit-frame-pointer" DISTDIR="/data/portage/distfiles" FEATURES="autoconfig buildpkg ccache distcc distlocks metadata-transfer sandbox sfperms strict userpriv" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.nyx.hu/gentoo" LINGUAS="de" MAKEOPTS="-j7" PKGDIR="/data/portage/hosts/weird/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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/data/portage/gentoo-portage" PORTDIR_OVERLAY="/data/portage/local" SYNC="rsync://zone.wonkology.org/gentoo-portage" USE="x86 3dnow X aac aalib acl acpi aim alsa apache2 apm arts artswrappersuid audiofile avi bash-completion bcmath berkdb bitmap-fonts bluetooth bzip2 cdparanoia cdr clamav cli crypt ctype cups dbus dga dio directfb dlloader doc dri dvd dvdr dvdread eds emboss encode esd fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm ggi gif ginac gphoto gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas libg++ libwww lirc lm_sensors mad maildir matrox mikmod mime mmx mng motif mp3 mpeg ncurses nls nptl nsplugin ntpl ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl php plotutils png ppds pppd python qt qt3 qt4 quicktime radius readline real recode reflection ruby samba scanner sdl session slang sndfile sockets sox speex spell spl sse sse2 ssl svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb videos vorbis win32codecs wmf wxwindows xine xml xmms xorg xosd xpm xv xvid zlib elibc_glibc fritzcapi_cards_fcpci input_devices_kbd input_devices_keyboard input_devices_mouse kernel_linux linguas_de lirc_devices_serial userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_vga video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The same applies to games-board/ggz-txt-client-0.0.13.
*** Bug 144579 has been marked as a duplicate of this bug. ***
What version of ggz-client-libs do you have installed? Does /usr/lib/libggzcore.* exist and if so, what do you have?
This is what I got: gentoo1 # equery l ggz-client-libs [ Searching for package 'ggz-client-libs' in all categories among: ] * installed packages [I--] [ ] dev-games/ggz-client-libs-0.0.13 (0) gentoo1 # ls /usr/lib/libggzcore.* /usr/lib/libggzcore.a /usr/lib/libggzcore.so /usr/lib/libggzcore.so.7.1.1 /usr/lib/libggzcore.la /usr/lib/libggzcore.so.7 gentoo1 #
I get the same results.
Disclaimer: I'm with GGZ, not Gentoo so nothing I say here constitutes any kind of official Gentoo support. Ok, how about /usr/lib/libggzmod.* ? I'd expect libggzmod.so libggzmod.so.4 libggzmod.so.4.0.0 libggzmod.a libggzmod.la If you have those alone, what does ldd /usr/lib/libggzmod.so.4.0.0 produce? Specifically you should be looking for missing libraries and the libggzcore.so.7 line (or perhaps it is libggzcore.so.1 ?) If there are missing libraries, try running ldconfig and then doing ldd ... again. If you have other/extra libggzmod files, which package/version do they belong to? equery b /usr/lib/.... If they don't belong to anything, it is possible some libraries haven't been uninstalled properly and are conflicting. You could try removing them and re-emerging ggz-client-libs - that's at your own risk though.
Libraries seem ok: weird # ls -l /usr/lib/libggzmod.* -rw-r--r-- 1 root root 15108 21. Jul 04:03 /usr/lib/libggzmod.a -rw-r--r-- 1 root root 1046 21. Jul 04:03 /usr/lib/libggzmod.la lrwxrwxrwx 1 root root 18 21. Jul 04:03 /usr/lib/libggzmod.so -> libggzmod.so.4.0.0 lrwxrwxrwx 1 root root 18 21. Jul 04:03 /usr/lib/libggzmod.so.4 -> libggzmod.so.4.0.0 -rwxr-xr-x 1 root root 14876 21. Jul 04:03 /usr/lib/libggzmod.so.4.0.0 But you are right, libggzcore.so.1 is missing: weird # ldd /usr/lib/libggzmod.so.4.0.0 linux-gate.so.1 => (0xffffe000) libggzcore.so.1 => not found libggz.so.2 => /usr/lib/libggz.so.2 (0xb7f88000) libc.so.6 => /lib/tls/libc.so.6 (0xb7e70000) libnsl.so.1 => /lib/libnsl.so.1 (0xb7e5b000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7e48000) libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7e05000) libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7d53000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7c7e000) /lib/ld-linux.so.2 (0x80000000) libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7c7a000) libdl.so.2 => /lib/libdl.so.2 (0xb7c76000) I see no other libggzmod files, but I re-emerged ggz-client-libs as you suggested, and now ggz-gtk-games-0.0.13 compiles fine.
yep exactly the same (ldd) and steps for me. I re-emerged ggz-client-libs and then I could emerge ggz-gtk-games ok. before re-emerge: libggzcore.so.1 => not found after re-emerge: libggzcore.so.7 => /usr/lib/libggzcore.so.7 (0xb7ed2000) thanks for the assistance :)
Thanks Roger! Marking FIXED.
I am very grateful for the effort and happy this was resolved simply with a re-emerge, but it is a bit concerning how this shared library (libggzcore.so.1) was originally missing from the ggz-client-libs, package for multiple users. Does this bug report in anyway trigger some investigation (by the ggz-client-libs responsible) into how this happened in the first place ?
Honestly, not really. We simply don't have the time to investigate everything, especially when a fix is known. Were a fix not known, this would remain open until one was found. It's also possible that the bug was fixed due to another bug report or commit, without a revision bump, which resolved this bug for you when you remerged the package.