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

Build error #1463

Closed
yanrising opened this issue Feb 12, 2023 · 3 comments
Closed

Build error #1463

yanrising opened this issue Feb 12, 2023 · 3 comments

Comments

@yanrising
Copy link

Ububntu 18. All depencies are installed. RocksDB installed. Prerequisites via nix-shell default.nix installed without errors.

dagen@ubuntu:~/projects/nimbus-eth1$ sudo make nimbus
[sudo] password for dagen:

Tip of the day: this will probably build faster if you use "make -j2 ...".

Building: Nim compiler
Building: install/usr/lib/libbacktrace.a
Building: install/usr/lib/libbacktracenim.a
Building: build/nimbus
/home/dagen/projects/nimbus-eth1/nimbus/nimbus.nim(1, 2) Error: cannot open file: ""
Makefile:165: recipe for target 'nimbus' failed
make: *** [nimbus] Error 1

@jangko
Copy link
Contributor

jangko commented Feb 13, 2023

$> make update deps
$> make nimbus

@yanrising
Copy link
Author

yanrising commented Feb 13, 2023

  1. git clone new source - git clone https://github.com/status-im/nimbus-eth1.git
  2. git submodule update --init --recursive
  3. make update deps
    Result:

Creating nimbus-build-system.paths
fatal: No url found for submodule path 'vendor/nim-snappy/tests/snappycpp/third_party/benchmark' in .gitmodules
Failed to recurse into submodule path 'vendor/nim-snappy/tests/snappycpp'
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-bearssl/bearssl/csources' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-blscurve/vendor/blst' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-libbacktrace/vendor/libbacktrace-upstream' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-nat-traversal/vendor/libnatpmp-upstream' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-snappy/tests/snappycpp' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-zlib/zlib/csources' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nimbus-build-system/vendor/Nim' in .gitmodules
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-bearssl'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-blscurve'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-libbacktrace'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-nat-traversal'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-secp256k1'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-snappy'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-zlib'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nimbus-build-system'
Failed to recurse into submodule path 'vendor/nim-snappy'
Failed to recurse into submodule path 'vendor/nimbus-eth2'
fatal: No url found for submodule path 'vendor/nim-snappy/tests/snappycpp/third_party/benchmark' in .gitmodules
Failed to recurse into submodule path 'vendor/nim-snappy/tests/snappycpp'
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-bearssl/bearssl/csources' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-blscurve/vendor/blst' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-libbacktrace/vendor/libbacktrace-upstream' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-nat-traversal/vendor/libnatpmp-upstream' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-snappy/tests/snappycpp' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nim-zlib/zlib/csources' in .gitmodules
fatal: No url found for submodule path 'vendor/nimbus-eth2/vendor/nimbus-build-system/vendor/Nim' in .gitmodules
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-bearssl'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-blscurve'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-libbacktrace'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-nat-traversal'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-secp256k1'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-snappy'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nim-zlib'
Failed to recurse into submodule path 'vendor/nimbus-eth2/vendor/nimbus-build-system'
Failed to recurse into submodule path 'vendor/nim-snappy'
Failed to recurse into submodule path 'vendor/nimbus-eth2'
vendor/nimbus-build-system/makefiles/targets.mk:107: recipe for target 'update-common' failed
make: *** [update-common] Error 1
dagen@ubuntu:~/projects/nimbus-eth1$

Perhaps these errors are related?
status-im/nimbus-eth2#4599

@jangko
Copy link
Contributor

jangko commented Feb 15, 2023

$> make update deps will handle the above problem
no need to call git submodule update --init --recursive, because we use specialized nimbus-eth2 submodules handling to not have duplicate submodules with nimbus-eth1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants