Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elixir no longer compiles #352

Open
LesnyRumcajs opened this issue Jun 24, 2023 · 1 comment
Open

Elixir no longer compiles #352

LesnyRumcajs opened this issue Jun 24, 2023 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@LesnyRumcajs
Copy link
Owner

Elixir build fails with:

#9 13.78 Processing triggers for libc-bin (2.31-13+deb11u5) ...
#9 DONE 14.7s

#10 [ 6/14] RUN mix local.hex --force
#10 17.89 ** (Mix) httpc request failed with: {:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet6, [:inet6], :nxdomain}]}
#10 17.89
#10 17.89 Could not run archive.install for:
#10 17.89
#10 17.89     https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez
#10 17.89
#10 17.89 Please download the file above to your current directory and run:
#10 17.89
#10 17.89     mix archive.install ./hex-2.0.6.ez
#10 17.89
#10 17.89 You can download it either with your browser or via the command line.
#10 17.89
#10 17.89 On Unix-like operating systems (Linux, macOS):
#10 17.89
#10 17.89     wget https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez
#10 17.89
#10 17.89 or
#10 17.89
#10 17.89     curl -o hex-2.0.6.ez https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez
#10 17.89
#10 17.89 On Windows / PowerShell (Windows 7 or later):
#10 17.89
#10 17.89     powershell -Command "Invoke-WebRequest https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez -OutFile hex-2.0.6.ez"
#10 17.89
#10 17.89 or
#10 17.89
#10 17.89     powershell -Command "(New-Object Net.WebClient).DownloadFile('https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez', 'hex-2.0.6.ez')"
#10 17.89
#10 ERROR: process "/bin/sh -c mix local.hex --force" did not complete successfully: exit code: 1
------
 > [ 6/14] RUN mix local.hex --force:
#10 17.89     curl -o hex-2.0.6.ez https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez
#10 17.89
#10 17.89 On Windows / PowerShell (Windows 7 or later):
#10 17.89
#10 17.89     powershell -Command "Invoke-WebRequest https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez -OutFile hex-2.0.6.ez"
#10 17.89
#10 17.89 or
#10 17.89
#10 17.89     powershell -Command "(New-Object Net.WebClient).DownloadFile('https://repo.hex.pm/installs/1.14.0/hex-2.0.6.ez', 'hex-2.0.6.ez')"
#10 17.89
------
Dockerfile:8
--------------------
   6 |
   7 |     RUN apt update && apt install -y git protobuf-compiler
   8 | >>> RUN mix local.hex --force
   9 |     RUN mix local.rebar --force
  10 |     RUN mix escript.install --force hex protobuf
--------------------
ERROR: failed to solve: process "/bin/sh -c mix local.hex --force" did not complete successfully: exit code: 1

Update the code (seems easy but this may be just the tip of an iceberg) to make it work again.

@LesnyRumcajs LesnyRumcajs added bug Something isn't working good first issue Good for newcomers labels Jun 24, 2023
@fenollp
Copy link
Collaborator

fenollp commented Jan 22, 2024

Looks to me like a temporary failure to reach https://repo.hex.pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants