The test suite fails with perl 5.25.12 (various operating systems: freebsd 10, linux debian jessie & stretch, ubuntu 16.04, centos7; both unthreaded and threaded builds):
# Failed test 'incorrectly initialize an object from an inline hash: non-string key' # # at t/gd_oo_tests.t line 269. # # Looks like you failed 1 test of 32. # t/gd_oo_tests.t ................. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/32 subtests
I don't see this failure wth perl 5.25.11 or earlier, so it could be a perl regression.
Could it be a GD/PDL regression? On the smoker without libgd I have no problem with PDL, on the other smoker with libgd I fail this test regardless which perl version.
It seems to be a problem with the pure perl implementation of List::MoreUtils.
Works as expected:
Is causing the test failure:
For some reason the XS implementation of List::MoreUtils does not get build for perl 5.25.12, hence the impression that the test fails only for 5.25.12.
Actually it seems to be a problem with the usage of
@_
in the test script:That never worked with pure-Perl List::MoreUtils. The none is defined as:
That means the
@_
is changed into empty list when entering$f->()
subroutine. It works in the XS implementation because the$$f
is called directly on each argument list item.I'm not expert on lexical scoping but
@_
seems to be a special case in contrast to other named arrays.Last edit: Petr Písař 2017-04-26
I just realized that List::MoreUtils::XS is a separate distribution which may or may not be installed.
A work-around to work with pure-Perl List::MoreUtils.
Thanks for the patch and catching the bitrot. I haven't been able to monitor the CPAN Testers status properly due to issues with the database and ones with the web display which, when it has data, often will fail to show any test results even when the summary says otherwise.
The patch has been applied and in the CPAN developers release CHM/PDL-2.017_01.tar.gz which will be released as PDL-2.018 once correct operation is confirmed.
I would like to see this released, any chance to have PDL-2.018?
It looks like CPAN Testers reports are coming in again and that the latest
developer release is good. @kmx: is a release this weekend soon enough for
you (there is one more thing I'm working to finish for 2.018)?
On Mon, May 15, 2017 at 4:14 AM, kmx kmx1@users.sf.net wrote:
Related
Bugs:
#432This weekend would be absolutely great, thanks.