Date: Wed, 11 Jan 2023 10:47:28 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268874] Mk/Uses/cargo.mk: 'make cargo-crates' fails on ports with WRKSRC_SUBDIR Message-ID: <bug-268874-7788-HVSmC4Ht3E@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268874-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-268874-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268874 --- 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=3D${WRKSRC}/../../Cargo.lock It would be even better to just not use WRKSRC_SUBDIR and pass --package=3Drustc-demangle-capi to cargo like in bug #268706 or as suggeste= d in rustc-demangle's README. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268874-7788-HVSmC4Ht3E>