Package does not build when using custom Cargo target directory
Closed this issue · 1 comments
seqre commented
The installation breaks when building tundra
from AUR when a user has custom defined Cargo target directory.
AUR error:
error: failed to run custom build command for `tundra v0.4.0 (/home/seqre/.cache/paru/clone/tundra/src/tundra-0.4.0)`
Caused by:
process didn't exit successfully: `/home/seqre/.cargo/target/release/build/tundra-be22d1479b53597a/build-script-build` (exit status: 101)
--- stdout
Creating directory: "target/locale"
--- stderr
thread 'main' panicked at 'Could not create translations directory: Os { code: 2, kind: NotFound, message: "No such file or directory" }', build.rs:19:32
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'tundra-0.4.0-1':
error: packages failed to build: tundra-0.4.0-1
Example .cargo/config.toml
to recreate issue:
[build]
target-dir = ".cargo/target"