From owner-freebsd-current Sun Jun 25 21:17:23 2000 Delivered-To: freebsd-current@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 78F5E37B5EF; Sun, 25 Jun 2000 21:17:17 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id VAA02221; Sun, 25 Jun 2000 21:17:08 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <3956D943.5A898BE9@gorean.org> Date: Sun, 25 Jun 2000 21:17:07 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0603 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Dampure, Pierre Y." Cc: current@FreeBSD.ORG, Mark Murray Subject: Re: Vendor import of Perl 5.6 References: <395651B3.441FACFB@alveley.org> Content-Type: multipart/mixed; boundary="------------A59763508FAEFA8A720AAC6C" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------A59763508FAEFA8A720AAC6C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Dampure, Pierre Y." wrote: > > Apologies if this has already been reported, but `make world` is > currently failing when trying to generate Config.pm for the newly > imported Perl 5.6 (failure at line 20 of configpm) Second that. Clean /usr/obj, make cleandir in /usr/src, problem still there. cd /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl; make build-tools cd /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl && make build-tools Extracting config.h (with variable substitutions) Extracting cflags (with variable substitutions) Extracting writemain (with variable substitutions) Extracting myconfig (with variable substitutions) Invalid conversion in sprintf: "%v" at /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm line 20. Use of uninitialized value at /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm line 432. /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm: Config.pm not valid at /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm line 432. *** Error code 255 Even when I got past that problem by setting '$myver = $];' in configpm, the next problem that came up was: Use of uninitialized value at /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm line 433. /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm: Config.pm not valid at /usr/amd/realmounts/slave/usr/current/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/configpm line 433. *** Error code 255 This indicates to me that configpm is not reading Config.pm from the obj directory, which does contain the correct value that configpm is looking for at line 433. I'm not sure what the fix is, but hopefully this'll help mark down the road. Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? --------------A59763508FAEFA8A720AAC6C Content-Type: text/plain; charset=us-ascii; name="perlfix" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="perlfix" Index: configpm =================================================================== RCS file: /usr/ncvs/src/contrib/perl5/configpm,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 configpm --- configpm 2000/06/25 11:02:51 1.1.1.2 +++ configpm 2000/06/26 03:58:14 @@ -17,7 +17,8 @@ open CONFIG, ">$config_pm" or die "Can't open $config_pm: $!\n"; -$myver = sprintf "v%vd", $^V; +#$myver = sprintf "v%vd", $^V; +$myver = $]; print CONFIG <<'ENDOFBEG_NOQ', <<"ENDOFBEG"; package Config; --------------A59763508FAEFA8A720AAC6C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message