Bug 150420 - games-puzzle/gweled-0.7 compiles but won't run, libglade errors /w fix
Bug#: 150420 Product:  Gentoo Linux Version: 2006.1 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: bugs@linuxlogin.com
Component: Games
URL: 
Summary: games-puzzle/gweled-0.7 compiles but won't run, libglade errors /w fix
Keywords:  
Status Whiteboard: 
Opened: 2006-10-07 15:58 0000
Description:   Opened: 2006-10-07 15:58 0000
After merging gweled, I get this when run:

(gweled:6902): libglade-WARNING **: could not find signal handler
'drawing_area_button_event_cb'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_scores1_activate'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_app1_delete_event'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_preferences1_activate'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_quit1_activate'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_smallRadiobutton_toggled'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_highscoresDialog_delete_event'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_about1_activate'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'drawing_area_motion_event_cb'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_preferencesDialog_delete_event'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_closebutton1_clicked'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_new1_activate'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'drawing_area_expose_event_cb'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_mediumRadiobutton_toggled'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_easyRadiobutton_toggled'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_hardRadiobutton_toggled'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_closebutton2_clicked'.

(gweled:6902): libglade-WARNING **: could not find signal handler
'on_largeRadiobutton_toggled'.


Glade installed:

[I--] [  ] gnome-base/libglade-0.17-r6 (0)
[I--] [ ~] gnome-base/libglade-2.6.0 (2.0)


For the fix, add the following to src_unpack()
-- cut --
    sed -i \
        -e '/CFLAGS/s/"$/ -rdynamic"/' "${S}/configure" \
        || die "sed failed"
-- cut --

Portage 2.1.2_pre2-r5 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.4-r4, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 07 Oct 2006 22:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.0-r2, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.osuosl.org/
http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net"
LINGUAS="en"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay /etc/portage/xgl-coffee
/usr/portage/local/layman/musicbrainz"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa arts asf audiofile bash-completion berkdb
bitmap-fonts browserplugin cairo cdr cli crypt cups curl dbus divx4linux
dlloader dri dts dv dvb dvd dvdr dxr3 eds elibc_glibc emboss encode esd fam
ffmpeg firefox flac fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal
idea imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse
isdnlog java jpeg kernel_linux lcms ldap libg++ linguas_en live lzo mad
matroska mikmod mjpeg mmx mng mp3 mpeg mysql nautilus ncurses nptl nptlonly
nvidia ogg opengl oss pam pcre perl pic png ppds pppd python qt qt3 qt4
quicktime readline real reflection rtc sdl session smp sndfile speex spell spl
sse sse2 ssl svg tcpd theora tiff timidity truetype truetype-fonts type1-fonts
udev unicode userland_GNU v4l v4l2 video_cards_none video_cards_nvidia vidix
vorbis widescreen win32codecs wmf xanim xinerama xml xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From sw1ft@swift-mail.com 2006-10-09 22:40:35 0000 -------
I recently ran into this problem as well; here's the fix. Go to the line in
gweled-0.7.ebuild that contains the 'emake' command and change it to:

emake LDFLAGS="-Wl,--export-dynamic" || die "emake failed"

Then rerun ebuild ("ebuild gweled-0.7.ebuild digest") and you should be able to
emerge it fine.

This should be addressed in an update in the official portage tree, but that
should get you going for now.

-swift

(In reply to comment #0)
> After merging gweled, I get this when run:
> 
> (gweled:6902): libglade-WARNING **: could not find signal handler
> 'drawing_area_button_event_cb'.

------- Comment #2 From Chris Gianelloni (RETIRED) 2006-10-10 13:20:55 0000 -------
Fixed in CVS with append-ldflags (you should never manually set LDFLAGS in an
ebuild)...