Re: Problem with perl and SVK

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Mon, 13 Oct 2014 21:08:05 +0200
On 10/13/14 20:55, Hans Petter Selasky wrote:
> On 10/13/14 20:37, Kurt Jaeger wrote:
>> Hi!
>>
>>> When updating the system to the latest perl and SVK version in ports, I
>>> am seeing this:
>> [...]
>>
>> I'm seeing the same on 10.0p9 and perl 5.20.
>>
>>> Any ideas how to fix?
>>
>> This seems to bringt svk back in the game:
>>
>> cd /usr/local/lib/perl5/site_perl/5.20/SVK
>> vi Util.pm
>>
>> replace
>>
>> use autouse 'List::Util'        => qw( max(_at_) );
>>
>> with
>>
>> use List::Util;
>>
>> but a short test shows:
>>
>> $ svk
>> Use of uninitialized value $ARGV[0] in ucfirst at
>> /usr/local/lib/perl5/site_perl/5.20/App/CLI/Command.pm line 116.
>>      SVK Documentation - Main index:
>> [...]
>>
>> so the root cause is somewhere deeper.
>>
>
> Hi,
>
> Using "use List::Util;" instead of autouse fixes the "svk diff" at least
> over here.
>
> --HPS

Hi,

Seems to work:

https://svnweb.freebsd.org/changeset/base/273059

The other perl warning has always been there.

Will someone make a patch for the SVK port?

--HPS
Received on Mon Oct 13 2014 - 17:08:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC