nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.25k stars 41 forks source link

Dependency conflict on packages in readme #236

Closed RivenSkaye closed 1 year ago

RivenSkaye commented 1 year ago

The Required Libraries™ list mingw-w64-x86_64-pkg-config. Which probably works, assuming a cmake install from a different source. However, using the pacman-provided CMake will end up tossing errors because it lists mingw-w64-x86_64-pkgconf as dep. Using that instead produces a perfectly functional build, so you might want to list both options or only the latter (are there any packages that explicitly grab the other one?).

looking for conflicting packages...
:: mingw-w64-x86_64-pkg-config and mingw-w64-x86_64-pkgconf are in conflict. Remove mingw-w64-x86_64-pkgconf? [Y/n]
error: failed to prepare transaction (could not satisfy dependencies)
:: removing mingw-w64-x86_64-pkgconf breaks dependency 'mingw-w64-x86_64-pkgconf' required by mingw-w64-x86_64-cmake

PS: the first troubleshooting link is also dead, as it points to alexcrichton/git2-rs, works with rust-lang/git2-rs though.

nabijaczleweli commented 1 year ago

Yep, thanks for bringing these up. Pivoted all pkg-configs to pkgconf on the assumption that fedora also did it.