Subject: pkg/26092: perl-5.8.4nb1 build failure on powerpc
To: None <gnats-bugs@gnats.NetBSD.org>
From: Klaus Klein <kleink@reziprozitaet.de>
List: pkgsrc-bugs
Date: 06/28/2004 00:17:08
>Number:         26092
>Category:       pkg
>Synopsis:       perl-5.8.4nb1 build failure on powerpc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 27 22:18:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Klaus Klein
>Release:        NetBSD 2.0F
>Organization:
Frobozz Magic Standards Company
>Environment:
System: NetBSD highland-park.et.reziprozitaet.de 2.0F NetBSD 2.0F (GENERIC) #14: Fri Jun 25 21:52:39 CEST 2004 kleink@minor-variation.et.reziprozitaet.de:/export/home/kleink/work/NetBSD/src/sys/arch/prep/compile/GENERIC prep
Architecture: powerpc
Machine: prep
Compiler: gcc version 3.3.3 (NetBSD nb3 20040520)
>Description:
	perl-5.8.4nb1 fails to build.

>How-To-Repeat:
	cd lang/perl58 && make.  Famous last words from the second stage (work/static):

	gcc -Wl,-R/usr/pkg/lib  -L/usr/pkg/lib -o miniperl  miniperlmain.o opmini.o libperl.a -lm -lcrypt
	./miniperl -w -Ilib -MExporter -e '<?>' || /usr/bin/make minitest
	Attempt to free unreferenced scalar: SV 0x190b5c8.
	./miniperl -Ilib configpm configpm.tmp
	Use of uninitialized value in null operation at configpm line 666.
	Undefined subroutine &main:: called at configpm line 666.
	*** Error code 255

	configpm lines 666-669:

	die "$0: error processing $Config_PM"
		if defined($Config{'an impossible name'})
		or $Config{'PERL_CONFIG_SH'} ne 'true' # test cache
		;

>Fix:
	Please. :-)

>Release-Note:
>Audit-Trail:
>Unformatted: