Skip Menu |

This queue is for tickets about the CPANPLUS-Dist-Build CPAN distribution.

Report information
The Basics
Id: 44857
Status: resolved
Worked: 10 min
Priority: 0/
Queue: CPANPLUS-Dist-Build

People
Owner: BINGOS [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Test hangs after "Could not read /etc/makepkg.conf"
Same thing happens with several of my smokers: PERL_DL_NONLAZY=1 /home/src/perl/repoperls/installed-perls/maint-5.8/pyGJGjA/perl-5.8.5@23552/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01_CPANPLUS-Dist-Build-Constants.t .. ok [ERROR] Could not read /etc/makepkg.conf: Datei oder Verzeichnis nicht gefunden At this point the processes seem to hang forever. Not all my perls have this. But I see no pattern yet. What I see that the output is different when I call 'make test' on the console and do not use CPAN.pm. Maybe some buffering issue. I now take perl 5.10 0 and run make test manually and this is what I see: make[1]: Entering directory `/home/sand/.cpan/build/CPANPLUS-Dist-Build-0.20-IUH3rH' PERL_DL_NONLAZY=1 /home/src/perl/repoperls/installed-perls/perl/pVNtS9N/perl-5.8.0@32642/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01_CPANPLUS-Dist-Build-Constants.t .. ok t/02_CPANPLUS-Dist-Build.t ............ 1/? [ERROR] Could not read /etc/makepkg.conf: Datei oder Verzeichnis nicht gefunden t/02_CPANPLUS-Dist-Build.t ............ 13/? Could not eval ' package ExtUtils::MakeMaker::_version; no strict; BEGIN { eval { # Ensure any version() routine which might have leaked # into this package has been deleted. Interferes with # version->import() undef *version; require version; "version"->import; } } local $VERSION; $VERSION=undef; do { package Acme::Tiny;$VERSION=. }; $VERSION; ' in /home/src/perl/repoperls/installed-perls/perl/pVNtS9N/perl-5.8.0@32642/lib/site_perl/5.10.0/Acme/Tiny.pm: syntax error at (eval 5177) line 16, near "=." After that it seems to hang forever. I do the same thing with 'make testdb TEST_FILE=t/02_CPANPLUS-Dist-Build.t' and then try to interrupt the hanging process. Can't do, no reaction. The ^C seems to be ignored. Let me know if I can try out more things.
CC: kane [...] cpan.org
Subject: Re: [rt.cpan.org #44857] Test hangs after "Could not read /etc/makepkg.conf"
Date: Thu, 16 Apr 2009 12:17:44 +0100
To: Andreas Koenig via RT <bug-CPANPLUS-Dist-Build [...] rt.cpan.org>
From: "Chris 'BinGOs' Williams" <chris [...] bingosnet.co.uk>
On Tue, Apr 07, 2009 at 11:21:03PM -0400, Andreas Koenig via RT wrote: Show quoted text
> Tue Apr 07 23:21:02 2009: Request 44857 was acted upon. > Transaction: Ticket created by ANDK > Queue: CPANPLUS-Dist-Build > Subject: Test hangs after "Could not read /etc/makepkg.conf" > Broken in: 0.20 > Severity: Normal > Owner: Nobody > Requestors: ANDK@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=44857 > > > > Same thing happens with several of my smokers: > > PERL_DL_NONLAZY=1 > /home/src/perl/repoperls/installed-perls/maint-5.8/pyGJGjA/perl-5.8.5@23552/bin/perl > "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', > 'blib/arch')" t/*.t > t/01_CPANPLUS-Dist-Build-Constants.t .. ok > [ERROR] Could not read /etc/makepkg.conf: Datei oder Verzeichnis nicht > gefunden > > At this point the processes seem to hang forever. > > Not all my perls have this. But I see no pattern yet. > > What I see that the output is different when I call 'make test' on the > console and do not use CPAN.pm. Maybe some buffering issue. > > I now take perl 5.10 0 and run make test manually and this is what I see: > > make[1]: Entering directory > `/home/sand/.cpan/build/CPANPLUS-Dist-Build-0.20-IUH3rH' > PERL_DL_NONLAZY=1 > /home/src/perl/repoperls/installed-perls/perl/pVNtS9N/perl-5.8.0@32642/bin/perl > "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', > 'blib/arch')" t/*.t > t/01_CPANPLUS-Dist-Build-Constants.t .. ok > t/02_CPANPLUS-Dist-Build.t ............ 1/? [ERROR] Could not read > /etc/makepkg.conf: Datei oder Verzeichnis nicht gefunden > > t/02_CPANPLUS-Dist-Build.t ............ 13/? Could not eval ' > package ExtUtils::MakeMaker::_version; > no strict; > BEGIN { eval { > # Ensure any version() routine which might have leaked > # into this package has been deleted. Interferes with > # version->import() > undef *version; > require version; > "version"->import; > } } > > local $VERSION; > $VERSION=undef; > do { > package Acme::Tiny;$VERSION=. > }; > $VERSION; > ' in > /home/src/perl/repoperls/installed-perls/perl/pVNtS9N/perl-5.8.0@32642/lib/site_perl/5.10.0/Acme/Tiny.pm: > syntax error at (eval 5177) line 16, near "=." > > > After that it seems to hang forever. I do the same thing with 'make > testdb TEST_FILE=t/02_CPANPLUS-Dist-Build.t' and then try to interrupt > the hanging process. Can't do, no reaction. The ^C seems to be ignored. > > Let me know if I can try out more things.
Thanks for the report, Andreas. Now where to start. Nothing I cannot find any references to '/etc/makepkg.conf' in either CPANPLUS or CPANPLUS::Dist::Build, so that is a mystery to begin with. I did a search for that on Google and came back with <http://wiki.archlinux.org/index.php/Makepkg.conf> Are you using Archlinux? I also can't see where Acme::Tiny comes into things either. Actually the path: /home/src/perl/repoperls/installed-perls/perl/pVNtS9N/perl-5.8.0@32642/lib/site_perl/5.10.0/Acme/Tiny.pm slightly worries me. A perl-5.8.0, I presume, with a 5.10.0 in the site_perl path? Is that a sign of corruption? I can't reproduce this unfortunately. Many thanks, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

On Thu Apr 16 07:18:12 2009, chris@bingosnet.co.uk wrote: Show quoted text
> On Tue, Apr 07, 2009 at 11:21:03PM -0400, Andreas Koenig via RT wrote:
> > Tue Apr 07 23:21:02 2009: Request 44857 was acted upon. > > Transaction: Ticket created by ANDK > > Queue: CPANPLUS-Dist-Build > > Subject: Test hangs after "Could not read /etc/makepkg.conf" > > Broken in: 0.20 > > Severity: Normal > > Owner: Nobody > > Requestors: ANDK@cpan.org > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=44857 > > > > > > > Same thing happens with several of my smokers: > > > > PERL_DL_NONLAZY=1 > > /home/src/perl/repoperls/installed-perls/maint-5.8/pyGJGjA/perl-
> 5.8.5@23552/bin/perl
> > "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', > > 'blib/arch')" t/*.t > > t/01_CPANPLUS-Dist-Build-Constants.t .. ok > > [ERROR] Could not read /etc/makepkg.conf: Datei oder Verzeichnis
> nicht
> > gefunden > > > > At this point the processes seem to hang forever. > > > > Not all my perls have this. But I see no pattern yet. > > > > What I see that the output is different when I call 'make test' on
> the
> > console and do not use CPAN.pm. Maybe some buffering issue. > > > > I now take perl 5.10 0 and run make test manually and this is what I
> see:
> > > > make[1]: Entering directory > > `/home/sand/.cpan/build/CPANPLUS-Dist-Build-0.20-IUH3rH' > > PERL_DL_NONLAZY=1 > > /home/src/perl/repoperls/installed-perls/perl/pVNtS9N/perl-
> 5.8.0@32642/bin/perl
> > "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', > > 'blib/arch')" t/*.t > > t/01_CPANPLUS-Dist-Build-Constants.t .. ok > > t/02_CPANPLUS-Dist-Build.t ............ 1/? [ERROR] Could not read > > /etc/makepkg.conf: Datei oder Verzeichnis nicht gefunden > > > > t/02_CPANPLUS-Dist-Build.t ............ 13/? Could not eval ' > > package ExtUtils::MakeMaker::_version; > > no strict; > > BEGIN { eval { > > # Ensure any version() routine which might have
> leaked
> > # into this package has been deleted. Interferes
> with
> > # version->import() > > undef *version; > > require version; > > "version"->import; > > } } > > > > local $VERSION; > > $VERSION=undef; > > do { > > package Acme::Tiny;$VERSION=. > > }; > > $VERSION; > > ' in > > /home/src/perl/repoperls/installed-perls/perl/pVNtS9N/perl-
> 5.8.0@32642/lib/site_perl/5.10.0/Acme/Tiny.pm:
> > syntax error at (eval 5177) line 16, near "=." > > > > > > After that it seems to hang forever. I do the same thing with 'make > > testdb TEST_FILE=t/02_CPANPLUS-Dist-Build.t' and then try to
> interrupt
> > the hanging process. Can't do, no reaction. The ^C seems to be
> ignored.
> > > > Let me know if I can try out more things.
> > Thanks for the report, Andreas. > > Now where to start. Nothing I cannot find any references to > '/etc/makepkg.conf' in either CPANPLUS > or CPANPLUS::Dist::Build, so that is a mystery to begin with. > > I did a search for that on Google and came back with > <http://wiki.archlinux.org/index.php/Makepkg.conf> > > Are you using Archlinux? > > I also can't see where Acme::Tiny comes into things either. > > Actually the path: > > /home/src/perl/repoperls/installed-perls/perl/pVNtS9N/perl- > 5.8.0@32642/lib/site_perl/5.10.0/Acme/Tiny.pm > > slightly worries me. A perl-5.8.0, I presume, with a 5.10.0 in the > site_perl path? > > Is that a sign of corruption? > > I can't reproduce this unfortunately. >
I can reproduce also the problem on 5.8.9@RC2 system under FreeBSD (you can see a FAIL report from me at cpantesters, I had to kill the test). The only diagnostics I can give to you is: - the test is eating CPU, not just hanging and waiting for something - truss does not show anything, so there is no system calls or memory consumption involved - lsof shows the following open filedescriptor: perl 18151 cpansand 3r VREG 0,102 5721 1743214 /usr/perl5.8.9@RC2/lib/site_perl/5.8.9/Acme/BadExample.pm Oops. Probably this is the cause of the problem? Regards, Slaven
Closing ticket. Many thanks.