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

Bug 19568

Summary: gaim-0.61 with perl won't link: perl.o has undefined references
Product: Gentoo Linux Reporter: Greg <gb006k>
Component: Current packagesAssignee: Seth Chandler <sethbc>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Greg 2003-04-18 13:27:17 UTC
Here is what happens when i merge: 
 
>>> emerge (2 of 2) net-im/gaim-0.61 to / 
>>> md5 ;-) gaim-0.61.tar.bz2 
>>> md5 ;-) encrypt-1.18.tar.gz 
>>> Unpacking source... 
>>> Unpacking gaim-0.61.tar.bz2 to /var/tmp/portage/gaim-0.61/work 
ssl 
>>> Unpacking encrypt-1.18.tar.gz to 
/var/tmp/portage/gaim-0.61/work/gaim-0.61/plugins 
 * Applying patchfile.0.61...                                                                          [ ok ] 
>>> Source unpacked. 
perl 
spell 
nls 
 
[snip] 
 
/bin/sh ../libtool --silent --mode=link gcc  -march=athlon-tbird -O3 -pipe 
-fomit-frame-pointer -I/opt/includ 
e -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/pango-1.0 -I/u 
sr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -DG_DISABLE_D 
EPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED 
-DGTK_DISABLE_DEPRECATED  -o gaim -export- 
dynamic about.o away.o browser.o buddy.o buddy_chat.o conversation.o core.o 
dialogs.o dnd-hints.o ft.o gaim-d 
isclosure.o gaimrc.o gtkcellrendererprogress.o gtkconv.o gtkft.o gtkimhtml.o 
gtkpounce.o gtkutils.o html.o id 
le.o list.o log.o main.o md5.o module.o multi.o perl.o pounce.o prefs.o proxy.o prpl.o 
server.o session.o soc 
ket.o sound.o stock.o themes.o util.o -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgdk_pixbuf 
-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0    -L/usr/lib -l 
ao -ldl -L/usr/lib -laudiofile -lm              -rdynamic -L/usr/local/lib 
/usr/lib/perl5/5.8.0/i686-linux-th 
read-multi/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -lperl -lpthread 
-lnsl -ldl -lm -lcrypt -lutil   -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext  -L/usr/X11R6/lib  -lXss      
-L/us 
r/X11R6/lib -lSM -lICE          -Wl,--export-dynamic -lgtkspell -lpspell -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1. 
0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 
-lgmodule-2.0 -ldl -lglib-2.0 
-lnsl 
perl.o(.text+0x32e): In function `probe_perl': 
: undefined reference to `Perl_Gthr_key_ptr' 
perl.o(.text+0x340): In function `probe_perl': 
: undefined reference to `Perl_Tstack_sp_ptr' 
perl.o(.text+0x34e): In function `probe_perl': 
: undefined reference to `Perl_Gthr_key_ptr' 
perl.o(.text+0x36c): In function `probe_perl': 
: undefined reference to `Perl_Gthr_key_ptr' 
perl.o(.text+0x37e): In function `probe_perl': 
 
lots more of the above errors with perl.o. 

Reproducible: Always
Steps to Reproduce:
Make sure your USE includes "perl", then 
emerge gaim 
Actual Results:  
the errors 

Expected Results:  
sucessful emerge 

I had gaim 0.59.8 before. I never got gaim-0.59.8-r1 to emerge because it also had 
build problems. Also, I have perl 5.8.0-r10. 
 
# emerge info 
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.19-r1 i686 AMD Athlon(tm) processor 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 3dnow libg++ libwww mikmod nls spell xml2 zlib gdbm berkdb slang bonobo 
svga tcltk java guile mysql sdl tcpd python imlib oggvorbis gtk motif ldap cdr scanner 
arts gnome gtk2 gtkhtml alsa esd avi crypt gif pda matrox apm encode gphoto2 gpm 
imap cups dga fbcon jpeg kde mozilla mmx mpeg ncurses opengl oss pam pdflib png qt 
qtmt quicktime readline samba sasl ssl threads truetype perl usb wmf xmms X xv" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j4" 
AUTOCLEAN="yes" 
SYNC="rsync://vivid.cif.rochester.edu/gentoo-portage" 
FEATURES="sandbox ccache distcc"
Comment 1 Seth Chandler 2003-04-18 13:41:53 UTC
did you tell perl to merge with threads?
Comment 2 Seth Chandler 2003-04-19 14:41:45 UTC
well take threads out of your use variable and remerge perl, then emrege gaim

gaim doesn't play nie with perl threads