Skip Menu |
 

This queue is for tickets about the File-Path CPAN distribution.

Report information
The Basics
Id: 85878
Status: resolved
Priority: 0/
Queue: File-Path

People
Owner: Nobody in particular
Requestors: valery.svistunov [...] gmail.com
Cc: SREZIC [...] cpan.org
AdminCc:

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



From valery.svistunov [...] gmail.com Wed Jun 5 04: 58:42 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.219 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="001a11c36daeb68cce04de646689"
Message-ID: <CAFoOTA0rdpFnJi8g1JUnnf7Px4K2mN71Y87WvkoC5p1SAFAAVQ [...] mail.gmail.com>
X-Received: by 10.112.188.161 with SMTP id gb1mr14830754lbc.107.1370422708176; Wed, 05 Jun 2013 01:58:28 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.219
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 9E857240BFE for <cpan-bug+File-Path [...] hipster.bestpractical.com>; Wed, 5 Jun 2013 04:58:42 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X6ODFZ1m6oYO for <cpan-bug+File-Path [...] hipster.bestpractical.com>; Wed, 5 Jun 2013 04:58:41 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id AC217240132 for <bug-File-Path [...] rt.cpan.org>; Wed, 5 Jun 2013 04:58:40 -0400 (EDT)
Received: (qmail 30562 invoked by alias); 5 Jun 2013 08:58:39 -0000
Received: from mail-la0-f41.google.com (HELO mail-la0-f41.google.com) (209.85.215.41) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 05 Jun 2013 01:58:33 -0700
Received: by mail-la0-f41.google.com with SMTP id fn20so1186821lab.0 for <bug-File-Path [...] rt.cpan.org>; Wed, 05 Jun 2013 01:58:28 -0700 (PDT)
Received: by 10.152.135.101 with HTTP; Wed, 5 Jun 2013 01:58:28 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+File-Path [...] hipster.bestpractical.com
Subject: Installation fails during test
Return-Path: <valery.svistunov [...] gmail.com>
X-RT-Mail-Extension: file-path
X-Original-To: cpan-bug+File-Path [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pa1SFlo2apVpXKbBTVHTUoYfgtm+UJAxQLmIQJ/edFU=; b=kVdFucLeZlDZFYARJrB7TbSch3U3hsygaV+w3wQyj9hWDVq/YqeXezUYejIYQwJ8qN n+4CsFnjXx1XkXhdvEI9Fl+Ar6iDYUv+b3s0f2i7+lMY79CfE40gyGJBmLJWQN4BLuz2 Jm+iAD1bwUndD7eSGHUEd7cs4NY3/nNPjvbx4UpQaVq942yi7qDVkAw/pLpIbh8EXFah WYT8ku3zAkLNb3AQfI/zOs37RYDrr7F9aQOOWiGCHlt1zu+a43RNHFW4quayqIYHBXsO SjsC8jTRPJBdzw2fpQVAE8TrJCQk0CVsYwDEvZrDB9X6pZTBCPaySB3nHq4VEEWb9zjL xdKQ==
Date: Wed, 5 Jun 2013 11:58:28 +0300
X-Spam-Level:
To: bug-File-Path [...] rt.cpan.org
From: Валерий Свистунов <valery.svistunov [...] gmail.com>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: iso-8859-1
Content-Length: 916
Download (untitled) / with headers
text/plain 916b
Good day. There is a small bug in installation script. Seems like type mistake (here is a part of log file): # Failed test 'created a directory not owned by nobodz:nogrouq...' # at t/Path.t line 503. # STDERR: # unable to map nobodz to a uid, ownership not changed: at t/Path.t line 501. # unable to map nogrouq to a gid, group ownership not changed: at t/Path.t line 501. # # doesn't match: # (?^:\Aunable to map nobodz to a uid, ownership not changed: .* at \S+ line \d+ # unable to map nogrouq to a gid, group ownership not changed: .* at \S+ line \d+\b) # as expected # Looks like you failed 1 test of 129. t/Path.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/129 subtests (less 29 skipped subtests: 99 okay) t/pod.t .... skipped: PERL_AUTHOR_TESTING environment variable not set (or zero) t/taint.t .. ok "nobodz:nogrouq" should be "nobody:nogroup" Best regards, Valery Svistunov
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: iso-8859-1
Content-Length: 1325
MIME-Version: 1.0
In-Reply-To: <CAFoOTA0rdpFnJi8g1JUnnf7Px4K2mN71Y87WvkoC5p1SAFAAVQ [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAFoOTA0rdpFnJi8g1JUnnf7Px4K2mN71Y87WvkoC5p1SAFAAVQ [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-28615-1384294488-202.85878-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1294
Download (untitled) / with headers
text/plain 1.2k
On 2013-06-05 04:58:43, valery.svistunov@gmail.com wrote: Show quoted text
> Good day. > > There is a small bug in installation script. Seems like type mistake (here > is a part of log file): > > # Failed test 'created a directory not owned by nobodz:nogrouq...' > # at t/Path.t line 503. > # STDERR: > # unable to map nobodz to a uid, ownership not changed: at t/Path.t line > 501. > # unable to map nogrouq to a gid, group ownership not changed: at t/Path.t > line 501. > # > # doesn't match: > # (?^:\Aunable to map nobodz to a uid, ownership not changed: .* at \S+ > line \d+ > # unable to map nogrouq to a gid, group ownership not changed: .* at \S+ > line \d+\b) > # as expected > # Looks like you failed 1 test of 129. > t/Path.t ... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/129 subtests > (less 29 skipped subtests: 99 okay) > t/pod.t .... skipped: PERL_AUTHOR_TESTING environment variable not set (or > zero) > t/taint.t .. ok > > "nobodz:nogrouq" should be "nobody:nogroup" >
I think it's another issue here. Older version of Carp.pm used to output a message without a trailing dot (i.e. "line 501"). Newer Carp.pm versions output the message with a trailing dot (i.e. "line 501."). So the real fix is to accept the trailing dot in the regexp. Regards, Slaven
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-28615-1384294488-202.85878-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAFoOTA0rdpFnJi8g1JUnnf7Px4K2mN71Y87WvkoC5p1SAFAAVQ [...] mail.gmail.com> <rt-4.0.18-28615-1384294488-202.85878-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-10187-1429150077-1221.85878-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1513
Download (untitled) / with headers
text/plain 1.4k
On Tue Nov 12 17:14:48 2013, SREZIC wrote: Show quoted text
> On 2013-06-05 04:58:43, valery.svistunov@gmail.com wrote:
> > Good day. > > > > There is a small bug in installation script. Seems like type mistake > > (here > > is a part of log file): > > > > # Failed test 'created a directory not owned by nobodz:nogrouq...' > > # at t/Path.t line 503. > > # STDERR: > > # unable to map nobodz to a uid, ownership not changed: at t/Path.t > > line > > 501. > > # unable to map nogrouq to a gid, group ownership not changed: at > > t/Path.t > > line 501. > > # > > # doesn't match: > > # (?^:\Aunable to map nobodz to a uid, ownership not changed: .* at > > \S+ > > line \d+ > > # unable to map nogrouq to a gid, group ownership not changed: .* at > > \S+ > > line \d+\b) > > # as expected > > # Looks like you failed 1 test of 129. > > t/Path.t ... > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/129 subtests > > (less 29 skipped subtests: 99 okay) > > t/pod.t .... skipped: PERL_AUTHOR_TESTING environment variable not > > set (or > > zero) > > t/taint.t .. ok > > > > "nobodz:nogrouq" should be "nobody:nogroup" > >
> > I think it's another issue here. Older version of Carp.pm used to > output a message without a trailing dot (i.e. "line 501"). Newer > Carp.pm versions output the message with a trailing dot (i.e. "line > 501."). So the real fix is to accept the trailing dot in the regexp. > > Regards, > Slaven
Appears to be same error as https://rt.cpan.org/Ticket/Display.html?id=77881.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-28615-1384294488-202.85878-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAFoOTA0rdpFnJi8g1JUnnf7Px4K2mN71Y87WvkoC5p1SAFAAVQ [...] mail.gmail.com> <rt-4.0.18-28615-1384294488-202.85878-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-13752-1437776746-383.85878-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 496
Download (untitled) / with headers
text/plain 496b
Show quoted text
> I think it's another issue here. Older version of Carp.pm used to > output a message without a trailing dot (i.e. "line 501"). Newer > Carp.pm versions output the message with a trailing dot (i.e. "line > 501."). So the real fix is to accept the trailing dot in the regexp. >
Can it be just as appropriate to require in Makefile.PL the Carp version where this was changed? The reason is changing the regex extends our own test matrix -- we would need to test with old and new Carp versions.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-13752-1437776746-383.85878-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAFoOTA0rdpFnJi8g1JUnnf7Px4K2mN71Y87WvkoC5p1SAFAAVQ [...] mail.gmail.com> <rt-4.0.18-28615-1384294488-202.85878-0-0 [...] rt.cpan.org> <rt-4.0.18-13752-1437776746-383.85878-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-19177-1437777952-1606.85878-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 941
Download (untitled) / with headers
text/plain 941b
On Fri Jul 24 18:25:46 2015, RICHE wrote: Show quoted text
>
> > I think it's another issue here. Older version of Carp.pm used to > > output a message without a trailing dot (i.e. "line 501"). Newer > > Carp.pm versions output the message with a trailing dot (i.e. "line > > 501."). So the real fix is to accept the trailing dot in the regexp. > >
> > Can it be just as appropriate to require in Makefile.PL the Carp > version where this was changed? The reason is changing the regex > extends our own test matrix -- we would need to test with old and new > Carp versions.
Note that RJBS stated in IRC that this change occurred in Carp 1.25, but latest Carp is currently failing on Perl 5.6.x so we won't fix this just yet. Once fixed and generally agreed we can require 1.25+, then we can have a single regex. Note also the test fails for Debian 8.1 right now with error stating "getpwent() appears to be insane", so I'm not able to repro manually.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-19177-1437777952-1606.85878-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAFoOTA0rdpFnJi8g1JUnnf7Px4K2mN71Y87WvkoC5p1SAFAAVQ [...] mail.gmail.com> <rt-4.0.18-28615-1384294488-202.85878-0-0 [...] rt.cpan.org> <rt-4.0.18-13752-1437776746-383.85878-0-0 [...] rt.cpan.org> <rt-4.0.18-19177-1437777952-1606.85878-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-19194-1444566063-1650.85878-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1266
Download (untitled) / with headers
text/plain 1.2k
On Fri Jul 24 18:45:52 2015, RICHE wrote: Show quoted text
> On Fri Jul 24 18:25:46 2015, RICHE wrote:
> >
> > > I think it's another issue here. Older version of Carp.pm used to > > > output a message without a trailing dot (i.e. "line 501"). Newer > > > Carp.pm versions output the message with a trailing dot (i.e. "line > > > 501."). So the real fix is to accept the trailing dot in the > > > regexp. > > >
> > > > Can it be just as appropriate to require in Makefile.PL the Carp > > version where this was changed? The reason is changing the regex > > extends our own test matrix -- we would need to test with old and new > > Carp versions.
> > Note that RJBS stated in IRC that this change occurred in Carp 1.25, > but latest Carp is currently failing on Perl 5.6.x so we won't fix > this just yet. Once fixed and generally agreed we can require 1.25+, > then we can have a single regex. > > Note also the test fails for Debian 8.1 right now with error stating > "getpwent() appears to be insane", so I'm not able to repro manually.
Changed t/Path_root.t to be more liberal with the regular expression. https://github.com/rpcme/File-Path/commit/7875d2916ccc8be07459696d59afb5e905bd366b https://github.com/rpcme/File-Path/commit/f4a2145bb6e3dcd6da60e00d71b154324e85c32a


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.