Skip to content

Error during 5.40.2 installation on MacBook, --force flag does not work also #23368

Open
@KES777

Description

@KES777

Description

\curl -L https://install.perlbrew.pl | bash
perlbrew install perl-5.40.2
....
../lib/less.t ........................................................ ok
Assertion failed: (p->val == key), function lookup_substsearch, file collate.c, line 596.
../lib/locale.t ......................................................
All 382 subtests passed
Test Summary Report
-------------------
../lib/locale.t                                                    (Wstat: 6 (Signal: ABRT) Tests: 382 Failed: 0)
  Non-zero wait status: 6
  Parse errors: No plan found in TAP output
Files=2892, Tests=1185362, 564 wallclock secs (21.69 usr  4.84 sys + 211.73 cusr 32.51 csys = 270.77 CPU)
Result: FAIL
Finished test run at Wed Jun 11 22:00:36 2025.

even --force flag does not help:


$ perlbrew --force install perl-5.40.2
Installing /Users/ek-mac/perl5/perlbrew/build/perl-5.40.2/perl-5.40.2 into ~/perl5/perlbrew/perls/perl-5.40.2

This could take a while. You can run the following command on another shell to track the status:

  tail -f ~/perl5/perlbrew/build.perl-5.40.2.log

Installation process failed. To spot any issues, check

  /Users/ek-mac/perl5/perlbrew/build.perl-5.40.2.log

If some perl tests failed and you still want to install this distribution anyway,
do:

  (cd /Users/ek-mac/perl5/perlbrew/build/perl-5.40.2/perl-5.40.2; make install)

You might also want to try upgrading patchperl before trying again:

  perlbrew install-patchperl

Generally, if you need to install a perl distribution known to have minor test
failures, do one of these commands to avoid seeing this message:

  perlbrew --notest install perl-5.40.2
  perlbrew --force install perl-5.40.2

$ perlbrew list
* perl-5.40.0
$ perlbrew use perl-5.40.2

ERROR: The installation "perl-5.40.2" is unknown.

Steps to Reproduce
See above

Expected behavior
tests should not fail. Even if they fail --force flag should work.

Perl configuration
Not installed yet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions