Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 103180

Summary: gnome-panel-2.11.91 compile error
Product: Gentoo Linux Reporter: Bruno Lustosa <bruno>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 103197    

Description Bruno Lustosa 2005-08-20 13:45:08 UTC
Hello. Trying to compile gnome-panel-2.11.91, and got a compile error (err.. a
link error):

x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -o
gnome-panel GNOME_Panel-stubs.o GNOME_Panel-skels.o GNOME_Panel-common.o
eggaccelerators.o panel-typebuiltins.o panel-marshal.o main.o panel-widget.o
button-widget.o xstuff.o panel-session.o panel-compatibility.o panel.o applet.o
drawer.o panel-config-global.o panel-util.o panel-gconf.o
panel-properties-dialog.o panel-run-dialog.o menu.o panel-context-menu.o
launcher.o panel-applet-frame.o panel-shell.o panel-background.o
panel-background-monitor.o panel-stock-icons.o panel-action-button.o
panel-menu-bar.o panel-menu-button.o panel-menu-items.o panel-recent.o
panel-gdk-pixbuf-extensions.o panel-action-protocol.o panel-toplevel.o
panel-struts.o panel-frame.o panel-xutils.o panel-multiscreen.o panel-a11y.o
panel-bindings.o panel-profile.o panel-force-quit.o panel-lockdown.o
panel-addto.o egg-recent-model.o egg-recent-item.o egg-recent-view.o
egg-recent-view-gtk.o egg-recent-util.o -Wl,--export-dynamic -pthread
-Wl,--export-dynamic  -L/usr/lib64 /usr/lib/libgnome-desktop-2.so
/usr/lib/libgnomeui-2.so -L/usr/lib /usr/lib/libgnome-keyring.so
/usr/lib/libjpeg.so /usr/lib/libstartup-notification-1.so
/usr/lib/libbonoboui-2.so -lSM -lICE /usr/lib/libgnomecanvas-2.so
/usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libaudiofile.so
/usr/lib/libasound.so /usr/lib/libart_lgpl_2.so /usr/lib/libgnomevfs-2.so -lssl
-lcrypto -lresolv -lrt /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so
/usr/lib/libORBitCosNaming-2.so /usr/lib/libglade-2.0.so
/usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libgtk-x11-2.0.so
/usr/lib/libxml2.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so
/usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so
-lXrender -lX11 -lXext -lpng12 /usr/lib/libfontconfig.so /usr/lib/libexpat.so
/usr/lib/libfreetype.so -lz /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so
/usr/lib/libgobject-2.0.so -lm /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libgthread-2.0.so -lpthread /usr/lib/libgnome-menu.so
/usr/lib/libfam.so -lrpcsvc /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so
-L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib
-L/usr/lib/gcc/x86_64-pc-linux-gnu/../../../x86_64-pc-linux-gnu/lib/../lib
-L/usr/lib/gcc/x86_64-pc-linux-gnu/../../../lib /usr/lib/libglib-2.0.so
/usr/lib/libpopt.so
panel-util.o(.text+0xbd): In function `panel_launch_desktop_file':
: undefined reference to `gnome_desktop_item_new_from_basename'
collect2: ld returned 1 exit status
make[3]: *** [gnome-panel] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gnome-panel-2.11.91/work/gnome-panel-2.11.91/gnome-panel'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/gnome-panel-2.11.91/work/gnome-panel-2.11.91/gnome-panel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-panel-2.11.91/work/gnome-panel-2.11.91'
make: *** [all] Error 2

I unmasked all packages it asked me to when trying to -Du world (running ~amd64
here).

Reproducible: Always
Steps to Reproduce:
1.emerge -Du world on ~amd64

Actual Results:  
Link error

Expected Results:  
Clean compile

Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.4, glibc-2.3.5-r1,
2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr//lib/mozilla/defaults/pref /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com
http://open-systems.ufl.edu/mirrors/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo
ftp://ftp.heanet.ie/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/
http://gentoo.ccccom.com http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.ccccom.com
http://linuv.uv.es/mirror/gentoo/ http://gentoo.mirror.icd.hu/
ftp://ftp.ndlug.nd.edu/pub/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://gentoo.osuosl.org/ http://ftp.linux.ee/pub/gentoo/distfiles/
ftp://mirrors1.netvisao.pt/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/
http://gentoo.seren.com/gentoo
ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://mirror.aiya.ru/pub/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 16bit 3dnowex X aac aalib acpi4linux aim alsa apache2 avi
bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdr cjk crypt cups
curl dga dvd eds encode esd exif fam foomaticdb fortran ftp gd gdbm gif gnome
gphoto2 gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib jabber java jpeg
kde libwww lzw lzw-tiff mad maildir mikmod motif mozilla moznocompose moznoirc
moznomail mp3 mpeg msn multilib ncurses nls nvidia offensive ogg oggvorbis
opengl pam pam_console pdflib perl png postgres ppds qt quicktime readline sasl
sdl spell ssl tcpd tetex tiff truetype-fonts type1-fonts unicode usb userlocales
vorbis xml xml2 xmms xpm xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Richard 2005-08-22 03:28:13 UTC
Same here. 
I had a gnome-panel error .. tried to recompile 
it wouldnt work without unmasking packs. once they are unmasked 
i get the same error for my machine ( non amd64 ) 

< snip > 
/../../../i686-pc-linux-gnu/lib /usr/lib/libglib-2.0.so /usr/lib/libpopt.so
panel-util.o: In function `panel_launch_desktop_file':
panel-util.c:(.text+0x8d): undefined reference to
`gnome_desktop_item_new_from_basename'
collect2: ld returned 1 exit status
make[3]: *** [gnome-panel] Error 1
< snip >

Any help appreciated.

Fuzzy 
Comment 2 John N. Laliberte (RETIRED) gentoo-dev 2005-08-22 05:07:01 UTC
first do:
emerge -av --oneshot gnome-desktop

make sure its emerging the latest gnome-desktop ( masked version ).

This occurs because you need the latest gnome-desktop before gnome-panel.

This is a known bug that we will fix before releasing 2.12.

Thanks for reporting, and report back if this fixes it!
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-09-02 13:12:36 UTC
I recently upgraded to 2.11.92, and it built fine.  In addition, the ebuild
lists >=gnome-desktop-2.11.91 as a dep, so this should not be an issue anymore.