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

Support bitbake's x86_64-linux #121

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

wusto
Copy link
Contributor

@wusto wusto commented Feb 1, 2022

When meta-rust is used for compiling openssl-sys it fails with the
following error:
| error: failed to run custom build command for openssl-sys v0.9.61
|
| Caused by:
| process didn't exit successfully: /home/builder/src/base/build/tmp/work/x86_64-linux/cargo-deny-native/0.9.1-r0/build/target/release/build/openssl-sys-ec38bc05b130195f/build-script-main (exit code: 101)
| --- stdout
| cargo:rustc-cfg=const_fn
| cargo:rerun-if-env-changed=X86_64_LINUX_OPENSSL_NO_VENDOR
| X86_64_LINUX_OPENSSL_NO_VENDOR unset
| cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
| OPENSSL_NO_VENDOR unset
|
| --- stderr
| thread 'main' panicked at 'don't know how to configure OpenSSL for x86_64-linux', /home/builder/src/base/build/tmp/work/x86_64-linux/cargo-deny-native/0.9.1-r0/cargo_home/bitbake/openssl-src-111.15.0+1.1.1k/src/lib.rs:275:18
| stack backtrace:
| 0: rust_begin_unwind
| 1: std::panicking::begin_panic_fmt
| 2: openssl_src::Build::build
| 3: build_script_main::find_vendored::get_openssl
| 4: build_script_main::find_openssl
| 5: build_script_main::main
| 6: core::ops::function::FnOnce::call_once
| note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
| warning: build failed, waiting for other jobs to finish...

In meta-rust "--target" is set to HOST_SYS which is set to
"x86_64-linux" on x86_64 systems.

When meta-rust is used for compiling openssl-sys it fails with the
following error:
| error: failed to run custom build command for `openssl-sys v0.9.61`
|
| Caused by:
|   process didn't exit successfully: `/home/builder/src/base/build/tmp/work/x86_64-linux/cargo-deny-native/0.9.1-r0/build/target/release/build/openssl-sys-ec38bc05b130195f/build-script-main` (exit code: 101)
|   --- stdout
|   cargo:rustc-cfg=const_fn
|   cargo:rerun-if-env-changed=X86_64_LINUX_OPENSSL_NO_VENDOR
|   X86_64_LINUX_OPENSSL_NO_VENDOR unset
|   cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
|   OPENSSL_NO_VENDOR unset
|
|   --- stderr
|   thread 'main' panicked at 'don't know how to configure OpenSSL for x86_64-linux', /home/builder/src/base/build/tmp/work/x86_64-linux/cargo-deny-native/0.9.1-r0/cargo_home/bitbake/openssl-src-111.15.0+1.1.1k/src/lib.rs:275:18
|   stack backtrace:
|      0: rust_begin_unwind
|      1: std::panicking::begin_panic_fmt
|      2: openssl_src::Build::build
|      3: build_script_main::find_vendored::get_openssl
|      4: build_script_main::find_openssl
|      5: build_script_main::main
|      6: core::ops::function::FnOnce::call_once
|   note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
| warning: build failed, waiting for other jobs to finish...

In meta-rust "--target" is set to HOST_SYS which is set to
"x86_64-linux" on x86_64 systems.
@alexcrichton alexcrichton merged commit 2f6e6e6 into alexcrichton:master Feb 1, 2022
@wusto wusto deleted the bitbake-support branch February 1, 2022 17:16
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

Successfully merging this pull request may close these issues.

2 participants