From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 19 12:28:45 2023 Received: (at submit) by debbugs.gnu.org; 19 Apr 2023 16:28:45 +0000 Received: from localhost ([127.0.0.1]:35652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppAfk-00013O-Q6 for submit@debbugs.gnu.org; Wed, 19 Apr 2023 12:28:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:58226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppAff-000131-SV for submit@debbugs.gnu.org; Wed, 19 Apr 2023 12:28:41 -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 1ppAff-000172-Ms for bug-guix@gnu.org; Wed, 19 Apr 2023 12:28:39 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppAfd-0000l6-IG for bug-guix@gnu.org; Wed, 19 Apr 2023 12:28:39 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id EFCE62136; Wed, 19 Apr 2023 18:28:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5w7M7kGZpHuK; Wed, 19 Apr 2023 18:28:33 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 616D6F9B; Wed, 19 Apr 2023 18:28:33 +0200 (CEST) Date: Wed, 19 Apr 2023 18:28:31 +0200 From: Andreas Enge To: bug-guix@gnu.org Subject: libgcrypt version in core-updates Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=185.233.100.1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: 62936@debbugs.gnu.org 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: -3.3 (---) Hello, this looks to me like it could be a duplicate of #62936, but since this bug is closed, I am simply opening a new one. The libgcrypt version was updated from 1.8.8 to 1.10.1 from master to core-updates. This causes ./configure to fail like so: ... checking for gcry_md_open in -lgcrypt... no checking for gcrypt.h... yes configure: error: GNU libgcrypt not found; please install it I suppose that the same problem occurred in #62936, but did not manifest itself as clearly since one usually does not rerun configure. It looks as if the API changed incompatibly between the two versions. Andreas From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 19 12:37:20 2023 Received: (at 62949) by debbugs.gnu.org; 19 Apr 2023 16:37:20 +0000 Received: from localhost ([127.0.0.1]:35663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppAo4-0001Hi-5y for submit@debbugs.gnu.org; Wed, 19 Apr 2023 12:37:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppAo1-0001HN-Ro; Wed, 19 Apr 2023 12:37:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppAnv-0006G0-C5; Wed, 19 Apr 2023 12:37:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=T9U6i6MR1N1sCdec2ehuRvE/S0k0ujQefH5LPlg89ns=; b=DhnilOey2szfbd5NpHfQ ohy03O6QYPld+BFvfQjAfVsdjW+RjPX2mzFKj01Orfz1Ysv4azEIXa+aARcieKSOq3zrDigGDQ7wP rr6QoBoBcUnnQ5zBHVvzYIFIMncjKzQREOEhBsrEV3FjcZ9S8Uks61Lin7GfN3SaaduHzJB1k96CY Txw6NzK4Cc27/lFtyG5eKrfGl3CEruklueShEhI1x6HwG4yXG9U1vTDvtarGcV/JEhMrHiXSiOVxm dqg2Kd/lIG7VX/0m5XWI7FgJKANmg1hPQZ5/t0DDEeYDUDfkKcYdBFvzv1gENvX+H68PL314fNK66 GUGGId1YmDrt/Q==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppAnu-0005Bi-PR; Wed, 19 Apr 2023 12:37:11 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Andreas Enge Subject: Re: bug#62949: libgcrypt version in core-updates References: Date: Wed, 19 Apr 2023 18:37:08 +0200 In-Reply-To: (Andreas Enge's message of "Wed, 19 Apr 2023 18:28:31 +0200") Message-ID: <877cu7hlqj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62949 Cc: 62936@debbugs.gnu.org, 62949@debbugs.gnu.org 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: -3.3 (---) Hallo! Andreas Enge skribis: > this looks to me like it could be a duplicate of #62936, but since this > bug is closed, I am simply opening a new one. > > The libgcrypt version was updated from 1.8.8 to 1.10.1 from master to > core-updates. > > This causes ./configure to fail like so: > ... > checking for gcry_md_open in -lgcrypt... no > checking for gcrypt.h... yes > configure: error: GNU libgcrypt not found; please install it > > I suppose that the same problem occurred in #62936, but did not manifest > itself as clearly since one usually does not rerun configure. Given that the =E2=80=98guix=E2=80=99 package builds fine on =E2=80=98core-= updates=E2=80=99, it=E2=80=99s most likely a build environment issue. What does =E2=80=98config.log=E2=80=99 say? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 19 14:19:15 2023 Received: (at 62949) by debbugs.gnu.org; 19 Apr 2023 18:19:15 +0000 Received: from localhost ([127.0.0.1]:35814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppCOg-0004CW-SM for submit@debbugs.gnu.org; Wed, 19 Apr 2023 14:19:15 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:48044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppCOc-0004CG-QI for 62949@debbugs.gnu.org; Wed, 19 Apr 2023 14:19:13 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DDBAF2149; Wed, 19 Apr 2023 20:19:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pK7iw2YAVPuE; Wed, 19 Apr 2023 20:19:04 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D3F1B253; Wed, 19 Apr 2023 20:19:03 +0200 (CEST) Date: Wed, 19 Apr 2023 20:19:02 +0200 From: Andreas Enge To: Ludovic =?iso-8859-15?Q?Court=E8s?= Subject: Re: bug#62949: libgcrypt version in core-updates Message-ID: References: <877cu7hlqj.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <877cu7hlqj.fsf@gnu.org> X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Wed, Apr 19, 2023 at 06:37:08PM +0200 schrieb Ludovic Courtès: > Given that the ‘guix’ package builds fine on ‘core-updates’, it’s most > likely a build environment issue. > What does †[...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: libc.so] X-Debbugs-Envelope-To: 62949 Cc: 62949@debbugs.gnu.org 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: 0.7 (/) Am Wed, Apr 19, 2023 at 06:37:08PM +0200 schrieb Ludovic Courtès: > Given that the ‘guix’ package builds fine on ‘core-updates’, it’s most > likely a build environment issue. > What does ‘config.log’ say? My environment is Debian on aarch64, with Guix as the package manager. So it is possible that the Debian environment disturbs what is happening; but I see the problem depending on whether I install the new or the old libgcrypt from Guix. Here are lines from config.log with things related to crypto in them: configure:8987: checking whether Guile-Gcrypt is available and recent enough configure:9005: result: yes ... configure:9062: WARNING: The Guile-Lib requirement was not satisfied (>= 0.2.7); Some features such as the Go importer will not be usable. (not crypto related, but suspicious) ... configure:9435: checking for libgcrypt-config configure:9458: found /home/andreas/.guix-profile/bin/libgcrypt-config configure:9470: result: /home/andreas/.guix-profile/bin/libgcrypt-config configure:9478: checking libgcrypt's library directory configure:9490: result: /gnu/store/2xsdih7m18d0f2kiicxrh9pwinjfwzkj-libgcrypt-1.10.1/lib configure:10900: checking for gcry_md_open in -lgcrypt configure:10922: g++ -o conftest -g -O2 conftest.cpp -lgcrypt >&5 ld: /home/andreas/.guix-profile/lib/libgpg-error.so.0: undefined reference to `pthread_mutex_trylock@GLIBC_2.34' collect2: error: ld returned 1 exit status configure:10922: $? = 1 configure: failed program was: ... configure:10932: result: no configure:10941: checking for gcrypt.h configure:10941: g++ -c -g -O2 conftest.cpp >&5 configure:10941: $? = 0 configure:10941: result: yes configure:10950: error: GNU libgcrypt not found; please install it. So this is not related to libgcrypt, but to libgpg-error.so linked with an old glibc; we should be at 2.35 in core-updates, no? Strangely enough, when I do ldd on /home/andreas/.guix-profile/lib/libgpg-error.so.0 then it is linked with /gnu/store/...-glibc-2.35/lib/libc.so. Where does this pthread_mutex_trylock@GLIBC_2.34 come from? I tried "guix shell --pure -D guix" and then "./configure", but the result is the same. I will try again on my pure Guix machine. Andreas From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 19 16:40:57 2023 Received: (at 62949) by debbugs.gnu.org; 19 Apr 2023 20:40:57 +0000 Received: from localhost ([127.0.0.1]:35969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppEbp-0002AA-9Y for submit@debbugs.gnu.org; Wed, 19 Apr 2023 16:40:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppEbm-00029v-Mc for 62949@debbugs.gnu.org; Wed, 19 Apr 2023 16:40:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppEbg-00021r-JB; Wed, 19 Apr 2023 16:40:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Jz4BwdH8unTMIz1HweLOuQk5Wl3bOIHvlIagfX5sXu8=; b=YbPHsp5NJHbd33B3p9ku 29YuKfIs5JNoufFwOs7NQ+1qMqec/Xz7+WLqdUoyOn1u5nw566O8wUPwu7gjmrA2ZjqnrsEGh4Qt2 t5bxHeW2ngFx85UVJwANxxmNkHA+9Ahf5Li5uC4RWxQw8zUqz1RDD1z/t4GiNDMfRD2ZGYRWTpXXw u73ohTJorinUFmIxiUZueWKtLEhVjq4uT2oK2w3V6tm/yotyet6URl3I9pXeXr5szKNkbtzbMosaq /q+mT5P6C8NsEATerPlp/lO0AvEs38/da8IlNLyN7g8D0ec6PR75brSTgc4Mp7VN627pL9837qX0a WlcIsyddkcJxAQ==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppEbg-0008CA-2K; Wed, 19 Apr 2023 16:40:48 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Andreas Enge Subject: Re: bug#62949: libgcrypt version in core-updates References: <877cu7hlqj.fsf@gnu.org> Date: Wed, 19 Apr 2023 22:40:44 +0200 In-Reply-To: (Andreas Enge's message of "Wed, 19 Apr 2023 20:19:02 +0200") Message-ID: <871qkfhagj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62949 Cc: 62949@debbugs.gnu.org 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: -3.3 (---) Hi, Andreas Enge skribis: > My environment is Debian on aarch64, with Guix as the package manager. > So it is possible that the Debian environment disturbs what is happening; > but I see the problem depending on whether I install the new or the old > libgcrypt from Guix. > > Here are lines from config.log with things related to crypto in them: > configure:8987: checking whether Guile-Gcrypt is available and recent eno= ugh > configure:9005: result: yes > ... > configure:9062: WARNING: The Guile-Lib requirement was not satisfied (>= =3D 0.2.7); > Some features such as the Go importer will not be usable. > (not crypto related, but suspicious) > ... > configure:9435: checking for libgcrypt-config > configure:9458: found /home/andreas/.guix-profile/bin/libgcrypt-config > configure:9470: result: /home/andreas/.guix-profile/bin/libgcrypt-config > configure:9478: checking libgcrypt's library directory > configure:9490: result: /gnu/store/2xsdih7m18d0f2kiicxrh9pwinjfwzkj-libgc= rypt-1.10.1/lib > configure:10900: checking for gcry_md_open in -lgcrypt > configure:10922: g++ -o conftest -g -O2 conftest.cpp -lgcrypt >&5 > ld: /home/andreas/.guix-profile/lib/libgpg-error.so.0: undefined referenc= e to `pthread_mutex_trylock@GLIBC_2.34'=20 That=E2=80=99s the thing: you have libgpg-error.so linked against glibc 2.33 popping up, and that doesn=E2=80=99t fly with glibc 2.35=C2=B9. You need to pick up one consistent environment (with a single glibc version) and stick to it. The most reliable way to do that is by using =E2=80=98guix shell -C -D guix=E2=80=99 and then running =E2=80=9Cmake clea= n=E2=80=9D to begin with. HTH! Ludo=E2=80=99. =C2=B9 The details are in the =E2=80=98NEWS=E2=80=99 for glibc 2.34: * In order to support smoother in-place-upgrades and to simplify the implementation of the runtime all functionality formerly implemented in the libraries libpthread, libdl, libutil, libanl has been integrated into libc. New applications do not need to link with -lpthread, -ldl, -lutil, -lanl anymore. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 19 16:41:07 2023 Received: (at control) by debbugs.gnu.org; 19 Apr 2023 20:41:07 +0000 Received: from localhost ([127.0.0.1]:35974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppEby-0002B5-Lz for submit@debbugs.gnu.org; Wed, 19 Apr 2023 16:41:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppEbw-0002AJ-77 for control@debbugs.gnu.org; Wed, 19 Apr 2023 16:41:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppEbr-000237-02 for control@debbugs.gnu.org; Wed, 19 Apr 2023 16:40:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=Cx4upnCrN+POx4adFZdXlpAw7vJmDImuPlEkFU1IlsQ=; b=OT+DCctZGcHdSU uPVBUMoYSmXo/EgXzc6NRE0cyqRuuOx+ucH5RY2x5tRvXX/zWuOom8FqFo9MWSxTEzayznJZOXat/ yTxiYu3sew2HxM0mp2QVJk3m8bIQ4+u1HSxucobXSuZ7E/Z023nyuj7OhrLFMOxCRdYxD2+UpXxAh ieGOmmlhjCNjOyPts9TRNE2x9FMtK4jtftjfiDnkQEAv1xbPDWEQBFh0NQWyNEPw2HSwBY0StLyrD O1FT1JgqyRmIQfxJO+Bmvu434dlW/+zvY70wHep0WhApcttRyqNiy584Kv01JNnKj5Ok0tPBwzvdR JTNPgJZiew9rbjPUZFhA==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppEbq-0008D9-KH for control@debbugs.gnu.org; Wed, 19 Apr 2023 16:40:58 -0400 Date: Wed, 19 Apr 2023 22:40:57 +0200 Message-Id: <87zg73fvvq.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #62949 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) tags 62949 notabug close 62949 quit From unknown Sun Jun 22 17:16:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 18 May 2023 11:24:07 +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