USES=cargo vs. workspaces

Alex Dupre ale at FreeBSD.org
Thu May 6 16:25:17 UTC 2021


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


More information about the freebsd-ports mailing list