Skip Menu |

This queue is for tickets about the Net-Shadowsocks CPAN distribution.

Report information
The Basics
Id: 120212
Status: resolved
Worked: 8 hours (480 min)
Priority: 0/
Queue: Net-Shadowsocks

People
Owner: LZH [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bareword "Mcrypt::CTR" not allowed while "strict subs" in use (0.7.0)
Tests fail: ... # Failed test 'Net/Shadowsocks.pm loaded ok' # at t/00-compile.t line 44. # got: '512' # expected: '0' Bareword "Mcrypt::CTR" not allowed while "strict subs" in use at /tmpfs/.cpan-build-cpansand/2017021215/Net-Shadowsocks-0.7.0-UAVr5K/blib/lib/Net/Shadowsocks.pm line 63. Bareword "Mcrypt::CTR" not allowed while "strict subs" in use at /tmpfs/.cpan-build-cpansand/2017021215/Net-Shadowsocks-0.7.0-UAVr5K/blib/lib/Net/Shadowsocks.pm line 63. Compilation failed in require at -e line 1. (etc.) ... Additionally, I notice that some prereq versions are quite high, e.g. IO::Handle => 1.36. Is this really necessary (I think not), as it forces users of older perls to upgrade somehow these modules (which is probably not possible using normal cpan installers, because it's not available as a dual life module...)?
在 2017-二月-12 11:47:55 星期日 時,SREZIC 寫到: Show quoted text
> Tests fail: > > ... > # Failed test 'Net/Shadowsocks.pm loaded ok' > # at t/00-compile.t line 44. > # got: '512' > # expected: '0' > Bareword "Mcrypt::CTR" not allowed while "strict subs" in use at > /tmpfs/.cpan-build-cpansand/2017021215/Net-Shadowsocks-0.7.0- > UAVr5K/blib/lib/Net/Shadowsocks.pm line 63. > Bareword "Mcrypt::CTR" not allowed while "strict subs" in use at > /tmpfs/.cpan-build-cpansand/2017021215/Net-Shadowsocks-0.7.0- > UAVr5K/blib/lib/Net/Shadowsocks.pm line 63. > Compilation failed in require at -e line 1. > (etc.) > ... > > > Additionally, I notice that some prereq versions are quite high, e.g. > IO::Handle => 1.36. Is this really necessary (I think not), as it > forces users of older perls to upgrade somehow these modules (which is > probably not possible using normal cpan installers, because it's not > available as a dual life module...)?
Thank you for pointing out this issue. There was an explaintion on why CTR mode will not work with stock libmcrypt and Mcrypt module in the POD of 0.7.0. I have a local patched version of libmcrypt and Mcrypt so "Mcrypt::CTR" is not a bareword on my system but this is not the case for others. so the temporary fix is to comment out two lines of code using "Mcrypt::CTR". I have resolved it in the 0.7.1 release.