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

libssl-dev version >= 1.1.0 #6194

Closed
tstruk opened this issue Aug 10, 2021 · 4 comments
Closed

libssl-dev version >= 1.1.0 #6194

tstruk opened this issue Aug 10, 2021 · 4 comments

Comments

@tstruk
Copy link
Contributor

tstruk commented Aug 10, 2021

Hi,
The TSS build is failing [1] as it requires openssl to be >=1.1.0
The default version from gcr.io/oss-fuzz-base/base-builder doesn't meet this requirement.
Is the any way to install new version via Docker file other than building it from source?

[1] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36849#c1

@jonathanmetzman
Copy link
Contributor

If you could find a binary like from a PPA that would also work.
Or you could wait for #6180 since we hope to upgrade the Ubuntu version to 20.04 this month.

@DavidKorczynski
Copy link
Collaborator

Although you asked for options other than compiling from source, in case you wanted to compile it then there are other projects that compile it from source so you could just copy those lines:

# OpenSSL 1.1
ARG OPENSSL_VERSION=1.1.1g
ARG OPENSSL_HASH=ddb04774f1e32f0c49751e21b67216ac87852ceb056b75209af2443400636d46
RUN set -ex \
&& curl -s -O https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz \
&& echo "${OPENSSL_HASH} openssl-${OPENSSL_VERSION}.tar.gz" | sha256sum -c \
&& tar -xzf openssl-${OPENSSL_VERSION}.tar.gz \
&& cd openssl-${OPENSSL_VERSION} \
&& ./Configure linux-x86_64 no-shared --static "$CFLAGS" \
&& make build_generated \
&& make libcrypto.a \
&& make install
ENV OPENSSL_ROOT_DIR=/usr/local/openssl-${OPENSSL_VERSION}
RUN git clone --depth 1 https:/FreeRADIUS/freeradius-server.git
COPY build.sh $SRC

@tstruk
Copy link
Contributor Author

tstruk commented Aug 11, 2021

Ok, created a new PR for this. #6203
It can be reverted after the upgrade.

@DavidKorczynski
Copy link
Collaborator

@tstruk the base image is now Ubuntu 20.04:

Will close this issue as #6203 was also closed. Let us know if there are any more libssl issues.

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

No branches or pull requests

3 participants