Skip to content

building Perl 5.42.0 fails on Windows with USE_ITHREADS=undef configuration #23443

@shogo82148

Description

@shogo82148

Description

Building Perl 5.42.0 fails on Windows with USE_ITHREADS=undef configuration.

Here is my build log: https://gist.github.com/shogo82148/c2ded250adc246150e080fd5d842bb09

Steps to Reproduce

Run the following script on windows:

curl -O https://cpan.metacpan.org/authors/id/B/BO/BOOK/perl-5.42.0.tar.gz
tar xzvf perl-5.42.0.tar.gz
cd perl-5.42.0/win32
gmake SKIP_CCHOME_CHECK=1 USE_ITHREADS=undef

You can reproduce on GitHub Actions:

name: perl

on:
  workflow_dispatch:

jobs:
  setup-perl:
    runs-on: "windows-latest"
    steps:
      - run: |
          curl -O https://cpan.metacpan.org/authors/id/B/BO/BOOK/perl-5.42.0.tar.gz
          tar xzvf perl-5.42.0.tar.gz
          cd perl-5.42.0/win32
          gmake SKIP_CCHOME_CHECK=1 USE_ITHREADS=undef
        shell: bash

https://github.com/shogo82148/github-action-test/blob/8494862465fb4ab1dba2c6254817b750135698da/.github/workflows/perl.yaml

https://github.com/shogo82148/github-action-test/actions/runs/16336816810

Expected behavior

The build passes

Perl configuration

not available.

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