BinaryBuilder.jl
BinaryBuilder.jl copied to clipboard
Rust compiling issue: error: Cross-device link (os error 18)
I'm trying to create a Rust binary, but this error occurs once rustup
tries to compile the program.
Environment
OS: Linux (Manjaro), kernel 5.15.78-1 Triplet: x86_64-linux-gnu Julia version: 1.8.3 BinaryBuilder version: 0.5.6
Steps to reproduce:
- Run the BB wizard
- Source is
https://github.com/wwood/CoverM
, tagv0.6.1
- Name is "CoverM", version "0.6.1"
- No dependencies or additional sources
- Choose to compile for x86_64-linux-gnu
- Compilers: Pick the default C/C++/Fortran, plus Rust
- Run:
cd CoverM && cargo build --release
Weirdly enough, this does not happen when running BB using the equivalent build script in https://github.com/JuliaPackaging/Yggdrasil/pull/5911 - then it produces the right binaries. It works, even when running that recipe locally on my own machine.
cc @staticfloat - Mosè Giordano mentioned you might be able to fix this.
hitting this when trying to compile https://github.com/lotabout/skim
Just don't use the wizard. I honestly have no clue why the wizard has this problem (and I also rarely use it).
what's the workflow then? copy & edit some build_tarball.jl
and manually run it?
Yes: https://docs.binarybuilder.org/stable/#Manually-create-or-edit-build_tarballs.jl