Git Product home page Git Product logo

Comments (9)

romanz avatar romanz commented on June 25, 2024 1

CC: @sangaman @openoms (who were running electrs on similar hardware)

from esplora.

justinmoon avatar justinmoon commented on June 25, 2024 1

Hey sorry for the delay. I will try again shortly. I gave up earlier but will try again.

from esplora.

romanz avatar romanz commented on June 25, 2024

Thanks for reporting this issue!
Could you please check if the /mnt/hdd2/electrs/target/release/build/rayon-core-ce94679caf3f5155/build-script-build file exist?
Also, could you please re-build with more verbose settings (e.g. cargo build --release -vvv), so we could see the context of the failing build step?

from esplora.

justinmoon avatar justinmoon commented on June 25, 2024
  1. /mnt/hdd2/electrs/target/release/build/rayon-core-ce94679caf3f5155/build-script-build does exist
  2. Logs of cargo build --release -vvv
    cargo.log
    attached

from esplora.

romanz avatar romanz commented on June 25, 2024

Unfortunately, the log show the same error, without more details:

     Running `CARGO_PKG_REPOSITORY='https://github.com/reem/rust-unreachable.git' CARGO=/home/bitcoin/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/bin/cargo LD_LIBRARY_PATH='/mnt/hdd2/electrs/target/release/deps:/home/bitcoin/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib:/home/bitcoin/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib' CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_AUTHORS='Jonathan Reem <[email protected]>' CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION=1.0.0 CARGO_PKG_DESCRIPTION='An unreachable code optimization hint in stable rust.' CARGO_MANIFEST_DIR=/home/bitcoin/.cargo/registry/src/github.com-1ecc6299db9ec823/unreachable-1.0.0 CARGO_PKG_NAME=unreachable CARGO_PKG_HOMEPAGE= CARGO_PKG_VERSION_MINOR=0 rustc --crate-name unreachable /home/bitcoin/.cargo/registry/src/github.com-1ecc6299db9ec823/unreachable-1.0.0/src/lib.rs --color always --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=1e360c3213f496a3 -C extra-filename=-1e360c3213f496a3 --out-dir /mnt/hdd2/electrs/target/release/deps -L dependency=/mnt/hdd2/electrs/target/release/deps --extern void=/mnt/hdd2/electrs/target/release/deps/libvoid-f6bac71407180dad.rlib --cap-lints warn`
     Running `/mnt/hdd2/electrs/target/release/build/rayon-core-ce94679caf3f5155/build-script-build`
error: failed to run custom build command for `rayon-core v1.4.1`
could not execute process `/mnt/hdd2/electrs/target/release/build/rayon-core-ce94679caf3f5155/build-script-build` (never executed)

Could you try to build the https://github.com/romanz/build-rayon-demo repository?
It should depend on the rayon-core crate, so hopefully it could reproduce the issue.

Also, could you please to attach the OS & Rust details/versions?

from esplora.

justinmoon avatar justinmoon commented on June 25, 2024

The build (cargo build --release -vvv) was successful (attached log)

OS / Rust info:

$ cargo --version
cargo 1.33.0 (f099fe94b 2019-02-12)
$ rustc --version
rustc 1.33.0 (2aa4c46cf 2019-02-28)
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial

build.txt

from esplora.

romanz avatar romanz commented on June 25, 2024

I am not sure what may cause this issue :/

Is it possible to run /mnt/hdd2/electrs/target/release/build/rayon-core-ce94679caf3f5155/build-script-build?
When it runs on my machine, it outputs:

$ ls -l build-script-build 
-rwxrwxr-x 2 roman roman 2415608 Mar 28 14:10 build-script-build
$ file build-script-build 
build-script-build: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=9005447c191b63e3ffcb26daf2448fd2223bbc89, with debug_info, not stripped
G
$ ./build-script-build 
cargo:rerun-if-changed=build.rs

Could you please try rebuild with cargo build --release --jobs=1 (in case there is an issue with concurrent build, e.g. the build takes too much memory when running on all cores)?

from esplora.

shesek avatar shesek commented on June 25, 2024

Were you able to resolve this?

from esplora.

shesek avatar shesek commented on June 25, 2024

Ping @justinmoon, I'm really interested knowing if this works on the HC2 :)

from esplora.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.