Subject: pkg/28580: default pkgsrc perl58 won't build on 2.0
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <carl@bl.echidna.id.au>
List: pkgsrc-bugs
Date: 12/07/2004 21:42:01
>Number:         28580
>Category:       pkg
>Synopsis:       default pkgsrc perl58 won't build on 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 07 21:42:01 +0000 2004
>Originator:     Carl Brewer
>Release:        2.0
>Organization:
>Environment:
NetBSD  2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec  1 10:58:25 UTC 2004  builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
this is a dupe of 25427, but that dates back to May and it looks like it may have been forgotten.  With 2.0 on the doorstep, this probably
wants fixing now.

a vanilla install of 2.0, with pkgsrc as of about 10 mins ago
won't build perl58 (threaded).  Setting PERL5_USE_THREADS=No
in /etc/mk.conf "fixes" it. The default is to build threaded perl58,
which chokes - see 25427



>How-To-Repeat:
generic install of 2.0(i386)
grab pkgsrc
cd /usr/pkgsrc/lang/perl58
make

>Fix:
Set PERL5_USE_THREADS=No in /etc/mk.conf
Or change the default to unthreaded?