Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[perl #114344] Module::Build upgrade fails(hangs)

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


perlbug-followup at perl

Jul 31, 2012, 2:57 PM

Post #1 of 7 (170 views)
Permalink
[perl #114344] Module::Build upgrade fails(hangs)

# New Ticket Created by Linda Walsh
# Please include the string: [perl #114344]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114344 >



This is a bug report for perl from perl-diddler [at] tlinx,
generated with the help of perlbug 1.39 running under perl 5.14.2.


-----------------------------------------------------------------
[Please describe your issue here]
Tried to update various modules, this one among them.

This one seems to have hung (still in same test t/help.t after 2
minutes?)...

> cpan -i Module::Build
CPAN: CPAN::SQLite loaded ok (v0.202)
Database was generated on Tue, 31 Jul 2012 21:48:53 GMT
Running install for module 'Module::Build'
Running make for L/LE/LEONT/Module-Build-0.4002.tar.gz
CPAN: LWP::UserAgent loaded ok (v6.04)
Fetching with LWP:
http://www.perl.com/CPAN/authors/id/L/LE/LEONT/Module-Build-0.4002.tar.gz
CPAN: YAML loaded ok (v0.84)
CPAN: Digest::SHA loaded ok (v5.71)
Fetching with LWP:
http://www.perl.com/CPAN/authors/id/L/LE/LEONT/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.052)
Checksum for /Share/CPAN/sources/authors/id/L/LE/LEONT/Module-Build-0.4002.tar.gz ok
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4404)
CPAN: CPAN::Meta loaded ok (v2.120921)
CPAN: Module::Build loaded ok (v0.4001)

CPAN.pm: Building L/LE/LEONT/Module-Build-0.4002.tar.gz

CPAN: CPAN::Reporter loaded ok (v1.2006)
# running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Module-Build' version '0.4002'
(/usr/bin/perl Makefile.PL exited with 0)
CPAN::Reporter: Makefile.PL result is 'pass', No errors.
CPAN: Module::CoreList loaded ok (v2.69)
/usr/bin/perl Build --makefile_env_macros 1
Building Module-Build
(/usr/bin/make -j -j exited with 0)
CPAN::Reporter: make result is 'pass', No errors.
LEONT/Module-Build-0.4002.tar.gz
/usr/bin/make -j -j -- OK
Running make test
/usr/bin/perl Build --makefile_env_macros 1 test
t/00-compile.t ................. ok
t/PL_files.t ................... ok
t/actions/installdeps.t ........ ok
t/actions/manifest_skip.t ...... ok
t/add_property.t ............... ok
t/basic.t ...................... ok
t/bundle_inc.t ................. skipped: $ENV{MB_TEST_EXPERIMENTAL} is not set
t/compat.t ..................... ok
t/compat/exit.t ................ ok
t/debug.t ...................... ok
t/destinations.t ............... ok
t/ext.t ........................ ok
t/extend.t ..................... ok
t/files.t ...................... ok
t/help.t ....................... ok

<and no more output>....
(it seems to be cpu bound>



[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=high
module=Module::Build
---
This perlbug was built using Perl 5.14.2 - Wed Feb 8 15:59:25 UTC 2012
It is being executed now by Perl 5.14.2 - Wed Feb 8 15:55:36 UTC 2012.

Site configuration information for perl 5.14.2:

Configured by abuild at Wed Feb 8 15:55:36 UTC 2012.

Summary of my perl5 (revision 5 version 14 subversion 2) configuration:

Platform:
osname=linux, osvers=3.1.0-1.2-default, archname=x86_64-linux-thread-multi
uname='linux build09 3.1.0-1.2-default #1 smp thu nov 3 14:45:45 utc 2011 (187dde0) x86_64 x86_64 x86_64 gnulinux '
config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open -Duseshrplib=true -Doptimize=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV -Dotherlibdirs=/usr/lib/perl5/site_perl'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector'
ccversion='', gccversion='4.6.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib64 -fstack-protector'
libpth=/lib64 /usr/lib64 /usr/local/lib64
libs=-lm -ldl -lcrypt -lpthread
perllibs=-lm -ldl -lcrypt -lpthread
libc=/lib64/libc-2.14.1.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.14.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64 -fstack-protector'

Locally applied patches:


---
@INC for perl 5.14.2:
/usr/lib/perl5/site_perl/5.14.2/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.14.2
/usr/lib/perl5/vendor_perl/5.14.2/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.14.2
/usr/lib/perl5/5.14.2/x86_64-linux-thread-multi
/usr/lib/perl5/5.14.2
/usr/lib/perl5/site_perl/5.14.2/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.14.2
/usr/lib/perl5/site_perl
.

---
Environment for perl 5.14.2:
HOME=/home/law
LANG=en_US.UTF-8
LANGUAGE (unset)
LC_COLLATE=C
LC_CTYPE=en_US.UTF-8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=.:/sbin:/usr/local/sbin:/home/law/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/usr/sbin:/etc/local/func_lib:/home/law/lib:/home/law/bin/lib
PERL5OPT=-CSA
PERL_BADLANG (unset)
SHELL=/bin/bash


fawaka at gmail

Jul 31, 2012, 10:36 PM

Post #2 of 7 (161 views)
Permalink
Re: [perl #114344] Module::Build upgrade fails(hangs) [In reply to]

On Wed, Aug 1, 2012 at 12:57 AM, Linda Walsh <perlbug-followup [at] perl> wrote:
> Tried to update various modules, this one among them.
>
> This one seems to have hung (still in same test t/help.t after 2
> minutes?)...

Module::Build is maintained on CPAN not core, so this bug should be
reported at rt.cpan.org.

But anyway,, at what test does it fail exactly? Does it also fail when
not run under Makefile.PL compatibility? (that make -j -j looks weird
to me).

Leon


perlbug-followup at perl

Aug 7, 2012, 7:18 PM

Post #3 of 7 (140 views)
Permalink
[perl #114344] Module::Build upgrade fails(hangs) [In reply to]

On Tue Jul 31 22:37:03 2012, LeonT wrote:
> On Wed, Aug 1, 2012 at 12:57 AM, Linda Walsh <perlbug-
>
> Module::Build is maintained on CPAN not core, so this bug should be
> reported at rt.cpan.org.
----
Oh... I thought that's why the bug script asked for 'module' -- to route
it to the correct place??...


> But anyway,, at what test does it fail exactly? Does it also fail when
> not run under Makefile.PL compatibility? (that make -j -j looks weird
> to me).
---
from the output looks like t/help.t,

the -j -j comes from my apparently overeager attempts to induce
parallelism (-j w/no param says to allow unlimited jobs)... doing it
twice might allow twice unlimited, but I don't know if that's different
than unlimited... :-|
(I think it's that I put -j in the make args as well as the make
command, trying to solve some other problem where things were obviously
not happening in parallel)

How do I not run under Makefile.PL compat?

I don't specify a preference in my .cpan config, ... how do I override
the default?






---
via perlbug: queue: perl5 status: rejected
https://rt.perl.org:443/rt3/Ticket/Display.html?id=114344


kentfredric at gmail

Aug 7, 2012, 11:41 PM

Post #4 of 7 (138 views)
Permalink
Re: [perl #114344] Module::Build upgrade fails(hangs) [In reply to]

On 8 August 2012 14:18, Linda Walsh via RT <perlbug-followup [at] perl> wrote:
>
> I don't specify a preference in my .cpan config, ... how do I override
> the default?


https://metacpan.org/module/CPAN#Config-Variables

> ---
> via perlbug: queue: perl5 status: rejected
> https://rt.perl.org:443/rt3/Ticket/Display.html?id=114344



--
Kent


fawaka at gmail

Aug 8, 2012, 12:41 AM

Post #5 of 7 (139 views)
Permalink
Re: [perl #114344] Module::Build upgrade fails(hangs) [In reply to]

On Wed, Aug 8, 2012 at 5:18 AM, Linda Walsh via RT
<perlbug-followup [at] perl> wrote:
> Oh... I thought that's why the bug script asked for 'module' -- to route
> it to the correct place??...

No, it's for informational purposes only, so that we can look for bugs
in core module X.

> from the output looks like t/help.t,

I can see that, but which test in t/help.t?

> How do I not run under Makefile.PL compat?
>
> I don't specify a preference in my .cpan config, ... how do I override
> the default?

;-)

You can also install without using a CPAN client, the tarball comes
with a file called README that explains all such things. In
particular, «./Build test --test_files t/help.t --verbose» would be
rather helpful.


davem at iabyn

Aug 8, 2012, 5:55 AM

Post #6 of 7 (138 views)
Permalink
Re: [perl #114344] Module::Build upgrade fails(hangs) [In reply to]

On Wed, Aug 08, 2012 at 10:41:27AM +0300, Leon Timmermans wrote:
> On Wed, Aug 8, 2012 at 5:18 AM, Linda Walsh via RT
> <perlbug-followup [at] perl> wrote:
> > Oh... I thought that's why the bug script asked for 'module' -- to route
> > it to the correct place??...
>
> No, it's for informational purposes only, so that we can look for bugs
> in core module X.

Its also used to tell the user to report the bug somewhere else instead,
if there is such a %bug_tracker entry for that module in Module::CoreList.

--
Any [programming] language that doesn't occasionally surprise the
novice will pay for it by continually surprising the expert.
-- Larry Wall


perl-diddler at tlinx

Aug 8, 2012, 3:10 PM

Post #7 of 7 (135 views)
Permalink
Re: [perl #114344] Module::Build upgrade fails(hangs) [In reply to]

Well this doesn't appear helpful:

Ran the Build as you wanted... output says pass (appended...)

Rerunning build now am seeing a hang:
./Build test
t/00-compile.t ................. ok
....
t/basic.t ...................... ok
t/bundle_inc.t ................. skipped: $ENV{MB_TEST_EXPERIMENTAL} is
not set
...
t/help.t ....................... ok
t/install.t .................... 1/35
---
Hanging here^^^... so maybe some output wasn't flushed in the Makefile
system...?


So, assuming you would want the same verbose for t/install.t (as that's
not completing like
the t/help.t did, below....


> ./Build test --test_files t/install.t --verbose
t/install.t ..
1..35
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Simple' version '0.01'
ok 1
Building Simple
<hang>


-----help.t below...>



Ishtar:cache/CPAN-build/build/Module-Build-0.4002-1FwQvg> ./Build test
--test_files t/help.t --verbose
Copying lib/Module/Build/Version.pm -> blib/lib/Module/Build/Version.pm
Copying lib/Module/Build/Platform/darwin.pm ->
blib/lib/Module/Build/Platform/darwin.pm
Copying lib/Module/Build/Platform/MacOS.pm ->
blib/lib/Module/Build/Platform/MacOS.pm
Copying lib/Module/Build/Notes.pm -> blib/lib/Module/Build/Notes.pm
Copying lib/Module/Build/Dumper.pm -> blib/lib/Module/Build/Dumper.pm
Copying lib/Module/Build/Compat.pm -> blib/lib/Module/Build/Compat.pm
Copying lib/Module/Build/Platform/RiscOS.pm ->
blib/lib/Module/Build/Platform/RiscOS.pm
Copying lib/Module/Build/PodParser.pm -> blib/lib/Module/Build/PodParser.pm
Copying lib/Module/Build/Platform/VOS.pm ->
blib/lib/Module/Build/Platform/VOS.pm
Copying lib/Module/Build/Platform/Windows.pm ->
blib/lib/Module/Build/Platform/Windows.pm
Copying lib/inc/latest.pm -> blib/lib/inc/latest.pm
Copying lib/Module/Build/Platform/Unix.pm ->
blib/lib/Module/Build/Platform/Unix.pm
Copying lib/Module/Build/Platform/Amiga.pm ->
blib/lib/Module/Build/Platform/Amiga.pm
Copying lib/Module/Build/ModuleInfo.pm ->
blib/lib/Module/Build/ModuleInfo.pm
Copying lib/Module/Build/Config.pm -> blib/lib/Module/Build/Config.pm
Copying lib/Module/Build/Base.pm -> blib/lib/Module/Build/Base.pm
Copying lib/Module/Build/Platform/os2.pm ->
blib/lib/Module/Build/Platform/os2.pm
Copying lib/Module/Build/Platform/EBCDIC.pm ->
blib/lib/Module/Build/Platform/EBCDIC.pm
Copying lib/Module/Build/Platform/MPEiX.pm ->
blib/lib/Module/Build/Platform/MPEiX.pm
Copying lib/Module/Build/Platform/VMS.pm ->
blib/lib/Module/Build/Platform/VMS.pm
Copying lib/Module/Build/Platform/cygwin.pm ->
blib/lib/Module/Build/Platform/cygwin.pm
Copying lib/Module/Build.pm -> blib/lib/Module/Build.pm
Copying lib/Module/Build/PPMMaker.pm -> blib/lib/Module/Build/PPMMaker.pm
Copying lib/Module/Build/Platform/aix.pm ->
blib/lib/Module/Build/Platform/aix.pm
Copying lib/Module/Build/Cookbook.pm -> blib/lib/Module/Build/Cookbook.pm
Copying lib/inc/latest/private.pm -> blib/lib/inc/latest/private.pm
Copying lib/Module/Build/Platform/Default.pm ->
blib/lib/Module/Build/Platform/Default.pm
Copying lib/Module/Build/YAML.pm -> blib/lib/Module/Build/YAML.pm
Copying lib/Module/Build/Authoring.pod ->
blib/lib/Module/Build/Authoring.pod
Copying lib/Module/Build/API.pod -> blib/lib/Module/Build/API.pod
Copying lib/Module/Build/Bundling.pod -> blib/lib/Module/Build/Bundling.pod
Copying bin/config_data -> blib/script/config_data
Changing sharpbang in blib/script/config_data to /usr/bin/perl
Deleting blib/script/config_data.bak
Writing config notes to blib/lib/Module/Build/ConfigData.pm
t/help.t ..
1..23
ok 1
ok 2 - MyModuleBuilder->can('ACTION_foo')
ok 3 - got doc for 'foo'
ok 4 - got the right doc
ok 5 - got doc for 'bar'
ok 6 - got the right doc
ok 7 - got doc for 'baz'
ok 8 - got the right doc
ok 9 - slap
ok 10 - informative error
ok 11 - got doc for 'help'
not ok 12 - got the right doc # TODO Do we allow overrides on just docs?

# Failed (TODO) test 'got the right doc'
# at t/help.t line 93.
# '=item help
#
# Does the help thing.
#
# You should probably not be seeing this. That is, we haven't
# overridden the help action, but we're able to override just the
# docs? That almost seems reasonable, but is probably wrong.
#
# =item help
#
# [version 0.03]
#
# This action will simply print out a message that is meant to help you
# use the build process. It will show you a list of available build
# actions too.
#
# With an optional argument specifying an action name (e.g. C<Build help
# test>), the 'help' action will show you any POD documentation it can
# find for that action.
#
# '
# matches '(?^s:^=\w+ help\n\nDoes the help thing\.)'
not ok 13 - got doc for 'foo' # TODO Support capitalized Actions section
# Failed (TODO) test 'got doc for 'foo''
# at t/help.t line 182.
not ok 14 - got the right doc # TODO Support capitalized Actions section

# Failed (TODO) test 'got the right doc'
# at t/help.t line 183.
# 'undef'
# doesn't match '(?^s:^=\w+ foo\n\nDoes the foo thing\.)'
not ok 15 - got doc for 'bar' # TODO Support capitalized Actions section

# Failed (TODO) test 'got doc for 'bar''
# at t/help.t line 182.
not ok 16 - got the right doc # TODO Support capitalized Actions section

# Failed (TODO) test 'got the right doc'
# at t/help.t line 183.
# 'undef'
# doesn't match '(?^s:^=\w+ bar\n\nDoes the bar thing\.)'
ok 17 - got doc for 'foo'
ok 18 - got the right doc
ok 19 - got doc for 'bar'
ok 20 - got the right doc
ok 21 - got doc for 'baz'
ok 22 - got the right doc
ok 23 - nothing after uplevel
ok
All tests successful.
Files=1, Tests=23, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.13 cusr
0.06 csys = 0.21 CPU)
Result: PASS

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.