From apeiron@prophecy.dyndns.org  Sun Jan 18 20:55:56 2004
Return-Path: <apeiron@prophecy.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6A77816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Jan 2004 20:55:56 -0800 (PST)
Received: from prophecy.dyndns.org (pcp08490587pcs.levtwn01.pa.comcast.net [68.83.169.224])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CDCE443D3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Jan 2004 20:55:54 -0800 (PST)
	(envelope-from apeiron@prophecy.dyndns.org)
Received: from prophecy.dyndns.org (localhost.dyndns.org [127.0.0.1])
	by prophecy.dyndns.org (8.12.10/8.12.10) with ESMTP id i0J4trt2050213
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 Jan 2004 23:55:54 -0500 (EST)
	(envelope-from apeiron@prophecy.dyndns.org)
Received: (from apeiron@localhost)
	by prophecy.dyndns.org (8.12.10/8.12.10/Submit) id i0J4trTP050212;
	Sun, 18 Jan 2004 23:55:53 -0500 (EST)
	(envelope-from apeiron)
Message-Id: <200401190455.i0J4trTP050212@prophecy.dyndns.org>
Date: Sun, 18 Jan 2004 23:55:53 -0500 (EST)
From: Christopher Nehren <apeiron@comcast.net>
Reply-To: Christopher Nehren <apeiron@comcast.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Gaim's Perl plugin API exhibits strange silent failures
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         61567
>Category:       ports
>Synopsis:       Gaim's Perl plugin API exhibits strange silent failures
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    marcus
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 18 21:00:41 PST 2004
>Closed-Date:    Fri Feb 27 12:22:58 PST 2004
>Last-Modified:  Fri Feb 27 12:22:58 PST 2004
>Originator:     Christopher Nehren
>Release:        FreeBSD 5.2-RELEASE i386, FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System 1: FreeBSD prophecy.dyndns.org 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Tue Jan 13 02:50:17 EST 2004 root@prophecy.dyndns.org:/usr/obj/usr/src/sys/PROPHECY i386 , Perl 5.8.3

System 2: FreeBSD adjunct 4.9-STABLE FreeBSD 4.9-STABLE #0: Sun Jan 18 15:27:04 EST 2004     root@adjunct:/usr/src/sys/compile/ADJUNCT i386 , Perl 5.8.2

	
>Description:
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.
>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.
>Fix:
None known. I've never touched XS and I barely know how to do "Hello World" in
C.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->marcus 
Responsible-Changed-By: arved 
Responsible-Changed-When: Mon Jan 19 05:51:04 PST 2004 
Responsible-Changed-Why:  
over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61567 

From: Jim Blomo <jblomo@uclink.berkeley.edu>
To: freebsd-gnats-submit@FreeBSD.org, apeiron@comcast.net
Cc:  
Subject: Re: ports/61567: Gaim's Perl plugin API exhibits strange silent failure
Date: Mon, 2 Feb 2004 01:04:56 -0800

 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
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Fri Feb 27 12:22:42 PST 2004 
State-Changed-Why:  
This should be fixed in gaim-0.75_7. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61567 
>Unformatted:
