Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the DBM-Deep CPAN distribution.

Report information
The Basics
Id: 99259
Status: open
Priority: 0/
Queue: DBM-Deep

People
Owner: Nobody in particular
Requestors: robert.vincent [...] homes.com
Cc:
AdminCc:

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



Subject: Improper usage of Module::Build
Date: Wed, 1 Oct 2014 15:56:46 -0400
To: bug-DBM-Deep [...] rt.cpan.org
From: Bob Vincent <robert.vincent [...] homes.com>
Download (untitled) / with headers
text/plain 838b
Patch as follows: diff -ur orig/DBM-Deep-2.0011/Build.PL patched/DBM-Deep-2.0011/Build.PL --- orig/DBM-Deep-2.0011/Build.PL 2014-01-12 21:05:20.000000000 -0500 +++ patched/DBM-Deep-2.0011/Build.PL 2014-10-01 15:56:13.344953831 -0400 @@ -3,8 +3,8 @@ use strict; use warnings FATAL => 'all'; -my $build = Module::Build->subclass( - class => "Module::Build::Custom", +my $class = Module::Build->subclass( + class => "Custom", code => ' sub ACTION_test { my $self = shift; @@ -31,7 +31,8 @@ $self->SUPER::ACTION_dist( @_ ); } ', -)->new( +); +my $build = $class->new( module_name => 'DBM::Deep', license => 'perl', requires => { Robert August Vincent II *(Bob-Vee)* Linux Systems Administrator, Portal (80X) Office: (757) 351-8182 Cell: (757) 672-1935
Subject: Re: [rt.cpan.org #99259] AutoReply: Improper usage of Module::Build
Date: Wed, 1 Oct 2014 16:04:56 -0400
To: bug-DBM-Deep [...] rt.cpan.org
From: Bob Vincent <robert.vincent [...] homes.com>
Download (untitled) / with headers
text/plain 375b
Nevermind; I don't know what I'm talking about. Resolved the issue with "chmod -R ug+w DBM-Deep-2.0011" The bug here isn't in the use of Module::Build; it's that the tests require write-access, yet the relevant directories and files are read-only. Robert August Vincent II *(Bob-Vee)* Linux Systems Administrator, Portal (80X) Office: (757) 351-8182 Cell: (757) 672-1935
Download (untitled) / with headers
text/plain 411b
On 2014-10-01 13:05:06, robert.vincent@homes.com wrote: Show quoted text
> Nevermind; I don't know what I'm talking about. > > Resolved the issue with "chmod -R ug+w DBM-Deep-2.0011" > > The bug here isn't in the use of Module::Build; it's that the tests require > write-access, yet the relevant directories and files are read-only.
Shouldn't the tests be using File::Temp for scratch space, rather than the local directory?
Subject: Re: [rt.cpan.org #99259] Improper usage of Module::Build
Date: Wed, 1 Oct 2014 23:05:46 -0400
To: bug-DBM-Deep [...] rt.cpan.org
From: Bob Vincent <robert.vincent [...] homes.com>
Download (untitled) / with headers
text/plain 319b
On Wed, Oct 1, 2014 at 6:19 PM, Karen Etheridge via RT < bug-DBM-Deep@rt.cpan.org> wrote: Show quoted text
> > Shouldn't the tests be using File::Temp for scratch space, rather than the > local directory? > >
If you say so. I'm not a perl programmer; just a lowly sysadmin tasked with packaging over 400 perl modules for Ubuntu 12.04.
Download (untitled) / with headers
text/plain 436b
On Wed Oct 01 16:05:06 2014, robert.vincent@homes.com wrote: Show quoted text
> Nevermind; I don't know what I'm talking about. > > Resolved the issue with "chmod -R ug+w DBM-Deep-2.0011" > > The bug here isn't in the use of Module::Build; it's that the tests require > write-access, yet the relevant directories and files are read-only.
Could you specify which tests are breaking because of this? I'm not quite sure how to go about reproducing this.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.