Skip Menu |
 

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

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

People
Owner: jkeenan [...] cpan.org
Requestors: itcharlie [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in:
  • 2.13
  • 2.14



MIME-Version: 1.0
X-Spam-Status: No, score=-3.516 tagged_above=-99.9 required=10 tests=[AWL=-2.183, 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, SPF_SOFTFAIL=0.665] autolearn=no
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
Content-Type: multipart/mixed; boundary="94eb2c07552cecde1a054d0f8abe"
Message-ID: <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com>
X-Received: by 10.55.164.71 with SMTP id n68mr3760515qke.107.1492104034167; Thu, 13 Apr 2017 10:20:34 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -3.516
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id EFDF62403C0 for <cpan-bug+File-Path [...] hipster.bestpractical.com>; Thu, 13 Apr 2017 13:20:49 -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 D73CD3m6KNeZ for <cpan-bug+File-Path [...] hipster.bestpractical.com>; Thu, 13 Apr 2017 13:20:48 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 57B53240276 for <bug-File-Path [...] rt.cpan.org>; Thu, 13 Apr 2017 13:20:48 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 82DA011EB1F for <bug-File-Path [...] rt.cpan.org>; Thu, 13 Apr 2017 10:20:46 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 9C88D11DCF7 for <bug-File-Path [...] rt.cpan.org>; Thu, 13 Apr 2017 10:20:42 -0700 (PDT)
Received: from mail-qk0-f179.google.com (mail-qk0-f179.google.com [209.85.220.179]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id B588311D9BE for <bug-File-Path [...] rt.cpan.org>; Thu, 13 Apr 2017 10:20:35 -0700 (PDT)
Received: by mail-qk0-f179.google.com with SMTP id d131so53304755qkc.3 for <bug-File-Path [...] rt.cpan.org>; Thu, 13 Apr 2017 10:20:35 -0700 (PDT)
Received: by 10.237.37.12 with HTTP; Thu, 13 Apr 2017 10:20:33 -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: File::Path v2.12_003 Build Error on Windows 10 Perl 5.24.1using Cpanm
Return-Path: <itcharlie [...] gmail.com>
X-RT-Mail-Extension: file-path
X-Original-To: cpan-bug+File-Path [...] hipster.bestpractical.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=MyUsCVqOSL9qzrem62NoifjGePCFU/RUZ9ANZIDq294=; b=Ht7vPvKqeWx2wtzm1qB9DcJsOja+68mMzJ1pmNDiZqji+0i4i1pJDijjKKM5YBUJ5S 6/BEaxfYPaIuIRaqSIpGElPC379nIxVRcRB7JFmbX2SA1JGVsv2VT7Uf31HUUuWH/pub kZd2qMI8/StD6ZmHq6xmd/zV0koZLLVF+6cMJS3cVrVSAHfiyq85QQrxWy0qWc+V2tTy mXeiXsWDz5Vga6ldIe/6Wz31gWoeZSdy5k7tiGCx2PS+T5iTgvgmiD5/spZhyNvN8rTR xK7X61Mdt30NntvrbF9eqfJKMf2PuVrFs12bzQIJ0QqTnSEwRUd6uv4oIypPsrkS/KPD 3GqA==
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MyUsCVqOSL9qzrem62NoifjGePCFU/RUZ9ANZIDq294=; b=aAv/LSRa0guqZCPjGY99wUehK16gnNx4PoynQRNZUROXb28IatOD7zvVfM5vSKCuNa Gz9IJC7euk2fKyLE9AKfxwlIgFgrh4Zovbh6tMeCcvetYQVixGfFJn+0lHcb/B9A9VGv jOcAuENHYXGpiBUXViFJmQ9ItWwmuPIsKv3SS9d+ovDYa17Y3q1rcfHhr067sQOahLDz daYshsdDhZ0bVExKQXM4G46bR1jBl2asUg4YGcIHYsqrY3I3DWxuDQCAiYgOqxvBCU3w iqzecKEBvUq6QlJvTzmgTGiQ5bXSUG/Ez/SOiq9Gg9gdl9BZNSrc2KTtbjSWelQtX3bj 1ZuQ==
X-PMX-Spam: Gauge=X, Probability=10%, Report=' BASE64_ENC_TEXT 0.5, HTML_50_70 0.1, SUPERLONG_LINE 0.05, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_6000_6999 0, BODY_SIZE_7000_LESS 0, CTYPE_MULTIPART_NO_QUOTE 0, DATE_TZ_NA 0, DKIM_SIGNATURE 0, SPF_PASS 0, TXT_ATTACHED 0, WEBMAIL_SOURCE 0, __ANY_URI 0, __C230066_P5 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_MIXED 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FRAUD_BODY_WEBMAIL 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_ATTACHMENT 0, __HAS_ATTACHMENT1 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HELO_GMAIL 0, __HEX28_LC_BOUNDARY 0, __HTML_AHREF_TAG 0, __HTML_TAG_DIV 0, __HTTPS_URI 0, __INT_PROD_COMP 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __MULTIPLE_URI_HTML 0, __MULTIPLE_URI_TEXT 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __RDNS_GMAIL 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITHOUT_PATH 0, __URI_WITH_PATH 0, __YOUTUBE_RCVD 0, __zen.spamhaus.org_ERROR '
Date: Thu, 13 Apr 2017 13:20:33 -0400
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.4.13.171217
To: bug-File-Path [...] rt.cpan.org
From: Charlie Gonzalez <itcharlie [...] gmail.com>
X-GM-Message-State: AN3rC/7v5LGXtjBlpL7pIqsQdWx8uBAaXON+W0ijg8GEaDi+h56FzQCc f3iyYaoEdiB2WEPt8buMFLVzR0GYjq6O
X-RT-Interface: Email
Content-Length: 0
Content-Type: multipart/alternative; boundary="94eb2c07552cecde15054d0f8abc"
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 837
Download (untitled) / with headers
text/plain 837b
Example output from Powershell ++++++++ PS C:\Users\cgonzalez\Desktop> cpanm -L .\install_FilePath\ http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Pat h-2.12_003.tar.gz --> Working on http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Path-2.12_003.tar.gz Fetching http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Path-2.12_003.tar.gz ... OK Configuring File-Path-2.12_003 ... OK Building and testing File-Path-2.12_003 ... FAIL ! Installing http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Path-2.12_003.tar.gz failed. See C:\Users\CGONZA~1 \.cpanm\work\1492012127.10104\build.log for details. Retry with --force to force install it. PS C:\Users\cgonzalez\Desktop> ++++++++ Attached is the build error log file. Charlie Gonzalez (E) itcharlie@gmail.com Github Profile <https://github.com/itcharlie>
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1614
X-Attachment-ID: f_j1go758f0
content-type: text/plain; charset="utf-8"; name="build_error_FILEPATH.txt"
Content-Disposition: attachment; filename="build_error_FILEPATH.txt"
Content-Transfer-Encoding: base64
X-RT-Original-Encoding: ascii
Content-Length: 2518

Message body is not shown because sender requested not to inline it.

MIME-Version: 1.0
In-Reply-To: <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-5249-1492108871-337.121102-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: 2923
Download (untitled) / with headers
text/plain 2.8k
On Thu Apr 13 13:20:51 2017, itcharlie wrote: Show quoted text
> Example output from Powershell > > > ++++++++ > PS C:\Users\cgonzalez\Desktop> cpanm -L .\install_FilePath\ > http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Pat > h-2.12_003.tar.gz > --> Working on > http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Path- > 2.12_003.tar.gz > Fetching > http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Path- > 2.12_003.tar.gz > ... OK > Configuring File-Path-2.12_003 ... OK > Building and testing File-Path-2.12_003 ... FAIL > ! Installing > http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Path- > 2.12_003.tar.gz > failed. See C:\Users\CGONZA~1 > \.cpanm\work\1492012127.10104\build.log for details. Retry with > --force to > force install it. > PS C:\Users\cgonzalez\Desktop> > ++++++++ > > Attached is the build error log file. > > > Charlie Gonzalez > (E) itcharlie@gmail.com > Github Profile <https://github.com/itcharlie>
Charlie, thanks very much for filing this report. When I first saw this the other day, I saw 'getpwnam' and thought, "Oh, I used that in some tests I recently added. That's probably where the problem is." It turns out that there are quite a few Perl built-in functions that are not implemented in Windows. See 'perldoc perlport'. So in my 'functions-not-available-on-Windows' branch I reworked the tests by placing those which used Unix-only functions in SKIP blocks. All tests PASSed. However, when you told me today that you were still having 'getpwnam' cited in a failure report, I was really surprised. It was only at that point that I realized we were invoking 'getpwnam' and 'getgrnam' in lib/File/Path.pm. But I didn't add them there. They were added in the work we did after the 2015 NYC Perl Hackathon and have been present since CPAN release 2.11. ##### $ git checkout 2.11 Previous HEAD position was 2f6b8cb... version bump 2.08_01 => 2.09, add Github repo links HEAD is now at 3e5e3b6... Release version bump, change arg checking from croak to carp, remove tests accordingly, change skip and total test counts, edit release Changes accordingly [File-Path] 544 $ ack 'get((pw|gr)nam|pwuid|grgid)' lib t lib/File/Path.pm 123: my $uid = ( getpwnam $arg->{owner} )[2]; 135: my $gid = ( getgrnam $arg->{group} )[2]; 1044:directories to the symbolic name [owner], but C<getpwnam> did 1051:directories to the symbolic name [group], but C<getgrnam> did t/Path.t 617: do { ++$max_user } while (getpwnam($max_user)); 618: do { ++$max_group } while (getgrnam($max_group)); ##### But -- and here's the shocker -- until this past month we never had any smoke test failures reported on Win32 due to use of non-Windows functions in the source code. See, e.g., http://matrix.cpantesters.org/?dist=File-Path%202.11;os=mswin32;reports=1; all green! So this will need further investigation. Thank you very much. Jim Keenan
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-5249-1492108871-337.121102-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com> <rt-4.0.18-5249-1492108871-337.121102-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-24798-1492110095-1740.121102-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: 2485
Download (untitled) / with headers
text/plain 2.4k
On Thu Apr 13 14:41:12 2017, JKEENAN wrote: Show quoted text
> On Thu Apr 13 13:20:51 2017, itcharlie wrote:
> > Example output from Powershell > > > > > > ++++++++ > > PS C:\Users\cgonzalez\Desktop> cpanm -L .\install_FilePath\ > > http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Pat > > h-2.12_003.tar.gz > > --> Working on > > http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Path- > > 2.12_003.tar.gz > > Fetching > > http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Path- > > 2.12_003.tar.gz > > ... OK > > Configuring File-Path-2.12_003 ... OK > > Building and testing File-Path-2.12_003 ... FAIL > > ! Installing > > http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/File-Path- > > 2.12_003.tar.gz > > failed. See C:\Users\CGONZA~1 > > \.cpanm\work\1492012127.10104\build.log for details. Retry with > > --force to > > force install it. > > PS C:\Users\cgonzalez\Desktop> > > ++++++++ > > > > Attached is the build error log file. > > > > > > Charlie Gonzalez > > (E) itcharlie@gmail.com > > Github Profile <https://github.com/itcharlie>
> > Charlie, thanks very much for filing this report. > > When I first saw this the other day, I saw 'getpwnam' and thought, > "Oh, I used that in some tests I recently added. That's probably > where the problem is." > > It turns out that there are quite a few Perl built-in functions that > are not implemented in Windows. See 'perldoc perlport'. > > So in my 'functions-not-available-on-Windows' branch I reworked the > tests by placing those which used Unix-only functions in SKIP blocks. > All tests PASSed. > > However, when you told me today that you were still having 'getpwnam' > cited in a failure report, I was really surprised. It was only at > that point that I realized we were invoking 'getpwnam' and 'getgrnam' > in lib/File/Path.pm. But I didn't add them there. They were added in > the work we did after the 2015 NYC Perl Hackathon and have been > present since CPAN release 2.11. >
In fact, getpwnam and getgrnam were present in Path.pm -- the predecessor to lib/File/Path.pm -- long before the current maintainers took over. They have been present at least since 2009. Here is the earliest commit I have (so far) found which have these functions in Path.pm.: ##### commit ea4d91678a8963ce75495ca96679301962030e0a Author: David Landgren <david@landgren.net> Date: Sun Oct 4 02:31:05 2009 -0800 ##### [snip] Show quoted text
> > So this will need further investigation. > > Thank you very much. > Jim Keenan
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-5249-1492108871-337.121102-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
References: <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com> <rt-4.0.18-5249-1492108871-337.121102-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1492114232-30979-2"
Message-ID: <rt-4.0.18-30979-1492114232-1071.121102-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 237
Download (untitled) / with headers
text/plain 237b
For reference, am attaching tarball of the most recent version which I asked Charlie Gonzalez to test. This is equivalent to the 'functions-not-available-on-windows' branch on github at commit cc7e62208eabdd8597823024b7649d0c0981986f.
MIME-Version: 1.0
Subject: File-Path-2.12_004.tar.gz
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Type: application/gzip; name="File-Path-2.12_004.tar.gz"
Content-Disposition: inline; filename="File-Path-2.12_004.tar.gz"
Content-Transfer-Encoding: base64
Content-Length: 29641
Download File-Path-2.12_004.tar.gz
application/gzip 28.9k

Message body not shown because it is not plain text.

MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-30979-1492114232-1071.121102-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com> <rt-4.0.18-5249-1492108871-337.121102-0-0 [...] rt.cpan.org> <rt-4.0.18-30979-1492114232-1071.121102-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-15850-1492115162-1352.121102-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: 3430
Download (untitled) / with headers
text/plain 3.3k
On Thu Apr 13 16:10:32 2017, JKEENAN wrote: Show quoted text
> For reference, am attaching tarball of the most recent version which I > asked Charlie Gonzalez to test. This is equivalent to the 'functions- > not-available-on-windows' branch on github at commit > cc7e62208eabdd8597823024b7649d0c0981986f.
So I now have a hypothesis on what is happening. While working on 2.12_003 and _004, I was trying to boost the extent to which t/*.t exercises the File-Path source code under lib/. In other words, I was trying to boost the coverage ratio. I know that I did boost coverage by a lot. That was accomplished by adding more tests for every nook and cranny under mkpath(), rmtree(), etc. But in the process of so doing, I probably added tests for combinations of arguments which are implausible on Windows. Note that in master, the points at which we call getpwnam() and getgrnam() are these: ##### sub mkpath { my $old_style = !( @_ and __is_arg( $_[-1] ) ); my $data; my $paths; if ($old_style) { my ( $verbose, $mode ); ( $paths, $verbose, $mode ) = @_; $paths = [$paths] unless UNIVERSAL::isa( $paths, 'ARRAY' ); $data->{verbose} = $verbose; $data->{mode} = defined $mode ? $mode : oct '777'; } else { my %args_permitted = map { $_ => 1 } ( qw| chmod error group mask mode owner uid user verbose | ); ... $data->{owner} = delete $data->{user} if exists $data->{user}; $data->{owner} = delete $data->{uid} if exists $data->{uid}; if ( exists $data->{owner} and $data->{owner} =~ /\D/ ) { my $uid = ( getpwnam $data->{owner} )[2]; if ( defined $uid ) { $data->{owner} = $uid; } else { _error( $data, "unable to map $data->{owner} to a uid, ownership not changed" ); delete $data->{owner}; } } if ( exists $data->{group} and $data->{group} =~ /\D/ ) { my $gid = ( getgrnam $data->{group} )[2]; if ( defined $gid ) { $data->{group} = $gid; } else { _error( $data, "unable to map $data->{group} to a gid, group ownership not changed" ); delete $data->{group}; } } ... } } ##### So getpwnam() is only encountered if $data{owner} exists and is a non-numeric string. Similarly, getgrnam() is only encountered if $data{group} exists and is a non-numeric string. If these conditions do not obtain, then Perl never has to ask, "Are getpwnam() and/or getgrnam() implemented on this system?" And if on Windows no one would ever pass 'owner', 'user', 'uid' or 'group' in the hashref which is the optional final argument to make_path(), then no user on Windows would ever encounter this error. The only time these built-in functions would be encountered in the not-so-real-world of testing would be in t/Path.t. So, Charlie, can you run the following command from the latest tarball that I sent you and post the output? ##### prove -vb t/Path.t 1>t_Path_t_output.txt 2>&1 ##### That way, I'll be able to see the exact test at which we're getting the fatal error. Thank you very much. Jim Keenan
MIME-Version: 1.0
X-Spam-Status: No, score=-4.424 tagged_above=-99.9 required=10 tests=[AWL=0.909, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FROM_OUR_RT=-4, HTML_MESSAGE=0.001, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-4.0.18-15850-1492115163-1434.121102-6-0 [...] rt.cpan.org>
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-121102 [...] rt.cpan.org> <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com> <rt-4.0.18-5249-1492108871-337.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-30979-1492114232-1071.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-15850-1492115163-1434.121102-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.237.32.70 with SMTP id 64mr5416900qta.146.1492141953657; Thu, 13 Apr 2017 20:52:33 -0700 (PDT)
Message-ID: <CALiuAmqxDU3FamCP1C+Gp+ieY2xb85En7KuR7-gDFVgRxiT3Dw [...] mail.gmail.com>
Content-Type: multipart/mixed; boundary="94eb2c0c98c81a5b5f054d185f6a"
X-Spam-Score: -4.424
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id A65272403D3 for <cpan-bug+File-Path [...] hipster.bestpractical.com>; Thu, 13 Apr 2017 23:52:57 -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 48aZGKXaNnia for <cpan-bug+File-Path [...] hipster.bestpractical.com>; Thu, 13 Apr 2017 23:52:54 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id A030024019B for <bug-File-Path [...] rt.cpan.org>; Thu, 13 Apr 2017 23:52:53 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 8F1C511D347 for <bug-File-Path [...] rt.cpan.org>; Thu, 13 Apr 2017 20:52:52 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id AE2ED11D9BF for <bug-File-Path [...] rt.cpan.org>; Thu, 13 Apr 2017 20:52:48 -0700 (PDT)
Received: from mail-qt0-f177.google.com (mail-qt0-f177.google.com [209.85.216.177]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 0F63B11D9B3 for <bug-File-Path [...] rt.cpan.org>; Thu, 13 Apr 2017 20:52:34 -0700 (PDT)
Received: by mail-qt0-f177.google.com with SMTP id n46so59438251qta.2 for <bug-File-Path [...] rt.cpan.org>; Thu, 13 Apr 2017 20:52:34 -0700 (PDT)
Received: by 10.237.37.12 with HTTP; Thu, 13 Apr 2017 20:52:33 -0700 (PDT)
Delivered-To: cpan-bug+File-Path [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #121102] File::Path v2.12_003 Build Error on Windows 10 Perl 5.24.1 using cpanm
Return-Path: <itcharlie [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=i0VIDtSKIDCWuDCIzX5n8O/iHFCkUrPLxq1kyhODmQo=; b=cur7XIee3HUMVPYN/0rRMb57caJXlE2ExyaxPKqFaMiE2Es93wUXC+fXemBDq5peTx 50Vw4wy/Eta9loMTSHXgeXJqsfZ5WLS4KAbnLWtz1ETFJC0Zf3D0+pdosDa/VFiXs5na IyfnokWcRF83HIjjTAk8L7SxzGVm7BDdr0HbqWAOUAoprpPUL4u/WS6G7pTalWFCjaJo Qmk0pTUhZUvwerDDY4HVKR1T5G7hZ9MgFe/dq8hTuCOc0GEbw8+qLdoqB6+4smPsebL3 nkOTHimSn8S6gc/1frojlr1df/KCM3u/eT3lrqANWGYF/ldZY0o4NvCITUQScMWXmvnk dGDA==
X-Original-To: cpan-bug+File-Path [...] hipster.bestpractical.com
X-RT-Mail-Extension: file-path
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=i0VIDtSKIDCWuDCIzX5n8O/iHFCkUrPLxq1kyhODmQo=; b=X6vn433BwrXBpzXKvjpYxcYzXSotM8i66xL9j4OAxDM7wVA0D+Y2WjumS5SVN8yPy6 wK3wLKOUOkQgOfuDDyFFfAXWXWKbO0rM92C1qbWnouW7GiQumCaWvMJ8MLNzLbMW2yFL HSgU0UoO86oSy4/3R/zqWcS2qlsrzvzlg8/cOcbeMs8IkRcwYO2EpZ88SeUwnkVNzqsm eHfhTX61vX+S7cRb9l8FadIQFQZzVHUqs4Q8+A209fiuj0yMLRFXuL1bMmxfIsjSQVD3 S8NHMwl1osh36TprQrqxhCpIQlW1/+2lGOAWH1KVZCEt81giI1J1V+oChvFN3CGaEfVd 0ceQ==
Date: Thu, 13 Apr 2017 23:52:33 -0400
X-PMX-Spam: Gauge=XIIIIIII, Probability=17%, Report=' INVALID_CHARSET 1.8, SUPERLONG_LINE 0.05, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTH_SIZE_3000_MORE 0, BODY_SIZE_10000_PLUS 0, CTYPE_MULTIPART_NO_QUOTE 0, DATE_TZ_NA 0, DKIM_SIGNATURE 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, REFERENCES 0, SPF_PASS 0, TXT_ATTACHED 0, URI_ENDS_IN_HTML 0, WEBMAIL_SOURCE 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_MIXED 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FORWARDED_MSG 0, __FRAUD_BODY_WEBMAIL 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_ATTACHMENT 0, __HAS_ATTACHMENT1 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HELO_GMAIL 0, __HEX28_LC_BOUNDARY 0, __HIGHBITS 0, __HTML_AHREF_TAG 0, __HTML_TAG_DIV 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __MULTIPLE_URI_HTML 0, __MULTIPLE_URI_TEXT 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __RATWARE_SIGNATURE_3_N1 0, __RDNS_GMAIL 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITHOUT_PATH 0, __URI_WITH_PATH 0, __YOUTUBE_RCVD 0, __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.4.14.32417
To: bug-File-Path [...] rt.cpan.org
X-GM-Message-State: AN3rC/4tKhj+zCxQZ/FqY4796nxJWrb3wGzRynkCIGxzGl2hmjg8WIxN mSpKIfLjbveN5vOLMaoX/COr/uTLKA==
From: Charlie Gonzalez <itcharlie [...] gmail.com>
RT-Message-ID: <rt-4.0.18-17003-1492141978-487.121102-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: multipart/alternative; boundary="94eb2c0c98c81a5b5b054d185f68"
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 3915
Download (untitled) / with headers
text/plain 3.8k
Ran the command as suggested. Results attached. Charlie Gonzalez (E) itcharlie@gmail.com Github Profile <https://github.com/itcharlie> On Thu, Apr 13, 2017 at 4:26 PM, James E Keenan via RT < bug-File-Path@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=121102 > > > On Thu Apr 13 16:10:32 2017, JKEENAN wrote:
> > For reference, am attaching tarball of the most recent version which I > > asked Charlie Gonzalez to test. This is equivalent to the 'functions- > > not-available-on-windows' branch on github at commit > > cc7e62208eabdd8597823024b7649d0c0981986f.
> > So I now have a hypothesis on what is happening. While working on > 2.12_003 and _004, I was trying to boost the extent to which t/*.t > exercises the File-Path source code under lib/. In other words, I was > trying to boost the coverage ratio. I know that I did boost coverage by a > lot. That was accomplished by adding more tests for every nook and cranny > under mkpath(), rmtree(), etc. > > But in the process of so doing, I probably added tests for combinations of > arguments which are implausible on Windows. Note that in master, the > points at which we call getpwnam() and getgrnam() are these: > > ##### > sub mkpath { > my $old_style = !( @_ and __is_arg( $_[-1] ) ); > > my $data; > my $paths; > > if ($old_style) { > my ( $verbose, $mode ); > ( $paths, $verbose, $mode ) = @_; > $paths = [$paths] unless UNIVERSAL::isa( $paths, 'ARRAY' ); > $data->{verbose} = $verbose; > $data->{mode} = defined $mode ? $mode : oct '777'; > } > else { > my %args_permitted = map { $_ => 1 } ( qw| > chmod > error > group > mask > mode > owner > uid > user > verbose > | ); > ... > $data->{owner} = delete $data->{user} if exists $data->{user}; > $data->{owner} = delete $data->{uid} if exists $data->{uid}; > if ( exists $data->{owner} and $data->{owner} =~ /\D/ ) { > my $uid = ( getpwnam $data->{owner} )[2]; > if ( defined $uid ) { > $data->{owner} = $uid; > } > else { > _error( $data, > "unable to map $data->{owner} to a uid, ownership > not changed" > ); > delete $data->{owner}; > } > } > if ( exists $data->{group} and $data->{group} =~ /\D/ ) { > my $gid = ( getgrnam $data->{group} )[2]; > if ( defined $gid ) { > $data->{group} = $gid; > } > else { > _error( $data, > "unable to map $data->{group} to a gid, group > ownership not changed" > ); > delete $data->{group}; > } > } > ... > } > } > ##### > > So getpwnam() is only encountered if $data{owner} exists and is a > non-numeric string. Similarly, getgrnam() is only encountered if > $data{group} exists and is a non-numeric string. If these conditions do > not obtain, then Perl never has to ask, "Are getpwnam() and/or getgrnam() > implemented on this system?" And if on Windows no one would ever pass > 'owner', 'user', 'uid' or 'group' in the hashref which is the optional > final argument to make_path(), then no user on Windows would ever encounter > this error. The only time these built-in functions would be encountered in > the not-so-real-world of testing would be in t/Path.t. > > So, Charlie, can you run the following command from the latest tarball > that I sent you and post the output? > > ##### > prove -vb t/Path.t 1>t_Path_t_output.txt 2>&1 > ##### > > That way, I'll be able to see the exact test at which we're getting the > fatal error. > > Thank you very much. > Jim Keenan > > >
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 5181
content-type: text/plain; charset="utf-8"
X-Attachment-ID: 彦ㅪ慨㥲灬ਰ
Content-Disposition:
Content-Transfer-Encoding: 慢敳㐶
X-RT-Original-Encoding: utf-8
Content-Length: 7620
Download (untitled) / with headers
text/plain 7.4k
prove : The getpwnam function is unimplemented at C:\Users\cgonzalez\.cpanm\work\1492103902.6672\File-Path-2.12_004\blib\lib/File/Path.pm line 128. At line:1 char:1 + prove -vb t/Path.t 1>t_Path_t_output.txt 2>&1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (The getpwnam fu...th.pm line 128.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError # Looks like your test exited with 2 just after 143. t/Path.t .. 1..168 ok 1 - use Cwd; ok 2 - use File::Path; ok 3 - use File::Spec::Functions; ok 4 - mkdir parent dir 0111 ok 5 - mkdir child dir 0111 ok 6 - mhx does not exist 0111 ok 7 - mkdir parent dir 0777 ok 8 - mkdir child dir 0777 ok 9 - mhx does not exist 0777 ok 10 - created list of directories ok 11 - skipped making existing directory ok 12 - rmtree'ed a file ok 13 - Can't create a directory named '' ok 14 - baseline 3 ok 15 - first after 3 ok 16 - second after 4 ok 17 - ARGV 3 ok 18 - third after 3 ok 19 - fourth after 4 ok 20 - ancestor error ok 21 - ancestor named ok 22 - ancestor reason ok 23 - child not removed ok 24 - ancestor not removed ok 25 - ancestor now removed ok 26 - rmtree of nothing, count of zero ok 27 - no diagnostic captured ok 28 - skipped making existing directories (old style 1) ok 29 - created directory (new style 1) ok 30 - created directory (new style 1) cross-check ok 31 - skipped making existing directories (old style 2) ok 32 - created directory (new style 2) ok 33 - created directory (new style 2) cross-check ok 34 - removed directory unsafe mode ok 35 - removed directory safe mode ok 36 - made one or more dirs because of .. ok 37 - made less than two dirs because of .. ok 38 - directory after parent ok 39 - nothing created ok 40 - no errors unlinking a and z ok 41 - list contains 4 elements ok 42 - dir a still exists ok 43 - dir z still exists ok 44 - created directory (old style 2 verbose undef) ok 45 - created directory (old style 2 verbose undef) cross-check ok 46 - removed directory 2 verbose undef ok 47 - created directory (old style 2a verbose undef) ok 48 - created directory (old style 2a verbose undef) cross-check ok 49 - removed directory 2a verbose undef ok 50 - created directory (old style 3 mode undef) ok 51 - created directory (old style 3 mode undef) cross-check ok 52 - removed directory 3 verbose undef ok 53 - created write-only dir ok 54 - created write-only directory cross-check ok 55 - removed write-only dir ok 56 - chdir to temp dir ok 57 - new-style 3 dirs created ok 58 - new-style 3 dirs removed ok 59 - new-style 3 dirs created (redux) ok 60 - new-style 3 dirs removed (redux) ok 61 - new-style 2 dirs created ok 62 - new-style 2 dirs removed ok 63 # skip MSWin32 doesn't allow newline in paths ok 64 # skip MSWin32 doesn't allow newline in paths ok 65 - chdir parent ok 66 # skip Don't need Force_Writeable semantics on MSWin32 ok 67 # skip Don't need Force_Writeable semantics on MSWin32 ok 68 # skip Don't need Force_Writeable semantics on MSWin32 ok 69 # skip Don't need Force_Writeable semantics on MSWin32 ok 70 # skip Don't need Force_Writeable semantics on MSWin32 ok 71 # skip Don't need Force_Writeable semantics on MSWin32 ok 72 - file exists in place of directory ok 73 - caught error condition ok 74 - and the message is: File exists; Cannot create a file when that file already exists ok 75 - no directory created (old-style) err=mkdir test-58f046e0-2258-18048\file: File exists; Cannot create a file when that file already exists at t/Path.t line 460. ok 76 - create a ZZ directory ok 77 - blow it away via @ARGV ok 78 # skip Windows chmod test skipped ok 79 # skip Windows chmod test skipped ok 80 # skip Windows chmod test skipped ok 81 # skip Windows chmod test skipped ok 82 # skip Windows chmod test skipped ok 83 # skip Windows chmod test skipped ok 84 # skip Windows chmod test skipped ok 85 # skip Windows chmod test skipped ok 86 # skip Windows chmod test skipped ok 87 # skip Windows chmod test skipped ok 88 # skip Windows chmod test skipped ok 89 # skip Windows chmod test skipped ok 90 # skip Windows chmod test skipped ok 91 # skip Windows chmod test skipped ok 92 # skip Windows chmod test skipped ok 93 # skip Windows chmod test skipped ok 94 # skip Windows chmod test skipped ok 95 # skip Windows chmod test skipped ok 96 # skip Windows chmod test skipped ok 97 - mkpath verbose (old style 1) ok 98 - mkpath verbose (old style 2) ok 99 - rmtree verbose (old style) ok 100 - mkpath verbose (new style 1) ok 101 - mkpath verbose (new style 2) ok 102 - again: rmtree verbose (old style) ok 103 - make_path verbose with final hashref ok 104 - remove_tree verbose with final hashref ok 105 - 2 directories created ok 106 - file created in directory ok 107 - rmtree safe verbose (new style) ok 108 - make_path with final hashref warned due to unrecognized options ok 109 - remove_tree with final hashref failed due to unrecognized options ok 110 - received a final list of results ok 111 - test base directory gone ok 112 - make x8792x ok 113 - ... and chdir x8792x ok 114 - create and delete directory 2.07 ok 115 - .. rmtree fails in File-Path-2.07 ok 116 - Windows path unixified as expected ok 117 - no $arg->{error}: defined 2nd and 3rd args: got expected error message ok 118 - no $arg->{error}: defined 2nd arg; undefined 3rd arg: got expected error message ok 119 - first element of array inside $error is hashref ok 120 - key of hash is empty string, since 3rd arg was undef ok 121 - value of hash is 2nd arg: message in a bottle ok 122 - first element of array inside $second_error is hashref ok 123 - key of hash is '/path/to/glory', since 3rd arg was defined ok 124 - value of hash is 2nd arg: ok 125 - first element of array inside $third_error is hashref ok 126 - key of hash is empty string, since 3rd arg was undef ok 127 - value of hash is 2nd arg: # https://rt.cpan.org/Ticket/Display.html?id=117019 ok 128 - Created 3 subdirectories ok 129 - directory 'C:\Users\CGONZA~1\AppData\Local\Temp\a\b\c' removed, as expected ok 130 - CPAN 117019: No warning thrown when re-using $opts ok 131 - directory 'C:\Users\CGONZA~1\AppData\Local\Temp\a\b' removed, as expected ok 132 - CPAN 117019: No warning thrown when re-using $opts ok 133 - directory 'C:\Users\CGONZA~1\AppData\Local\Temp\a' removed, as expected ok 134 - If not provided with any paths, remove_tree() will return a count of 0 things deleted ok 135 - If not provided with any paths, remove_tree() will return a count of 0 things deleted ok 136 - Got expected carp ok 137 - If not provided with any paths, remove_tree() will return a count of 0 things deleted ok 138 - Got expected carp ok 139 - If provided only with an undefined value, remove_tree() will return a count of 0 things deleted ok 140 - Got expected carp ok 141 - If provided with an empty string for a path, remove_tree() will return a count of 0 things deleted ok 142 - If not provided with any paths, make_path() will return a count of 0 things created ok 143 - If not provided with any paths, make_path() will return a count of 0 things created Dubious, test returned 2 (wstat 512, 0x200) Failed 25/168 subtests (less 27 skipped subtests: 116 okay) Test Summary Report ------------------- t/Path.t (Wstat: 512 Tests: 143 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 168 tests but ran 143. Files=1, Tests=143, 1 wallclock secs ( 0.06 usr + 0.02 sys = 0.08 CPU) Result: FAIL
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-17003-1492141978-487.121102-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-121102 [...] rt.cpan.org> <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com> <rt-4.0.18-5249-1492108871-337.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-30979-1492114232-1071.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-15850-1492115163-1434.121102-6-0 [...] rt.cpan.org> <CALiuAmqxDU3FamCP1C+Gp+ieY2xb85En7KuR7-gDFVgRxiT3Dw [...] mail.gmail.com> <rt-4.0.18-17003-1492141978-487.121102-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-25387-1492187916-546.121102-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: 1061
On Thu Apr 13 23:52:58 2017, itcharlie wrote: Show quoted text
> Ran the command as suggested. Results attached. >
Thanks for that output. To further explore this hypothesis, here's what I would like you to do on your Windows machine. 1. git clone https://github.com/jkeenan/File-Path/tree/master We're going to work in two different branches. 2. git checkout rt-121102-functions-not-available-on-windows perl Makefile.PL make make test # If any test fails, run: prove -vb t/*.t # and send output # In any case, run and send output from: prove -vb t/Path_win32.t 3. git clean -dfx git checkout research-earliest-getpwnam-getgrnam perl Makefile.PL make make test # Run and send output from: prove -vb t/win32.t Roughly speaking, this is what I'm exploring: Step 3 asks: What if back in 2009 we had written explicit tests to see what happens when you provide a 'group' or 'owner' argument to mkpath() on Win32? Step 2 modifies the source code to warn if you attempt to do that today and adds tests to see if that warning is captured. Thank you very much. Jim Keenan
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-17003-1492141978-487.121102-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-121102 [...] rt.cpan.org> <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com> <rt-4.0.18-5249-1492108871-337.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-30979-1492114232-1071.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-15850-1492115163-1434.121102-6-0 [...] rt.cpan.org> <CALiuAmqxDU3FamCP1C+Gp+ieY2xb85En7KuR7-gDFVgRxiT3Dw [...] mail.gmail.com> <rt-4.0.18-17003-1492141978-487.121102-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-30613-1492188285-238.121102-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: 541
Download (untitled) / with headers
text/plain 541b
On Thu Apr 13 23:52:58 2017, itcharlie wrote: Show quoted text
> Ran the command as suggested. Results attached. > > Charlie Gonzalez > (E) itcharlie@gmail.com > Github Profile <https://github.com/itcharlie> > >
CPANtesters is, at long last, starting to catch up. Here is a FAIL report from April 07 which reports the same exception which Charlie reported: http://www.cpantesters.org/cpan/report/a22af1ad-6bf5-1014-bd03-a578ef0376f0 So, working with Charlie to get this fixed on Windows should get this fixed, period. Thank you very much. Jim Keenan
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-30613-1492188285-238.121102-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-121102 [...] rt.cpan.org> <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com> <rt-4.0.18-5249-1492108871-337.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-30979-1492114232-1071.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-15850-1492115163-1434.121102-6-0 [...] rt.cpan.org> <CALiuAmqxDU3FamCP1C+Gp+ieY2xb85En7KuR7-gDFVgRxiT3Dw [...] mail.gmail.com> <rt-4.0.18-17003-1492141978-487.121102-0-0 [...] rt.cpan.org> <rt-4.0.18-30613-1492188285-238.121102-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-27950-1492540761-431.121102-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: 164
Download (untitled) / with headers
text/plain 164b
On Fri Apr 14 12:44:45 2017, JKEENAN wrote: I have uploaded File-Path-2.12_004.tar.gz to CPAN. Let's see what CPANtesters on Win32 have to say about this version.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-27950-1492540761-431.121102-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-121102 [...] rt.cpan.org> <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com> <rt-4.0.18-5249-1492108871-337.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-30979-1492114232-1071.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-15850-1492115163-1434.121102-6-0 [...] rt.cpan.org> <CALiuAmqxDU3FamCP1C+Gp+ieY2xb85En7KuR7-gDFVgRxiT3Dw [...] mail.gmail.com> <rt-4.0.18-17003-1492141978-487.121102-0-0 [...] rt.cpan.org> <rt-4.0.18-30613-1492188285-238.121102-0-0 [...] rt.cpan.org> <rt-4.0.18-27950-1492540761-431.121102-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-12057-1496278697-548.121102-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: 484
Download (untitled) / with headers
text/plain 484b
On Tue Apr 18 14:39:21 2017, JKEENAN wrote: Show quoted text
> On Fri Apr 14 12:44:45 2017, JKEENAN wrote: > > I have uploaded File-Path-2.12_004.tar.gz to CPAN. Let's see what > CPANtesters on Win32 have to say about this version.
The Win32 CPANtesters reports for versions 2.12_005 thru 2.12_008 were all PASS. File-Path version 2.13 was released to CPAN today. Charlie: Can you give File-Path 2.13 a spin with 'cpanm' and let us know if everything is okay? Thank you very much. Jim Keenan
MIME-Version: 1.0
X-Spam-Status: No, score=-4.727 tagged_above=-99.9 required=10 tests=[AWL=0.606, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FROM_OUR_RT=-4, HTML_MESSAGE=0.001, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-4.0.18-12057-1496278697-1123.121102-6-0 [...] rt.cpan.org>
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-121102 [...] rt.cpan.org> <CALiuAmp9R5o4MTwRQkqHht_Qtov2pbi=gpHEDtVbf=tmiRHWzA [...] mail.gmail.com> <rt-4.0.18-5249-1492108871-337.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-30979-1492114232-1071.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-15850-1492115163-1434.121102-6-0 [...] rt.cpan.org> <CALiuAmqxDU3FamCP1C+Gp+ieY2xb85En7KuR7-gDFVgRxiT3Dw [...] mail.gmail.com> <rt-4.0.18-17003-1492141978-487.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-30613-1492188285-238.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-27950-1492540761-431.121102-6-0 [...] rt.cpan.org> <rt-4.0.18-12057-1496278697-1123.121102-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.55.155.195 with SMTP id d186mr20700810qke.174.1496281749420; Wed, 31 May 2017 18:49:09 -0700 (PDT)
Message-ID: <CALiuAmq_uxWk-ckkU36J2cvu3oWQ_9Vnha9NojHZYR6oiFaXMg [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary="94eb2c0762422880f60550dc3ef6"
X-Spam-Score: -4.727
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 35EB02403CB for <cpan-bug+File-Path [...] hipster.bestpractical.com>; Wed, 31 May 2017 21:49:43 -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 sUxsV2qkll7d for <cpan-bug+File-Path [...] hipster.bestpractical.com>; Wed, 31 May 2017 21:49:40 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 70AB02403C7 for <bug-File-Path [...] rt.cpan.org>; Wed, 31 May 2017 21:49:40 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 831A166FFE for <bug-File-Path [...] rt.cpan.org>; Wed, 31 May 2017 18:49:27 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 67B2B66FFB for <bug-File-Path [...] rt.cpan.org>; Wed, 31 May 2017 18:49:17 -0700 (PDT)
Received: from mail-qk0-f179.google.com (mail-qk0-f179.google.com [209.85.220.179]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 0BFE966FFA for <bug-File-Path [...] rt.cpan.org>; Wed, 31 May 2017 18:49:10 -0700 (PDT)
Received: by mail-qk0-f179.google.com with SMTP id y201so26165377qka.0 for <bug-File-Path [...] rt.cpan.org>; Wed, 31 May 2017 18:49:10 -0700 (PDT)
Received: by 10.237.35.225 with HTTP; Wed, 31 May 2017 18:49:09 -0700 (PDT)
Delivered-To: cpan-bug+File-Path [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #121102] File::Path v2.12_003 Build Error on Windows 10 Perl 5.24.1 using cpanm
Return-Path: <itcharlie [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=P+LF4dlv/Bvg+yHp2ESJu05Z1bLEuFAOXmr3I+V/C5o=; b=YyKDLcF+5BLR2YqEXmooStbdOlod+USQ5lF1P6BtlIKNLoiUHqB+V8fWiTYHmHzb/b HPi2F560NdEpcAilTGruSFYFgNAutGhuYtgVufif7B+A4TgeS87jH09abvhhsTw8UGCV bmltv8WPUKKZE4xNPXqJzszsCYGZpYY/yyaFS5VinDpQK2KJsHhyzPahG6hZZ83slMZ6 JnqbaPh5sqHjyLmxjcOCpP+94Sr/r4o1/hfbrpGpjWesbrkNaY71BkPFNKtElMvjVGBl +WOgIzAZeLjf4sPjZOhhLG4t04ta2J6ysp5y2eQ4/YNs70BBzAbs0liipvcq8WKfoVzq gUGw==
X-Original-To: cpan-bug+File-Path [...] hipster.bestpractical.com
X-RT-Mail-Extension: file-path
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=P+LF4dlv/Bvg+yHp2ESJu05Z1bLEuFAOXmr3I+V/C5o=; b=khE1F+VMvxyDBMrZKv1E4VseMz1/0Ow1aHFJBKXUITsq4rXsw078YYnt/rVrEWHrvS 3kWQSTORDeULl/JcD/PhC9YBcS7f2bVyKJtNSzatE5E13lYV2vPzqtKEFkDAvQ1Xx3Jh kPoAo7mclMrAEaxtmpFDD3qoZ1CR4NCBEL9ALvLGACIjoYH6s3jJit4JlEk06cZAx0JM neIMwqA0xvNeO+/7ppHhg5Wnvp4xMWhCd1EaAgxVOBNqUTMna5+/tR+uHvNS0pmAxEz0 z5U+YCzohZBrCnkDyvj/i76lQbR5ukAJ26NWhbNgmgsBuHctx27tAxX5EmpGctD4EQ8P shWA==
Date: Wed, 31 May 2017 21:49:09 -0400
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_4000_4999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, DKIM_SIGNATURE 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, REFERENCES 0, SPF_PASS 0, URI_ENDS_IN_HTML 0, WEBMAIL_SOURCE 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FORWARDED_MSG 0, __FRAUD_BODY_WEBMAIL 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HELO_GMAIL 0, __HEX28_LC_BOUNDARY 0, __HTML_AHREF_TAG 0, __HTML_TAG_DIV 0, __HTTPS_URI 0, __INT_PROD_COMP 0, __IN_REP_TO 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __MULTIPLE_URI_HTML 0, __MULTIPLE_URI_TEXT 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __RATWARE_SIGNATURE_3_N1 0, __RDNS_GMAIL 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITHOUT_PATH 0, __URI_WITH_PATH 0, __YOUTUBE_RCVD 0, __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.6.1.13616
To: bug-File-Path [...] rt.cpan.org
X-GM-Message-State: AODbwcCjI4jawXXMM2GPzvr+8GeuXRg3rkjvP0aDvQ7kGVJuMiDJbmV0 PRTIJqh3dREk/o0QL0frdMDiiMnLuIPD
From: Charlie Gonzalez <itcharlie [...] gmail.com>
RT-Message-ID: <rt-4.0.18-11072-1496281784-1314.121102-0-0 [...] rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 1237
Download (untitled) / with headers
text/plain 1.2k
Installed it without any issues: PS C:\Users\cgonzalez\Desktop> cpanm -L .\FilePath_2.13 https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/File-Path-2.1 3.tar.gz --> Working on https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/File-Path-2.13.tar.gz Fetching https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/File-Path-2.13.tar.gz ... OK Configuring File-Path-2.13 ... OK Building and testing File-Path-2.13 ... OK Successfully installed File-Path-2.13 1 distribution installed Charlie Gonzalez (E) itcharlie@gmail.com Github Profile <https://github.com/itcharlie> On Wed, May 31, 2017 at 8:58 PM, James E Keenan via RT < bug-File-Path@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=121102 > > > On Tue Apr 18 14:39:21 2017, JKEENAN wrote:
> > On Fri Apr 14 12:44:45 2017, JKEENAN wrote: > > > > I have uploaded File-Path-2.12_004.tar.gz to CPAN. Let's see what > > CPANtesters on Win32 have to say about this version.
> > The Win32 CPANtesters reports for versions 2.12_005 thru 2.12_008 were all > PASS. File-Path version 2.13 was released to CPAN today. > > Charlie: Can you give File-Path 2.13 a spin with 'cpanm' and let us know > if everything is okay? > > Thank you very much. > Jim Keenan > > > >
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 2365
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-11072-1496281784-1314.121102-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-15850-1492115163-1434.121102-6-0 [...] rt.cpan.org> <CALiuAmqxDU3FamCP1C+Gp+ieY2xb85En7KuR7-gDFVgRxiT3Dw [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-22026-1497011755-436.121102-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: 1660
Download (untitled) / with headers
text/plain 1.6k
On Wed May 31 21:49:44 2017, itcharlie wrote: Show quoted text
> Installed it without any issues: > > PS C:\Users\cgonzalez\Desktop> cpanm -L .\FilePath_2.13 > https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/File-Path-2.1 > 3.tar.gz > --> Working on > https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/File-Path-2.13.tar.gz > Fetching > https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/File-Path-2.13.tar.gz ... > OK > Configuring File-Path-2.13 ... OK > Building and testing File-Path-2.13 ... OK > Successfully installed File-Path-2.13 > 1 distribution installed > > > Charlie Gonzalez > (E) itcharlie@gmail.com > Github Profile <https://github.com/itcharlie> > > > On Wed, May 31, 2017 at 8:58 PM, James E Keenan via RT < > bug-File-Path@rt.cpan.org> wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=121102 > > > > > On Tue Apr 18 14:39:21 2017, JKEENAN wrote:
> > > On Fri Apr 14 12:44:45 2017, JKEENAN wrote: > > > > > > I have uploaded File-Path-2.12_004.tar.gz to CPAN. Let's see what > > > CPANtesters on Win32 have to say about this version.
> > > > The Win32 CPANtesters reports for versions 2.12_005 thru 2.12_008 were all > > PASS. File-Path version 2.13 was released to CPAN today. > > > > Charlie: Can you give File-Path 2.13 a spin with 'cpanm' and let us know > > if everything is okay? > > > > Thank you very much. > > Jim Keenan > > > > > > > >
File-Path 2.13 and File-Path 2.14 are all PASS on CPANtesters. http://matrix.cpantesters.org/?dist=File-Path%202.13;os=mswin32;reports=1 http://fast-matrix.cpantesters.org/?dist=File-Path%202.14;os=mswin32;reports=1 So I'm marking this ticket Resolved. Thank you very much. Jim Keenan


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.