setup-wsl icon indicating copy to clipboard operation
setup-wsl copied to clipboard

Does not work on ARM

Open mirabilos opened this issue 7 months ago • 11 comments

I’m trying my way through the native Windows/ARM builders, and this fails.

Workflow file:

{
  "jobs": {
    "action-tmate": {
      "runs-on": "windows-11-arm",
      "steps": [
        {
          "uses": "Vampire/[email protected]",
          "with": {
            "additional-packages": "bc build-essential",
            "update": true,
            "wsl-version": 1
          }
        },
        {
          "name": "unfuck line endings (GitHub by default converts them on checkout)",
          "run": "git config --global core.autocrlf false\ngit config --global core.eol lf"
        },
        {
          "uses": "actions/checkout@v4"
        },
        {
          "id": "setup-msys2",
          "uses": "msys2/setup-msys2@v2"
        },
        {
          "uses": "mxschmitt/action-tmate@v3",
          "with": {
            "msys2-location": "${{ steps.setup-msys2.outputs.msys2-location }}"
          }
        }
      ]
    }
  },
  "name": "action-tmate windows-11-arm",
  "on": {
    "pull_request": null,
    "workflow_dispatch": null
  }
}

Build log:

2025-06-09T20:39:00.2708641Z Current runner version: '2.325.0'
2025-06-09T20:39:00.2744069Z ##[group]Operating System
2025-06-09T20:39:00.2744926Z Microsoft Windows 11
2025-06-09T20:39:00.2745449Z 10.0.22631
2025-06-09T20:39:00.2745904Z Enterprise
2025-06-09T20:39:00.2746345Z ##[endgroup]
2025-06-09T20:39:00.2746809Z ##[group]Runner Image
2025-06-09T20:39:00.2747309Z Image: windows-11
2025-06-09T20:39:00.2747786Z Version: 0.0.3
2025-06-09T20:39:00.2748667Z Included Software: https://github.com/actions/runner-images/blob/win11/0.0/images/windows/Windows11-Arm-Readme.md
2025-06-09T20:39:00.2749833Z Image Release: https://github.com/actions/runner-images/releases/tag/win11F0.0
2025-06-09T20:39:00.2750562Z ##[endgroup]
2025-06-09T20:39:00.2751007Z ##[group]Runner Image Provisioner
2025-06-09T20:39:00.2751514Z 2.0.437.1
2025-06-09T20:39:00.2751917Z ##[endgroup]
2025-06-09T20:39:00.2754375Z ##[group]GITHUB_TOKEN Permissions
2025-06-09T20:39:00.2756694Z Actions: write
2025-06-09T20:39:00.2757862Z Attestations: write
2025-06-09T20:39:00.2758550Z Checks: write
2025-06-09T20:39:00.2759061Z Contents: write
2025-06-09T20:39:00.2759513Z Deployments: write
2025-06-09T20:39:00.2759967Z Discussions: write
2025-06-09T20:39:00.2760403Z Issues: write
2025-06-09T20:39:00.2760837Z Metadata: read
2025-06-09T20:39:00.2761273Z Models: read
2025-06-09T20:39:00.2761697Z Packages: write
2025-06-09T20:39:00.2762133Z Pages: write
2025-06-09T20:39:00.2762562Z PullRequests: write
2025-06-09T20:39:00.2763032Z RepositoryProjects: write
2025-06-09T20:39:00.2763531Z SecurityEvents: write
2025-06-09T20:39:00.2763995Z Statuses: write
2025-06-09T20:39:00.2764426Z ##[endgroup]
2025-06-09T20:39:00.2766827Z Secret source: Actions
2025-06-09T20:39:00.2767605Z Prepare workflow directory
2025-06-09T20:39:00.3131791Z Prepare all required actions
2025-06-09T20:39:00.3175130Z Getting action download info
2025-06-09T20:39:00.7833835Z Download action repository 'Vampire/[email protected]' (SHA:3b46b44374d5d0ae94654c45d114a3ed7a0e07a8)
2025-06-09T20:39:01.9832354Z ##[group]Download immutable action package 'actions/checkout@v4'
2025-06-09T20:39:01.9834631Z Version: 4.2.2
2025-06-09T20:39:01.9836596Z Digest: sha256:ccb2698953eaebd21c7bf6268a94f9c26518a7e38e27e0b83c1fe1ad049819b1
2025-06-09T20:39:01.9838897Z Source commit SHA: 11bd71901bbe5b1630ceea73d27597364c9af683
2025-06-09T20:39:01.9840332Z ##[endgroup]
2025-06-09T20:39:02.1682843Z Download action repository 'msys2/setup-msys2@v2' (SHA:61f9e5e925871ba6c9e3e8da24ede83ea27fa91f)
2025-06-09T20:39:02.8511109Z Download action repository 'mxschmitt/action-tmate@v3' (SHA:7b6a61a73bbb9793cb80ad69b8dd8ac19261834c)
2025-06-09T20:39:03.4121777Z Complete job name: action-tmate
2025-06-09T20:39:03.5237790Z ##[group]Run Vampire/[email protected]
2025-06-09T20:39:03.5238843Z with:
2025-06-09T20:39:03.5239126Z   additional-packages: bc build-essential
2025-06-09T20:39:03.5239476Z   update: true
2025-06-09T20:39:03.5239692Z   wsl-version: 1
2025-06-09T20:39:03.5239926Z   distribution: Debian
2025-06-09T20:39:03.5240197Z   use-cache: true | false
2025-06-09T20:39:03.5240443Z   set-as-default: true | false
2025-06-09T20:39:03.5241004Z ##[endgroup]
2025-06-09T20:39:04.4831798Z ##[group]Verify Windows Environment
2025-06-09T20:39:04.5518291Z ##[endgroup]
2025-06-09T20:39:04.7733309Z ##[group]Install Distribution
2025-06-09T20:39:04.9202087Z [command]C:\Windows\system32\wsl.exe --set-default-version 1
2025-06-09T20:39:04.9407031Z T�h�e� �o�p�e�r�a�t�i�o�n� �c�o�m�p�l�e�t�e�d� �s�u�c�c�e�s�s�f�u�l�l�y�.�
2025-06-09T20:39:04.9407423Z �
2025-06-09T20:39:04.9408070Z �
2025-06-09T20:39:04.9443339Z �::debug::isExplicit: 1.0.0
2025-06-09T20:39:08.9963942Z [command]"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('C:\a\_temp\ffc2935b-8388-4ba0-be61-8261d665ded4.zip', 'C:\a\_temp\23c68590-c92e-4f40-af40-3f5ac995206e', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath 'C:\a\_temp\ffc2935b-8388-4ba0-be61-8261d665ded4.zip' -DestinationPath 'C:\a\_temp\23c68590-c92e-4f40-af40-3f5ac995206e' -Force } else { throw $_ } } ;"
2025-06-09T20:39:09.9310582Z [command]"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('C:\a\_temp\23c68590-c92e-4f40-af40-3f5ac995206e\DistroLauncher-Appx_1.12.2.0_x64.appx.zip', 'C:\a\_temp\26675aad-7da1-463a-89ae-f19fae1b8748', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath 'C:\a\_temp\23c68590-c92e-4f40-af40-3f5ac995206e\DistroLauncher-Appx_1.12.2.0_x64.appx.zip' -DestinationPath 'C:\a\_temp\26675aad-7da1-463a-89ae-f19fae1b8748' -Force } else { throw $_ } } ;"
2025-06-09T20:39:10.6096262Z [command]"C:\Program Files\Git\usr\bin\tar.exe" --posix -cf cache.tgz --exclude cache.tgz -P -C C:/a/int/int --files-from manifest.txt --force-local -z
2025-06-09T20:39:16.4932868Z Sent 4390912 of 87021022 (5.0%), 4.1 MBs/sec
2025-06-09T20:39:17.4966160Z Sent 63832064 of 87021022 (73.4%), 30.3 MBs/sec
2025-06-09T20:39:18.3920157Z Sent 87021022 of 87021022 (100.0%), 28.5 MBs/sec
2025-06-09T20:39:18.6579331Z [command]C:\hostedtoolcache\windows\Debian\1.0.0\arm64\debian.exe install --root
2025-06-09T20:39:31.8858098Z Installing, this may take a few minutes...
2025-06-09T20:39:31.8858428Z 
2025-06-09T20:39:31.8858608Z Installation successful!
2025-06-09T20:39:31.8858774Z 
2025-06-09T20:39:31.8937012Z ##[endgroup]
2025-06-09T20:39:31.8938444Z ##[group]Set Distribution as Default
2025-06-09T20:39:31.9592016Z [command]C:\Windows\system32\wsl.exe --set-default Debian
2025-06-09T20:39:31.9846872Z ##[endgroup]
2025-06-09T20:39:31.9848976Z ##[group]Update Distribution
2025-06-09T20:39:32.0409021Z [command]C:\Windows\system32\wsl.exe --distribution Debian apt-get update
2025-06-09T20:39:32.1104513Z ##[endgroup]
2025-06-09T20:39:32.3147076Z ##[error]The process 'C:\Windows\system32\wsl.exe' failed with exit code 1
2025-06-09T20:39:32.3453899Z Cleaning up orphan processes

mirabilos avatar Jun 09 '25 20:06 mirabilos