Skip to content

gleam 1.11.1 broken on arm64 #398

@pguyot

Description

@pguyot

The bug

With the following step:

    - uses: erlef/setup-beam@v1
      with:
        otp-version: ${{ matrix.otp || env.DEFAULT_OTP_VERSION }}
        elixir-version: ${{ matrix.elixir_version || env.DEFAULT_ELIXIR_VERSION }}
        rebar3-version: ${{ matrix.rebar3_version || env.DEFAULT_REBAR3_VERSION }}
        gleam-version: ${{ matrix.gleam_version || env.DEFAULT_GLEAM_VERSION }}
        hexpm-mirrors: |
          https://builds.hex.pm
          https://repo.hex.pm
          https://cdn.jsdelivr.net/hex

I get the following output on arm64 runner:

Run erlef/setup-beam@v1
Installing Erlang/OTP OTP-28.2 - built on arm64/ubuntu-24.04
/home/runner/work/_temp/.setup-beam/otp/bin/erl -noshell -eval io:format(erlang:system_info(otp_release)), halt().
28::debug::Was not able to coerce latest with semver
Using Elixir 1.19.3 (built for Erlang/OTP 28)
Installing Elixir v1.19.3-otp-28
Running mix local.rebar,--force
Running mix local.hex,--force
Installing Gleam v1.11.1
  /usr/bin/tar zx --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/ec4a438d-c398-485e-a9b0-3bb487e4d095 -f /home/runner/work/_temp/29046b34-0686-4cad-b8f2-ca6cb6e1790a
  Installed Gleam version
  /home/runner/work/_temp/.setup-beam/gleam/bin/gleam --version
  /home/runner/work/_temp/.setup-beam/gleam/bin/gleam: 1: �ELF����: not found
  /home/runner/work/_temp/.setup-beam/gleam/bin/gleam: 2: Syntax error: word unexpected (expecting ")")
  Error: The process '/home/runner/work/_temp/.setup-beam/gleam/bin/gleam' failed with exit code 2

Expected behaviour

gleam would be available on arm64 like Erlang and Elixir.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions