develooper Front page | perl.perl5.porters | Postings from August 2014

Re: Build failed in Jenkins: perl5 #4624

Thread Previous
From:
James E Keenan
Date:
August 31, 2014 17:44
Subject:
Re: Build failed in Jenkins: perl5 #4624
Message ID:
20140831174352.4315.qmail@lists-nntp.develooper.com
On 08/31/2014 12:46 PM, dennis+p5p-jenkins@kaarsemaker.net wrote:
> See <http://perl5.git.perl.org:8080/job/perl5/4624/changes>
>
> Changes:
>
> [jkeenan] Add perldelta entry for ExtUtils::Manifest upgrade.
>
> ------------------------------------------
> [...truncated 3619 lines...]
[snip]

> Running pm_to_blib for cpan/ExtUtils-Manifest directly
> Generating a Unix-style Makefile
> Writing Makefile for ExtUtils::Manifest
> make[1]: Entering directory `<http://perl5.git.perl.org:8080/job/perl5/ws/cpan/ExtUtils-Manifest'>
> make[1]: Leaving directory `<http://perl5.git.perl.org:8080/job/perl5/ws/cpan/ExtUtils-Manifest'>
> make[1]: Entering directory `<http://perl5.git.perl.org:8080/job/perl5/ws/cpan/ExtUtils-Manifest'>
> make[1]: Leaving directory `<http://perl5.git.perl.org:8080/job/perl5/ws/cpan/ExtUtils-Manifest'>
> ./miniperl -Ilib make_ext.pl ext/ExtUtils-Miniperl/pm_to_blib  MAKE="make" LIBPERL_A=libperl.a
>
> Running pm_to_blib for ext/ExtUtils-Miniperl directly
> ./miniperl -Ilib make_ext.pl dist/ExtUtils-ParseXS/pm_to_blib  MAKE="make" LIBPERL_A=libperl.a
>
> Running pm_to_blib for dist/ExtUtils-ParseXS directly
> Generating a Unix-style Makefile
> Writing Makefile for ExtUtils::ParseXS
> make[1]: Entering directory `<http://perl5.git.perl.org:8080/job/perl5/ws/dist/ExtUtils-ParseXS'>
> Makefile out-of-date with respect to Makefile.PL
> Cleaning current config before rebuilding Makefile...
> make -f Makefile.old clean > /dev/null 2>&1
> ../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl" "INSTALLMAN1DIR=none" "INSTALLMAN3DIR=none" "PERL_CORE=1" "LIBPERL_A=libperl.a"
> Generating a Unix-style Makefile
> Writing Makefile for ExtUtils::ParseXS
> ==> Your Makefile has been rebuilt. <==
> ==> Please rerun the make command.  <==
> false
> make[1]: *** [Makefile] Error 1
> make[1]: Leaving directory `<http://perl5.git.perl.org:8080/job/perl5/ws/dist/ExtUtils-ParseXS'>
> make config PERL_CORE=1 LIBPERL_A=libperl.a failed, continuing anyway...
> make[1]: Entering directory `<http://perl5.git.perl.org:8080/job/perl5/ws/dist/ExtUtils-ParseXS'>
> Makefile out-of-date with respect to Makefile.PL
> Cleaning current config before rebuilding Makefile...
> make -f Makefile.old clean > /dev/null 2>&1
> ../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl" "INSTALLMAN1DIR=none" "INSTALLMAN3DIR=none" "PERL_CORE=1" "LIBPERL_A=libperl.a"
> Generating a Unix-style Makefile
> Writing Makefile for ExtUtils::ParseXS
> ==> Your Makefile has been rebuilt. <==
> ==> Please rerun the make command.  <==
> false
> make[1]: *** [Makefile] Error 1
> make[1]: Leaving directory `<http://perl5.git.perl.org:8080/job/perl5/ws/dist/ExtUtils-ParseXS'>
> Unsuccessful make(dist/ExtUtils-ParseXS): code=512 at make_ext.pl line 564.
> make: *** [dist/ExtUtils-ParseXS/pm_to_blib] Error 25
> Build step 'Execute shell' marked build as failure
>

All I can say is that this must be some transient error in Jenkins.  I 
ran a full configure-make-make test cycle before pushing to origin, even 
though the commit merely added an entry to pod/perldelta.pod; all tests 
PASSed.  I repeated that cycle just now, with same results.  And the 
corresponding threaded build on Jenkins also had no failures:

http://perl5.git.perl.org:8080/job/perl5-threaded/lastBuild/

Here are the relevant line from make_ext.pl's build_extension():

#####
554     if (!$target or $target !~ /clean$/) {
555     # Give makefile an opportunity to rewrite itself.
556     # reassure users that life goes on...
557     my @args = ('config', @$pass_through);
558     system(@make, @args) and print "@make @args failed, continuing 
anyway...\n";
559     }
560     my @targ = ($target, @$pass_through);
561     print "Making $target in $ext_dir\n@make @targ\n" if $verbose;
562     local $ENV{PERL_INSTALL_QUIET} = 1;
563     my $code = system(@make, @targ);
564     die "Unsuccessful make($ext_dir): code=$code" if $code != 0;
565
566     chdir $return_dir || die "Cannot cd to $return_dir: $!";
567 }
#####

If anyone has better insight, please post.  Otherwise, I think we should 
simply wait to see if the next commit triggers a clean Jenkins run.

Thank you very much.
Jim Keenan



Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About