From: sam.saffron@... Date: 2021-04-08T00:54:07+00:00 Subject: [ruby-core:103287] [Ruby master Bug#17782] Can not compile Ruby trunk with openssl 1.1.1k Issue #17782 has been updated by sam.saffron (Sam Saffron). let's close this, looks like an operator error ... unable to reproduce in a clean docker container. I suspect it was just me needing a new run of autoconf. ``` from arch ENV HOME=/root ENV LANG=en_US.UTF-8 RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \ locale-gen RUN pacman -Syu --noconfirm RUN pacman -Sy vim curl git ruby --noconfirm && \ pacman -S --needed base-devel libffi libyaml openssl zlib --noconfirm RUN mkdir /src && cd /src && git clone https://github.com/ruby/ruby.git RUN pacman -Sy automake gdbm openssl libyaml gmp zlib rubygems ruby-irb --noconfirm RUN cd /src/ruby && automake --add-missing || echo "ignore - used to get config.guess / sub" RUN cd /src/ruby && autoconf && ./configure RUN cd /src/ruby && make ``` ---------------------------------------- Bug #17782: Can not compile Ruby trunk with openssl 1.1.1k https://bugs.ruby-lang.org/issues/17782#change-91371 * Author: sam.saffron (Sam Saffron) * Status: Open * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- Following latest openssl upstream (maybe b91f62f) I can no longer compile Ruby trunk against 1.1.1k ``` In file included from ossl.h:155, from ossl_hmac.c:10: ossl_hmac.c: In function 'ossl_hmac_reset': openssl_missing.h:58:37: error: invalid use of incomplete typedef 'EVP_MD_CTX' {aka 'struct evp_md_ctx_st'} 58 | # define EVP_MD_CTX_pkey_ctx(x) (x)->pctx | ^~ ossl_hmac.c:241:35: note: in expansion of macro 'EVP_MD_CTX_pkey_ctx' 241 | pkey = EVP_PKEY_CTX_get0_pkey(EVP_MD_CTX_pkey_ctx(ctx)); | ^~~~~~~~~~~~~~~~~~~ ossl_hmac.c: At top level: ``` -- https://bugs.ruby-lang.org/ Unsubscribe: