Open
Description
error: failed to run custom build command for `openssl-sys v0.9.39`
process didn't exit successfully: `/home/vagrant/pi_monitor_screen/target/debug/build/openssl-sys-c1c9d3e12e9dd62b/build-script-main` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=ARM_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=ARM_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_INCLUDE_DIR
cargo:rustc-link-search=native=/home/vagrant/openssl_cross/lib/
cargo:include=/home/vagrant/openssl_cross/include/
OPT_LEVEL = Some("0")
TARGET = Some("arm-unknown-linux-gnueabihf")
HOST = Some("x86_64-unknown-linux-gnu")
CC_arm-unknown-linux-gnueabihf = None
CC_arm_unknown_linux_gnueabihf = None
TARGET_CC = None
CC = None
CROSS_COMPILE = None
CFLAGS_arm-unknown-linux-gnueabihf = None
CFLAGS_arm_unknown_linux_gnueabihf = None
TARGET_CFLAGS = None
CFLAGS = None
DEBUG = Some("true")
running: "arm-linux-gnueabihf-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-march=armv6" "-marm" "-I" "/home/vagrant/openssl_cross/include/" "-Wall" "-Wextra" "-E" "/home/vagrant/pi_monitor_screen/target/arm-unknown-linux-gnueabihf/debug/build/openssl-sys-8104b0174abe002f/out/expando.c"
cargo:warning=/home/vagrant/pi_monitor_screen/target/arm-unknown-linux-gnueabihf/debug/build/openssl-sys-8104b0174abe002f/out/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token
cargo:warning= #define VERSION2(n, v) RUST_VERSION_ ## n ## _ ## v
cargo:warning= ^~~~~~~~~~~~~
cargo:warning=/home/vagrant/pi_monitor_screen/target/arm-unknown-linux-gnueabihf/debug/build/openssl-sys-8104b0174abe002f/out/expando.c:5:23: note: in expansion of macro 'VERSION2'
cargo:warning= #define VERSION(n, v) VERSION2(n, v)
cargo:warning= ^~~~~~~~
cargo:warning=/home/vagrant/pi_monitor_screen/target/arm-unknown-linux-gnueabihf/debug/build/openssl-sys-8104b0174abe002f/out/expando.c:7:1: note: in expansion of macro 'VERSION'
cargo:warning= VERSION(OPENSSL, OPENSSL_VERSION_NUMBER)
cargo:warning= ^~~~~~~
exit code: 1
--- stderr
thread 'main' panicked at '
Header expansion error:
Error { kind: ToolExecError, message: "Command \"arm-linux-gnueabihf-gcc\" \"-O0\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-g\" \"-fno-omit-frame-pointer\" \"-march=armv6\" \"-marm\" \"-I\" \"/home/vagrant/openssl_cross/include/\" \"-Wall\" \"-Wextra\" \"-E\" \"/home/vagrant/pi_monitor_screen/target/arm-unknown-linux-gnueabihf/debug/build/openssl-sys-8104b0174abe002f/out/expando.c\" with args \"arm-linux-gnueabihf-gcc\" did not execute successfully (status code exit code: 1)." }
Metadata
Metadata
Assignees
Labels
No labels