develooper Front page | perl.perl5.changes | Postings from October 2021

[Perl/perl5] 479479: bisect-runner.pl should add -Ilib formakedef.pl i...

From:
Nicholas Clark via perl5-changes
Date:
October 6, 2021 08:18
Subject:
[Perl/perl5] 479479: bisect-runner.pl should add -Ilib formakedef.pl i...
Message ID:
Perl/perl5/push/refs/heads/blead/58541f-3003b2@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 479479896a515fe41fae81038986ace5cab636db
      https://github.com/Perl/perl5/commit/479479896a515fe41fae81038986ace5cab636db
  Author: Nicholas Clark <nick@ccl4.org>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M Porting/bisect-runner.pl

  Log Message:
  -----------
  bisect-runner.pl should add -Ilib for makedef.pl in Makefile.SH

The fix from commit 72bbce3da5eeffde:
    miniperl also needs -Ilib for perl.exp on AIX etc

is needed to avoid build failures during parallel makes when makedef.pl is
run before all the toolchain modules have been copied into lib/

Specifically -Ilib on the command line to miniperl loads buildcustomize.pl
which then sets @INC to include all the toolchain modules directly, whereas
setting @INC to lib in a BEGIN block doesn't trigger this complete setup.
makedef.pl uses constant, which is dual life and copied from dist/constant/


  Commit: 869b0e9f936a43b3f85682c8c3fc1512e76ca4b7
      https://github.com/Perl/perl5/commit/869b0e9f936a43b3f85682c8c3fc1512e76ca4b7
  Author: Nicholas Clark <nick@ccl4.org>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M Porting/bisect-runner.pl

  Log Message:
  -----------
  bisect-runner.pl should patch SDBM_File for parallel builds.

The fix in commit 4d106cc5d8fd328d:
    For SDBM_File, stop EU::MM from generating its default subdirs rule.

    The default subdirs rule creates a race condition with the rule that
    Makefile.PL explicitly adds to generate libsdbm.a, which can cause parallel
    makes to fail.

is needed for earlier perl versions to.


  Commit: 3003b2bc877517a80f7cba94a9d782ac8c33dcc1
      https://github.com/Perl/perl5/commit/3003b2bc877517a80f7cba94a9d782ac8c33dcc1
  Author: Nicholas Clark <nick@ccl4.org>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M Porting/bisect-runner.pl

  Log Message:
  -----------
  bisect-runner.pl must first check that ext/List/Util/Util.xs exists

It's a hard error to attempt to patch a file that is not found.
ext/List/Util/Util.xs was only added to perl *during* the 5.7.x track.

Without this change bisect-runner.pl was unable to build some early
revisions of 5.7.x


Compare: https://github.com/Perl/perl5/compare/58541fd098aa...3003b2bc8775



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