From nobody Wed Jan 11 10:47:28 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NsPX04YQgz2r2WK for ; Wed, 11 Jan 2023 10:47:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NsPX03RcVz3hbT for ; Wed, 11 Jan 2023 10:47:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673434048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Gwgey4UTmdoKbdmzlRncASWzhDEbno0fp1a8FNmTaEo=; b=ZvERMOej0vizfKkUklYudd0J6Rj2Iccv5KUr4G6p1uXDPkF1t+Ex0DYgNJdRi25W67SuLV kpYvbxH4C7wkI0Dz8Ue9woI+Zn3EJX+quRGEjf4CLNwlwtBxBnd2cwodZJujnaBWP4ifZD PNL2XB5wXFcqF8NLpGqbqz6Ddk0e370P+7L2ZNHAccIzJHMC2f6QM5IlGvXxN98z+XnrpX Mq6qOoZf+DdH47000zJm3C0D6BN+/3n85UfN1h/Y6QFyBvJWn85+ccA5jXcQdjqEnxaqZS cdokh1ptinZCgWeu2JIIcINg8jnNRE9vI/NfhQe0dfAi8I4JQP9K0Hv6EPjyxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673434048; a=rsa-sha256; cv=none; b=YGbVACPo+jramDh9lrL3PruaMAXkEAYz06eFTZkTFYdwYwJD9OMSuZhV9hnuamOamTdeIy nExaKDBygs2zzYDlbHTQRrP7nijLd8d/LnfvwtgLF12+y+KeGthxrnMs/EZckBZmF2VyJd JUD52lWc5OLKrQzrgXkI/ZF9YfD/9i2LNiFKqs8bz4orY9eqomk3MFrbzSJHpNKmyZP+WY 5Wc/z/Bd3lnY6ZLTos+hxgsTp4F9nyIEw8HNetLZKyhNvN3LfVKH7R2tblEs+q4hfg2ub2 nAhNdJz+nPFVUUqJpaZZqXHMCr+w8n1qVvacMGhk0QOQHI4UesSfiIKHVTkmpg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NsPX02GnPzlkC for ; Wed, 11 Jan 2023 10:47:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 30BAlSUK056443 for ; Wed, 11 Jan 2023 10:47:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30BAlSiq056442 for ports-bugs@FreeBSD.org; Wed, 11 Jan 2023 10:47:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Wed, 11 Jan 2023 10:47:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tobik@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268874 --- Comment #1 from Tobias Kortkamp --- 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.=