From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-2.5 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 4A5721F4B4 for ; Thu, 8 Apr 2021 00:54:15 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 199E0121157; Thu, 8 Apr 2021 09:53:12 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 1A493121156 for ; Thu, 8 Apr 2021 09:53:09 +0900 (JST) Received: by filterdrecv-p3iad2-7d7c446bd4-z6wz8 with SMTP id filterdrecv-p3iad2-7d7c446bd4-z6wz8-19-606E542F-1E 2021-04-08 00:54:07.763417409 +0000 UTC m=+1318867.586596467 Received: from herokuapp.com (unknown) by ismtpd0190p1mdw1.sendgrid.net (SG) with ESMTP id qWfJXbsgRFCFxStx3_oL4g for ; Thu, 08 Apr 2021 00:54:07.654 +0000 (UTC) Date: Thu, 08 Apr 2021 00:54:07 +0000 (UTC) From: sam.saffron@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 79333 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 17782 X-Redmine-Issue-Author: sam.saffron X-Redmine-Sender: sam.saffron X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?GD31AXMrLYtZC3ZmvheLkg5nAqKYtjT=2Fa5aksj98ZWOGYFkMsxwOAcDDOOp76I?= =?us-ascii?Q?uaq6Q8K9yNn0qvmsrpaYbm0VmX+j+kGhqIWdShm?= =?us-ascii?Q?TOqhZBPGP4gsyPluO89MsP+CZteeSDXB95jqP1n?= =?us-ascii?Q?kBuzwx2bJZYYiizQi=2FvrCu0IPu8F5ultBQ5DKvc?= =?us-ascii?Q?luxoq5I2R0pogj6Scl95yFHLtIfkZnhT6CgRb0b?= =?us-ascii?Q?j1HQIVp4a0aY+CA0k=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 103287 Subject: [ruby-core:103287] [Ruby master Bug#17782] Can not compile Ruby trunk with openssl 1.1.1k X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" 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/