-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to install on Ubuntu 18.04 #129
Comments
some here. |
Same issue in Ubuntu 19.10. |
Okay, so: here's my log in a clean chroot (
And the versions of native library packages I installed (beyond
Most notably:
Ubuntu releases:
I have read through the issue trackers for our upstreams and didn't see anything related to this, so to further diagnose this (if it's anything beyond the usual ubuntu brokenness) I'm asking someone from here with a failing build to do |
Ubuntu 19:10: The command "apt list --installed | grep ssh" listed a number of libraries. |
Yes! Thanks to your comment I've managed to reproduce this: debootstrap eoan eoan
mount --bind /proc eoan/proc
chroot eoan
sed -i 's/main/main universe/' /etc/apt/sources.list
apt update
apt install -y --no-install-{suggest,recommend}s pkg-config libssl-dev build-essential wget
bash <(wget -O- https://sh.rustup.rs) -y --profile=minimal
. ~/.cargo/env
cargo install cargo-update # Works
apt install -y --no-install-{suggest,recommend}s libssh-dev libssh2-1-dev
cargo install -f cargo-update # Doesn't link Any other combination of Build output:
I'll open a bug upstream shortly. |
Apparently this was reported already, but didn't catch my eye. Hotfix, mentioned in alexcrichton/ssh2-rs#171 (comment), worked for me in the setup above: LIBSSH2_SYS_USE_PKG_CONFIG= cargo install cargo-update for a fresh install. |
Can confirm that using:
Works in Ubuntu 18.04.4. |
Woot! Just tested here and it worked.
|
I've published an updated libssh2-sys crate so this should now be resolved |
And an interesting analysis to boot; thanks! |
Released in |
'cargo install cargo-update' results in the item below. libssh-dev, libssh2-1-dev, or libssh-gcrypt-dev being installed does not solve this.
The text was updated successfully, but these errors were encountered: