Closed JasinYip closed 3 years ago
@JasinYip the selfnode setup is currently broken. Still, this error you are getting will most likely impact all other clusters.
Can you try running yarn nix:testnet
on the most recent develop
branch revision?
Running yarn nix:testnet
showed
clang-7: error: linker command failed with exit code 1
last commit:
commit 092b42b2ea2e0f0b371634da5edd34b4dc693178 (HEAD -> develop, origin/develop, origin/HEAD)
Merge: c79b6776c 6fcec5468
Author: Dominik Guzei <dominik.guzei@gmail.com>
Date: Mon Jan 25 12:35:02 2021 +0100
Merge pull request #2305 from input-output-hk/feature/ddw-543-update-bignumber-library
[DDW-543] Update bignumber.js from v5 to v9
Full log:
➜ yarn nix:testnet
yarn run v1.22.5
$ NETWORK=testnet nix-shell --argstr nodeImplementation cardano --argstr cluster testnet
building '/nix/store/h1cngpsl9mrdx7m8bn7ra54wsczci558-python2.7-pynacl-1.3.0.drv'...
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing setuptools-check-hook
unpacking sources
unpacking source archive /nix/store/flyy0dcfzhn0vmljyn4mqj2dbcx960wy-PyNaCl-1.3.0.tar.gz
source root is PyNaCl-1.3.0
setting SOURCE_DATE_EPOCH to timestamp 1537988300 of file PyNaCl-1.3.0/src/PyNaCl.egg-info/top_level.txt
patching sources
configuring
fixing libtool script ./src/libsodium/build-aux/ltmain.sh
fixing libtool script ./src/libsodium/ltmain.sh
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.12-x86_64-2.7
creating build/lib.macosx-10.12-x86_64-2.7/nacl
copying src/nacl/signing.py -> build/lib.macosx-10.12-x86_64-2.7/nacl
copying src/nacl/public.py -> build/lib.macosx-10.12-x86_64-2.7/nacl
copying src/nacl/encoding.py -> build/lib.macosx-10.12-x86_64-2.7/nacl
copying src/nacl/hashlib.py -> build/lib.macosx-10.12-x86_64-2.7/nacl
copying src/nacl/__init__.py -> build/lib.macosx-10.12-x86_64-2.7/nacl
copying src/nacl/hash.py -> build/lib.macosx-10.12-x86_64-2.7/nacl
copying src/nacl/secret.py -> build/lib.macosx-10.12-x86_64-2.7/nacl
copying src/nacl/utils.py -> build/lib.macosx-10.12-x86_64-2.7/nacl
copying src/nacl/exceptions.py -> build/lib.macosx-10.12-x86_64-2.7/nacl
creating build/lib.macosx-10.12-x86_64-2.7/nacl/pwhash
copying src/nacl/pwhash/__init__.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/pwhash
copying src/nacl/pwhash/argon2i.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/pwhash
copying src/nacl/pwhash/scrypt.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/pwhash
copying src/nacl/pwhash/_argon2.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/pwhash
copying src/nacl/pwhash/argon2id.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/pwhash
creating build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_hash.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_generichash.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/sodium_core.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/randombytes.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_kx.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/__init__.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_sign.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_secretstream.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_aead.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/utils.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_box.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_secretbox.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_pwhash.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
copying src/nacl/bindings/crypto_shorthash.py -> build/lib.macosx-10.12-x86_64-2.7/nacl/bindings
running build_ext
generating cffi module 'build/temp.macosx-10.12-x86_64-2.7/_sodium.c'
creating build/temp.macosx-10.12-x86_64-2.7
building '_sodium' extension
creating build/temp.macosx-10.12-x86_64-2.7/build
creating build/temp.macosx-10.12-x86_64-2.7/build/temp.macosx-10.12-x86_64-2.7
clang -I/nix/store/lv63r48x1byympm31d5ix3yha3virk41-python-2.7.18/include/python2.7 -c build/temp.macosx-10.12-x86_64-2.7/_sodium.c -o build/temp.macosx-10.12-x86_64-2.7/build/temp.macosx-10.12-x86_64-2.7/_sodium.o
clang -bundle -undefined dynamic_lookup build/temp.macosx-10.12-x86_64-2.7/build/temp.macosx-10.12-x86_64-2.7/_sodium.o -L/nix/store/lv63r48x1byympm31d5ix3yha3virk41-python-2.7.18/lib -lsodium -o build/lib.macosx-10.12-x86_64-2.7/nacl/_sodium.so
ld: file not found: /usr/lib/system/libcache.dylib for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang' failed with exit status 1
builder for '/nix/store/h1cngpsl9mrdx7m8bn7ra54wsczci558-python2.7-pynacl-1.3.0.drv' failed with exit code 1
cannot build derivation '/nix/store/b18qchm2lidv5c1ys37l0gvrickxa3qr-python2.7-paramiko-2.7.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/xgnpvwpqsa7nxni832lpf74jprj26k8g-bazaar-2.7.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dllqhsjaa5810182q7136kn2z2iw2i3s-nix-prefetch-bzr.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hnmj84z9m9jjvkrq1yn8v9kp6z8mnqc4-nix-prefetch-scripts.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/a4gs16y7l5kh6yzd1zil0cz3a85bllb3-cabal2nix-2.15.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/njhzpn5v6d6yafdhbnf7grs0kazvadia-cabal2nix-iohk-nix-utils.drv': 1 dependencies couldn't be built
error: build of '/nix/store/njhzpn5v6d6yafdhbnf7grs0kazvadia-cabal2nix-iohk-nix-utils.drv' failed
(use '--show-trace' to show detailed location information)
error Command failed with exit code 100.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Thanks! We'll look into this!
@JasinYip may I kindly ask you to try running the latest Daedalus develop branch? Please use yarn nix:testnet
command and let us know if it works 🙏
Thanks!
@nikolaglumac It works! Thank you for fixing this :)
I've tried to run Daedalus on my macbook, when I run
yarn nix:selfnode
for building I got this Error:How could I fix this issue?
Environment:
Full logs: