From unknown Thu Aug 14 21:54:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#74141 <74141@debbugs.gnu.org> To: bug#74141 <74141@debbugs.gnu.org> Subject: Status: [PATCH] daemon: Fix --with-libgcrypt-* args of the configure script Reply-To: bug#74141 <74141@debbugs.gnu.org> Date: Fri, 15 Aug 2025 04:54:57 +0000 retitle 74141 [PATCH] daemon: Fix --with-libgcrypt-* args of the configure = script reassign 74141 guix-patches submitter 74141 Do=C4=9Fan =C3=87e=C3=A7en severity 74141 normal tag 74141 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 14:27:13 2024 Received: (at submit) by debbugs.gnu.org; 31 Oct 2024 18:27:13 +0000 Received: from localhost ([127.0.0.1]:43541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6Zt2-0001xl-O8 for submit@debbugs.gnu.org; Thu, 31 Oct 2024 14:27:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:38876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6Zt0-0001xZ-1N for submit@debbugs.gnu.org; Thu, 31 Oct 2024 14:27:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6Zsy-0001ac-IR for guix-patches@gnu.org; Thu, 31 Oct 2024 14:27:09 -0400 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6Zsw-0002ZB-Sh for guix-patches@gnu.org; Thu, 31 Oct 2024 14:27:08 -0400 Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfout.phl.internal (Postfix) with ESMTP id D2A1C138043B; Thu, 31 Oct 2024 14:27:04 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Thu, 31 Oct 2024 14:27:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1730399224; x=1730485624; bh=9WqTP64pHNT55xWIpjpB/ GSVBoQiiBlW49Op/jLlBJI=; b=S4asv6HbqJrf7DjLVFGhSp7fPJKRxP010M+U/ z632ReNzLMJaPZl47KNN/2oQ2irHJXPuPri7U+atd6JJF2UI/YFGrUzhCvjgD3rT SWYyVGrVVltmwN//3uvbGfvEyeAurSGKtWwN541LMVLVfuxyBc69k+J0GRywxl9L 9oDExiWPFvg3BQqb1Df1Y8RXAVtpJQwIae0nQieYws0SdtHrJM/mJREDAKWKBKyi a28KfkYF2rNC68TRAk2XxT6bDvNl78BPbO5XJhLCvgP3PI/SXupUpjmp8/S6+OX+ eegftfzuh2ANT/Ai0rxKrnv4IVL0OcKZkqwYEb6gKgQt30RaA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1730399224; x=1730485624; bh=9WqTP64pHNT55xWIpjpB/GSVBoQiiBlW49O p/jLlBJI=; b=D4CLzM6K2u6VdAMM/Htfht7tJWzCtDMbsnavG+MbRoWODzXg9xU qDZPUszeaBXv1NOxm8U2SThWtULG0j59+inOwWoT0buxXzs0NmwEHkuMpRYoAZUw k+gtKbPVnf5b+ebXznlYlu+YxRE0lXnTJf2sK7EC9gRUkDvzH+t5NjjkzD+ibEyE W2VoR5CjVgFjiQIVsiJMuJl24M2JgDtMPRsny/gyxUpezQW6fwOOhP3kmxZ5j4At Xd7D+RLZoNPUCzVQLfssFRQLyYlXhhR9VErNrGsg/KxUPVgiHdtnRjYTIRQpZy9J Yd2fuLWBKb+41mp8/5+dUX0QywKHUm2qasw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdekjedgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf ffkffoggfgsedtkeertdertdejnecuhfhrohhmpeffohhgrghnucmrvgopvghnuceoshgv phgvthhhsehfrghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepgefgtefgff eklefhteekvdfgheevfefggfehvedvgffgueekhfdthffgffejhedvnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgvphgvthhhsehfrghsth hmrghilhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhr tghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdhrtghpthhtohepsh gvphgvthhhsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i57994943:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 31 Oct 2024 14:27:03 -0400 (EDT) From: =?UTF-8?q?Do=C4=9Fan=20=C3=87e=C3=A7en?= To: guix-patches@gnu.org Subject: [PATCH] daemon: Fix --with-libgcrypt-* args of the configure script Date: Wed, 30 Oct 2024 22:41:06 +0200 Message-ID: <79c05ec09291c176760e480e0f3e2f496d098777.1730320866.git.sepeth@fastmail.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=103.168.172.146; envelope-from=sepeth@fastmail.com; helo=fout-a3-smtp.messagingengine.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Do=C4=9Fan=20=C3=87e=C3=A7en?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) This change fixes the LDFLAGS pointing to a previously nonexistent var (LIBGCRYPT_LDFLAGS). The name for this var was LIBGCRYPT_LIBS. Also, CFLAGS was not the correct destination since the checks were done with g++ and the env var for it is CXXFLAGS. Another issue was with the save_CFLAGS and save_LDFLAGS trick. While this is thoughtful, LDFLAGS and CXXFLAGS still need to be modified for `make` to find the correct lib. * config-daemon.ac: Fix LDFLAGS and CXXFLAGS for --with-libgcrypt-* args of the configure script. Change-Id: I0f3867491e46608e71b1ea0b3214674bca64b31d --- config-daemon.ac | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/config-daemon.ac b/config-daemon.ac index 9854f1d694..1ac204ceed 100644 --- a/config-daemon.ac +++ b/config-daemon.ac @@ -39,28 +39,26 @@ if test "x$guix_build_daemon" = "xyes"; then case "$LIBGCRYPT_PREFIX" in no) - LIBGCRYPT_CFLAGS="" + LIBGCRYPT_CXXFLAGS="" ;; *) - LIBGCRYPT_CFLAGS="-I$LIBGCRYPT_PREFIX/include" + LIBGCRYPT_CXXFLAGS="-I$LIBGCRYPT_PREFIX/include" ;; esac case "$LIBGCRYPT_LIBDIR" in no | "") - LIBGCRYPT_LIBS="-lgcrypt" + LIBGCRYPT_LDFLAGS="-lgcrypt" ;; *) - LIBGCRYPT_LIBS="-L$LIBGCRYPT_LIBDIR -lgcrypt" + LIBGCRYPT_LDFLAGS="-L$LIBGCRYPT_LIBDIR -lgcrypt" ;; esac - AC_SUBST([LIBGCRYPT_CFLAGS]) - AC_SUBST([LIBGCRYPT_LIBS]) + AC_SUBST([LIBGCRYPT_CXXFLAGS]) + AC_SUBST([LIBGCRYPT_LDFLAGS]) - save_CFLAGS="$CFLAGS" - save_LDFLAGS="$LDFLAGS" - CFLAGS="$CFLAGS $LIBGCRYPT_CFLAGS" + CXXFLAGS="$CXXFLAGS $LIBGCRYPT_CXXFLAGS" LDFLAGS="$LDFLAGS $LIBGCRYPT_LDFLAGS" have_gcrypt=yes @@ -70,9 +68,6 @@ if test "x$guix_build_daemon" = "xyes"; then AC_MSG_ERROR([GNU libgcrypt not found; please install it.]) fi - CFLAGS="$save_CFLAGS" - LDFLAGS="$save_LDFLAGS" - dnl Chroot support. AC_CHECK_FUNCS([chroot unshare]) AC_CHECK_HEADERS([sched.h sys/param.h sys/mount.h sys/syscall.h]) base-commit: 6e50b0c56a8cc767bd3acb26638f78c450bde718 -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 14:17:10 2024 Received: (at 74141-done) by debbugs.gnu.org; 22 Nov 2024 19:17:10 +0000 Received: from localhost ([127.0.0.1]:55561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEZ9S-0003Uj-E8 for submit@debbugs.gnu.org; Fri, 22 Nov 2024 14:17:10 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:43212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEZ9Q-0003UQ-BC for 74141-done@debbugs.gnu.org; Fri, 22 Nov 2024 14:17:09 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B023F307; Fri, 22 Nov 2024 20:17:01 +0100 (CET) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id BxQaBd6AvQPn; Fri, 22 Nov 2024 20:17:01 +0100 (CET) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D27E52F2; Fri, 22 Nov 2024 20:17:00 +0100 (CET) Date: Fri, 22 Nov 2024 20:16:59 +0100 From: Andreas Enge To: 74141-done@debbugs.gnu.org Subject: Close Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Result: default: False [8.32 / 15.00]; SPAM_FLAG(5.00)[]; NEURAL_SPAM(2.92)[0.972]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Spam-Level: ******** X-Rspamd-Action: add header X-Rspamd-Server: hera X-Rspamd-Queue-Id: B023F307 X-Spamd-Bar: ++++++++ X-Spam: Yes X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74141-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Applied, thanks a lot for the patch! Andreas From unknown Thu Aug 14 21:54:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 21 Dec 2024 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator