Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C443DCA0FF9 for ; Fri, 29 Aug 2025 12:40:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6D55483D93; Fri, 29 Aug 2025 12:40:26 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 37Ce7FgtInHZ; Fri, 29 Aug 2025 12:40:25 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 80A4183D7F Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 80A4183D7F; Fri, 29 Aug 2025 12:40:25 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists1.osuosl.org (Postfix) with ESMTP id D95C66C for ; Fri, 29 Aug 2025 12:40:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id CAAE483D59 for ; Fri, 29 Aug 2025 12:40:24 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id SOKp_P8AJbJh for ; Fri, 29 Aug 2025 12:40:24 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=34.202.193.197; helo=sendmail.purelymail.com; envelope-from=peko@korsgaard.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 79F4183D47 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 79F4183D47 Received: from sendmail.purelymail.com (sendmail.purelymail.com [34.202.193.197]) by smtp1.osuosl.org (Postfix) with ESMTPS id 79F4183D47 for ; Fri, 29 Aug 2025 12:40:23 +0000 (UTC) Feedback-ID: 21632:4007:null:purelymail X-Pm-Original-To: buildroot@buildroot.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1052405130; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 29 Aug 2025 12:40:19 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.96) (envelope-from ) id 1uryOw-00CD4X-0i; Fri, 29 Aug 2025 14:40:18 +0200 From: Peter Korsgaard To: buildroot@buildroot.org Date: Fri, 29 Aug 2025 14:40:16 +0200 Message-Id: <20250829124017.2910174-1-peter@korsgaard.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail X-Mailman-Original-DKIM-Signature: a=rsa-sha256; b=VH85DV4kDlVpYNG/4YGCz4V9bsy2wLv3muoZsQKU7x7IpOGtxHUO6bTdnP1zqPwPdzZHBM9FzH+Zz1PxcIii5dCG8TfmRwwlArALA/gGOpfbjv/RfXJRovHoZ6Zl7VXU0HwyuJ9ViJfh6o79nHzOGt8wZCJxiftFv8pgXD8lCuIIQcWBXxrmYI3VYHQPyDM+xHOBh7VUS05ML8aZRmnGA7KAUUUXb2vVeFmiBAIInR2wqRQmKA1fofuv+x6dCKV6jz5OniU/7B7T9ELxssVhEtVjhOUXTX24pv174KfjpteueOV/sOj1m8xatgvWlHZgq0jd708OU5GWBsIHW4v7dA==; s=purelymail1; d=purelymail.com; v=1; bh=IyR9ohuReecunFCVoVQHyjFgFyO3/2rXOYGEaW2BB48=; h=Feedback-ID:Received:Received:From:To:Subject:Date; X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=none (p=none dis=none) header.from=korsgaard.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=purelymail.com header.i=@purelymail.com header.a=rsa-sha256 header.s=purelymail1 header.b=VH85DV4k X-Mailman-Original-Authentication-Results: purelymail.com; auth=pass Subject: [Buildroot] [PATCH] package/ecryptfs-utils: ssl support needs engines support in openssl X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marcin Bis Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Fixes https://autobuild.buildroot.net/results/f32ae62961aac7e8344f4be109040e7de2eb415e/ The openssl logic in ecryptfs uses the openssl engines API, which is always available in libressl, but only available in libopenssl when BR2_PACKAGE_LIBOPENSSL_ENGINES is enabled, leading to build failures when it is not: ecryptfs_key_mod_openssl.c: In function 'ecryptfs_openssl_read_key': ecryptfs_key_mod_openssl.c:305:9: error: implicit declaration of function 'ENGINE_load_builtin_engines' [-Wimplicit-function-declaration] 305 | ENGINE_load_builtin_engines(); Fix it by only passing --enable-openssl if libressl or (libopenssl + engines support) is enabled. Signed-off-by: Peter Korsgaard --- package/ecryptfs-utils/ecryptfs-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/ecryptfs-utils/ecryptfs-utils.mk b/package/ecryptfs-utils/ecryptfs-utils.mk index 6eb3add98b..03e7f3e34f 100644 --- a/package/ecryptfs-utils/ecryptfs-utils.mk +++ b/package/ecryptfs-utils/ecryptfs-utils.mk @@ -32,7 +32,7 @@ else ECRYPTFS_UTILS_CONF_OPTS += --disable-pam endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBRESSL)$(BR2_PACKAGE_LIBOPENSSL_ENGINES),y) ECRYPTFS_UTILS_CONF_OPTS += --enable-openssl ECRYPTFS_UTILS_DEPENDENCIES += openssl -- 2.39.5 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot