zerotier / zeronsd

A DNS server for ZeroTier users
https://zerotier.com
BSD 3-Clause "New" or "Revised" License
493 stars 56 forks source link

Dockerfile.alpine can't be build on arm64 #191

Open OiCkilL opened 2 years ago

OiCkilL commented 2 years ago

a21ef9e of Dockerfile.alpine does not build on arm64. But v0.4.3 is working fine.


   Compiling zerotier-central-api v1.1.0
   Compiling zerotier-one-api v1.1.0
error: failed to run custom build command for `zerotier-central-api v1.1.0`

Caused by:
  could not execute process `/zeronsd/target/release/build/zerotier-central-api-8eefc6bbb53ef6b9/build-script-build` (never executed)

Caused by:
  No such file or directory (os error 2)
warning: build failed, waiting for other jobs to finish...
error: failed to compile `zeronsd v0.5.2 (/zeronsd)`, intermediate artifacts can be found at `/zeronsd/target`
The command '/bin/sh -c . /root/.cargo/env && cargo install --path .' returned a non-zero code: 101
erikh commented 2 years ago

sorry, as of this release zeronsd is only supported on x86-64; let's leave this ticket open to discuss arm options for the next release.

Short answer: I don't know what caused it, but because I never expected it to work in the first place, I never bothered to make it clean. Let's do that in the next version.

-Erik ------- Original Message ------- On Tuesday, June 14th, 2022 at 8:02 PM, Evan @.***> wrote:

a21ef9e of Dockerfile.alpine does not build on arm64. But v0.4.3 is working fine.

Compiling zerotier-central-api v1.1.0 Compiling zerotier-one-api v1.1.0 error: failed to run custom build command for zerotier-central-api v1.1.0

Caused by: could not execute process /zeronsd/target/release/build/zerotier-central-api-8eefc6bbb53ef6b9/build-script-build (never executed)

Caused by: No such file or directory (os error 2) warning: build failed, waiting for other jobs to finish... error: failed to compile zeronsd v0.5.2 (/zeronsd), intermediate artifacts can be found at /zeronsd/target The command '/bin/sh -c . /root/.cargo/env && cargo install --path .' returned a non-zero code: 101

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

mkoyan44 commented 2 months ago

Any chance that you already implemented arm64 support, if not may you pls guide me to enable support of arm?

domgregori commented 2 months ago

Also looking for arm64 support. Would like to run this on my arm64 router