Skip Menu |

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

Report information
The Basics
Id: 79105
Status: resolved
Priority: 0/
Queue: Math-Subsets-List

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.004
Fixed in: 1.008



Subject: build problems using cpanm 1.5017 or cpan w/ Perl 5.16.0
I'm getting build errors when attempting to build this package. I'm not sure why CPAN Testers isn't having the same problem, but here's the important bits from when I run cpan: Running make for P/PR/PRBRENAN/Math-Subsets-List-1.004.tar.gz CPAN: Digest::SHA loaded ok (v5.71) CPAN: Compress::Zlib loaded ok (v2.048) Checksum for /home/dj/.cpan/sources/authors/id/P/PR/PRBRENAN/Math-Subsets-List-1.004.tar.gz ok CPAN: File::Temp loaded ok (v0.22) Couldn't move /home/dj/.cpan/build/tmp-8209/Math-Subsets-List-1.004/MANIFEST to /home/dj/.cpan/build/Math-Subsets-List-1.004-38LG6w/MANIFEST: Permission denied at /home/dj/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/CPAN/Distribution.pm line 524. The problem seems to be that the execute bit is not set on any of the directories in the tarball: dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 Math-Subsets-List-1.004/ dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 Math-Subsets-List-1.004/t/ dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 Math-Subsets-List-1.004/lib/ dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 Math-Subsets-List-1.004/lib/Math/ dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 Math-Subsets-List-1.004/lib/Math/Subsets/ I was able to install it via cpan after performing the following changes: find Math-Subsets-List-1.004 -type d -exec chmod +x \{} \; chmod -R +w Math-Subsets-List-1.004/ Thanks, Diab
Subject: Re: [rt.cpan.org #79105] build problems using cpanm 1.5017 or cpan w/ Perl 5.16.0
Date: Tue, 21 Aug 2012 13:41:38 +0100
To: bug-Math-Subsets-List [...] rt.cpan.org
From: Philip R Brenan <philiprbrenan [...] gmail.com>
Diab: Thanks for your note. The module in question was built on Windows which is useless in regard to file permissions. Your solution is the correct one. Phil Philip R Brenan On Tue, Aug 21, 2012 at 12:09 AM, Diab Jerius via RT < bug-Math-Subsets-List@rt.cpan.org> wrote: Show quoted text
> Mon Aug 20 19:09:50 2012: Request 79105 was acted upon. > Transaction: Ticket created by DJERIUS > Queue: Math-Subsets-List > Subject: build problems using cpanm 1.5017 or cpan w/ Perl 5.16.0 > Broken in: 1.004 > Severity: Critical > Owner: Nobody > Requestors: djerius@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79105 > > > > I'm getting build errors when attempting to build this package. I'm not > sure why CPAN Testers isn't having the same problem, but here's the > important bits from when I run cpan: > > Running make for P/PR/PRBRENAN/Math-Subsets-List-1.004.tar.gz > CPAN: Digest::SHA loaded ok (v5.71) > CPAN: Compress::Zlib loaded ok (v2.048) > Checksum for > > /home/dj/.cpan/sources/authors/id/P/PR/PRBRENAN/Math-Subsets-List-1.004.tar.gz > ok > CPAN: File::Temp loaded ok (v0.22) > Couldn't move > /home/dj/.cpan/build/tmp-8209/Math-Subsets-List-1.004/MANIFEST to > /home/dj/.cpan/build/Math-Subsets-List-1.004-38LG6w/MANIFEST: Permission > denied at > /home/dj/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/CPAN/Distribution.pm > line > 524. > > The problem seems to be that the execute bit is not set on any of the > directories in the tarball: > > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 Math-Subsets-List-1.004/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/t/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/lib/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/lib/Math/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/lib/Math/Subsets/ > > I was able to install it via cpan after performing the following changes: > > find Math-Subsets-List-1.004 -type d -exec chmod +x \{} \; > chmod -R +w Math-Subsets-List-1.004/ > > Thanks, > Diab > >
On Tue Aug 21 08:41:52 2012, philiprbrenan@gmail.com wrote: Show quoted text
> Diab: > > Thanks for your note. The module in question was built on Windows > which is > useless in regard to file permissions. Your solution is the correct > one. > > Phil > > Philip R Brenan
Are you still on a Windows system? If so may I send you the updated tarball? It would make it easier to use the module as a dependency (I'm currently working on a module destined for CPAN in which I'd like to use your module). I'm not sure how CPAN feels about uploading a module with the same name/version as an existing one.
Phil, I've opened a ticket with CPAN: https://rt.cpan.org/Ticket/Display.html?id=79116 Perhaps the problem can be resolved in a more global fashion there. In the meantime I would like to assist in fixing the current tarball, as mentioned in my other reply. Thanks, Diab
Subject: Re: [rt.cpan.org #79105] build problems using cpanm 1.5017 or cpan w/ Perl 5.16.0
Date: Tue, 21 Aug 2012 16:53:13 +0100
To: bug-Math-Subsets-List [...] rt.cpan.org
From: Philip R Brenan <philiprbrenan [...] gmail.com>
Hi Diab: Please send me the tarball. I would have to upload it with a later version number as CPAN does not permit the same name/version. Thanks, Phil Philip R Brenan On Tue, Aug 21, 2012 at 4:18 PM, Diab Jerius via RT < bug-Math-Subsets-List@rt.cpan.org> wrote: Show quoted text
> Queue: Math-Subsets-List > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79105 > > > On Tue Aug 21 08:41:52 2012, philiprbrenan@gmail.com wrote:
> > Diab: > > > > Thanks for your note. The module in question was built on Windows > > which is > > useless in regard to file permissions. Your solution is the correct > > one. > > > > Phil > > > > Philip R Brenan
> > Are you still on a Windows system? If so may I send you the updated > tarball? It would make it easier to use the module as a dependency (I'm > currently working on a module destined for CPAN in which I'd like to use > your module). I'm not sure how CPAN feels about uploading a module with > the same name/version as an existing one. >
On Tue Aug 21 11:53:27 2012, philiprbrenan@gmail.com wrote: Show quoted text
> Hi Diab: > > Please send me the tarball. I would have to upload it with a later version > number as CPAN does not permit the same name/version. > > Thanks, > > Phil > > Philip R Brenan > > > On Tue, Aug 21, 2012 at 4:18 PM, Diab Jerius via RT < > bug-Math-Subsets-List@rt.cpan.org> wrote: >
> > Queue: Math-Subsets-List > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79105 > > > > > On Tue Aug 21 08:41:52 2012, philiprbrenan@gmail.com wrote:
> > > Diab: > > > > > > Thanks for your note. The module in question was built on Windows > > > which is > > > useless in regard to file permissions. Your solution is the correct > > > one. > > > > > > Phil > > > > > > Philip R Brenan
> > > > Are you still on a Windows system? If so may I send you the updated > > tarball? It would make it easier to use the module as a dependency (I'm > > currently working on a module destined for CPAN in which I'd like to use > > your module). I'm not sure how CPAN feels about uploading a module with > > the same name/version as an existing one. > >
Phil, I may have come up with a better solution. Attached is a script using Archive::Tar which fixes the permissions. As CPAN requires a newer version, you'd have to update the version number in your code, send me the tarball to correct, etc. This seems cleaner. Usage is fix-tar Math-Subsets-List-1.004.tar.gz fixed.tar.gz
Subject: fix-tar
Download fix-tar
application/octet-stream 381b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #79105] build problems using cpanm 1.5017 or cpan w/ Perl 5.16.0
Date: Tue, 21 Aug 2012 17:11:40 +0100
To: bug-Math-Subsets-List [...] rt.cpan.org
From: Philip R Brenan <philiprbrenan [...] gmail.com>
Hi Diab: Looks good. Please give me a day or two and I will get a fixed version on to Cpan. Thanks, Phil Philip R Brenan On Tue, Aug 21, 2012 at 5:01 PM, Diab Jerius via RT < bug-Math-Subsets-List@rt.cpan.org> wrote: Show quoted text
> Queue: Math-Subsets-List > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79105 > > > On Tue Aug 21 11:53:27 2012, philiprbrenan@gmail.com wrote:
> > Hi Diab: > > > > Please send me the tarball. I would have to upload it with a later
> version
> > number as CPAN does not permit the same name/version. > > > > Thanks, > > > > Phil > > > > Philip R Brenan > > > > > > On Tue, Aug 21, 2012 at 4:18 PM, Diab Jerius via RT < > > bug-Math-Subsets-List@rt.cpan.org> wrote: > >
> > > Queue: Math-Subsets-List > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79105 > > > > > > > On Tue Aug 21 08:41:52 2012, philiprbrenan@gmail.com wrote:
> > > > Diab: > > > > > > > > Thanks for your note. The module in question was built on Windows > > > > which is > > > > useless in regard to file permissions. Your solution is the correct > > > > one. > > > > > > > > Phil > > > > > > > > Philip R Brenan
> > > > > > Are you still on a Windows system? If so may I send you the updated > > > tarball? It would make it easier to use the module as a dependency
> (I'm
> > > currently working on a module destined for CPAN in which I'd like to
> use
> > > your module). I'm not sure how CPAN feels about uploading a module
> with
> > > the same name/version as an existing one. > > >
> > > Phil, > > I may have come up with a better solution. Attached is a script using > Archive::Tar which fixes the permissions. As CPAN requires a newer > version, you'd have to update the version number in your code, send me > the tarball to correct, etc. This seems cleaner. > > Usage is > > fix-tar Math-Subsets-List-1.004.tar.gz fixed.tar.gz > > >
Subject: Re: [rt.cpan.org #79105] build problems using cpanm 1.5017 or cpan w/ Perl 5.16.0
Date: Thu, 23 Aug 2012 22:02:49 +0100
To: bug-Math-Subsets-List [...] rt.cpan.org
From: Philip R Brenan <philiprbrenan [...] gmail.com>
Diab: There is no $tar->chmod() in ActivateState perl 5.14 for Windows. I attach the latest version of module Math::Subsets::List with the permissions as built by dmake dist running on Windows. I would appreciate any thoughts you might have that would allow me to get the permissions set correctly. Thanks, Phil Philip R Brenan On Tue, Aug 21, 2012 at 12:09 AM, Diab Jerius via RT < bug-Math-Subsets-List@rt.cpan.org> wrote: Show quoted text
> Mon Aug 20 19:09:50 2012: Request 79105 was acted upon. > Transaction: Ticket created by DJERIUS > Queue: Math-Subsets-List > Subject: build problems using cpanm 1.5017 or cpan w/ Perl 5.16.0 > Broken in: 1.004 > Severity: Critical > Owner: Nobody > Requestors: djerius@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79105 > > > > I'm getting build errors when attempting to build this package. I'm not > sure why CPAN Testers isn't having the same problem, but here's the > important bits from when I run cpan: > > Running make for P/PR/PRBRENAN/Math-Subsets-List-1.004.tar.gz > CPAN: Digest::SHA loaded ok (v5.71) > CPAN: Compress::Zlib loaded ok (v2.048) > Checksum for > > /home/dj/.cpan/sources/authors/id/P/PR/PRBRENAN/Math-Subsets-List-1.004.tar.gz > ok > CPAN: File::Temp loaded ok (v0.22) > Couldn't move > /home/dj/.cpan/build/tmp-8209/Math-Subsets-List-1.004/MANIFEST to > /home/dj/.cpan/build/Math-Subsets-List-1.004-38LG6w/MANIFEST: Permission > denied at > /home/dj/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/CPAN/Distribution.pm > line > 524. > > The problem seems to be that the execute bit is not set on any of the > directories in the tarball: > > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 Math-Subsets-List-1.004/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/t/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/lib/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/lib/Math/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/lib/Math/Subsets/ > > I was able to install it via cpan after performing the following changes: > > find Math-Subsets-List-1.004 -type d -exec chmod +x \{} \; > chmod -R +w Math-Subsets-List-1.004/ > > Thanks, > Diab > >
Download Math-Subsets-List-1.005.tar
application/x-tar 10k

Message body not shown because it is not plain text.

On Thu Aug 23 17:03:10 2012, philiprbrenan@gmail.com wrote:
Show quoted text
> Diab:
>
> There is no $tar->chmod() in ActivateState perl 5.14 for Windows. I
> attach
> the latest version of module Math::Subsets::List with the permissions
> as
> built by
>

Phil,

That's surprising; I'm not sure what to make of that...

Can you send me the output you get from running the fix-tar script I sent?  Which version of Archive::Tar do you have?

Thanks,

Diab


On Thu Aug 23 17:03:10 2012, philiprbrenan@gmail.com wrote:
Show quoted text
> Diab:
>
> There is no $tar->chmod() in ActivateState perl 5.14 for Windows. I
> attach
> the latest version of module Math::Subsets::List with the permissions
> as
> built by
>
> dmake dist
>
> running on Windows.
>
> I would appreciate any thoughts you might have that would allow me to
> get
> the permissions set correctly.
>
> Thanks,
>
> Phil


Phil,

I'm now a little more confused; you say you run

  dmake dist

but you're using Module::Build.  Are you really running

  Build dist

?

Module::Build seems to use Archive::Tar under the hood to create the tarballs.

Diab

On Thu Aug 23 17:03:10 2012, philiprbrenan@gmail.com wrote:
Show quoted text
> I attach the latest version of module Math::Subsets::List

Phil,

The tarball seems  empty:


Show quoted text
% tar tvf Math-Subsets-List-1.005.tar
drw-rw-rw- philip r brenan/0 0 2012-08-23 16:35 Math-Subsets-List-1.005/
-rw-rw-rw- philip r brenan/0 548 2012-08-23 16:35 Math-Subsets-List-1.005/META.yml


Diab

Subject: Re: [rt.cpan.org #79105] build problems using cpanm 1.5017 or cpan w/ Perl 5.16.0
Date: Mon, 27 Aug 2012 20:03:15 +0100
To: bug-Math-Subsets-List [...] rt.cpan.org
From: Philip R Brenan <philiprbrenan [...] gmail.com>
Hi Diab: This should work. Apologies for the delays and confusion in the earlier attempts. I have added it to Cpan as version 1.006. Thanks, Phil Philip R Brenan On Tue, Aug 21, 2012 at 12:09 AM, Diab Jerius via RT < bug-Math-Subsets-List@rt.cpan.org> wrote: Show quoted text
> Mon Aug 20 19:09:50 2012: Request 79105 was acted upon. > Transaction: Ticket created by DJERIUS > Queue: Math-Subsets-List > Subject: build problems using cpanm 1.5017 or cpan w/ Perl 5.16.0 > Broken in: 1.004 > Severity: Critical > Owner: Nobody > Requestors: djerius@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79105 > > > > I'm getting build errors when attempting to build this package. I'm not > sure why CPAN Testers isn't having the same problem, but here's the > important bits from when I run cpan: > > Running make for P/PR/PRBRENAN/Math-Subsets-List-1.004.tar.gz > CPAN: Digest::SHA loaded ok (v5.71) > CPAN: Compress::Zlib loaded ok (v2.048) > Checksum for > > /home/dj/.cpan/sources/authors/id/P/PR/PRBRENAN/Math-Subsets-List-1.004.tar.gz > ok > CPAN: File::Temp loaded ok (v0.22) > Couldn't move > /home/dj/.cpan/build/tmp-8209/Math-Subsets-List-1.004/MANIFEST to > /home/dj/.cpan/build/Math-Subsets-List-1.004-38LG6w/MANIFEST: Permission > denied at > /home/dj/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/CPAN/Distribution.pm > line > 524. > > The problem seems to be that the execute bit is not set on any of the > directories in the tarball: > > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 Math-Subsets-List-1.004/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/t/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/lib/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/lib/Math/ > dr--r--r-- philip r brenan/None 0 2009-03-21 18:13 > Math-Subsets-List-1.004/lib/Math/Subsets/ > > I was able to install it via cpan after performing the following changes: > > find Math-Subsets-List-1.004 -type d -exec chmod +x \{} \; > chmod -R +w Math-Subsets-List-1.004/ > > Thanks, > Diab > >
Download Math-Subsets-List-1.006.tar.gz
application/x-gzip 2.7k

Message body not shown because it is not plain text.