Skip Menu |

This queue is for tickets about the List-MoreUtils CPAN distribution.

Report information
The Basics
Id: 123310
Status: resolved
Priority: 0/
Queue: List-MoreUtils

People
Owner: Nobody in particular
Requestors: mg8 [...] sanger.ac.uk
Cc: haarg [...] cpan.org
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.425_002
  • 0.426
Fixed in:
  • 0.427_001
  • 0.428



Subject: Failure to build the latest List::MoreUtils (0.426) under Perl interpreters without threading support
Date: Tue, 17 Oct 2017 17:25:27 +0100
To: bug-List-MoreUtils [...] rt.cpan.org, "npg [...] sanger.ac.uk" <npg [...] sanger.ac.uk>
From: Marina Gourtovaia <mg8 [...] sanger.ac.uk>
Hello I have a simple test project https://github.com/mgcam/lmu_tests that declared dependency on List::MoreUtils v. 0.425 and, when being built, tries to install the latest version of this module. The Travis builds for this project are done under a number of different Perl interpreters. The installation is unsuccessful under Perl interpreters without threading support. Is there a bug in a build process for the latest version? Kind regards Marina -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
Hi, unfortunately I have no idea what causes your build to fail - the log looks sane to me. List::MoreUtils itself builds fine with threaded and unthreaded perls, see https://travis-ci.org/perl5-utils/List-MoreUtils It's maybe the difference in trusty vs. precise?
CC: Jaime Tovar <jmtc [...] sanger.ac.uk>, "kdj [...] sanger.ac.uk" <kdj [...] sanger.ac.uk>
Subject: Re: [rt.cpan.org #123310] Failure to build the latest List::MoreUtils (0.426) under Perl interpreters without threading support
Date: Tue, 17 Oct 2017 18:34:59 +0100
To: bug-List-MoreUtils [...] rt.cpan.org
From: Marina Gourtovaia <mg8 [...] sanger.ac.uk>
Hi Jens On 17/10/2017 17:56, Jens Rehsack via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=123310 > > > Hi, > > unfortunately I have no idea what causes your build to fail - the log looks sane to me. List::MoreUtils itself builds fine with threaded and unthreaded perls, see https://travis-ci.org/perl5-utils/List-MoreUtils
Yes, we noticed that your package itself passes tests OK on all possible Perls. But... your tests do not try to get the package from CPAN and build this way. I noticed that your Travis build pre-installs some Perl packages that are later used during the build. Cannot see though why this would matter only on one type of interpreter Show quoted text
> > It's maybe the difference in trusty vs. precise?
I've tried to add trusty, we'll see. I can see you've done the same. Thanks for your help Marina -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
On Tue Oct 17 13:36:23 2017, mg8@sanger.ac.uk wrote: Show quoted text
> Hi Jens > > On 17/10/2017 17:56, Jens Rehsack via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=123310 > > > > > Hi, > > > > unfortunately I have no idea what causes your build to fail - the log > > looks sane to me. List::MoreUtils itself builds fine with threaded > > and unthreaded perls, see https://travis-ci.org/perl5-utils/List- > > MoreUtils
> Yes, we noticed that your package itself passes tests OK on all > possible > Perls. But... your tests do not try to get the package from CPAN and > build this way.
But my tests for https://travis-ci.org/perl5-utils/File-ConfigDir do that. I restarted the build to see what happens. Anyway - cpantesters do exactly the same, the download the package from CPAN, build them and report the results. See * http://matrix.cpantesters.org/?dist=List-MoreUtils+0.426 * http://www.cpantesters.org/distro/L/List-MoreUtils.html to ensure that fetch and build from CPAN works in general. Show quoted text
> I noticed that your Travis build pre-installs some Perl > packages that are later used during the build. Cannot see though why > this would matter only on one type of interpreter
This is because I do author builds. Show quoted text
> > > > It's maybe the difference in trusty vs. precise?
> I've tried to add trusty, we'll see. I can see you've done the same. > > Thanks for your help
I try my best, but I fear its something beyond my scope. Let's wait what https://travis-ci.org/perl5-utils/File-ConfigDir reports ;) Cheers, Jens
Subject: Re: [rt.cpan.org #123310] Failure to build the latest List::MoreUtils (0.426) under Perl interpreters without threading support
Date: Tue, 17 Oct 2017 19:32:02 +0100
To: bug-List-MoreUtils [...] rt.cpan.org
From: Marina Gourtovaia <mg8 [...] sanger.ac.uk>
On 17/10/2017 17:56, Jens Rehsack via RT wrote: Show quoted text
> It's maybe the difference in trusty vs. precise?
Trusty builds success/fail in the same way https://travis-ci.org/mgcam/lmu_tests/builds/289160843 -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
You need more information. Try remove --quiet from cpanm call, if that doesn't help, remove --notest.
RT-Send-CC: haarg [...] cpan.org
I slowly get an idea where your problem comes from: Graham Knop described it in https://github.com/perl5-utils/List-MoreUtils/issues/22 and promised a patch for that in https://rt.cpan.org/Ticket/Display.html?id=122875#txn-1745994 (but he might by busy ...). Unfortunately my attempt always deletes List::MoreUtils::XS when an older LMU was found... and this made things worse.
CC: Jaime Tovar <jmtc [...] sanger.ac.uk>, "kdj [...] sanger.ac.uk" <kdj [...] sanger.ac.uk>, David Jackson <dj3 [...] sanger.ac.uk>
Subject: Re: [rt.cpan.org #123310] Failure to build the latest List::MoreUtils (0.426) under Perl interpreters without threading support
Date: Wed, 18 Oct 2017 12:58:20 +0100
To: bug-List-MoreUtils [...] rt.cpan.org
From: Marina Gourtovaia <mg8 [...] sanger.ac.uk>
Thank you, looks promising. Our original problem is a failure of tests for a large software package that is due to be released, I created my small example to illustrate the problem. In production we are not going to have the kind of problems Travis build has since we install into a directory outside Perl interpreter and set PERL5LIB to point to this directory. I'll delete non-threaded interpreter from my Travis build for now. On 18/10/2017 06:50, Jens Rehsack via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=123310 > > > I slowly get an idea where your problem comes from: Graham Knop described it in https://github.com/perl5-utils/List-MoreUtils/issues/22 and promised a patch for that in https://rt.cpan.org/Ticket/Display.html?id=122875#txn-1745994 (but he might by busy ...). > > Unfortunately my attempt always deletes List::MoreUtils::XS when an older LMU was found... and this made things worse.
-- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
Please have a try on freshly uploaded List-MoreUtils-0.427_001.
CC: haarg [...] cpan.org
Subject: Re: [rt.cpan.org #123310] Failure to build the latest List::MoreUtils (0.426) under Perl interpreters without threading support
Date: Mon, 6 Nov 2017 15:10:30 +0000
To: bug-List-MoreUtils [...] rt.cpan.org
From: Marina Gourtovaia <mg8 [...] sanger.ac.uk>
All green! https://travis-ci.org/mgcam/lmu_tests/builds/298032711?utm_source=github_status&utm_medium=notification On 06/11/2017 13:38, Jens Rehsack via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=123310 > > > Please have a try on freshly uploaded List-MoreUtils-0.427_001.
-- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
No other complains - release 0.428 and marking this as resolved.