Skip to content

#15035 file_test.exs test fails on macOS #15093

@pertsevds

Description

@pertsevds

Elixir and Erlang/OTP versions

erlang 28.3.1
asdf 0.18

Operating system

macOS 26.2

Current behavior

To reproduce:

brew install asdf
asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
asdf install erlang 28.3.1
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
asdf install elixir ref:88cbabfd841f515cf1802c2cc827557a80a0f634

fails with error:

  1) test cp cp_r skips sockets and other special files (FileTest)
     test/elixir/file_test.exs:820
     ** (MatchError) no match of right hand side value:

         {:error, :einval}

     code: {:ok, socket} = :gen_tcp.listen(0, [:local, {:ifaddr, {:local, socket_path}}])
     stacktrace:
       test/elixir/file_test.exs:829: (test)

but previous ref

asdf install elixir ref:0f67706cf9ff4e0f933f788ebaaed065fc798338

builds just fine.

Expected behavior

asdf successfully builds ref 88cbabf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions