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

could not build Dockerfile #23

Closed
bar9 opened this issue Nov 28, 2021 · 4 comments
Closed

could not build Dockerfile #23

bar9 opened this issue Nov 28, 2021 · 4 comments

Comments

@bar9
Copy link

bar9 commented Nov 28, 2021

Output below:

#11 53.69 error: failed to run custom build command for `openssl-sys v0.9.70`
#11 53.69 
#11 53.69 Caused by:
#11 53.69   process didn't exit successfully: `/target/release/build/openssl-sys-9dd4c6a0b59722d2/build-script-main` (exit status: 101)
#11 53.69   --- stdout
#11 53.69   cargo:rustc-cfg=const_fn
#11 53.69   cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_LIB_DIR
#11 53.69   X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_LIB_DIR unset
#11 53.69   cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
#11 53.69   OPENSSL_LIB_DIR unset
#11 53.69   cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_INCLUDE_DIR
#11 53.69   X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_INCLUDE_DIR unset
#11 53.69   cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
#11 53.69   OPENSSL_INCLUDE_DIR unset
#11 53.69   cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_DIR
#11 53.69   X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_DIR unset
#11 53.69   cargo:rerun-if-env-changed=OPENSSL_DIR
#11 53.69   OPENSSL_DIR unset
#11 53.69   cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-musl
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_musl
#11 53.69   cargo:rerun-if-env-changed=HOST_PKG_CONFIG
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG
#11 53.69   cargo:rerun-if-env-changed=OPENSSL_STATIC
#11 53.69   cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-musl
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_musl
#11 53.69   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_PATH
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-musl
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_musl
#11 53.69   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-musl
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_musl
#11 53.69   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
#11 53.69   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
#11 53.69   run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` did not exit successfully: exit status: 1\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `openssl.pc'\nto the PKG_CONFIG_PATH environment variable\nPackage 'openssl', required by 'virtual:world', not found\n"
#11 53.69 
#11 53.69   --- stderr
#11 53.69   thread 'main' panicked at '
#11 53.69 
#11 53.69   Could not find directory of OpenSSL installation, and this `-sys` crate cannot
#11 53.69   proceed without this knowledge. If OpenSSL is installed and this crate had
#11 53.69   trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
#11 53.69   compilation process.
#11 53.69 
#11 53.69   Make sure you also have the development packages of openssl installed.
#11 53.69   For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
#11 53.69 
#11 53.69   If you're in a situation where you think the directory *should* be found
#11 53.69   automatically, please open a bug at https://github.com/sfackler/rust-openssl
#11 53.69   and include information about your system as well as this message.
#11 53.69 
#11 53.69   $HOST = x86_64-unknown-linux-musl
#11 53.69   $TARGET = x86_64-unknown-linux-musl
#11 53.69   openssl-sys = 0.9.70
#11 53.69 
#11 53.69   ', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.70/build/find_normal.rs:180:5
#11 53.69   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
#11 53.69 warning: build failed, waiting for other jobs to finish...
#11 72.25 error: build failed
@zsinba

This comment has been minimized.

@jbg

This comment has been minimized.

@jbg jbg mentioned this issue Dec 15, 2021
@jbg
Copy link
Contributor

jbg commented Dec 15, 2021

We're working on packaging GStreamer 1.19.x for Alpine today and then we'll update the Dockerfile to use our packages.

@jbg
Copy link
Contributor

jbg commented Dec 15, 2021

The Dockerfile in current Git master should now work. Please provide any feedback here.

@jbg jbg closed this as completed Dec 23, 2021
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

No branches or pull requests

3 participants