[Bug 268874] Mk/Uses/cargo.mk: 'make cargo-crates' fails on ports with WRKSRC_SUBDIR
Date: Wed, 11 Jan 2023 10:47:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268874 --- Comment #1 from Tobias Kortkamp <tobik@freebsd.org> --- cargo generate-lockfile generates Cargo.lock at the workspace root (the cd ${WRKSRC} in cargo.mk's cargo-generate-lockfile target is not needed but harmless). Since you set WRKSRC_SUBDIR you must overwrite CARGO_CARGOLOCK. CARGO_CARGOLOCK=${WRKSRC}/../../Cargo.lock It would be even better to just not use WRKSRC_SUBDIR and pass --package=rustc-demangle-capi to cargo like in bug #268706 or as suggested in rustc-demangle's README. -- You are receiving this mail because: You are on the CC list for the bug.