Skip Menu |
 

This queue is for tickets about the Git-FastExport CPAN distribution.

Report information
The Basics
Id: 94608
Status: open
Priority: 0/
Queue: Git-FastExport

People
Owner: Nobody in particular
Requestors: marc.towersap [...] gmail.com
Cc:
AdminCc:

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



Subject: install seems to hang on windows
Date: Thu, 10 Apr 2014 10:41:49 -0600
To: bug-Git-FastExport [...] rt.cpan.org
From: marc towersap <marc.towersap [...] gmail.com>
Download (untitled) / with headers
text/plain 4.3k
On windows using strawberry perl, I do a cpan Git::FastExport::Stitch Database was generated on Wed, 09 Apr 2014 21:13:42 GMT Running install for module 'Git::FastExport::Stitch' Running make for B/BO/BOOK/Git-FastExport-0.103.tar.gz CPAN: Digest::SHA loaded ok (v5.84) CPAN: Compress::Zlib loaded ok (v2.06) Checksum for C:\strawberry\cpan\sources\authors\id\B\BO\BOOK\Git-FastExport-0.10 3.tar.gz ok CPAN: Archive::Tar loaded ok (v1.90) CPAN: File::Temp loaded ok (v0.2304) CPAN: Parse::CPAN::Meta loaded ok (v1.4405) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok (v2.83) CPAN.pm: Building B/BO/BOOK/Git-FastExport-0.103.tar.gz Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Git::FastExport Writing MYMETA.yml and MYMETA.json cp lib/Git/FastExport.pm blib\lib\Git\FastExport.pm cp lib/Git/FastExport/Block.pm blib\lib\Git\FastExport\Block.pm cp lib/Git/FastExport/Stitch.pm blib\lib\Git\FastExport\Stitch.pm C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- script/git-stitch-r epo blib\script\git-stitch-repo pl2bat.bat blib\script\git-stitch-repo BOOK/Git-FastExport-0.103.tar.gz C:\strawberry\c\bin\dmake.exe -- OK CPAN: YAML::XS loaded ok (v0.39) Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*. t t/00-compile.t ................ ok t/000-report-versions-tiny.t .. # # # Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08 # perl: 5.016003 (wanted 5.006) on MSWin32 from C:\strawberry\perl\bin\perl.exe # # Carp => 1.26 (want any version) # Cwd => 3.40 (want any version) # ExtUtils::MakeMaker => 6.94 (want 6.30) # File::Path => 2.09 (want any version) # File::Spec => 3.40 (want any version) # File::Spec::Functions => 3.40 (want any version) # File::Temp => 0.2304 (want any version) # Getopt::Long => 2.42 (want any version) # Git::Repository => 1.311 (want any version) # IO::Handle => 1.33 (want any version) # IPC::Open3 => 1.12 (want any version) # List::Util => 1.38 (want any version) # Pod::Coverage::TrustPod => 0.100003 (want any version) # Pod::Usage => 1.63 (want any version) # Scalar::Util => 1.38 (want any version) # Test::CPAN::Meta => 0.23 (want any version) # Test::Git => 1.311 (want any version) # Test::More => 1.001003 (want 0.88) # Test::Pod => 1.48 (want 1.41) # Test::Pod::Coverage => 1.08 (want 1.08) # Test::Script => 1.07 (want 1.05) # strict => 1.07 (want any version) # version => 0.9902 (want 0.9901) # warnings => 1.13 (want any version) # # Thanks for using my code. I hope it works for you. # If not, please try and include this output in the bug report. # That will help me reproduce the issue and solve your problem. # t/000-report-versions-tiny.t .. ok t/00load.t .................... ok t/01new.t ..................... ok t/10fast-export.t ............. ok t/20stitch.t .................. ok *t/30stitch-repo.t .............* And it just sits there in t/30stitch-repo.t I did install Dist::Zilla and several other perl modules, but nothing seems to help. I always get hung at this 30-stitch-repo.t. I've let it run for hours, and it does nothing. In case you were wondering what perl version I'm using C:\Users\marct>perl -version This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x64-multi-thread I am admin on this machine, and it's windows 7 professional, 64-bit OS, with 8 G RAM
Subject: Re: [rt.cpan.org #94608] AutoReply: install seems to hang on windows
Date: Thu, 10 Apr 2014 13:11:50 -0600
To: bug-git-fastexport <bug-Git-FastExport [...] rt.cpan.org>
From: marc towersap <marc.towersap [...] gmail.com>
Download (untitled) / with headers
text/plain 559b
When I give up and abort, I see t/30stitch-repo.t ............. Terminating on signal SIGINT(2) Terminating on signal SIGINT(2) Terminating on signal SIGINT(2) Terminating on signal SIGINT(2) CTerminating on signal SIGINT(2) aught SIGINT. Trying to quit ... dmake.exe: Error code 130, while making 'test_dynamic' dmake.exe: Warning: -- Internal Warning: finished pid 44 is not in pq!? I get this same behavior (hung, then aborting, seeing this error if I try to install Git::FastExport Git::FastExport::Block Git::FastExport::Stitch Bundle::Git::LongList2
Subject: Re: [rt.cpan.org #94608] install seems to hang on windows
Date: Thu, 10 Apr 2014 22:01:18 +0200
To: marc towersap via RT <bug-Git-FastExport [...] rt.cpan.org>
From: "Philippe Bruhat (BooK)" <book [...] cpan.org>
Download (untitled) / with headers
text/plain 1.3k
On Thu, Apr 10, 2014 at 12:42:00PM -0400, marc towersap via RT wrote: Show quoted text
> Thu Apr 10 12:41:59 2014: Request 94608 was acted upon. > Transaction: Ticket created by marc.towersap@gmail.com > Queue: Git-FastExport > Subject: install seems to hang on windows > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: marc.towersap@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94608 > > > > On windows using strawberry perl, I do a > cpan Git::FastExport::Stitch > > t/000-report-versions-tiny.t .. ok > t/00load.t .................... ok > t/01new.t ..................... ok > t/10fast-export.t ............. ok > t/20stitch.t .................. ok > *t/30stitch-repo.t .............* > > And it just sits there in t/30stitch-repo.t
Did Git::Repository install without problems? What output gives running "perl -Ilib t/30stitch-repo.t" from the directory where the tarball was extracted? Show quoted text
> I did install Dist::Zilla and several other perl modules, but nothing seems > to help. I always get hung at this 30-stitch-repo.t. I've let it run for > hours, and it does nothing.
Dist::Zilla shouldn't be required to install Git::FastExport. -- Philippe Bruhat (BooK) Your reputation is what you make of it... and what you choose to take with you. (Moral from Groo The Wanderer #48 (Epic))
Subject: Re: [rt.cpan.org #94608] install seems to hang on windows
Date: Thu, 10 Apr 2014 14:45:44 -0600
To: bug-git-fastexport <bug-Git-FastExport [...] rt.cpan.org>
From: marc towersap <marc.towersap [...] gmail.com>
Download (untitled) / with headers
text/plain 2.1k
As you could guess, I was getting desperate when I installed Dist::Zilla! Anyway, yes git::Repository installed fine without errors, I installed it earlier In running that command, I really get nothing other than 1..60 C:\strawberry\cpan\build\Git-FastExport-0.103-UNw9sE>perl -Ilib t/30stitch-repo. t 1..60 It too seems to hang, it's been running for maybe 10 minutes. I abort it, and it ends Terminating on signal SIGINT(2) Terminating on signal SIGINT(2) Terminating on signal SIGINT(2) On Thu, Apr 10, 2014 at 2:01 PM, Philippe Bruhat (BooK) via RT < bug-Git-FastExport@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=94608 > > > On Thu, Apr 10, 2014 at 12:42:00PM -0400, marc towersap via RT wrote:
> > Thu Apr 10 12:41:59 2014: Request 94608 was acted upon. > > Transaction: Ticket created by marc.towersap@gmail.com > > Queue: Git-FastExport > > Subject: install seems to hang on windows > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: marc.towersap@gmail.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94608 > > > > > > > On windows using strawberry perl, I do a > > cpan Git::FastExport::Stitch > > > > t/000-report-versions-tiny.t .. ok > > t/00load.t .................... ok > > t/01new.t ..................... ok > > t/10fast-export.t ............. ok > > t/20stitch.t .................. ok > > *t/30stitch-repo.t .............* > > > > And it just sits there in t/30stitch-repo.t
> > Did Git::Repository install without problems? > > What output gives running "perl -Ilib t/30stitch-repo.t" from the directory > where the tarball was extracted? >
> > I did install Dist::Zilla and several other perl modules, but nothing
> seems
> > to help. I always get hung at this 30-stitch-repo.t. I've let it run
> for
> > hours, and it does nothing.
> > Dist::Zilla shouldn't be required to install Git::FastExport. > > -- > Philippe Bruhat (BooK) > > Your reputation is what you make of it... and what you choose to take with > you. (Moral from Groo The Wanderer #48 > (Epic)) > >
Subject: Re: [rt.cpan.org #94608] install seems to hang on windows
Date: Thu, 10 Apr 2014 15:11:13 -0600
To: bug-git-fastexport <bug-Git-FastExport [...] rt.cpan.org>
From: marc towersap <marc.towersap [...] gmail.com>
Download (untitled) / with headers
text/plain 2.5k
I do see things in git-test subdirectory C:\strawberry\cpan\build\Git-FastExport-0.103-ZCLgy2\git-test\0\A\.git If I cd into it and run git status, I see it's a repo same for C:\strawberry\cpan\build\Git-FastExport-0.103-ZCLgy2\git-test\_\A\.git So it is creating git repositories. Not sure where it's hanging though. On Thu, Apr 10, 2014 at 2:45 PM, marc towersap <marc.towersap@gmail.com>wrote: Show quoted text
> As you could guess, I was getting desperate when I installed Dist::Zilla! > > Anyway, yes git::Repository installed fine without errors, I installed it > earlier > > In running that command, I really get nothing other than 1..60 > C:\strawberry\cpan\build\Git-FastExport-0.103-UNw9sE>perl -Ilib > t/30stitch-repo. > t > 1..60 > > It too seems to hang, it's been running for maybe 10 minutes. I abort it, > and it ends > Terminating on signal SIGINT(2) > Terminating on signal SIGINT(2) > Terminating on signal SIGINT(2) > > > > > > > On Thu, Apr 10, 2014 at 2:01 PM, Philippe Bruhat (BooK) via RT < > bug-Git-FastExport@rt.cpan.org> wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=94608 > >> >> On Thu, Apr 10, 2014 at 12:42:00PM -0400, marc towersap via RT wrote:
>> > Thu Apr 10 12:41:59 2014: Request 94608 was acted upon. >> > Transaction: Ticket created by marc.towersap@gmail.com >> > Queue: Git-FastExport >> > Subject: install seems to hang on windows >> > Broken in: (no value) >> > Severity: (no value) >> > Owner: Nobody >> > Requestors: marc.towersap@gmail.com >> > Status: new >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94608 > >> > >> > >> > On windows using strawberry perl, I do a >> > cpan Git::FastExport::Stitch >> > >> > t/000-report-versions-tiny.t .. ok >> > t/00load.t .................... ok >> > t/01new.t ..................... ok >> > t/10fast-export.t ............. ok >> > t/20stitch.t .................. ok >> > *t/30stitch-repo.t .............* >> > >> > And it just sits there in t/30stitch-repo.t
>> >> Did Git::Repository install without problems? >> >> What output gives running "perl -Ilib t/30stitch-repo.t" from the >> directory >> where the tarball was extracted? >>
>> > I did install Dist::Zilla and several other perl modules, but nothing
>> seems
>> > to help. I always get hung at this 30-stitch-repo.t. I've let it run
>> for
>> > hours, and it does nothing.
>> >> Dist::Zilla shouldn't be required to install Git::FastExport. >> >> -- >> Philippe Bruhat (BooK) >> >> Your reputation is what you make of it... and what you choose to take >> with >> you. (Moral from Groo The Wanderer #48 >> (Epic)) >> >>
>
Subject: Re: [rt.cpan.org #94608] install seems to hang on windows
Date: Fri, 11 Apr 2014 10:06:36 +0200
To: marc towersap via RT <bug-Git-FastExport [...] rt.cpan.org>
From: "Philippe Bruhat (BooK)" <book [...] cpan.org>
Download (untitled) / with headers
text/plain 1.3k
On Thu, Apr 10, 2014 at 05:11:36PM -0400, marc towersap via RT wrote: Show quoted text
> Queue: Git-FastExport > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94608 > > > I do see things in git-test subdirectory > C:\strawberry\cpan\build\Git-FastExport-0.103-ZCLgy2\git-test\0\A\.git > If I cd into it and run git status, I see it's a repo > > same for > C:\strawberry\cpan\build\Git-FastExport-0.103-ZCLgy2\git-test\_\A\.git > > So it is creating git repositories. Not sure where it's hanging though. >
I don't have a Windows box, which makes it hard for me to test. However I got some help on irc (irc.perl.org, I'm BooK there), and it seems it's the first `git fast-import` command that is blocking. I'm not exactly sure what the issue is. I wonder if it's related to CRLF line endings. Could you pick a random git repository and run: git fast-export --no-data master^.. and check what the line endings look like? Typically using an hex editor or something that can tell you if it's \012, \015 or a combination of the two. Another test we could try is to edit lib/Git/FastExport/Block.pm and replace the following line: my $LF = "\012"; By my $LF = "\n"; or my $LF = "\015\012"; And see if the test script still hangs. -- Philippe Bruhat (BooK) Even the most powerful being is at the mercy of the weakest. (Moral from Groo The Wanderer #34 (Epic))
Download (untitled) / with headers
text/plain 743b
On Fri Apr 11 04:06:47 2014, BOOK wrote: Show quoted text
> On Thu, Apr 10, 2014 at 05:11:36PM -0400, marc towersap via RT wrote:
> > Queue: Git-FastExport > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94608 > > > > > > > So it is creating git repositories. Not sure where it's hanging though. > >
> > I'm not exactly sure what the issue is. I wonder if it's related to > CRLF line endings. >
OK, so after checking on a Windows box, it's not a line-ending issue. It seems to be a deadlock caused by the fact that we're reading from several subprocesses at the same time. I'll try to reproduce it with a simple case, using System::Command / IPC::Run (used by System::Command on Win32) and see if there's a way out of this. -- BooK


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.