From nobody Tue Sep 26 13:29:40 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 4Rw0w469cvz4v900 for ; Tue, 26 Sep 2023 13:29:40 +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 4Rw0w4592kz3fDB for ; Tue, 26 Sep 2023 13:29:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695734980; a=rsa-sha256; cv=none; b=kPmBaW9nnE3WuJGD4cZsfaE2cC030JFlZMp17YgJi/5B2gFBnZsuNtU1OsU1ObsK4f4hc+ ow/P7wq0yAW58Pie00tzGTBk4lVfGFQJoRHeL8AgjNay+3BJLOaAXNcjNQ1Je0MX1lUG+G 2y0io2uh81Gac3PoXYY1ypmaS8WM1KO+hAY1HMTR0j/5Ux5RskzV53V1AHEugN3Ea/5n9J JNFVvIJpxPG0kMhCwko/uXxzpdN0FrOLXY5SBPRmJnezX46PEvJmeF6EoUon8H6vABKdVh 68WUcPr5boxIlG9HchuJm9JSMVW2r5xXwlpDpkHjJG1rs30tlTFUEONX9q6clg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695734980; 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=6C0V/n8ZTHPhjolxxaHGUCkaeytg2elUDOakbEXxnEw=; b=u0fpX3WNiKbdcF1TEGf2VCI2aUxVxJiRBewdoYUMWIHuA6MI9HTnrh6FHcCrLhu/54LVWd hFbn6BBXlUfe5/nsvXrUOg1pYOimkiIiMRBBOPTbcz4q6y4dRFlh7a6L+O8T9u4eHGHcVN rm01SA8aoJIOGtHyqFzVrE0dd2W6RKCgssUWU0xuRW7AbvF0fu5mcD69pKKyvDqG021qKs QKPnaNbyfUH2R+1Xk6MEqrix4R9NS7iWYdIlmAKYraFD91OYZOZdVA0gaAkrRPc/duZMLw O02hVafGFce01wHi15BinoQE0hHFoY+c7mwYvKnXAI/83OkBXxARgvXJwk35lw== 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 4Rw0w43wcJzyC4 for ; Tue, 26 Sep 2023 13:29:40 +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 38QDTeig034667 for ; Tue, 26 Sep 2023 13:29:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38QDTegk034666 for ports-bugs@FreeBSD.org; Tue, 26 Sep 2023 13:29:40 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 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated Date: Tue, 26 Sep 2023 13:29:40 +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: mikael@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: cc 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273280 Mikael Urankar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael@FreeBSD.org --- Comment #1 from Mikael Urankar --- (In reply to Yuri Victorovich from comment #0) This problem arise if there are multiple Cargo.toml containing the same cra= tes in the [patch.crates-io] section, example with libsignal 0.31.0: cat work/libsignal-0.31.0/rust/protocol/fuzz/Cargo.toml [patch.crates-io] # Use our fork of curve25519-dalek for zkgroup support. curve25519-dalek =3D { git =3D 'https://github.com/signalapp/curve25519-dal= ek', tag =3D 'signal-curve25519-4.0.0' } x25519-dalek =3D { git =3D 'https://github.com/signalapp/curve25519-dalek',= tag =3D 'signal-curve25519-4.0.0' } cat work/libsignal-0.31.0/Cargo.toml [patch.crates-io] # Use our fork of curve25519-dalek for zkgroup support. curve25519-dalek =3D { git =3D 'https://github.com/signalapp/curve25519-dal= ek', tag =3D 'signal-curve25519-4.0.0' } x25519-dalek =3D { git =3D 'https://github.com/signalapp/curve25519-dalek',= tag =3D 'signal-curve25519-4.0.0' } boring =3D { git =3D 'https://github.com/signalapp/boring', branch =3D 'lib= signal' } # This revision of snow is where curve25519-dalek v4.0.0 changes were merge= d in snow =3D { git =3D 'https://github.com/mcginty/snow.git', rev =3D '586292364a30ecc74c785228b41e60b3ef03e773' } So x25519-dalek and curve25519-dalek appears twice in work/.cargo/config.to= ml Removing the duplicate in work/.cargo/config.toml won't work as the various= awk scripts remove the [patch.crates-io] section in cargo.toml, cf https://cgit.freebsd.org/ports/tree/Mk/Scripts/cargo-crates-git-configure.a= wk?h=3D2023Q3#n65 So the second run won't put the needed dependency in work/.cargo/config.toml --=20 You are receiving this mail because: You are on the CC list for the bug.=