Summary: | Latest perl and SVK does not work | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Hans Petter Selasky <hselasky> | ||||
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Some People | CC: | pi, rafan | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Reproduced on 10.0p9 with perl 5.20. cd /usr/local/lib/perl5/site_perl/5.20/SVK vi Util.pm replace use autouse 'List::Util' => qw( max(@) ); with use List::Util; makes svk usable again. Created attachment 148277 [details]
patch to fix autouse issue
This project is not maintained anymore upstream. I didn't find anything on Ubuntu, but I found something potentially interesting in pkgsrc: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/svk/ (as Kurt noted in https://lists.freebsd.org/pipermail/freebsd-current/2014-October/052673.html , this might be hinting at another issue and SVK is just experiencing fallout from the autouse module bug). Given that the last time rafan@ has been involved with a commit to this port was back in 2010, I'd ask if he wants to release the port. This PR timed out. Technically Kurt has the right to commit his patch now. However, based on Garrett's comment, I'm not moving it to patch ready. Furthermore, based on the blowback Hans Petter got when he mentioned he used the tool, I'd say there's a discussion to be had to remove the port completely. For now, I'm going to move this from "approval needed" back to "in discussion" and let you guys figure it out. (In reply to John Marino from comment #4) > For now, I'm going to move this from "approval needed" back to "in > discussion" and let you guys figure it out. I've asked on ports@, and I asked hps and depending on the outcome... Sorry for the late. But feel free to take over the ports if anyone is interested in keeping it running on FreeBSD. The upstream stopped the development a long time ago. I don't know if it's still that useful nowadays. This change was committed in PR 198820 |
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