Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26458 - Xchat won't load PERL plugin unde rperl -r12
Summary: Xchat won't load PERL plugin unde rperl -r12
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 29755 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-11 22:52 UTC by Evan Langlois
Modified: 2003-10-24 06:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Langlois 2003-08-11 22:52:50 UTC
When you try to load the perl interface, the following error is displayed.

/usr/lib/xchat/plugins/perl.so: undefined symbol: Perl_Iperl_destruct_level_ptr

I'm almost 100% positive this is due to the new version of perl being installed,
and even though xchat was re-emerged, it still doesn't like it, so there has
been some sort of API change I'm guessing.  This happened with xchat-2.0.3 as well.

The versions of the software involved ...[ebuild   R   ] net-irc/xchat-2.0.4 
+perl +tcltk +python +ssl +gtk +mmx -ipv6 +nls
[ebuild   R   ] dev-lang/perl-5.8.0-r12  +berkdb -doc +gdbm +threads
[ebuild   R   ] sys-devel/gcc-3.2.3-r2  -static +nls -bootstrap +java -build
[ebuild   R   ] x11-base/xfree-4.3.0-r3  -3dfx -sse +mmx +3dnow +xml2 +truetype
+nls -cjk -doc -ipv6 -debug -static
[ebuild   R   ] x11-libs/gtk+-2.2.1-r1  +tiff -doc +jpeg -debug
[ebuild   R   ] gnome-base/gnome-2.2.1

All built on a K6-2 with march=k6-2 and -O3
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-08-31 02:39:46 UTC
hmm .. the perl plugin seems to work for me for 2.0.4.

are you sure your sys-devel/libperl is up to date?
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-09-17 10:41:04 UTC
no activity here? 

-march=k6-2 is not safe to use. please use -march=i686 or -mcpu=k6-2 instead and you probably should emerge perl libperl and xchat again, that is probably related:

http://bugs.gentoo.org/show_bug.cgi?id=24379

if that still doesn't work, then paste output of emerge info.
Comment 3 Evan Langlois 2003-09-17 22:16:49 UTC
Are you sure this is because of a compiler flag?  I haven't had other issues with -march=k6-2, except on much older versions of GCC.  The problem started with the new version of perl.  Can you tell me what other issues might be related to the k6-2 compiler flag?

Can you verify that recent versions of xchat load the perl module when the perl version is perl-5.8.0-r12 ??  The undefined symbol looks more like an API change than a compiler bug, at least to me.

I want to be absolutely sure will work before compiling perl again.  Thats a bit time consuming on a k6-2 !!
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-09-18 02:18:56 UTC
i've got perl-5.8.0-r12 and libperl-5.8.0 with xchat-2.0.4 and my perl plugin loads up fine without any problems.

 Tcl plugin for XChat - Version 1.0.42
 Copyright 2002-2003 Daniel P. Stasinski
 http://www.scriptkitties.com/tclplugin/
 Tcl interface loaded
 Python interface loaded
 Perl interface loaded

you still haven't pasted your emerge info
Comment 5 Evan Langlois 2003-09-18 17:48:10 UTC
Here you go :

ssd root # emerge -pv perl xchat
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild   R   ] dev-lang/perl-5.8.0-r12  +berkdb -doc +gdbm +threads
[ebuild   R   ] net-irc/xchat-2.0.4  +perl +tcltk +python +ssl +gtk +mmx -ipv6 +nls -xchattext -xchatnogtk
 
ssd root # emerge info
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)=================================================================
System uname: 2.4.20-gentoo-r6 i586 AMD-K6(tm) 3D processor
distcc 2.10 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-2 -O3 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=k6-2 -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.ccccom.com ftp://gentoo.noved.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline tetex aalib nas bonobo svga ggi tcltk java guile ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk motif opengl mozilla ldap snmp cdr 3ds acl amd apache2 ardour-ksi bindist bots cscope curl dga dnd dvd ethereal evms2 evo fbcon fbdev flash fluidsynth freetds gb gd gd-external ginac gmtfull gmthigh gmtsuppl gmttria gnomedb gphoto2 gstreamer gtk2 hbci imagemagick innodb jack jack-tmpfs jikes justify ladcca lcms libdsk libgda libww lids lirc ltsp maildir matroska matrox mcal md5sum mdb memlimit mng moznoirc moznomail mozsvg mpi music oav objc oci8 odbc offensive ofx openal parse-clocks pda pic plotutils pnp ppds prebuilt prelude qhull samba sasl scanner slp sox sqlite stroke threads tiff transcode trusted type1 usb v4l vim-with-x wmf wx wxwindows Xaw3d xinerama xosd xvid zeo -arts -qt -kde" 

Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-10-10 14:58:14 UTC
*** Bug 29755 has been marked as a duplicate of this bug. ***
Comment 7 Park Ji-in 2003-10-11 03:04:47 UTC
I posted the bug-29755, so I have same problem.

after reading this bug,

I've re-emerge libperl, then it works again. I don't know what's the reason,
however.
Comment 8 foser (RETIRED) gentoo-dev 2003-10-12 09:47:09 UTC
perl team : any clue why rebuilding libperl would help so we can close this
issue ? Maybe leftovers from an old build in some way ?
Comment 9 Park Ji-in 2003-10-13 07:42:29 UTC
sorry, I just think, "remerge then what will happen?" , and it works.
It's all. and I didnt left the old one's emerge info.. so It's now X-file
:-) 
Comment 10 Mario Vazquez 2003-10-23 17:32:47 UTC
Got the same problem, re-emerge perl and xchat and do not work.  Later unmerge
and emerge again libperl, perl and xchat and now it works.

My emerge info:
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.22-ck2)
=================================================================
System uname: 2.4.22-ck2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer
-pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer
-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://gentoo.mirrors.pair.com/ ftp://gentoo.noved.org/"
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="x86 oss avi crypt cups encode gif gpm jpeg mad mikmod motif mpeg ncurses
nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa slang readline
svga tcltk java X sdl tcpd pam ssl perl python esd imlib oggvorbis gnome
gtk opengl mozilla cdr acpi autofs berkdb breakme dga doc dvd ethereal fbcon
flash gtk2 gtkhtml ipv6 mldonkeypango mmx pcmcia pnp radeon sse threads tiff
type1 usb videos wmf -apm -arts -foomaticdb -kde -libg++ -libwww -qt -gdbm
video_cards_radeon"
 
Comment 11 foser (RETIRED) gentoo-dev 2003-10-24 06:51:00 UTC
doesn't look like the perl guys can shed some light on this (?)

Closing as WORKSFORME, becuase it can't be reproduced.