From needo@cerebro.superhero.org  Fri Jun  1 21:34:12 2001
Return-Path: <needo@cerebro.superhero.org>
Received: from pendragon.tacni.net (mail.tacni.net [216.178.136.165])
	by hub.freebsd.org (Postfix) with SMTP id 0CE7A37B43C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  1 Jun 2001 21:34:12 -0700 (PDT)
	(envelope-from needo@cerebro.superhero.org)
Received: (qmail 79240 invoked by alias); 2 Jun 2001 04:34:10 -0000
Received: from unknown (HELO cerebro.superhero.org) (216.201.173.186)
  by ns2.sohos.net with SMTP; 2 Jun 2001 04:34:10 -0000
Received: (qmail 84971 invoked by uid 1000); 2 Jun 2001 04:35:18 -0000
Message-Id: <20010602043518.84970.qmail@cerebro.superhero.org>
Date: 2 Jun 2001 04:35:18 -0000
From: Erich Zigler <erich@tacni.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: eperl fails to build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         27828
>Category:       ports
>Synopsis:       /usr/ports/lang/eperl fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tobez
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 01 21:40:02 PDT 2001
>Closed-Date:    Tue Jun 26 16:32:21 PDT 2001
>Last-Modified:  Tue Jun 26 16:33:25 PDT 2001
>Originator:     
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD cerebro.superhero.org 4.3-STABLE FreeBSD 4.3-STABLE #0: Thu May 3 10:58:53 CDT 2001 root@cerebro.superhero.org:/usr/obj/usr/src/sys/CEREBRO i386

>Description:
	Eperl fails to build

===>  Building for eperl-2.2.14
cc  -pthread -I/usr/libdata/perl/5.00503/mach/CORE -I. -c eperl_main.c
/usr/bin/perl5.00503 eperl_perl5_sm.pl >eperl_perl5_sm.h
cc  -pthread -I/usr/libdata/perl/5.00503/mach/CORE -I. -c eperl_perl5.c
eperl_perl5.c: In function `Perl5_ForceUnbufferedStdout':
eperl_perl5.c:74: `thr' undeclared (first use in this function)
eperl_perl5.c:74: (Each undeclared identifier is reported only once
eperl_perl5.c:74: for each function it appears in.)
eperl_perl5.c: In function `Perl5_SetScalar':
eperl_perl5.c:103: `thr' undeclared (first use in this function)
*** Error code 1

>How-To-Repeat:
	cd /usr/ports/lang/eperl
	make
>Fix:

	No idea.
>Release-Note:
>Audit-Trail:

From: Anton Berezin <tobez@tobez.org>
To: Erich Zigler <erich@tacni.net>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/27828: eperl fails to build
Date: Mon, 11 Jun 2001 13:19:48 +0200

 On Sat, Jun 02, 2001 at 04:35:18AM -0000, Erich Zigler wrote:
 
 > 	Eperl fails to build
 > 
 > ===>  Building for eperl-2.2.14
 > cc  -pthread -I/usr/libdata/perl/5.00503/mach/CORE -I. -c eperl_main.c
 > /usr/bin/perl5.00503 eperl_perl5_sm.pl >eperl_perl5_sm.h
 > cc  -pthread -I/usr/libdata/perl/5.00503/mach/CORE -I. -c eperl_perl5.c
 > eperl_perl5.c: In function `Perl5_ForceUnbufferedStdout':
 > eperl_perl5.c:74: `thr' undeclared (first use in this function)
 > eperl_perl5.c:74: (Each undeclared identifier is reported only once
 > eperl_perl5.c:74: for each function it appears in.)
 > eperl_perl5.c: In function `Perl5_SetScalar':
 > eperl_perl5.c:103: `thr' undeclared (first use in this function)
 > *** Error code 1
 
 Eperl is apparently not compatible with threaded perl.  The error above
 is produced because of
 
    #define PL_defoutgv          (thr->Tdefoutgv)
 
 in the threaded Perl headers, and the fact that the
 Perl5_ForceUnbufferedStdout() function in eperl_perl5.c does not use
 dARGS macro properly.
 
 Though it is likely possible to fix the port (or eperl itself), the best
 solution is to not use threaded perl at all - it is evil.  Most recent
 versions of FreeBSD do not have the possibility to build threaded Perl
 in the base system any longer (of course, one can always build such
 manually).
 
 So, to solve your problem, either upgrade to the most recent -STABLE, or
 comment out PERL_THREADED=true in your /etc/make.conf and rebuild the
 system (or just perl).
 
 Cheers,
 +Anton.
 -- 
 May the tuna salad be with you.
State-Changed-From-To: open->feedback 
State-Changed-By: tobez 
State-Changed-When: Mon Jun 11 13:04:26 PDT 2001 
State-Changed-Why:  
Please let us know whether using non-threaded Perl fixes the problem. 


Responsible-Changed-From-To: freebsd-ports->tobez 
Responsible-Changed-By: tobez 
Responsible-Changed-When: Mon Jun 11 13:04:26 PDT 2001 
Responsible-Changed-Why:  
I'll take care of this. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27828 
State-Changed-From-To: feedback->closed 
State-Changed-By: tobez 
State-Changed-When: Tue Jun 26 16:32:21 PDT 2001 
State-Changed-Why:  
No response from the originator. 

Anyway, it is most likely the threaded Perl issue. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27828 
>Unformatted:
