Bug 61567 - Gaim's Perl plugin API exhibits strange silent failures
Summary: Gaim's Perl plugin API exhibits strange silent failures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-19 05:00 UTC by Christopher Nehren
Modified: 2004-02-27 20:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Nehren 2004-01-19 05:00:41 UTC
The Perl API for Gaim is flat-out broken in Gaim 0.75 (I can't get it to detect
or load any scripts at all), and the one in Gaim 0.74 silently fails when trying
to access at the very least Gaim::Account object methods. I've tested numerous 
scripts, including the fortune script that ships with Gaim (which by the way 
needs to be fixed to not try to execute 'fortune -ns' as the -n option doesn't
exist on FreeBSD). The most curious thing about these failures is that they're
_all_ silent, except for the one with fortune.

Fix: 

None known. I've never touched XS and I barely know how to do "Hello World" in
C.
How-To-Repeat: Install Gaim (I've tested 0.74 and 0.75 on the systems above, with both Perl
5.8.3 on 5.2-R (see my previous PR, #61444) and Perl 5.8.2 on 4.9-S), try to use
the Perl API. I've tested the same scripts on both of the machines listed above,
and the problems recur.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2004-01-19 13:51:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

over to maintainer
Comment 2 jblomo 2004-02-02 09:04:56 UTC
Just confirming this behaivior on
FreeBSD 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003
root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC  i386

~$ gaim --version
Gaim 0.75
~$ gaim --debug
plugins: probing /usr/X11R6/lib/gaim/perl.so
plugins: /usr/X11R6/lib/gaim/perl.so is unloadable: Unknown error.
...

compiled with WITHOUT_NSS, WITHOUT_GNUTLS, WITHOUT_AUDIO,
WITHOUT_GTKSPELL

~$ perl --version

This is perl, v5.8.2 built for i386-freebsd
...

~$ perl -MGaim -e 'print "hello world"'
/usr/libexec/ld-elf.so.1:
/usr/local/lib/perl5/site_perl/5.8.2/mach/auto/Gaim/Gaim.so: Undefined
symbol "gaim_perl_callXS"

Thanks,

Jim
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-02-27 20:22:42 UTC
State Changed
From-To: open->closed

This should be fixed in gaim-0.75_7.