Open vincenzo-dip8 opened 8 months ago
I tried installing all these versions of Go:
The results was always the same showed above
I found that the problem is related to
make reqs
I'm referring to the aec branch used in the Fresh Installation guide. Simply commenting that code line i was able to move on with the experiment. So, i want to recap the change i made in otder to run the bin/eurosys:
./scripts/cargo-install-all.sh --validator-only .
added export PATH="/install/solana"/bin:"$PATH"
Fixes i notice (on the 'aec' branch):
To FIX:
go get ..avalanche-network-runner@1d61e94
where
HEAD is now at 7840200f8 Merge pull request #1026 from ava-labs/dev
fatal: no tag exactly matches '7840200f865b6d6629866330d5fdf95bd4010ae9'
Downloading dependencies...
go: github.com/ava-labs/avalanchego-operator@v0.0.0-20211115144351-99f07d2570bf: invalid version: git ls-remote -q origin in /install/avalanche/go/pkg/mod/cache/vcs/0d4bed232e5a07a14f862c3021d2ff8945d42678ff73dd641e3d6ea0cc529f27: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
otherwise, by simply commenting the @xxxxxxxxx, then
# avalanche-tools
./main.go:124:37: cannot use nodeID (variable of type ids.NodeID) as ids.ShortID value in argument to append
./main.go:144:37: nodeID.PrefixedString undefined (type ids.NodeID has no field or method PrefixedString)
./main.go:144:62: undefined: constants.NodeIDPrefix
./main.go:166:13: cannot use 0x1337133713371337 (untyped int constant 1384596537706222391) as *"math/big".Int value in struct literal
./main.go:175:3: too many arguments in call to network.NewAvalancheGoGenesis
have (logging.NoLog, uint32, nil, []"github.com/ava-labs/avalanche-network-runner/network".AddrAndBalance, []ids.ShortID)
want (uint32, []"github.com/ava-labs/avalanche-network-runner/network".AddrAndBalance, []"github.com/ava-labs/avalanche-network-runner/network".AddrAndBalance, []ids.NodeID)
cargo build --release
where:
The following warnings were emitted during compilation:
warning: src/linker/linker.cpp:2:10: fatal error: lld/Common/Driver.h: No such file or directory
warning: 2 | #include "lld/Common/Driver.h"
warning: | ^~~~~
warning: compilation terminated.
error: failed to run custom build command for solang v0.1.11 (/install/solang)
Caused by:
process didn't exit successfully: /install/solang/target/release/build/solang-e2cdb07673293bdd/build-script-build
(exit status: 1)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-unknown-linux-gnu")
cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
CXX_x86_64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
CXX_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CXX
HOST_CXX = None
cargo:rerun-if-env-changed=CXX
CXX = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
CXXFLAGS_x86_64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
CXXFLAGS_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-Wall" "-Wextra" "-Wno-unused-parameter" "-I/usr/lib/llvm-10/include" "-std=c++14" "-fno-exceptions" "-D_GNU_SOURCE" "-DSTDC_CONSTANT_MACROS" "-DSTDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS" "-o" "/install/solang/target/release/build/solang-83c3d7e7774b6631/out/src/linker/linker.o" "-c" "src/linker/linker.cpp"
cargo:warning=src/linker/linker.cpp:2:10: fatal error: lld/Common/Driver.h: No such file or directory
cargo:warning= 2 | #include "lld/Common/Driver.h"
cargo:warning= | ^~~~~
cargo:warning=compilation terminated.
exit status: 1
--- stderr
error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-Wall" "-Wextra" "-Wno-unused-parameter" "-I/usr/lib/llvm-10/include" "-std=c++14" "-fno-exceptions" "-D_GNU_SOURCE" "-DSTDC_CONSTANT_MACROS" "-DSTDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS" "-o" "/install/solang/target/release/build/solang-83c3d7e7774b6631/out/src/linker/linker.o" "-c" "src/linker/linker.cpp" with args "c++" did not execute successfully (status code exit status: 1).
warning: build failed, waiting for other jobs to finish...
Describe the bug I'm trying to use the instructions in the https://diablobench.github.io/fresh-install at the Install yourself sections and use the final command
I’m facing several issues with go during the deploy, because minion (v2) set the go version to 1.17.8 (while in diablo-v1 use 1.14 or greater). The step is when v2 take from repo v1 the Makefile and make these step (when minion use install-diablo script):
what I noticed are problems with: golang.org/x/lint golang.org/x/tools/go/ast/astutil golang.org/x/tools/internal/typeparams golang.org/x/tools/go/gcexportdata
Screenshots
Part of the output.log file
Docker Container Environment OS: Both Ubuntu 20 and 22.04
Others I'm trying to understand how you use minion (v2) in the paper at https://arxiv.org/abs/2311.09440, because i notice that from the "minion paper" you switch from AWS to a simple testbed that i think use just SSH.
Since i'm going to do the same, i need to understand the steps to not use AWS. In particular, are the guidelines given in the FreshInstallation/InstallYourself section useful? With setup.txt file to be used in order to execute the experiment i need on more than one machine/container simply with ssh @NatoliChris @gauthier-voron
Also, I'm using the Dockerfile below to solve other dependencies issues that happen during the deploy, but then i stop on the bug above.