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

Error building Eudico on Mac M1 #421

Closed
CluEleSsUK opened this issue Apr 28, 2023 · 2 comments
Closed

Error building Eudico on Mac M1 #421

CluEleSsUK opened this issue Apr 28, 2023 · 2 comments
Assignees
Labels

Comments

@CluEleSsUK
Copy link
Contributor

While running the quickstart guide, I'm getting the following error when running:
make build && make install-infra at the step
[lotus-builder 7/7] RUN make spacenet:

consensus-shipyard/ipc#15 57.53 # github.com/filecoin-project/lotus/cmd/eudico
consensus-shipyard/ipc#15 57.53 /usr/local/go/pkg/tool/linux_arm64/link: running gcc failed: exit status 1
consensus-shipyard/ipc#15 57.53 /usr/bin/ld: /opt/filecoin/extern/filecoin-ffi/libfilcrypto.a(filcrypto-b101665716a8d1f4.filcrypto.4b299269-cgu.10.rcgu.o): Relocations in generic ELF (EM: 62)

The last line repeats a hundred or so times.

I appreciate the quickstart guide is targeted at Ubuntu, so feel free to close this if Mac M1 isn't in scope, but I'd love to get it running to try and build a subnet!
I see there is also a repo for eudico itself, so let me know if I should raise the issue there instead of there.

@dnkolegov
Copy link
Contributor

Hey @CluEleSsUK.

Try this

docker build -t eudico --build-arg FFI_BUILD_FROM_SOURCE=1 .

instead of this

docker build -t eudico .

in install_infra.sh.

Or wait for the fix.

Thank you for reporting this bug.

@adlrocha
Copy link
Contributor

adlrocha commented May 8, 2023

This has been fixed in the infra scripts, unless there's any outstanding issue closing it for now. Thank you both

@adlrocha adlrocha closed this as completed May 8, 2023
@jsoares jsoares transferred this issue from consensus-shipyard/ipc-libs Dec 19, 2023
@jsoares jsoares added the s:ipc label Dec 19, 2023
@jsoares jsoares closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants