Index | Thread | Search

From:
Matthew Martin <phy1729@gmail.com>
Subject:
rust-{clippy,rustfmt} missing dependency on rust
To:
Sebastien Marie <semarie@kapouay.eu.org>, ports@openbsd.org
Date:
Wed, 11 Sep 2024 19:51:57 -0500

Download raw body.

Thread
I'm on a monthish old snapshot. While there's been a bump to libcrypto
and libssl in the meantime, pkg_add -u usually doesn't break anything.
On a recent pkg_add -u,


Can't install rust-1.81.0 because of libraries
Direct dependencies for rust-1.80.1->1.81.0 resolve to libssh2-1.11.0 curl-8.9.1p0
Full dependency tree is curl-8.9.1p0 libssh2-1.11.0 ngtcp2-1.7.0 nghttp2-1.63.0 nghttp3-1.5.0
rust-clippy-1.80.1p0->1.81.0: ok
rust-rustfmt-1.80.1p0->1.81.0: ok


However when attempting to run clippy or rustfmt,


~% /usr/local/bin/clippy-driver
ld.so: clippy-driver: can't load library 'libstd-02e247769dc17415.so'
zsh: killed     /usr/local/bin/clippy-driver
~% /usr/local/bin/rustfmt      
ld.so: rustfmt: can't load library 'librustc_driver-02e247769dc17411.so'
zsh: killed     /usr/local/bin/rustfmt


I think this means rust-clippy and rust-rustfmt are missing a dependency
on rust-main.