-
Notifications
You must be signed in to change notification settings - Fork 70
libssl and header files version on readthedocs/build:7.0 are too low #176
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
Comments
Hi! Thanks for reporting this issue. We are moving away from
and
(the image will be generated by the Dockerfile from this PR #166) I understand this will be correct for your use case. Is that correct? |
Yeah, literally it would be nice to have header files in place with same version 1.1.1f. So when PR #116 will be officially released so users could take it into use in their product line confidently? Thanks. |
We are working on this currently. However, we don't have an ETA we can compromise to. I'd expect that we can deploy these changes (in beta probably) in a month. |
That is quite promising. |
Yeah. Sounds good. This is something I may use myself to QA our work probably. |
@0xaead Hi! I did some tests today locally with my branch that implements the new images and support for Ubuntu 20.04. The build did work without any issue. I use this diff in your project (branched from diff --git a/.readthedocs.yml b/.readthedocs.yml
index 04d5d1a4..fd0e4e2c 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -6,6 +6,7 @@ sphinx:
builder: dirhtml
build:
- # First RTD build env which includes a rust toolchain
- image: "7.0"
-
+ os: "ubuntu-20.04"
+ tools:
+ python: "3.8"
+ rust: "1.55"
I wanted to ask you if there is anything that I should check besides that the build succeed to make sure that the problem reported is solved in the new images. |
@humitos Hi, if the build of |
@humitos p.s. please ping me once said release is finalized.
I will initiate changes on |
Hi @0xaead! In #166 we implemented the ability to use Ubuntu 20.04 LTS --which is still in beta. Would you like to give it a try and let us know if it works? You need to add something like this to your build:
os: "ubuntu-20.04"
tools:
python: "3.9"
Thanks! |
@humitos Sure. DO you want me to run |
(on the phone) Nope, just run your build on read the docs (readthedocs.org) with the chunk of code I shared in my previous comment. |
@humitos OK, server build is ongoing now. P.S. Is virtualenv installed in said image? At least my test on My quick script to build
Stuck here:
|
xref: pyca/cryptography#6331 |
(on the phone) No, virtualenv is not installed, nor Python, nor the other tools either. This is done at build time using a cache. Note that these images are not meant to be used outside Read the Docs. That's why I was saying to just try this in readthedocs.org directly. Let me know how it goes! |
(on the phone) Oh! Note that if you need Rust, you have to define it as: build:
tools:
rust: "1.55" |
Looking good, and P.S. Thanks for your guys' fantastic works to |
Excellent! Thanks for reporting back! 😎 |
I found this issue when building docs for pyca/cryptography with
readthedocs/build:7.0
. It is initially tracked down through build error in https://readthedocs.org/projects/cryptography/builds/14446988/.In 7.0 container, I found
/usr/include/openssl/opensslv.h
:# define OPENSSL_VERSION_NUMBER 0x100020efL
# ifdef OPENSSL_FIPS
# define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2n-fips 7 Dec 2017"
# else
# define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2n 7 Dec 2017"
# endif
Yet the openssl application is 1.1.1.
Further check found there are mixed 2 versions of libssl installed.
$ find /usr -name libssl*
/usr/lib/x86_64-linux-gnu/pkgconfig/libssl.pc
/usr/lib/x86_64-linux-gnu/libssl.a
/usr/lib/x86_64-linux-gnu/libssl.so
/usr/lib/x86_64-linux-gnu/libssl3.so
/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
/usr/lib/x86_64-linux-gnu/libssl.so.1.1
/usr/share/doc/libssl1.0-dev
/usr/share/doc/libssl1.0.0
/usr/share/doc/libssl1.1
/usr/share/lintian/overrides/libssl1.0.0
Could you unify the openssl to 1.1.1 in build 7.0?
rust
which is a mandatory tool to build pyca/cryptography [docs].The text was updated successfully, but these errors were encountered: