Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2014 19:09:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194337] New: Latest perl and SVK does not work
Message-ID:  <bug-194337-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194337

            Bug ID: 194337
           Summary: Latest perl and SVK does not work
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: hselasky@FreeBSD.org

Hi,

When updating the system to the latest perl and SVK version in ports, I am
seeing this:

 > svk diff .
autoused module List::Util has unique import() method at
/usr/local/lib/perl5/site_perl/5.16/SVK/Util.pm line 91.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.16/SVK/Util.pm line 91.
Compilation failed in require at /usr/local/lib/perl5/5.16/autouse.pm
line 53.

System information:

> pkg info | grep -E "svk|perl"
p5-Log-Log4perl-1.42           Log4j implementation for Perl
p5-Scalar-List-Utils-1.35,1    Perl subroutines that would be nice to have in
the perl core
p5-Storable-2.45               Persistency for perl data structures
perl5-5.16.3_11                Practical Extraction and Report Language
svk-2.2.3_3                    Distributed Version Control System

This fix makes it work again, not sure if it is right:

cd /usr/local/lib/perl5/site_perl/5.20/SVK
vi Util.pm

replace

use autouse 'List::Util'        => qw( max(@) );

with

use List::Util;

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194337-13>