Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

current cross-compilation issues #1

Closed
dionysius opened this issue Jan 15, 2023 · 0 comments
Closed

current cross-compilation issues #1

dionysius opened this issue Jan 15, 2023 · 0 comments

Comments

@dionysius
Copy link
Owner

dionysius commented Jan 15, 2023

riscv:

  error: failed to run custom build command for `ring v0.16.20`
  
  Caused by:
    process didn't exit successfully: `/work/vaultwarden-1.27.0/target/release/build/ring-03adbee9b7db2dc2/build-script-build` (exit status: 101)
    --- stderr
    thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /root/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/ring-0.16.20/build.rs:358:10
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

armv7:

  error: failed to compile `vaultwarden v1.0.0 (/work/vaultwarden-1.27.0)`, intermediate artifacts can be found at `/work/vaultwarden-1.27.0/target`
  
  Caused by:
    failed to load source for dependency `multer`
  
  Caused by:
    Unable to update https://github.com/BlackDex/multer-rs?rev=477d16b7fa0f361b5c2a5ba18a5b28bec6d26a8a
  
  Caused by:
    failed to clone into: /root/.cargo/git/db/multer-rs-4345aff1a2cb4345aff1a2cb7639
  
  Caused by:
    could not read directory '/root/.cargo/git/db/multer-rs-4345aff1a2cb7639/refs': Value too large for defined data type; class=Os (2)

aarch64:

error: could not compile `vaultwarden`
  
  Caused by:
    process didn't exit successfully: `rustc --crate-name vaultwarden --edition=2021 ... (signal: 9, SIGKILL: kill)
  error: failed to compile `vaultwarden v1.0.0 (/work/vaultwarden-1.27.0)`, intermediate artifacts can be found at `/work/vaultwarden-1.27.0/target`
  • github runners probably killing job for taking too long (at ~3h run time). Once it ran through taking 5h30min (probably luck). A better and more efficient way is needed to offer cross compiled packages.
Repository owner locked and limited conversation to collaborators Apr 3, 2023
@dionysius dionysius converted this issue into discussion #2 Apr 3, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant