From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cEwXE11MNGdjHwEAqHPOHw:P1 (envelope-from ) for ; Wed, 13 Nov 2024 06:51:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cEwXE11MNGdjHwEAqHPOHw (envelope-from ) for ; Wed, 13 Nov 2024 07:51:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=kujAeRPB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731480669; a=rsa-sha256; cv=none; b=OvwmyJlyEUCz0yTbhoPBEUIdc2caPL0l6jTrgOvvhE4cdEU1DtxksrJmwAv/7+DGe/B3Bg UFnnWO36Jb4Tw0BWiiYjCrq4Ltjq91v1HQhu/3vF1akDhI7zNcQnSAcydvkPbkDJ7PMbHk C+KT99l+GBun+lQjzLxdCZFIR9J3sgjQmi9Ku1YWN1yWNFszRQ5YiBbfymReniUeFcCkbT KZgaREV7nLPbQOep92MThfFmsCJiMXNbz1ibaixHa2mKfKARhJ8I3Rm7oVM9b/cAGYkwvL 9hBIKd/QYEnnlN3/Dp2NOaKHmjk3pCmdUgcxZHPIGELc5ZjXNHctRdh1niMrxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=kujAeRPB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731480669; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Uh1e92DVQNJI+QWkwVrjae/FDaBCwzHyogCMoBBBMCY=; b=XZN4XW1Hn6nkbUiu3fC3Yf9VKOv6NH6R2Bh0ia4SJfw3MSa+PGYAhC1PHh8XGL+30bWRMh MITPK0deZQvFgYWXUCm8tPMZp39dd3c622H8lVUs4+cIUQuCcsmmRg5mR7YtPIJV46+t7+ GBpc7CTQOEjwE9PwdQZyntzcimjP/+agMgP8bRPz5adEu4TflhJ19G27N8Kjz6BfIR1N62 6Tw1Rd5neOFbPdbX37UbdZHQ66aCL6aL48NAeshne+HmJVM/ZvYA8bYW7cZypDZ2UH9q3T ax+qX1aR+VqF9izRduZXXInGDAzGGxIFKKSl+3z3y4EsYb/lyg4R/hjPt37aiA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CF4901E472 for ; Wed, 13 Nov 2024 07:51:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tB7Cn-0002f8-PB; Wed, 13 Nov 2024 01:50:21 -0500 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 1tB7Ch-0002ek-Vc for help-guix@gnu.org; Wed, 13 Nov 2024 01:50:15 -0500 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tB7Cf-0002eL-T6 for help-guix@gnu.org; Wed, 13 Nov 2024 01:50:15 -0500 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7f46d5d1ad5so1491121a12.3 for ; Tue, 12 Nov 2024 22:50:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731480610; x=1732085410; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Uh1e92DVQNJI+QWkwVrjae/FDaBCwzHyogCMoBBBMCY=; b=kujAeRPBA1HafS4ugUJIB/7OkjlNz+lFqJ6mSS1rZO4z478kl18p2S+uOeUPUOB6Ln dlakIjWEnN+chPB1xC7Q+Vni3VltMuj8m2TFSlYCBsckgkxq9hqX71oUpnmHcs1LqlIJ v3fYKSm4Vojc+DjaoFGL7TpVwinyBWvH2ZHmcFNUdTzSrAWOmhKuytXST4vrhX4HNOJI bmvCLYI5RDnkS9r4LcdW9mKtqtSiS9w5xl0A2w3GTjd49ENKv43cGQi3eZyrJF9Xon99 lyF4xEDAkVUPbxAeY1/hXmicd8ZSBgiBN+fzoxzhYiP9XSTNeCTyIRzIELHfcmI9nwf6 7xEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731480610; x=1732085410; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Uh1e92DVQNJI+QWkwVrjae/FDaBCwzHyogCMoBBBMCY=; b=v/RiArkgbRGvnjg3TTzce5730vxrkfGk2bJMarMQqoSQ0J3gxsWwYE2cOGY3vIJiml n9XDElSk1LE2OV0O0tBSaHS56VHVfLtrPRRNqFvpiXmcgYplBUXZgf/qe9umqj+G38Ft 2Rokrxphx3x4mBneMi6I8H354ImD1PRkRuK7Qh+hyKDFtgpFOC2R6BHMljoBliRw8Rnv OGG0sL5h6N1avS+pLquYh93eR1j3f5b+H/0kn2QkAvzc1f5WJhqMswywg9oP2w58ha4H Us8B4lTr+StmiwT/egpaXq+XFcCVCFZI8u73Z25XcnfwYlJrhk+vVe9ctLBTFp+HWyHc cnBg== X-Gm-Message-State: AOJu0YzoZMkiKpVvs1A2LzvyA55slDcaGZgIRlFlCd+4CA+W/yngkUiG n+3zyyixp1qYi3jL8lpEOC729tM/28rjsIhouu6I8fWL25vbotjk+pmQ1Fxj4D+Lz7SHKaLOz9W aVu8Cnvk0szJosZN/X0CXdw4Fh+w= X-Google-Smtp-Source: AGHT+IHQ+L8EDF86sogoqNL9E3G8xh0O96/Tlbc6mnfElQs+QGnFffx9bL55kGR1VTCFvNB6Ri2/4Lxv3t6WtWASKCg= X-Received: by 2002:a17:90a:d88d:b0:2cb:5aaf:c12e with SMTP id 98e67ed59e1d1-2e9b1788b6amr23357332a91.37.1731480610439; Tue, 12 Nov 2024 22:50:10 -0800 (PST) MIME-Version: 1.0 References: <87a5e42v95.fsf@posteo.net> <877c982bz9.fsf@posteo.net> In-Reply-To: <877c982bz9.fsf@posteo.net> From: Laurent Gatto Date: Wed, 13 Nov 2024 07:49:43 +0100 Message-ID: Subject: Re: C++ error To: Fredrik Salomonsson Cc: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=laurent.gatto@gmail.com; helo=mail-pg1-x52c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.44 X-Spam-Score: -1.44 X-Migadu-Queue-Id: CF4901E472 X-Migadu-Scanner: mx12.migadu.com X-TUID: e905cp+LHZWR Hi, ``` $ guix package -I gcc gcc-toolchain 14.2.0 out /gnu/store/x2kv3zw2k7ql211m5kvb6yw401gab0x9-gcc-toolchain-14.2.0 ``` but nothing matches stdc++ ``` $ guix package -I stdc\+\+ ``` If I `guix search for stdc\+\+`, I get, libstdc++-doc 9.5.0 and 5.5.0, texlive-stdclsdv, ocaml-stdcompat and rust-link-cplusplus. Is this normal? ``` $ guix describe Generation 63 Nov 13 2024 00:02:27 (current) guix-science 7304e37 repository URL: https://codeberg.org/guix-science/guix-science.git branch: master commit: 7304e37d4d664f27a18577e388c91413878d62fc nonguix 99574ff repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: 99574ff94b6fb97794ba720b6fdadf470963dbdc lguix-channel 4aa4417 repository URL: https://codeberg.org/lgatto/lguix-channel.git branch: main commit: 4aa4417eec58db3d5a9f1c90250ef57641489717 guix 4e028ec repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 4e028ecc823bcdbb69c391ad7079085cd7749b15 ``` The only non-standard channel is my own, that only provides a couple of packages. I doubt this is the culprit, as there is no gcc related package and I was already experiencing issues before setting it up. Laurent On Wed, 13 Nov 2024 at 01:50, Fredrik Salomonsson wro= te: > > Hi, > > Laurent Gatto writes: > > > Hi Fredrik, > > > > Thank you for taking the time looking into this. > > No worries. > > > > > My issue doesn't seem to be related to an old gcc version. > > > > ``` > > $ g++ --version > > g++ (GCC) 14.2.0 > > Copyright (C) 2024 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There is= NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURP= OSE. > > ``` > > > > My location is different though > > > > ``` > > $ which g++ > > /home/lgatto/.guix-profile/bin/g++ > > ``` > > Checking the stdc++ lib: > > > > ``` > > $ sed -n '3154p' ~/.guix-profile/include/c++/type_traits > > _GLIBCXX20_DEPRECATED("use is_standard_layout_v && is_trivial_v inste= ad") > > ``` > > > > And the gcc search paths on my machine: > > > > ``` > > $ echo | g++ -E -Wp,-v - > > ignoring nonexistent directory "/no-gcc-local-prefix/include" > > ignoring nonexistent directory > > "/gnu/store/ikn0imxfc6n0ba12mrf0c4hc1jm7ylc7-gcc-14.2.0-lib/lib/gcc/x86= _64-unknown-linux-gnu/14.2.0/../../../../../../../x86_64-unknown-linux-gnu/= include" > > ignoring duplicate directory "/home/lgatto/.guix-profile/include" > > as it is a non-system directory that duplicates a system directory > > #include "..." search starts here: > > #include <...> search starts here: > > /home/lgatto/.guix-profile/include > > /gnu/store/ikn0imxfc6n0ba12mrf0c4hc1jm7ylc7-gcc-14.2.0-lib/lib/gcc/x86= _64-unknown-linux-gnu/14.2.0/include > > /gnu/store/ikn0imxfc6n0ba12mrf0c4hc1jm7ylc7-gcc-14.2.0-lib/lib/gcc/x86= _64-unknown-linux-gnu/14.2.0/include-fixed > > /gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include > > End of search list. > > # 0 "" > > # 0 "" > > # 0 "" > > # 1 "/home/lgatto/.guix-profile/include/stdc-predef.h" 1 3 > > # 0 "" 2 > > # 1 "" > > ```` > > > > Except for the version and location, all this looks very similar to > > what you have, which leaves me quite puzzled. > > Indeed, this is strange. > > What does `guix package -I gcc` and `guix package -I stdc\+\+` give you? > Maybe it'll show you some discrepancies. > > And if this is any help this is the commit I'm using for guix: > > ``` > $ guix describe > Generation 142 nov 09 2024 12:47:04 (current) > =E2=80=A6 > guix 14abf6e > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 14abf6e19e5c24fa690a443f5467e7f0b6eafcc5 > ``` > > Note: I removed the other channels I'm using and replaced them with `=E2= =80=A6`. > None of them defines any gcc related packages so they should not affect > this. > > -- > s/Fred[re]+i[ck]+/Fredrik/g