Skip to content
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

Necessary packages removed from Ubuntu repositories #125

Closed
denningsrogue opened this issue Jan 25, 2020 · 5 comments
Closed

Necessary packages removed from Ubuntu repositories #125

denningsrogue opened this issue Jan 25, 2020 · 5 comments

Comments

@denningsrogue
Copy link

After Ubuntu 18.4, the openssl-devel and libssl1.0.0 packages have been removed from the Ubuntu repositories.

@nabijaczleweli
Copy link
Owner

nabijaczleweli commented Jan 27, 2020

How about libssl-dev? That's the package that works for me on sid.

@denningsrogue
Copy link
Author

denningsrogue commented Jan 27, 2020 via email

@denningsrogue
Copy link
Author

denningsrogue commented Jan 27, 2020 via email

@nabijaczleweli
Copy link
Owner

Going by https://packages.ubuntu.com/search?suite=all&section=all&arch=any&keywords=libssl-dev&searchon=names all repositories package 1.0.x or 1.1.x, so unless you have a concrete build error then I'm not sure how to help you.

Also note: both macOS (openssl 1.1 via brew, #123) and my sid (libssl-dev @ 1.1.1d-2) build, so I'm not sure why it'd fail in the first place?

@nabijaczleweli
Copy link
Owner

I ran some tests – a clean default and minimal chroot of bionic (current LTS) and eoan (latest); both worked.

My debootstrap needed a sudo ln -s gutsy /usr/share/debootstrap/scripts/eoan, but otherwise, substitute bionic for eoan everywhere and it'll work.

Default:

sudo debootstrap bionic bionic
sudo mount --bind /proc bionic/proc
sudo chroot bionic

apt install wget build-essential libssl-dev pkg-config
wget -O- https://sh.rustup.rs | sh

Minimal:

sudo debootstrap --variant=minbase bionic bionic
sudo mount --bind /proc bionic/proc
sudo chroot bionic

apt install --no-install-{suggest,recommend}s wget build-essential libssl-dev pkg-config ca-certificates
wget https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init && chmod +x rustup-init && ./rustup-init --profile minimal

Then the following works with no problems:

cargo install cargo-update
cargo install-update -a

My packaging woes were answered by these two paragraphs from the openssl-dev error:

Make sure you also have the development packages of openssl installed.
For example, libssl-dev on Ubuntu or openssl-devel on Fedora.

It looks like you're compiling on Linux and also targeting Linux. Currently this
requires the pkg-config utility to find OpenSSL but unfortunately pkg-config
could not be found. If you have OpenSSL installed you can likely fix this by
installing pkg-config.

Closing as norepro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants