Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117954 - fbpanel-4.3 - undefined symbol
Summary: fbpanel-4.3 - undefined symbol
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
: 145264 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-05 16:19 UTC by Andrew Dorney
Modified: 2007-06-04 05:07 UTC (History)
12 users (show)

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


Attachments
patch for fbpanel-4.3.ebuild (patch,269 bytes, patch)
2006-01-13 07:44 UTC, parafin
Details | Diff
00000002.fbpanel-4.3-export-dynamic-fix.patch Fixes missing symbols (00000002.fbpanel-4.3-export-dynamic-fix.patch,336 bytes, patch)
2006-07-11 13:21 UTC, Sergei Trofimovich (RETIRED)
Details | Diff
fbpanel-4.3-r1.ebuild using patch above (fbpanel-4.3-r1.ebuild,923 bytes, application/octet-stream)
2006-08-27 10:42 UTC, Sergei Trofimovich (RETIRED)
Details
fbpanel-4.5.ebuild (fbpanel-4.5.ebuild,741 bytes, text/plain)
2007-01-20 00:16 UTC, karpi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Dorney 2006-01-05 16:19:27 UTC
I just emerged fbpanel-4.3 on my AMD64 machine, and it's giving me an undefined symbol error when I try to run it.

andrew@StubbornAesthetics ~ $ fbpanel
error is /usr/share/fbpanel/plugins/wincmd.so: undefined symbol: a_NET_WM_STATE
fbpanel: can't load wincmd plugin
fbpanel: can't start panel


I can post the output of the compile, but I didn't see anything wierd about it - no errors or anything.

Thanks!
~~ Andrew D.


emerge info:

Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aac aalib accessibility acpi aim alsa amd64 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bmp bonobo bzip2 bzlib cdparanoia cdr cjk crypt cups curl curlwrappers dbus ddbm dga dio divx4linux dts dvd dvdr dvdread eds emboss emul-linux-x86 encode esd ethereal exif expat f77 faad fam fbcon ffmpeg flac flash font-server foomaticdb fortran ftp gd gdbm ggi gif glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imap imlib inifile ipv6 jabber jack java javascript joystick jp2 jpeg kde ladcca lcms ldap lesstif libcaca libg++ libwww lm_sensors lmcs lzw lzw-tiff mad mbox mikmod mng motif mozilla mp3 mpeg msn nas ncurses nls nptl nptlonly ogg oggvorbis openal opengl oss pam pcre pdds pdflib perl png portaudio ppds python qt quicktime readline recode ruby samba sambasasl scanner sdl slang sndfile snmp sockets sox speex spell ssl svg tcltk tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vcd videos vorbis wifi wmf xine xinerama xml xml-rpc xml2 xmms xosd xpm xprint xrandr xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 parafin 2006-01-10 08:13:57 UTC
it happens right after update of gtk lib. fbpanel begins to do strange things like killing adesklets, i recompile it and get the same error. It seems to need update.
P.S. I'm running x86, so it's not AMD64 related.
Comment 2 parafin 2006-01-13 07:44:08 UTC
Created attachment 76999 [details, diff]
patch for fbpanel-4.3.ebuild

OK, there it is. No code changes needed and all works fine (for me at least) ;)
Comment 3 Andrew Dorney 2006-01-15 18:19:44 UTC
That worked for me. Let's get this bugger committed into the tree, eh?

~~ Andrew D.
Comment 4 Matteo Guglielmi 2006-01-26 01:55:49 UTC
(In reply to comment #2)
> Created an attachment (id=76999) [edit]
> patch for fbpanel-4.3.ebuild
> 
> OK, there it is. No code changes needed and all works fine (for me at least) ;)
> 

Don't forghet to run:

# ebuild x11-misc/fbpanel/fbpanel-4.3.ebuild digest

as root user... ;-)
Comment 5 Felipe Prenholato 2006-04-01 09:17:09 UTC
Hi Aaron.

I would like to know the status of bug.

I used fbpanel for much time and after I upgraded to GTK 2.8 (have a bug in source forge about it) it's have this problem (problem of this bug).

Friend at 'parafin-spobs@yandex.ru' make a patch and it's works for me too.

I applied it manually and after make a diff -u old new ebuild, it's here:

-----------8<--------
--- foo 2006-04-01 12:24:48.000000000 -0300
+++ fbpanel-4.3.ebuild  2006-04-01 12:26:43.000000000 -0300
@@ -26,10 +26,10 @@
 src_compile() {
        # econf not happy here
        ./configure --prefix=/usr || die "Configure failed."
-       emake CHATTY=1 CC=$(tc-getCC) || die "Make failed."
+       emake CHATTY=1 CC=$(tc-getCC) STATIC_PLUGINS=1 -j1 || die "Make failed."
 }
 
 src_install () {
-       emake install PREFIX=${D}/usr || die
+       emake install PREFIX=${D}/usr STATIC_PLUGINS=1 || die
        dodoc README CREDITS COPYING CHANGELOG
 }
----------->8----------

If you need help I am the disposal.

thanks.

Felipe 'chronos' Prenholato.
Comment 6 vma 2006-05-01 07:05:21 UTC
(In reply to comment #3)
> That worked for me. Let's get this bugger committed into the tree, eh?
> 
> ~~ Andrew D.
> 

I have tried the ebuild patch, it compiles without problem bt when I try to start fbpanel, I get a segfault...

portage config:
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"

with gtk+-2.8.13

--
-vma
.
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2006-07-11 13:21:25 UTC
Created attachment 91505 [details, diff]
00000002.fbpanel-4.3-export-dynamic-fix.patch
Fixes missing symbols


Hello. I tried to send this patch to source and ebuild maintainer but no response.
Maybe it will help someone here.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-08-27 09:45:50 UTC
*** Bug 145264 has been marked as a duplicate of this bug. ***
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2006-08-27 10:42:08 UTC
Created attachment 95215 [details]
fbpanel-4.3-r1.ebuild using patch above
Comment 10 Alberto Bertogli 2006-09-30 18:42:11 UTC
I've just hit this problem on my amd64 (Pentium D).

I manually patched the ebuild adding "STATIC_PLUGINS=1" as suggested, and it works fine.

Is there a reason this is not on the tree? It's been more than 9 month since the fix/workaround was registered in the bugzilla.

Thanks,
    Alberto
Comment 11 Thomas Green 2006-10-01 10:28:35 UTC
fbpanel-4.5 was released a couple of weeks ago - the main website hasn't been updated to reflect this but it can be seen on the project page: http://sourceforge.net/projects/fbpanel/

CHANGELOG:

4.5
Fixed bugs
* Makefile.common overwrite/ignore CFLAGS and LDFLAGS env. variables
* rebuild dependancy Makefiles (*.dep) if their prerequisits were changed
* fixing gcc-4.1 compile warnings about signess
* removing tar from make's recursive goals
* fixing NET_WM_STRUT code to work on 64 bit platforms

New features
* porting plugins/taskbar to 64 bit
* porting plugins/icons to 64 bit
* adding LDFLAGS=-Wl,-O1 to Makefile
* adding deskno2 plugin; it shows current desktop name and allow to scroll over available desktops
* applying patch [ 1062173 ] NET_ACTIVE_WINDOW support
* hiding tray when there are no tray icons
* remove extra space around tray
* using new icons from etiquette theme. droping old ones

4.4
New Feature
* 64-bit awarenes

Moving the portage ebuild (fbpanel-4.3.ebuild) into my local overlay and renaming seems to work fine. No problems that I can see with the compilation and I have been running successfully with Openbox.
Comment 12 Felipe Prenholato 2006-12-15 05:29:21 UTC
(In reply to comment #11)
> fbpanel-4.5 was released a couple of weeks ago - the main website hasn't been
> updated to reflect this but it can be seen on the project page:
> http://sourceforge.net/projects/fbpanel/
> 
> CHANGELOG:
> 
> 4.5
> Fixed bugs
> * Makefile.common overwrite/ignore CFLAGS and LDFLAGS env. variables
> * rebuild dependancy Makefiles (*.dep) if their prerequisits were changed
> * fixing gcc-4.1 compile warnings about signess
> * removing tar from make's recursive goals
> * fixing NET_WM_STRUT code to work on 64 bit platforms
> 
> New features
> * porting plugins/taskbar to 64 bit
> * porting plugins/icons to 64 bit
> * adding LDFLAGS=-Wl,-O1 to Makefile
> * adding deskno2 plugin; it shows current desktop name and allow to scroll over
> available desktops
> * applying patch [ 1062173 ] NET_ACTIVE_WINDOW support
> * hiding tray when there are no tray icons
> * remove extra space around tray
> * using new icons from etiquette theme. droping old ones
> 
> 4.4
> New Feature
> * 64-bit awarenes
> 
> Moving the portage ebuild (fbpanel-4.3.ebuild) into my local overlay and
> renaming seems to work fine. No problems that I can see with the compilation
> and I have been running successfully with Openbox.
> 

No have ebuilds for new fbpanel versions?
Comment 13 karpi 2007-01-20 00:16:21 UTC
Created attachment 107489 [details]
fbpanel-4.5.ebuild

Here is ebuild with one lame change. Why is the old bugy ..ebuild.. in the tree? :/
Comment 14 Ali Polatel (RETIRED) gentoo-dev 2007-05-22 21:12:55 UTC
 can you guys try version 4.9 and see if it works? There's an ebuild and a patch for --as-needed at bug 175878
Comment 15 Tom Kirchner 2007-05-30 00:23:18 UTC
Ali's ebuild and patch from bug 175878 are working well for me.  I'm seeing no errors in the new version.  Thanks Ali!
Comment 16 David Shakaryan (RETIRED) gentoo-dev 2007-06-04 05:07:42 UTC
Should be fixed in 4.9. Closing bug.