Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 78635
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: kes-kes [...] yandex.ru
Cc:
AdminCc:

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



Subject: Halt when install t/INSTALL_BASE.t
when I install catalyst I get progress stoped at this step. top -SIHP shows that perl take 100% CPU. I wait about 1hour and then kill <perlPID> Manifying blib/man3/JSON::PP::Compat5006.3 Manifying blib/man3/ExtUtils::MakeMaker::Config.3 Manifying blib/man3/CPAN::Meta.3 Manifying blib/man3/Parse::CPAN::Meta.3 Manifying blib/man3/CPAN::Meta::Prereqs.3 Manifying blib/man3/Version::Requirements.3 Manifying blib/man3/CPAN::Meta::Validator.3 Manifying blib/man3/version.3 Manifying blib/man3/ExtUtils::MM_Any.3 MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz /usr/bin/make -- OK 'YAML' not installed, will not store persistent state Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/arch" "-Iblib/lib" "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00compile.t ............. ok t/arch_check.t ............ ok t/backwards.t ............. ok t/basic.t ................. ok t/build_man.t ............. ok t/cd.t .................... ok t/config.t ................ ok t/dir_target.t ............ ok t/FIRST_MAKEFILE.t ........ ok t/fix_libs.t .............. ok t/fixin.t ................. ok t/hints.t ................. ok t/INST.t .................. ok t/INST_PREFIX.t ........... ok t/INSTALL_BASE.t .......... 3/20 t/INSTALL_BASE.t .......... 5/20 # Failed test ' make install exited normally' # at t/INSTALL_BASE.t line 46. # got: '256' # expected: '0' # *** Signal 15 # # Stop in /root/.cpan/build/ExtUtils-MakeMaker-6.62-YbnqHZ/t/Big-Dummy. # Failed test at t/INSTALL_BASE.t line 47. # '*** Signal 15 # # Stop in /root/.cpan/build/ExtUtils-MakeMaker-6.62-YbnqHZ/t/Big-Dummy. # ' # doesn't match '(?m-xis:^Installing )' # Failed test ' ../dummy-install/lib/perl5/i386-freebsd-thread-multi-64int/perllocal.pod installed' # at t/INSTALL_BASE.t line 60. # Failed test ' ../dummy-install/lib/perl5/i386-freebsd-thread-multi-64int/perllocal.pod readable' # at t/INSTALL_BASE.t line 61. # Looks like you failed 4 tests of 20. t/INSTALL_BASE.t .......... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/20 subtests t/installed_file.t ........ ok t/is_of_type.t ............ ok Summary of my perl5 (revision 5 version 12 subversion 2) configuration: Platform: osname=freebsd, osvers=9.0-current-201009, archname=i386-freebsd-thread-multi-64int uname='freebsd fastvpn.in.freeline.in.ua 9.0-current-201009 freebsd 9.0-current-201009 #0: tue sep 7 21:05:23 utc 2010 root@obrian.cse.buffalo.edu:usrobjusrsrcsysgeneric i386 ' config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.12.2/mach -Dprivlib=/usr/local/lib/perl5/5.12.2 -Dman3dir=/usr/local/lib/perl5/5.12.2/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.12.2/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.12.2 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.12.2/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.2/BSDPAN" -Doptimize=-g -DDEBUGGING -Ui_gdbm -Dusethreads=y -Dusemymalloc=n -Duse64bitint' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.2/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include', optimize='-g', cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.2/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.2.1 20070719 [FreeBSD]', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='-pthread -Wl,-E -fstack-protector -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lm -lcrypt -lutil perllibs=-lm -lcrypt -lutil libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/local/lib/perl5/5.12.2/mach/CORE' cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_TRACK_MEMPOOL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under freebsd Compiled at Oct 9 2010 16:26:43 @INC: /usr/local/lib/perl5/5.12.2/BSDPAN /usr/local/lib/perl5/site_perl/5.12.2/mach /usr/local/lib/perl5/site_perl/5.12.2 /usr/local/lib/perl5/5.12.2/mach /usr/local/lib/perl5/5.12.2 . FreeBSD fastvpn.in.freeline.in.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #2: Fri Dec 16 18:38:54 EET 2011 kes@fastvpn.in.freeline.in.ua:/usr/obj/usr/src/sys/KES_KERN_v9 i386
From: kes-kes [...] yandex.ru
# perl -MCPAN -e 'install Catalyst::Devel' .... Manifying blib/man3/Parse::CPAN::Meta.3 Manifying blib/man3/CPAN::Meta::Prereqs.3 Manifying blib/man3/Version::Requirements.3 Manifying blib/man3/CPAN::Meta::Validator.3 Manifying blib/man3/version.3 Manifying blib/man3/ExtUtils::MM_Any.3 MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/arch" "-Iblib/lib" "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00compile.t ............. ok t/arch_check.t ............ ok t/backwards.t ............. ok t/basic.t ................. ok t/build_man.t ............. ok t/cd.t .................... ok t/config.t ................ ok t/dir_target.t ............ ok t/FIRST_MAKEFILE.t ........ ok t/fix_libs.t .............. ok t/fixin.t ................. ok t/hints.t ................. ok t/INST.t .................. ok t/INST_PREFIX.t ........... ok t/INSTALL_BASE.t .......... 3/20 (((( it stops again.... # pstree shows this: | | \-+= 83376 root perl -MCPAN -e install Catalyst::Devel (perl5.12.2) | | \-+- 83428 root /usr/bin/make test | | \-+- 83436 root /usr/bin/perl -Iblib/arch -Iblib/lib -MExtUtils::Command::MM -e test_harness(0, 'blib/lib ', 'blib/arch') t/00compile.t t/FIRST_MAKEFILE.t t/INST.t t/INSTALL_BASE.t t/INST_PREFIX.t t/Liblist.t t/Liblist_Kid.t t/M M_Any.t t/MM_BeOS.t t/MM_Cygwin.t t/MM_NW5.t t/MM_OS2.t t/MM_Unix.t t/MM_VMS.t t/MM_Win32.t t/MakeMaker_Parameters.t t/Mkb ootstrap.t t/PL_FILES.t t/VERSION_FROM.t t/WriteEmptyMakefile.t t/arch_check.t t/backwards.t t/basic.t t/build_man.t t/cd. t t/config.t t/dir_target.t t/fix_libs.t t/fixin.t t/hints.t t/installed_file.t t/is_of_type.t t/make.t t/maketext_filter. t t/meta_convert.t t/metafile_data.t t/metafile_file.t t/min_perl_version.t t/miniperl.t t/oneliner.t t/parse_abstract.t t /parse_version.t t/pm.t t/pm_to_blib.t t/pod2man.t t/postamble.t t/prefixify.t t/prereq.t t/prereq_print.t t/problems.t t/ prompt.t t/recurs.t t/revision.t t/several_authors.t t/split_command.t t/test_boilerplate.t t/testlib.t t/writemakefile_ar gs.t t/xs.t (perl5.12.2) | | \-+- 84093 root /usr/bin/perl -w t/INSTALL_BASE.t (perl5.12.2) | | \-+- 84156 root make install | | \--- 84176 root /usr/bin/perl -MExtUtils::Install -e install([ from_to => {@ARGV}, verbose => '0', uninstall_shadows => '0', dir_mode => '755' ]); -- read /usr/local/lib/perl5/site_perl/5.12.2/mach/auto/Big/Dummy/.packlist write ../dummy-install/lib/perl5/i386-freebsd-thread-multi-64int/auto/Big/Dummy/.packlist blib/lib ../dummy-install/lib/perl5 blib/arch ../dummy-install/lib/perl5/i386-freebsd-thread-multi-64int blib/bin ../dummy-install/bin blib/script ../dummy-install/bin blib/man1 ../dummy-install/man/man1 blib/man3 ../dummy-install/man/man3 (perl5.12.2) top -SIHP last pid: 84204; load averages: 0.99, 0.86, 0.56 up 15+19:11:45 12:48:07 166 processes: 4 running, 146 sleeping, 16 waiting CPU: 54.2% user, 0.0% nice, 42.7% system, 3.1% interrupt, 0.0% idle Mem: 255M Active, 29M Inact, 100M Wired, 13M Cache, 59M Buf, 90M Free Swap: 2048M Total, 1412K Used, 2046M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND 84176 root 103 0 18280K 7856K RUN 7:09 99.61% perl5.12.2 #kill 84176 copypaste STDOUT: MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/arch" "-Iblib/lib" "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00compile.t ............. ok t/arch_check.t ............ ok t/backwards.t ............. ok t/basic.t ................. ok t/build_man.t ............. ok t/cd.t .................... ok t/config.t ................ ok t/dir_target.t ............ ok t/FIRST_MAKEFILE.t ........ ok t/fix_libs.t .............. ok t/fixin.t ................. ok t/hints.t ................. ok t/INST.t .................. ok t/INST_PREFIX.t ........... ok t/INSTALL_BASE.t .......... 5/20 # Failed test ' make install exited normally' # at t/INSTALL_BASE.t line 46. # got: '256' # expected: '0' # *** Signal 15 # # Stop in /root/.cpan/build/ExtUtils-MakeMaker-6.62-xlrOaK/t/Big-Dummy. # Failed test at t/INSTALL_BASE.t line 47. # '*** Signal 15 # # Stop in /root/.cpan/build/ExtUtils-MakeMaker-6.62-xlrOaK/t/Big-Dummy. # ' # doesn't match '(?m-xis:^Installing )' # Failed test ' ../dummy-install/lib/perl5/i386-freebsd-thread-multi-64int/perllocal.pod installed' # at t/INSTALL_BASE.t line 60. # Failed test ' ../dummy-install/lib/perl5/i386-freebsd-thread-multi-64int/perllocal.pod readable' # at t/INSTALL_BASE.t line 61. t/INSTALL_BASE.t .......... 18/20 # Looks like you failed 4 tests of 20. t/INSTALL_BASE.t .......... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/20 subtests t/installed_file.t ........ ok t/is_of_type.t ............ ok t/Liblist.t ............... ok
Subject: Re: [rt.cpan.org #78635] Halt when install t/INSTALL_BASE.t
Date: Mon, 30 Jul 2012 21:43:09 -0700
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Thanks for the report. This is a known bug in BSDPAN, a FreeBSD tool that hooks into Perl module installs and does something with the BSD packaging stuff. It was fixed last year. http://www.freebsd.org/cgi/query-pr.cgi?pr=162016 Try updating your FreeBSD installed Perl and the problem should go away. Otherwise, you can apply this patch to MakeMaker which switches off BSDPAN during testing. https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/0ab451788ae8071bb4d3fc3c090e2ba56351a4c6 Let us know how it goes please.
No response from the original reporter whether our fix worked.  Since its a known bug which was fixed, I'm going to call it resolved.

Please reopen if the fix did not work.