Skip to content

Instantly share code, notes, and snippets.

@AyushyaChitransh
Created March 1, 2019 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AyushyaChitransh/a7df6ea4a0df3137e2fc14062cf4033e to your computer and use it in GitHub Desktop.
Save AyushyaChitransh/a7df6ea4a0df3137e2fc14062cf4033e to your computer and use it in GitHub Desktop.
pi@raspberrypi:~$ cd parity-ethereum/
pi@raspberrypi:~/parity-ethereum$ cargo build --release --features final
warning: /home/pi/parity-ethereum/util/memzero/Cargo.toml: unused manifest key: package.docs
Compiling hidapi v0.3.1 (https://github.com/paritytech/hidapi-rs#d4d32376)
Compiling idna v0.1.5
Compiling protobuf v1.7.4
Compiling kernel32-sys v0.2.2
Compiling semver v0.9.0
error: failed to run custom build command for `hidapi v0.3.1 (https://github.com/paritytech/hidapi-rs#d4d32376)`
process didn't exit successfully: `/home/pi/parity-ethereum/target/release/build/hidapi-5f83c71ad5a60d02/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("armv7-unknown-linux-gnueabihf")
OPT_LEVEL = Some("3")
HOST = Some("armv7-unknown-linux-gnueabihf")
CC_armv7-unknown-linux-gnueabihf = None
CC_armv7_unknown_linux_gnueabihf = None
HOST_CC = None
CC = None
CFLAGS_armv7-unknown-linux-gnueabihf = None
CFLAGS_armv7_unknown_linux_gnueabihf = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv7-a" "-I" "etc/hidapi/hidapi" "-Wall" "-Wextra" "-o" "/home/pi/parity-ethereum/target/release/build/hidapi-3f76e73e4da03dd4/out/etc/hidapi/linux/hid.o" "-c" "etc/hidapi/linux/hid.c"
cargo:warning=etc/hidapi/linux/hid.c:44:21: fatal error: libudev.h: No such file or directory
cargo:warning= #include <libudev.h>
cargo:warning= ^
cargo:warning=compilation terminated.
exit code: 1
--- stderr
thread 'main' panicked at '
Internal error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv7-a" "-I" "etc/hidapi/hidapi" "-Wall" "-Wextra" "-o" "/home/pi/parity-ethereum/target/release/build/hidapi-3f76e73e4da03dd4/out/etc/hidapi/linux/hid.o" "-c" "etc/hidapi/linux/hid.c" with args "cc" did not execute successfully (status code exit code: 1).
', /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.28/src/lib.rs:2314:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
pi@raspberrypi:~/parity-ethereum$ cargo build --release --features final
warning: /home/pi/parity-ethereum/util/memzero/Cargo.toml: unused manifest key: package.docs
Compiling hidapi v0.3.1 (https://github.com/paritytech/hidapi-rs#d4d32376)
Compiling ethereum-types-serialize v0.2.2
Compiling toml v0.4.8
Compiling iovec v0.1.2
error: failed to run custom build command for `hidapi v0.3.1 (https://github.com/paritytech/hidapi-rs#d4d32376)`
process didn't exit successfully: `/home/pi/parity-ethereum/target/release/build/hidapi-5f83c71ad5a60d02/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("armv7-unknown-linux-gnueabihf")
OPT_LEVEL = Some("3")
HOST = Some("armv7-unknown-linux-gnueabihf")
CC_armv7-unknown-linux-gnueabihf = None
CC_armv7_unknown_linux_gnueabihf = None
HOST_CC = None
CC = None
CFLAGS_armv7-unknown-linux-gnueabihf = None
CFLAGS_armv7_unknown_linux_gnueabihf = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv7-a" "-I" "etc/hidapi/hidapi" "-Wall" "-Wextra" "-o" "/home/pi/parity-ethereum/target/release/build/hidapi-3f76e73e4da03dd4/out/etc/hidapi/linux/hid.o" "-c" "etc/hidapi/linux/hid.c"
cargo:warning=etc/hidapi/linux/hid.c:44:21: fatal error: libudev.h: No such file or directory
cargo:warning= #include <libudev.h>
cargo:warning= ^
cargo:warning=compilation terminated.
exit code: 1
--- stderr
thread 'main' panicked at '
Internal error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv7-a" "-I" "etc/hidapi/hidapi" "-Wall" "-Wextra" "-o" "/home/pi/parity-ethereum/target/release/build/hidapi-3f76e73e4da03dd4/out/etc/hidapi/linux/hid.o" "-c" "etc/hidapi/linux/hid.c" with args "cc" did not execute successfully (status code exit code: 1).
', /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.28/src/lib.rs:2314:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
^C Building [=========================> ] 220/452: toml
pi@raspberrypi:~/parity-ethereum$ cargo build --release --features final
warning: /home/pi/parity-ethereum/util/memzero/Cargo.toml: unused manifest key: package.docs
Compiling hidapi v0.3.1 (https://github.com/paritytech/hidapi-rs#d4d32376)
Compiling toml v0.4.8
Compiling rand v0.5.5
Compiling net2 v0.2.33
error: failed to run custom build command for `hidapi v0.3.1 (https://github.com/paritytech/hidapi-rs#d4d32376)`
process didn't exit successfully: `/home/pi/parity-ethereum/target/release/build/hidapi-5f83c71ad5a60d02/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("armv7-unknown-linux-gnueabihf")
OPT_LEVEL = Some("3")
HOST = Some("armv7-unknown-linux-gnueabihf")
CC_armv7-unknown-linux-gnueabihf = None
CC_armv7_unknown_linux_gnueabihf = None
HOST_CC = None
CC = None
CFLAGS_armv7-unknown-linux-gnueabihf = None
CFLAGS_armv7_unknown_linux_gnueabihf = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv7-a" "-I" "etc/hidapi/hidapi" "-Wall" "-Wextra" "-o" "/home/pi/parity-ethereum/target/release/build/hidapi-3f76e73e4da03dd4/out/etc/hidapi/linux/hid.o" "-c" "etc/hidapi/linux/hid.c"
cargo:warning=etc/hidapi/linux/hid.c:44:21: fatal error: libudev.h: No such file or directory
cargo:warning= #include <libudev.h>
cargo:warning= ^
cargo:warning=compilation terminated.
exit code: 1
--- stderr
thread 'main' panicked at '
Internal error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-march=armv7-a" "-I" "etc/hidapi/hidapi" "-Wall" "-Wextra" "-o" "/home/pi/parity-ethereum/target/release/build/hidapi-3f76e73e4da03dd4/out/etc/hidapi/linux/hid.o" "-c" "etc/hidapi/linux/hid.c" with args "cc" did not execute successfully (status code exit code: 1).
', /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.28/src/lib.rs:2314:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
pi@raspberrypi:~/parity-ethereum$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment