cargo-web icon indicating copy to clipboard operation
cargo-web copied to clipboard

Build failure NetBSD

Open margaretjoanmiller opened this issue 5 years ago • 0 comments

Howdy! I was trying to build and install cargo-web when I ran into a build error:

error: failed to run custom build command for `openssl-sys v0.9.45`

Caused by:
  process didn't exit successfully: `/tmp/cargo-install97zQkc/release/build/openssl-sys-ee6ed308f21fcb03/build-script-main` (exit code: 101)
--- stdout
cargo:rustc-cfg=const_fn
CC_x86_64-unknown-netbsd = None
CC_x86_64_unknown_netbsd = None
HOST_CC = None
CC = None
CFLAGS_x86_64-unknown-netbsd = None
CFLAGS_x86_64_unknown_netbsd = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")
running "perl" "perl" "./Configure" "--prefix=/tmp/cargo-install97zQkc/release/build/openssl-sys-7641e3e05b8af038/out/openssl-build/install" "no-dso" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-engine" "no-async" "no-shared" "BSD-x86_64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64"
Configuring OpenSSL version 1.1.1d (0x1010104fL) for BSD-x86_64
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile

**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
***                                                                ***
***   If you encounter a problem while building, please open an    ***
***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
***   and include the output from the following command:           ***
***                                                                ***
***       perl configdata.pm --dump                                ***
***                                                                ***
***   (If you are new to OpenSSL, you might want to consult the    ***
***   'Troubleshooting' section in the INSTALL file first)         ***
***                                                                ***
**********************************************************************
running "make" "make" "depend"
running "make" "make" "build_libs"

--- stderr
make: illegal argument to -j -- must be positive integer!
thread 'main' panicked at '


Error building OpenSSL:
    Command: "make" "make" "build_libs"
    Exit status: exit code: 1


    ', /home/gigavinyl/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-src-111.6.1+1.1.1d/src/lib.rs:365:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-web v0.6.26`, intermediate artifacts can be found at `/tmp/cargo-install97zQkc`

margaretjoanmiller avatar Dec 24 '19 23:12 margaretjoanmiller