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

make docker_build_backend failed #10

Open
mielune opened this issue Jan 8, 2024 · 2 comments
Open

make docker_build_backend failed #10

mielune opened this issue Jan 8, 2024 · 2 comments

Comments

@mielune
Copy link

mielune commented Jan 8, 2024

Hi folks,

Thank you for this project, it seems to be a great tool for tech teams !

I would like to test it (and contribute ?) but trying the docker_build_backend it failed (from main branch) with:

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

Caused by:
  process didn't exit successfully: `/app/target/release/build/openssl-sys-5d78b13669bf8ca5/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_LIB_DIR
  X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_INCLUDE_DIR
  X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_DIR
  X86_64_UNKNOWN_LINUX_MUSL_OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_DIR
  OPENSSL_DIR unset

...

  --- stderr
  thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.98/build/find_normal.rs:190:5:


  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = x86_64-unknown-linux-musl
  $TARGET = x86_64-unknown-linux-musl
  openssl-sys = 0.9.98


  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
The command '/bin/sh -c cargo build --release' returned a non-zero code: 101
make: *** [Makefile:5: docker_build_backend] Error 101
mielune pushed a commit to mielune/Torii that referenced this issue Jan 8, 2024
@Tchoupinax
Copy link
Collaborator

Hey @mielune,
Build of the backend inside container is mainly fixed by this work. Could you test with that? :)

@mielune
Copy link
Author

mielune commented Jan 12, 2024

Hey @mielune, Build of the backend inside container is mainly fixed by this work. Could you test with that? :)

Good job, the backend build is working fine on your branch.

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

2 participants