Subject: pkg/34254: lang/perl5 fails to build (pkgsrc-2006Q2, NetBSD-4.99.1)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <scw@netbsd.org>
List: pkgsrc-bugs
Date: 08/22/2006 11:25:00
>Number:         34254
>Category:       pkg
>Synopsis:       lang/perl5 fails to build (pkgsrc-2006Q2, NetBSD-4.99.1)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 22 11:25:00 +0000 2006
>Originator:     Steve Woodford
>Release:        NetBSD 4.99.1
>Organization:
>Environment:
System: NetBSD oor-wullie.mctavish.co.uk 4.99.1 NetBSD 4.99.1 (WULLIE-8600) #6: Mon Aug 21 21:26:36 BST 2006 root@oor-wullie.mctavish.co.uk:/sys/arch/i386/compile/WULLIE-8600 i386
Architecture: i386
Machine: i386
>Description:
On building a bunch of stuff from pkgsrc from scratch due to updated
NetBSD system, the build failed due to an error in the bowels of the
perl5 build gunk:

---------------------------------------------------------------------------
          CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/pkg/include -O2 -pthread -I/usr/include  -Wall

        Making DynaLoader (static_pic)
Processing hints file hints/netbsd.pl
Writing Makefile for DynaLoader
../../miniperl "-I../../lib" "-I../../lib" DynaLoader_pm.PL DynaLoader.pm
../../miniperl "-I../../lib" "-I../../lib" XSLoader_pm.PL XSLoader.pm
cp XSLoader.pm ../../lib/XSLoader.pm
cp DynaLoader.pm ../../lib/DynaLoader.pm
AutoSplitting ../../lib/DynaLoader.pm (../../lib/auto/DynaLoader)
rm -f DynaLoader.xs
cp dl_dlopen.xs DynaLoader.xs
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap DynaLoader.xs > DynaLoader.xsc && mv DynaLoader.xsc DynaLoader.c
cc -c    -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/pkg/include -DDLOPEN_WONT_DO_RELATIVE_PATHS -O2 -pthread -I/usr/include    -DVERSION=\"1.05\"  -DXS_VERSION=\"1.05\" -DPIC -fPIC "-I../.."  -DPERL_CORE -DLIBC="/lib/libc.so" DynaLoader.c
rm -rf ../../lib/auto/DynaLoader/DynaLoader.a
/usr/bin/ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && : ../../lib/auto/DynaLoader/DynaLoader.a
chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a

        Making  (static_pic)
Warning: No Makefile!
make: don't know how to make config. Stop

make: stopped in /u0/netbsd/pkgsrc/lang/perl5/work/perl-5.8.8/ext
/usr/bin/make config failed, continuing anyway...
make: don't know how to make all. Stop

make: stopped in /u0/netbsd/pkgsrc/lang/perl5/work/perl-5.8.8/ext
*** Error code 2

Stop.
make: stopped in /u0/netbsd/pkgsrc/lang/perl5/work/perl-5.8.8
*** Error code 1

Stop.
make: stopped in /u0/netbsd/pkgsrc/lang/perl5

===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /u0/netbsd/pkgsrc/lang/perl5/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl5

---------------------------------------------------------------------------

The work.log is available on demand.

I will try building pkgsrc-current on the same machine to see if it
is similarly afflicted.

>How-To-Repeat:
Attempt to build pkgsrc-2006Q2 lang/perl5 under NetBSD-4.99.1.

>Fix:
Unknown.