Subject: Runaway miniperl in attempt to build perl5-base pkg under SPARC64
To: None <port-sparc@NetBSD.ORG>
From: Greg Earle <earle@isolar.DynDNS.ORG>
List: tech-pkg
Date: 01/30/2001 19:38:08
OK, I got the fixed "ld" and "cpp" for NetBSD/SPARC64 1.5, and now I can
compile stuff - so I decided to first attack VNC, which requires Perl 5
at some point.

The make gets down into the directory


and when it runs

../../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl

the "miniperl" runs away with the CPU, and "ktrace" shows that it's doing
nothing but spinning its wheels in the compile.  Note the "TIME" field below:

netbsd4me# ps -axwwtp1
 5003 p1 Ss     0:00.58 -csh 
10209 p1 I      0:00.12 make 
10237 p1 I      0:00.02 /bin/sh -ec cd /usr/pkgsrc/lang/perl5-base && make OPSYS=NetBSD OS_VERSION=1.5 LOWER_OPSYS=netbsd PKGTOOLS_
10238 p1 I      0:00.16 make OPSYS NetBSD OS_VERSION 1.5 LOWER_OPSYS 
10244 p1 I      0:00.02 /bin/sh -ec cd /usr/pkgsrc/lang/perl5-base && /usr/bin/env LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5-b
10245 p1 I      0:00.19 make OPSYS NetBSD OS_VERSION 1.5 LOWER_OPSYS 
10246 p1 I      0:00.08 /bin/sh -ec cd /usr/pkgsrc/lang/perl5-base/work/perl-5.6.0 && /usr/bin/env LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5-base/work/perl-5.6.0 LDFLAGS=" -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib" PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/X11R6/bin PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/X11R6 CFLAGS="-O" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555"  BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555"  BSD_INSTALL_DATA="install -c -o root -g wheel -m 444"  BSD_INSTALL_MAN="install -c -o root -g wheel -m 444"  BSD_INSTALL_PROGRAM_DIR="install -d -o root -g wheel -m 555"  BSD_INSTALL_SCRIPT_DIR="install -d -o root -g wheel -m 555"  BSD_INSTALL_DATA_DIR="install -d -o root -g wheel -m 555"  BSD_INSTALL_MAN_DIR="install -d -o root -g wheel -m 555" make  -f Makefile all
10247 p1 I      0:00.19 make -f Makefile all 
10324 p1 I      0:00.02 /bin/sh -ec LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5-base/work/perl-5.6.0:/usr/pkgsrc/lang/perl5-base/work/perl-5.6.0 sh ext/util/make_ext static lib/auto/DynaLoader/DynaLoader.a MAKE=make
10325 p1 I      0:00.12 sh ext/util/make_ext static lib/auto/DynaLoader/DynaLoader.a MAKE=make 
10335 p1 R    137:57.26 ../../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl

Anyone else tried to build Perl 5.6.0 base on 1.5/SPARC64?  This is with the
vanilla 1.5 lang/perl5-base btw; haven't looked to see if the package has
changed at all in -current pkgsrc.

	- Greg