In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/ea319c81d6264975e581fc37c96a23a66e426632?hp=b250cf0f40ce3da938898a0e893c73e0a95e2a52>
- Log ----------------------------------------------------------------- commit ea319c81d6264975e581fc37c96a23a66e426632 Author: Father Chrysostomos <[email protected]> Date: Tue May 17 13:37:46 2016 -0700 bisect-runner: Work around ./Configure -S bug v5.23.4-46-g41d7307 stopped ./Configure -S from working. In v5.23.5-89-g7a4fcb3, it started working again. In order to bisect in this region, copy the optdef.sh file, which Configure was invoking from the wrong path. This patch actually works this time (I hope). ----------------------------------------------------------------------- Summary of changes: Porting/bisect-runner.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index 4c1cce9..360c186 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -1403,7 +1403,15 @@ if (-f 'config.sh') { # Emulate noextensions if Configure doesn't support it. fake_noextensions() if $major < 10 && $defines{noextensions}; - system_or_die('./Configure -S'); + if (system './Configure -S') { + # See commit v5.23.5-89-g7a4fcb3. Configure may try to run + # ./optdef.sh instead of UU/optdef.sh. Copying the file is + # easier than patching Configure (which mentions optdef.sh multi- + # ple times). + require File::Copy; + File::Copy::copy("UU/optdef.sh", "./optdef.sh"); + system_or_die('./Configure -S'); + } } if ($target =~ /config\.s?h/) { -- Perl5 Master Repository
