From owner-freebsd-ports@freebsd.org Thu May 6 16:25:17 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B05C627204 for ; Thu, 6 May 2021 16:25:17 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fbf7d06Bpz4qmh for ; Thu, 6 May 2021 16:25:17 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from ale.bitgold.com (151-0-207-195.ip282.fastwebnet.it [151.0.207.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: ale) by smtp.freebsd.org (Postfix) with ESMTPSA id 9F0462B51D; Thu, 6 May 2021 16:25:16 +0000 (UTC) (envelope-from ale@FreeBSD.org) Subject: Re: USES=cargo vs. workspaces From: Alex Dupre To: freebsd-ports@freebsd.org, freebsd-rust@freebsd.org References: <72cc189f-178d-008c-f2de-9a32b72fcd9e@FreeBSD.org> Message-ID: Date: Thu, 6 May 2021 18:25:14 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <72cc189f-178d-008c-f2de-9a32b72fcd9e@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2021 16:25:17 -0000 On 07/10/19 09:41, Alex Dupre wrote: >> Some projects (e.g., Servo, Veloren) bundle several packages together. >> When dependencies also bundle packages it confuses "git" override. >> Any tips/workarounds that scale beyond 1 port? > > I haven't a solution, I can just say that I have the same issue with the > parity ethereum client (that in fact it's not in the ports tree yet). With the latest openethereum update, that adds the new rethutil dependency, the issue came up again: ===> Configuring for openethereum-3.2.5 error: failed to get `reth-util` as a dependency of package `ethcore v1.12.0 (/wrkdirs/usr/ports/net-p2p/openethereum/work/openethereum-3.2.5/crates/ethcore)` Caused by: failed to load source for dependency `reth-util` Caused by: Unable to update /wrkdirs/usr/ports/net-p2p/openethereum/work/reth-573e128487d5651f301e21faa97fc8e80f91dee8 Caused by: found a virtual manifest at `/wrkdirs/usr/ports/net-p2p/openethereum/work/reth-573e128487d5651f301e21faa97fc8e80f91dee8/Cargo.toml` instead of a package manifest ** Error code 101 Stop. make: stopped in /usr/ports/net-p2p/openethereum CC'ing freebsd-rust@ since they maintain the cargo stuff. Any help is appreciated. -- Alex Dupre