Subject: Re: 2.0_BETA macppc and Perl 5.8 from pkgsrc
To: Lasse_Hiller=F8e_Petersen <lhp+news@toft-hp.dk>
From: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <timo.schoeler@macfinity.net>
List: netbsd-help
Date: 09/12/2004 12:14:18
> Given that 2.0 mostly appears to be delayed due to IPF, which I don't
> use, I decided to go ahead and install a pair of machines with 2.0BETA.
> The machines being an AMD K6-2 and an iMac.
>
> I am using the build from releng.netbsd.org dated 2004-09-05 for both
> machines. The pkgsrc I am using is from 2004-09-04.
>
> The AMD machine works fine.
>
> But I get the following error on the macppc when building perl58:
>
> /usr/bin/ar rcu libperl.a perl.o  gv.o toke.o perly.o op.o pad.o
> regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o 
> pp.o
> scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o
> universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o
> pp_pack.o pp_sort.o
> `sh  cflags "optimize='-O2'" miniperlmain.o`  miniperlmain.c
>           CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing
> -I/usr/pkg/include -O2  -Wall
> rm -f opmini.c
> cp op.c opmini.c
> `sh  cflags "optimize='-O2'" opmini.o`  -DPERL_EXTERNAL_GLOB opmini.c
>           CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing
> -I/usr/pkg/include -O2  -Wall
> rm -f opmini.c
> 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 0x190b950.
> ./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
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl58/work/static/perl-5.8.4
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl58
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl58
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl58
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl58
> d at configpm line 666.
> *** Error code 255
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl58/work/static/perl-5.8.4
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl58
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl58
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl58
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/perl58
> #
>
> Do you have any idea what causes this, and what I should do about it?
>
>
> -Lasse

hi lasse,

same here (macppc on G4), and AFAIR i had/have the same problem on 
sparc64.

however, as a quick'n'dirty workaround i fetched the binary packages 
(although it's still 5.8.1nb_something) and installed it via pkg_add -- 
at least this resolves my dependencies.

as soon as i have time for it, i'll try to fix that (NB: i'm not the 
maintainer ;).

ps: have some weird messages & failing in graphics/tiff -- did you run 
into this too (no err messages handy, sorry)?

-- 
mit vorzueglichster Hochachtung/best regards,

Timo Schoeler
//macfinity -- finest IT services | Triftstrasse 39 | 13353 Berlin | 
Germany
Fon ++49 30 25 20 30 20 | Fax ++49 30 25 20 30 19
PGP data http://www.macfinity.net/~tis/contact/PGPPKB_timo.schoeler.txt