Skip Menu |

This queue is for tickets about the Shipwright CPAN distribution.

Report information
The Basics
Id: 89778
Status: resolved
Priority: 0/
Queue: Shipwright

People
Owner: Nobody in particular
Requestors: mmagri [...] akamai.com
Cc:
AdminCc:

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



CC: "Andrew Psaltis" <apsaltis [...] akamai.com>
Subject: Could be a configure_requires problem (or me doing something wrong)
Date: Fri, 25 Oct 2013 15:35:51 -0400
To: bug-Shipwright [...] rt.cpan.org
From: Matt Magri <mmagri [...] akamai.com>
I ran into an issue that I think gets into how shipwright supports configure_requires, and that is beyond my ken, so I don't have a code fix to suggest this time. :) When I tried to import Pod::Spell (well, originally I was importing something else that had Pod::Spell as a build dependency, but this is probably a more usefully-limited example), it failed like so: ------------8<-snip------------8<-snip------------8<-snip------------ mmagri@tibby:~/workspaces/mmagri_build_bigperl/bigperl$ ./call-shipwright import Pod::Spell CPAN related output will be at /tmp/shipwright_cpan.log Fetching with LWP: http://search.cpan.org/CPAN/authors/id/X/XE/XENO/Pod-Spell-1.12.tar.gz command failed: /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/bin/perl5.14.2 Makefile.PL $?: 512 cwd: /tmp/shipwright_source_a19QTk/cpan-Pod-Spell stdout was: stderr was: Can't locate File/ShareDir/Install.pm in @INC (@INC contains: /home/mmagri/workspaces/mmagri_build_bigperl/cpan-Shipwright/perl/lib/perl5/i686-linux-gnu /home/mmagri/workspaces/mmagri_build_bigperl/cpan-Shipwright/perl/lib/perl5 /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/site_perl/5.14.2/i686-linux-gnu /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/site_perl/5.14.2 /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2/i686-linux-gnu /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2 /usr/local/akamai/lib/perl5/5.14/lib .) at Makefile.PL line 9. BEGIN failed--compilation aborted at Makefile.PL line 9. suggest: install File::ShareDir::Install first cannot remove path when cwd is /tmp/shipwright_source_a19QTk/cpan-Pod-Spell for /tmp/shipwright_source_a19QTk: at /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2/File/Temp.pm line 902 ------------8<-snip------------8<-snip------------8<-snip------------ Since it couldn't delete the temp space, I took a look in the META.yml and, sure enough, there is a configure_requires for File::ShareDir::Install... ------------8<-snip------------8<-snip------------8<-snip------------ (ALSI6)mmagri@tibby:~/workspaces/mmagri_build_bigperl/bigperl$ head -17 /tmp/shipwright_source_a19QTk/cpan-Pod-Spell/META.yml --- abstract: 'a formatter for spellchecking Pod' author: - 'Sean M. Burke <sburke@cpan.org>' - 'Caleb Cushing <xenoterracide@gmail.com>' build_requires: File::Spec: 0 File::Temp: 0 IO::Handle: 0 IPC::Open3: 0 Test::Deep: 0 Test::More: 0.88 utf8: 0 configure_requires: ExtUtils::MakeMaker: 6.30 File::ShareDir::Install: 0.03 dynamic_config: 0 ------------8<-snip------------8<-snip------------8<-snip------------ Shipwright has dealt well with build_requires, but it may be that configure_requires wasn't as fully supported since it usually just consists of things that would already be a shipwright bootstrap module (ExtUtils::MakeMaker). Because I'm producing a package that will be installed later, I can't use the work around it suggests of installing File::ShareDir::Install to anything in that @INC, but I'll come up with some workaround that is idiosyncratic to my setup. I figured you guys would like a heads up that included an example CPAN so you could check it out, though. Thanks! Matt
Subject: Re: [rt.cpan.org #89778] Could be a configure_requires problem (or me doing something wrong)
Date: Sat, 26 Oct 2013 08:02:47 +0800
To: bug-Shipwright [...] rt.cpan.org
From: sunnavy <sunnavy [...] gmail.com>
Hi Matt I released 2.4.36 just now to fix this issue. Show quoted text
> Because I'm producing a package that will be installed later, I can't > use the work around it suggests of installing File::ShareDir::Install to > anything in that @INC,
I’m afraid you still need to install File::ShareDir::Install before running the import command, but it’s just for the “import”: the package shipwright generates(the package that will be installed later) will contain File::ShareDir::Install so I guess it might work for you? Regards sunnavy On Oct 26, 2013, at 3:36 AM, Matt Magri via RT <bug-Shipwright@rt.cpan.org> wrote: Show quoted text
> Fri Oct 25 15:36:05 2013: Request 89778 was acted upon. > Transaction: Ticket created by mmagri@akamai.com > Queue: Shipwright > Subject: Could be a configure_requires problem (or me doing something wrong) > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: mmagri@akamai.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=89778 > > > > I ran into an issue that I think gets into how shipwright supports > configure_requires, and that is beyond my ken, so I don't have a code > fix to suggest this time. :) > > When I tried to import Pod::Spell (well, originally I was importing > something else that had Pod::Spell as a build dependency, but this is > probably a more usefully-limited example), it failed like so: > > ------------8<-snip------------8<-snip------------8<-snip------------ > mmagri@tibby:~/workspaces/mmagri_build_bigperl/bigperl$ > ./call-shipwright import Pod::Spell > CPAN related output will be at /tmp/shipwright_cpan.log > Fetching with LWP: > http://search.cpan.org/CPAN/authors/id/X/XE/XENO/Pod-Spell-1.12.tar.gz > command failed: > /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/bin/perl5.14.2 > Makefile.PL > $?: 512 > cwd: /tmp/shipwright_source_a19QTk/cpan-Pod-Spell > stdout was: > stderr was: > Can't locate File/ShareDir/Install.pm in @INC (@INC contains: > /home/mmagri/workspaces/mmagri_build_bigperl/cpan-Shipwright/perl/lib/perl5/i686-linux-gnu > /home/mmagri/workspaces/mmagri_build_bigperl/cpan-Shipwright/perl/lib/perl5 > /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/site_perl/5.14.2/i686-linux-gnu > /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/site_perl/5.14.2 > /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2/i686-linux-gnu > /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2 > /usr/local/akamai/lib/perl5/5.14/lib .) at Makefile.PL line 9. > BEGIN failed--compilation aborted at Makefile.PL line 9. > > suggest: install File::ShareDir::Install first > > cannot remove path when cwd is > /tmp/shipwright_source_a19QTk/cpan-Pod-Spell for > /tmp/shipwright_source_a19QTk: at > /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2/File/Temp.pm > line 902 > ------------8<-snip------------8<-snip------------8<-snip------------ > > Since it couldn't delete the temp space, I took a look in the META.yml > and, sure enough, there is a configure_requires for > File::ShareDir::Install... > > ------------8<-snip------------8<-snip------------8<-snip------------ > (ALSI6)mmagri@tibby:~/workspaces/mmagri_build_bigperl/bigperl$ head -17 > /tmp/shipwright_source_a19QTk/cpan-Pod-Spell/META.yml > --- > abstract: 'a formatter for spellchecking Pod' > author: > - 'Sean M. Burke <sburke@cpan.org>' > - 'Caleb Cushing <xenoterracide@gmail.com>' > build_requires: > File::Spec: 0 > File::Temp: 0 > IO::Handle: 0 > IPC::Open3: 0 > Test::Deep: 0 > Test::More: 0.88 > utf8: 0 > configure_requires: > ExtUtils::MakeMaker: 6.30 > File::ShareDir::Install: 0.03 > dynamic_config: 0 > ------------8<-snip------------8<-snip------------8<-snip------------ > > Shipwright has dealt well with build_requires, but it may be that > configure_requires wasn't as fully supported since it usually just > consists of things that would already be a shipwright bootstrap module > (ExtUtils::MakeMaker). > > Because I'm producing a package that will be installed later, I can't > use the work around it suggests of installing File::ShareDir::Install to > anything in that @INC, but I'll come up with some workaround that is > idiosyncratic to my setup. I figured you guys would like a heads up that > included an example CPAN so you could check it out, though. > > Thanks! > > Matt >
Subject: Re: [rt.cpan.org #89778] Could be a configure_requires problem (or me doing something wrong)
Date: Fri, 25 Oct 2013 20:10:31 -0400
To: "bug-Shipwright [...] rt.cpan.org" <bug-Shipwright [...] rt.cpan.org>
From: Matt Magri <mmagri [...] akamai.com>
Actually installing it for realz is out (due to various limitations that aren't really that interesting) but, like I said, there are ways I can work around it (most likely it will be importing it to my local vessel and adding that to @INC... if I add support for that approach to my build script then I'll be able to use the same approach if I come across another cpan with some odd configure_requires), so no worries. :) Matt On 10/25/13 8:03 PM, sunnavy via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=89778 > > > Hi Matt > > I released 2.4.36 just now to fix this issue. >
>> Because I'm producing a package that will be installed later, I can't >> use the work around it suggests of installing File::ShareDir::Install to >> anything in that @INC,
> I’m afraid you still need to install File::ShareDir::Install before running > the import command, but it’s just for the “import”: the package shipwright > generates(the package that will be installed later) will contain File::ShareDir::Install so I guess it might work for you? > > Regards > sunnavy > > On Oct 26, 2013, at 3:36 AM, Matt Magri via RT <bug-Shipwright@rt.cpan.org> wrote: >
>> Fri Oct 25 15:36:05 2013: Request 89778 was acted upon. >> Transaction: Ticket created by mmagri@akamai.com >> Queue: Shipwright >> Subject: Could be a configure_requires problem (or me doing something wrong) >> Broken in: (no value) >> Severity: (no value) >> Owner: Nobody >> Requestors: mmagri@akamai.com >> Status: new >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=89778 > >> >> >> I ran into an issue that I think gets into how shipwright supports >> configure_requires, and that is beyond my ken, so I don't have a code >> fix to suggest this time. :) >> >> When I tried to import Pod::Spell (well, originally I was importing >> something else that had Pod::Spell as a build dependency, but this is >> probably a more usefully-limited example), it failed like so: >> >> ------------8<-snip------------8<-snip------------8<-snip------------ >> mmagri@tibby:~/workspaces/mmagri_build_bigperl/bigperl$ >> ./call-shipwright import Pod::Spell >> CPAN related output will be at /tmp/shipwright_cpan.log >> Fetching with LWP: >> http://search.cpan.org/CPAN/authors/id/X/XE/XENO/Pod-Spell-1.12.tar.gz >> command failed: >> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/bin/perl5.14.2 >> Makefile.PL >> $?: 512 >> cwd: /tmp/shipwright_source_a19QTk/cpan-Pod-Spell >> stdout was: >> stderr was: >> Can't locate File/ShareDir/Install.pm in @INC (@INC contains: >> /home/mmagri/workspaces/mmagri_build_bigperl/cpan-Shipwright/perl/lib/perl5/i686-linux-gnu >> /home/mmagri/workspaces/mmagri_build_bigperl/cpan-Shipwright/perl/lib/perl5 >> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/site_perl/5.14.2/i686-linux-gnu >> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/site_perl/5.14.2 >> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2/i686-linux-gnu >> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2 >> /usr/local/akamai/lib/perl5/5.14/lib .) at Makefile.PL line 9. >> BEGIN failed--compilation aborted at Makefile.PL line 9. >> >> suggest: install File::ShareDir::Install first >> >> cannot remove path when cwd is >> /tmp/shipwright_source_a19QTk/cpan-Pod-Spell for >> /tmp/shipwright_source_a19QTk: at >> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2/File/Temp.pm >> line 902 >> ------------8<-snip------------8<-snip------------8<-snip------------ >> >> Since it couldn't delete the temp space, I took a look in the META.yml >> and, sure enough, there is a configure_requires for >> File::ShareDir::Install... >> >> ------------8<-snip------------8<-snip------------8<-snip------------ >> (ALSI6)mmagri@tibby:~/workspaces/mmagri_build_bigperl/bigperl$ head -17 >> /tmp/shipwright_source_a19QTk/cpan-Pod-Spell/META.yml >> --- >> abstract: 'a formatter for spellchecking Pod' >> author: >> - 'Sean M. Burke <sburke@cpan.org>' >> - 'Caleb Cushing <xenoterracide@gmail.com>' >> build_requires: >> File::Spec: 0 >> File::Temp: 0 >> IO::Handle: 0 >> IPC::Open3: 0 >> Test::Deep: 0 >> Test::More: 0.88 >> utf8: 0 >> configure_requires: >> ExtUtils::MakeMaker: 6.30 >> File::ShareDir::Install: 0.03 >> dynamic_config: 0 >> ------------8<-snip------------8<-snip------------8<-snip------------ >> >> Shipwright has dealt well with build_requires, but it may be that >> configure_requires wasn't as fully supported since it usually just >> consists of things that would already be a shipwright bootstrap module >> (ExtUtils::MakeMaker). >> >> Because I'm producing a package that will be installed later, I can't >> use the work around it suggests of installing File::ShareDir::Install to >> anything in that @INC, but I'll come up with some workaround that is >> idiosyncratic to my setup. I figured you guys would like a heads up that >> included an example CPAN so you could check it out, though. >> >> Thanks! >> >> Matt >>
>
Subject: Re: [rt.cpan.org #89778] Could be a configure_requires problem (or me doing something wrong)
Date: Sat, 26 Oct 2013 08:14:37 +0800
To: "bug-Shipwright [...] rt.cpan.org" <bug-Shipwright [...] rt.cpan.org>
From: sunnavy <sunnavy [...] gmail.com>
Cool! Regards sunnavy Show quoted text
> On 2013年10月26日, at 8:10, "Matt Magri via RT" <bug-Shipwright@rt.cpan.org> wrote: > > Queue: Shipwright > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=89778 > > > Actually installing it for realz is out (due to various limitations that > aren't really that interesting) but, like I said, there are ways I can > work around it (most likely it will be importing it to my local vessel > and adding that to @INC... if I add support for that approach to my > build script then I'll be able to use the same approach if I come across > another cpan with some odd configure_requires), so no worries. :) > > Matt >
>> On 10/25/13 8:03 PM, sunnavy via RT wrote: >> <URL: https://rt.cpan.org/Ticket/Display.html?id=89778 > >> >> Hi Matt >> >> I released 2.4.36 just now to fix this issue. >>
>>> Because I'm producing a package that will be installed later, I can't >>> use the work around it suggests of installing File::ShareDir::Install to >>> anything in that @INC,
>> I’m afraid you still need to install File::ShareDir::Install before running >> the import command, but it’s just for the “import”: the package shipwright >> generates(the package that will be installed later) will contain File::ShareDir::Install so I guess it might work for you? >> >> Regards >> sunnavy >>
>>> On Oct 26, 2013, at 3:36 AM, Matt Magri via RT <bug-Shipwright@rt.cpan.org> wrote: >>> >>> Fri Oct 25 15:36:05 2013: Request 89778 was acted upon. >>> Transaction: Ticket created by mmagri@akamai.com >>> Queue: Shipwright >>> Subject: Could be a configure_requires problem (or me doing something wrong) >>> Broken in: (no value) >>> Severity: (no value) >>> Owner: Nobody >>> Requestors: mmagri@akamai.com >>> Status: new >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=89778 > >>> >>> >>> I ran into an issue that I think gets into how shipwright supports >>> configure_requires, and that is beyond my ken, so I don't have a code >>> fix to suggest this time. :) >>> >>> When I tried to import Pod::Spell (well, originally I was importing >>> something else that had Pod::Spell as a build dependency, but this is >>> probably a more usefully-limited example), it failed like so: >>> >>> ------------8<-snip------------8<-snip------------8<-snip------------ >>> mmagri@tibby:~/workspaces/mmagri_build_bigperl/bigperl$ >>> ./call-shipwright import Pod::Spell >>> CPAN related output will be at /tmp/shipwright_cpan.log >>> Fetching with LWP: >>> http://search.cpan.org/CPAN/authors/id/X/XE/XENO/Pod-Spell-1.12.tar.gz >>> command failed: >>> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/bin/perl5.14.2 >>> Makefile.PL >>> $?: 512 >>> cwd: /tmp/shipwright_source_a19QTk/cpan-Pod-Spell >>> stdout was: >>> stderr was: >>> Can't locate File/ShareDir/Install.pm in @INC (@INC contains: >>> /home/mmagri/workspaces/mmagri_build_bigperl/cpan-Shipwright/perl/lib/perl5/i686-linux-gnu >>> /home/mmagri/workspaces/mmagri_build_bigperl/cpan-Shipwright/perl/lib/perl5 >>> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/site_perl/5.14.2/i686-linux-gnu >>> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/site_perl/5.14.2 >>> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2/i686-linux-gnu >>> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2 >>> /usr/local/akamai/lib/perl5/5.14/lib .) at Makefile.PL line 9. >>> BEGIN failed--compilation aborted at Makefile.PL line 9. >>> >>> suggest: install File::ShareDir::Install first >>> >>> cannot remove path when cwd is >>> /tmp/shipwright_source_a19QTk/cpan-Pod-Spell for >>> /tmp/shipwright_source_a19QTk: at >>> /home/mmagri/workspaces/mmagri_build_bigperl/perl5.14/export/usr/local/akamai/lib/5.14.2/File/Temp.pm >>> line 902 >>> ------------8<-snip------------8<-snip------------8<-snip------------ >>> >>> Since it couldn't delete the temp space, I took a look in the META.yml >>> and, sure enough, there is a configure_requires for >>> File::ShareDir::Install... >>> >>> ------------8<-snip------------8<-snip------------8<-snip------------ >>> (ALSI6)mmagri@tibby:~/workspaces/mmagri_build_bigperl/bigperl$ head -17 >>> /tmp/shipwright_source_a19QTk/cpan-Pod-Spell/META.yml >>> --- >>> abstract: 'a formatter for spellchecking Pod' >>> author: >>> - 'Sean M. Burke <sburke@cpan.org>' >>> - 'Caleb Cushing <xenoterracide@gmail.com>' >>> build_requires: >>> File::Spec: 0 >>> File::Temp: 0 >>> IO::Handle: 0 >>> IPC::Open3: 0 >>> Test::Deep: 0 >>> Test::More: 0.88 >>> utf8: 0 >>> configure_requires: >>> ExtUtils::MakeMaker: 6.30 >>> File::ShareDir::Install: 0.03 >>> dynamic_config: 0 >>> ------------8<-snip------------8<-snip------------8<-snip------------ >>> >>> Shipwright has dealt well with build_requires, but it may be that >>> configure_requires wasn't as fully supported since it usually just >>> consists of things that would already be a shipwright bootstrap module >>> (ExtUtils::MakeMaker). >>> >>> Because I'm producing a package that will be installed later, I can't >>> use the work around it suggests of installing File::ShareDir::Install to >>> anything in that @INC, but I'll come up with some workaround that is >>> idiosyncratic to my setup. I figured you guys would like a heads up that >>> included an example CPAN so you could check it out, though. >>> >>> Thanks! >>> >>> Matt
> >