From debbugs-submit-bounces@debbugs.gnu.org Fri May 05 15:24:22 2023 Received: (at submit) by debbugs.gnu.org; 5 May 2023 19:24:22 +0000 Received: from localhost ([127.0.0.1]:57565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pv12U-0004ka-Dm for submit@debbugs.gnu.org; Fri, 05 May 2023 15:24:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:55620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pv12P-0004kP-HZ for submit@debbugs.gnu.org; Fri, 05 May 2023 15:24:20 -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 1pv12P-0002n7-77 for bug-guix@gnu.org; Fri, 05 May 2023 15:24:17 -0400 Received: from hosted.mailcow.de ([2a00:f820:417::202]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pv12M-0003rj-Lp for bug-guix@gnu.org; Fri, 05 May 2023 15:24:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roose.io; s=default; t=1683314645; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding; bh=OXElNi5O9Th5rkuYxNqIG0Vr3kPAUULQ+xDV2UdpF7U=; b=eS8xRASwQo4vSlB+fHFZsKwsHICJbvL5OBTdf+yAzC0WTbygEEthkQ/0KwX+Ra4ZVR0ra1 HGExhyAwxcFJgS0szMTEhnIK1/YukTv3Vy1fYKtweVfSICGUW02ZqY17c8aOdnPpDTx9Yw neXELodyZw2e9NhYpvp8UJCpQ9P9t2eDN0BBiAp32NaKYAfWCNrJGpAOoFcpHnd/0f/Gxc Hj06NUEKH8k15XHH7pmwST1PQIT9gWN/R92cvRtM1aR8X3rdhuEHguKdidPyfx0YI6hBiT sEwghwLQ5/Zim1aB+M1zg5aVbq1UdPzxGdSjO3rjF7kPHy9zgTdgK33x8QAyEw== Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BC2115C4858 for ; Fri, 5 May 2023 21:24:04 +0200 (CEST) Message-ID: Date: Fri, 5 May 2023 20:24:02 +0100 MIME-Version: 1.0 Content-Language: en-US To: bug-guix@gnu.org From: Steven Roose Subject: rustc broken because of missing glibc library Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:f820:417::202; envelope-from=steven@roose.io; helo=hosted.mailcow.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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: 0.3 (/) X-Debbugs-Envelope-To: submit 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 (/) Since a week or so, I can't build rust crates that depend on (g?)libc (hint: almost all of them). I get errors like this: /var/cargo-target/debug/build/thiserror-0cbbe89a1097b949/build-script-build: /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6: version `GLIBC_2.34' not found (required by /var/cargo-target/debug/build/thiserror-0cbbe89a1097b949/build-script-build) Somehow my cargo and rustc versions are different though: $ cargo version cargo 1.65.0 $ rustc --version rustc 1.60.0 I find the following in my GNU store (excluding some locales and fhs stuff): /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib /gnu/store/bvr8vy58g56amcs81h2qwa003x8yspv3-glibc-2.35/lib /gnu/store/l0yryi5jsa1grnvw01c9nkz9c81cv224-glibc-2.35-static/lib /gnu/store/ip9mj1pwymxi1yq32zbhwp3n3bycy6yi-glibc-2.35/lib /gnu/store/0hr9jpczkcgpgqkhf4q4868xd57h5a62-glibc-2.35/lib /gnu/store/0iapawfss4xnxls622g23qpk4mwb9ihp-glibc-2.33/lib /gnu/store/j3cypk9c28iyd7s6q829vc94pwi187cn-glibc-2.33/lib /gnu/store/4jdghmc65q7i7ib89zmvq66l0ghf7jc4-glibc-2.33-static/lib /gnu/store/ayc9r7162rphy4zjw8ch01pmyh214h82-glibc-2.33/lib /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib So it seems I have v2.33 and v2.35 but not v2.34 (that version doesn't exist in the repo anymore). Also this: $ ls -al /run/current-system/profile/lib/libc.so lrwxrwxrwx 1 root root 76 Jan  1  1970 /run/current-system/profile/lib/libc.so -> /gnu/store/ks87cpc36kh8hqwr569pks4yrzfl7mnv-gcc-toolchain-11.3.0/lib/libc.so $ ls -al /gnu/store/ks87cpc36kh8hqwr569pks4yrzfl7mnv-gcc-toolchain-11.3.0/lib/libc.so lrwxrwxrwx 1 root root 66 Jan  1  1970 /gnu/store/ks87cpc36kh8hqwr569pks4yrzfl7mnv-gcc-toolchain-11.3.0/lib/libc.so -> /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so $ ls -al /run/current-system/profile/lib/libc.so.6 lrwxrwxrwx 1 root root 78 Jan  1  1970 /run/current-system/profile/lib/libc.so.6 -> /gnu/store/ks87cpc36kh8hqwr569pks4yrzfl7mnv-gcc-toolchain-11.3.0/lib/libc.so.6 $ ls -al /gnu/store/ks87cpc36kh8hqwr569pks4yrzfl7mnv-gcc-toolchain-11.3.0/lib/libc.so.6 lrwxrwxrwx 1 root root 68 Jan  1  1970 /gnu/store/ks87cpc36kh8hqwr569pks4yrzfl7mnv-gcc-toolchain-11.3.0/lib/libc.so.6 -> /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 So it seems the ones in my profile are 2.35. It's very well possible I did something special in my setup to mess this up because I can't imagine rust building to be broken for everyone. But I can't figure out what I might have done.