Hello, I think I now have a working bisect script. This version uses GNU make to circumvent the AIX ?= make problem. ---[bisect.sh]--- export PATH=/opt/freeware/bin:$PATH cd perl2 ../perl/Porting/bisect.pl --start v5.15.2-346-g7c3b4d0 --end v5.15.3-39-gc0fd9d2 \ -Dcc=cc_r -Dusedevel -Duseshrplib -Dusethreads --target=miniperl \ -- ./miniperl -Ilib ../test-code.pl ---[bisect.sh]--- ---[test-code.pl]--- exit 1 if length $^V < 1; ---[test-code.pl]--- This builds miniperl and checks if $^V does return something other than an empty string. The broken miniperl does not return anything usefull with $^V. If someone has other wishes... just ask. Bye Rainer On 13.10.2011 11:04, Rainer Tammer wrote: > Hello, > this does not really work because lib/Config.pm is build but the content > is not OK: > > See: > > Removing x2p/cflags > HEAD is now at c0fd9d2 Document open fh, "<:" > good - could build lib/Config.pm > Runner returned 0 for end revision at ../perl/Porting/bisect.pl line 66. > That took 314 seconds > > > And: > > LIBPATH=/daten/source/perl-bisect/perl2 ./miniperl -w -Ilib > -MExporter -e '<?>' || make minitest > LIBPATH=/daten/source/perl-bisect/perl2 ./miniperl -Ilib > make_patchnum.pl > git diff --no-ext-diff --quiet --exit-code: $?=256 > Updating 'git_version.h' and 'lib/Config_git.pl' > LIBPATH=/daten/source/perl-bisect/perl2 ./miniperl -Ilib configpm > Name "main::v" used only once: possible typo at configpm line 257. > Use of uninitialized value $o in string eq at configpm line 86, <DATA> > line 22. > Use of uninitialized value $v in sprintf at configpm line 257, <DATA> > line 22. > Use of uninitialized value $v in sprintf at configpm line 257, <DATA> > line 22. > Use of uninitialized value $o in string eq at configpm line 754. > written lib/Config.pod > updated lib/Config.pm > updated lib/Config_heavy.pl > Use of uninitialized value $mask in vec at lib/warnings.pm line 391. > Use of uninitialized value $mask in bitwise or (|) at lib/warnings.pm > line 397. > syntax error at lib/Config.pm line 61, near "or" > Compilation failed in require at configpm line 1136. > make: 1254-004 The error code from the last command is 255. > > > Stop. > > > > Bye > Rainer > > On 13.10.2011 09:15, Nicholas Clark wrote: >> On Thu, Oct 13, 2011 at 08:07:00AM +0100, Nicholas Clark wrote: >>> On Thu, Oct 13, 2011 at 08:13:01AM +0200, Rainer Tammer wrote: >>>> Hello, >>>> what is the fastest way to run a bisect on this? >>>> Is there a "auto script" which just needs two commit IDs? >>> then run the bisect wrapper script from the working copy: >>> >>> cd perl2 >>> ../perl/Porting/bisect.pl --start working-rev --end broken-rev \ >>> -e 'test code that will die with the bug' >>> >>> or >>> >>> cd perl2 >>> ../perl/Porting/bisect.pl --start working-rev --end broken-rev \ >>> -- ./perl -Ilib ../test-code.pl >> The breakage is in building lib/Config.pm, isn't it? >> >> In which case, I think >> >> ../perl/Porting/bisect.pl --start working-rev --end broken-rev >> --target lib/Config.pm --test-build >> >> should find it. >> >> (lib/Config.pm is one of the seven or so things the script knows how to >> build. The docs list all of them) >> >> Nicholas Clark >> >> >Thread Previous | Thread Next