Disable thread support under Perl 5.8 We got some mysterious CPAN Testers failures with several 5.8 releases when calling Err_get_error from a thread. Disable thread support under Perl 5.8, even if 5.8.9 seems to work. (Note that version 5.10.0 has already been blacklisted.)
http://matrix.cpantesters.org/?dist=Clownfish+0.6.2 http://www.cpantesters.org/cpan/report/4c2e4fd2-cf8c-11e7-b8bd-809199b835e7 http://www.cpantesters.org/cpan/report/a93c273a-cf8c-11e7-b8bd-809199b835e7 Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/d5a9a686 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/d5a9a686 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/d5a9a686 Branch: refs/heads/0.6 Commit: d5a9a6868cf241561fc3b3388f5859f2d277d154 Parents: 59d5cac Author: Nick Wellnhofer <[email protected]> Authored: Fri Nov 24 14:53:11 2017 +0100 Committer: Nick Wellnhofer <[email protected]> Committed: Fri Nov 24 15:03:12 2017 +0100 ---------------------------------------------------------------------- compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d5a9a686/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm ---------------------------------------------------------------------- diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm b/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm index 343f768..c897376 100644 --- a/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm +++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm @@ -101,7 +101,9 @@ sub ACTION_charmony { } # Perl 5.8.7 added support for CLONE_SKIP. # Thread support in 5.10.0 seems completely broken (CLOWNFISH-107). - if ( !$self->config('usethreads') || $^V lt v5.8.7 || $^V eq v5.10.0 ) { + # We also got some mysterious, thread-related CPAN Testers failures with + # several 5.8 releases, so disable thread support for 5.10.0 and earlier. + if ( !$self->config('usethreads') || $^V le v5.10.0 ) { push @command, '--disable-threads'; } push @command, (
