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

Github action release #2

Closed
gaganyaan2 opened this issue Oct 27, 2022 · 3 comments
Closed

Github action release #2

gaganyaan2 opened this issue Oct 27, 2022 · 3 comments
Assignees

Comments

@gaganyaan2
Copy link
Owner

  • multiarch release
@gaganyaan2 gaganyaan2 self-assigned this Oct 27, 2022
@gaganyaan2
Copy link
Owner Author

github rust-build/rust-build.action@v1.3.2 action multiarch is failing for kn. also arm64 release is not available with this action.

  • x86_64-apple-darwin
  • x86_64-pc-windows-gnu
Error { kind: ToolExecError, message: "Command \"x86_64-w64-mingw32-gcc\" \"-O3\" \"-ffunction-sections\" \"-fdata-sections\" \"-m64\" \"-I\" \"/usr/include/openssl\" \"-Wall\" \"-Wextra\" \"-E\" \"build/expando.c\" with args \"x86_64-w64-mingw32-gcc\" did not execute successfully (status code exit status: 1)." }

  Failed to find OpenSSL development headers.

  You can try fixing this setting the `OPENSSL_DIR` environment variable
  pointing to your OpenSSL installation or installing OpenSSL headers package
  specific to your distribution:

      # On Ubuntu
      sudo apt-get install libssl-dev
      # On Arch Linux
      sudo pacman -S openssl
      # On Fedora
      sudo dnf install openssl-devel
      # On Alpine Linux
      apk add openssl-dev

  See rust-openssl documentation for more information:

      https://docs.rs/openssl
  ', /usr/local/cargo/registry/src/github.com-1ecc6[299](https://github.com/koolwithk/knkx/actions/runs/3346278245/jobs/5543314072#step:8:300)db9ec823/openssl-sys-0.9.77/build/main.rs:185:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
Error:  Command exited with non-zero exit code
Error: Build failed

@gaganyaan2
Copy link
Owner Author

for x86_64-unknown-linux-musl kn builds but fails when run on linux. Also it's not statically linked.

[home@home knkx]$ kn
Segmentation fault (core dumped)

[home@home knkx]$ ldd /usr/local/bin/kn
        linux-vdso.so.1 (0x00007f0659ca3000)
        libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f0659882000)
        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f0659594000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f065938a000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f0659370000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f0659ca5000)

@gaganyaan2
Copy link
Owner Author

CI created https://github.com/koolwithk/kx-kn-rust/blob/main/.github/workflows/release.yml but id does not support all arch.

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

1 participant