Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v1RBv-008g01-Ih for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Sep 2025 15:13:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1v1RBu-00DwzU-A7 for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Sep 2025 15:13:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v1RBu-00DwzJ-0x for pgsql-hackers@lists.postgresql.org; Wed, 24 Sep 2025 15:13:58 +0000 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v1RBr-002CY4-1h for pgsql-hackers@lists.postgresql.org; Wed, 24 Sep 2025 15:13:57 +0000 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4cX0jj3Q94z9tSG; Wed, 24 Sep 2025 17:13:45 +0200 (CEST) Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of cb@df7cb.de designates 2001:67c:2050:b231:465::202 as permitted sender) smtp.mailfrom=cb@df7cb.de Date: Wed, 24 Sep 2025 17:13:44 +0200 From: Christoph Berg To: Daniel Gustafsson Cc: PostgreSQL Hackers Subject: Re: "openssl" should not be optional Message-ID: References: <52A12672-72CC-47FC-A0FA-DDFF7C23F2D2@yesql.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4cX0jj3Q94z9tSG List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Daniel Gustafsson > Looking at this I was reminded that we already handle this by using a fallback > and the test worked all along. The message for this was quite poorly worded > though, and used a warning instead of a note. The attached will try to detect > openssl being missing before trying to run it, and will skip the warning > message if the fallback is used (which really isn't a warning in the first > place). Thanks, I just built the postgresql-18 again with this patch (and openssl not installed [*]). It passes fine now. In the meantime, I also got the report that postgresql-17 is not failing in that environment, so the problem is new in 18. > The ERROR in 003_sslinfo is intentional, we are testing that processing fails > by passing an invalid value. Ah, I was mentioning that in the original report because it only showed up in the failing log, but that's just because the non-failing build does not go scraping the test log files. That made the problem look bigger than it actually was. Thanks, Christoph [*] future builds will have openssl as build-dependency.