JuliaPackaging / BinaryBuilder.jl

Binary Dependency Builder for Julia
https://binarybuilder.org
Other
391 stars 99 forks source link

Rust compiling issue: error: Cross-device link (os error 18) #1248

Open jakobnissen opened 1 year ago

jakobnissen commented 1 year ago

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:

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.

jakobnissen commented 1 year ago

cc @staticfloat - Mosè Giordano mentioned you might be able to fix this.

Moelf commented 1 year ago

hitting this when trying to compile https://github.com/lotabout/skim

giordano commented 1 year ago

Just don't use the wizard. I honestly have no clue why the wizard has this problem (and I also rarely use it).

Moelf commented 1 year ago

what's the workflow then? copy & edit some build_tarball.jl and manually run it?

giordano commented 1 year ago

Yes: https://docs.binarybuilder.org/stable/#Manually-create-or-edit-build_tarballs.jl