[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273280] Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Aug 2023 06:49:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273280 Bug ID: 273280 Summary: Mk/Uses/cargo.mk: Invalid ${WRKDIR}/.cargo/config.toml is generated Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: yuri@freebsd.org CC: ports-bugs@FreeBSD.org Created attachment 244277 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244277&action=edit Makefile The build fails with the attached Makefile that has CARGO_CRATES generated with 'make cargo-crates': > ===> Updating Cargo.lock > error: failed to load manifest for workspace member `/usr/ports/security/solana/work/solana-1.16.9/account-decoder` > > Caused by: > failed to parse manifest at `/usr/ports/security/solana/work/solana-1.16.9/account-decoder/Cargo.toml` > > Caused by: > could not load Cargo configuration > > Caused by: > could not parse TOML configuration in `/usr/ports/security/solana/work/.cargo/config.toml` > > Caused by: > could not parse input as TOML > > Caused by: > TOML parse error at line 8, column 1 > | > 8 | ntapi = { path = '/usr/ports/security/solana/work/ntapi-97ede981a1777883ff86d142b75024b023f04fad' } > | ^ > duplicate key `ntapi` in table `patch.crates-io` > *** Error code 101 Additionally, after the duplicate is removed, the build fails again due to missing dependencies: > ===> Updating Cargo.lock > error: no matching package found > searched package name: `ntapi` > perhaps you meant: caps, clap, hidapi, ... > location searched: registry `crates-io` > required by package `mio v0.7.14` > ... which satisfies dependency `mio = "^0.7.6"` of package `tokio v1.14.1` > ... which satisfies dependency `tokio = "^1.13.0"` of package `quinn v0.9.4` > ... which satisfies dependency `quinn = "^0.9.4"` of package `solana-client v1.16.9 (/usr/ports/security/solana/work/solana-1.16.9/client)` > ... which satisfies path dependency `solana-client` of package `solana-accounts-cluster-bench v1.16.9 (/usr/ports/security/solana/work/solana-1.16.9/accounts-cluster-bench)` > *** Error code 101 rust-1.71.0 FreeBSD 13.2 -- You are receiving this mail because: You are on the CC list for the bug.