develooper Front page | perl.perl5.porters | Postings from April 2018

Re: [perl #133136] Bisect.pl broken for 3 commits in blead

Thread Previous | Thread Next
From:
Karl Williamson
Date:
April 20, 2018 23:11
Subject:
Re: [perl #133136] Bisect.pl broken for 3 commits in blead
Message ID:
b9eb989a-ecd2-57ce-c76b-02272f465372@khwilliamson.com
On 04/20/2018 04:51 PM, James E Keenan via RT wrote:
> On Fri, 20 Apr 2018 21:36:22 GMT, randir wrote:
>> This is a bug report for perl from sergey.aleynikov@gmail.com,
>> generated with the help of perlbug 1.41 running under perl 5.27.9.
>>
>>
>> -----------------------------------------------------------------
>> [Please describe your issue here]
>>
>> While trying to bisect a module failure for #133135 I've found that
>> the following commit range 2d74dcf2f3..394d2d3f37 (3 commits) prevents
>> Porting/bisect.pl from running further with the following messages:
>>
>> cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe
>> -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -std=c89 -g -Wall
>> -Werror=declaration-after-statement -Werror=pointer-arith -Wextra
>> -Wc++-compat -Wwrite-strings miniperlmain.c
>> echo @`sh  cflags "optimize='-g'" opmini.o`  -DPERL_IS_MINIPERL
>> -DPERL_EXTERNAL_GLOB opmini.c
>> In file included from perl.h:5303:0,
>>                   from utf8.c:33:
>> utf8.c: In function ‘Perl_init_uniprops’:
>> utf8.c:5881:54: error: ‘PL_XPERLSPACE_invlist’ undeclared (first use
>> in this function)
>>       PL_XPosix_ptrs[_CC_SPACE] =
>> _new_invlist_C_array(PL_XPERLSPACE_invlist);
>>                                                        ^
>> embed.h:1240:65: note: in definition of macro ‘_new_invlist_C_array’
>>   #define _new_invlist_C_array(a) Perl__new_invlist_C_array(aTHX_ a)
>>                                                                   ^
>> utf8.c:5881:54: note: each undeclared identifier is reported only once
>> for each function it appears in
>>       PL_XPosix_ptrs[_CC_SPACE] =
>> _new_invlist_C_array(PL_XPERLSPACE_invlist);
>>                                                        ^
>> embed.h:1240:65: note: in definition of macro ‘_new_invlist_C_array’
>>   #define _new_invlist_C_array(a) Perl__new_invlist_C_array(aTHX_ a)
>>                                                                   ^
>> @cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe
>> -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -std=c89 -g -Wall
>> -Werror=declaration-after-statement -Werror=pointer-arith -Wextra
>> -Wc++-compat -Wwrite-strings -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB
>> opmini.c
>> echo @`sh  cflags "optimize='-g'" perlmini.o`  -DPERL_IS_MINIPERL
>> -DPERL_EXTERNAL_GLOB perlmini.c
>> Makefile:249: recipe for target 'utf8.o' failed
>> make: *** [utf8.o] Error 1
>> make: *** Waiting for unfinished jobs....
>> @cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe
>> -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -std=c89 -g -Wall
>> -Werror=declaration-after-statement -Werror=pointer-arith -Wextra
>> -Wc++-compat -Wwrite-strings -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB
>> perlmini.c
>> cc -o generate_uudmap -fstack-protector-strong -L/usr/local/lib
>> generate_uudmap.o -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
>> rm -f pod/perl52711delta.pod
>> /bin/ln -s perldelta.pod pod/perl52711delta.pod
>> cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe
>> -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -std=c89 -g -Wall
>> -Werror=declaration-after-statement -Werror=pointer-arith -Wextra
>> -Wc++-compat -Wwrite-strings utf8.c
>> cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe
>> -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -std=c89 -g -Wall
>> -Werror=declaration-after-statement -Werror=pointer-arith -Wextra
>> -Wc++-compat -Wwrite-strings op.c
>> cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe
>> -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -std=c89 -g -Wall
>> -Werror=declaration-after-statement -Werror=pointer-arith -Wextra
>> -Wc++-compat -Wwrite-strings perly.c
>> ./generate_uudmap uudmap.h bitcount.h mg_data.h
>> cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe
>> -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -std=c89 -g -Wall
>> -Werror=declaration-after-statement -Werror=pointer-arith -Wextra
>> -Wc++-compat -Wwrite-strings globals.c
>> In file included from perl.h:5303:0,
>>                   from utf8.c:33:
>> utf8.c: In function ‘Perl_init_uniprops’:
>> utf8.c:5881:54: error: ‘PL_XPERLSPACE_invlist’ undeclared (first use
>> in this function)
>>       PL_XPosix_ptrs[_CC_SPACE] =
>> _new_invlist_C_array(PL_XPERLSPACE_invlist);
>>                                                        ^
>> embed.h:1240:65: note: in definition of macro ‘_new_invlist_C_array’
>>   #define _new_invlist_C_array(a) Perl__new_invlist_C_array(aTHX_ a)
>>                                                                   ^
>> utf8.c:5881:54: note: each undeclared identifier is reported only once
>> for each function it appears in
>>       PL_XPosix_ptrs[_CC_SPACE] =
>> _new_invlist_C_array(PL_XPERLSPACE_invlist);
>>                                                        ^
>> embed.h:1240:65: note: in definition of macro ‘_new_invlist_C_array’
>>   #define _new_invlist_C_array(a) Perl__new_invlist_C_array(aTHX_ a)
>>                                                                   ^
>> Makefile:249: recipe for target 'utf8.o' failed
>> make: *** [utf8.o] Error 1
>> make: *** Waiting for unfinished jobs....
>> sh: ./installperl: ./perl: bad interpreter: No such file or directory
>> '</dev/null ./installperl' failed, $!=No such file or directory,
>> $?=32256 at /tmp/M_wsH0gXTD line 1522
>> bisect run failed:
>> exit code 255 from '/usr/local/perl5.26.1/bin/perl /tmp/M_wsH0gXTD
>> --gold v5.26.0 --jobs 20 --module Lexical::SealRequireHints' is < 0 or
>>> = 128
>> Died at Porting/bisect.pl line 269.
>>
>> I remember from it's docs that it should skip at least some kinds of
>> failures, so if this is not one of them - should it be also avoided?
>> Or should bisect.pl just blacklist those revisions?
>>
> 
> Can you provide the specific way in which you invoked bisect.pl?
> 
> Thank you very much.
> 

I must be responsible for these, though I don't understand how it 
happened.  So, yes, it should avoid this block of commits.  I'll look at it.

Thread Previous | Thread Next


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