From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aLvDLO/7M2dUZwEAe85BDQ:P1 (envelope-from ) for ; Wed, 13 Nov 2024 01:07:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aLvDLO/7M2dUZwEAe85BDQ (envelope-from ) for ; Wed, 13 Nov 2024 02:07:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JvRNIp0N; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731460079; 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=aSwJPgHIlB4ZLBntfj1ahnVLepotywxR+Wiw/l4EdQg=; b=FVjwN4PvjKluD9vx4J1QDLQFH7zKJ7x1SRcCJK+UpJzOmm/AWUEvWxi8J77v2f0rpz6MTv glDAMuSp339/+KN54hIpJgReTFs4WyaVr2jw7nNIHxDOxoHwjRxgR58nc7AuCNFk5RtnTN L+BfTDC8exZRjBZUAwHtrzupvTBPOzYSENcMhP3zrMqsuqckS5NPtxCSfz6fHcwa1Ebf08 +PM3/yl7Hkkd3GAya+8BH2QP1TqruyCVssq3s2e+F5t50dcn723dAyj4Nkl1LHfDfpBdM8 vCZM/HiXAWvLJUml/h3/2KZ6nY5Tc0+PgtekO4im+gp8x/O16pnTe2poNbXAAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JvRNIp0N; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731460079; a=rsa-sha256; cv=none; b=IKBQrWPcHGNDGBcYz6zzv0quCpT8r/g7cWiffTijrW6279IsjBvxs655ZW4x/pXxr0hyEB gM9kjDoHa++IKlHEz5wpYnTKA6cVdTvbVtDvuwi61zZfnBe4kJAn9H25s5aXdHQapwDSUd CbOaIitIej6q5X8qBkXo4/U+OmuLlg0FLdmRr5QBn7ZqBiqHNW5YZEJ1DAyXeXs4dGD8IN Hx10UNODlfBQWTCfJ1/k9YGi120zjXcl86x6x5GqO8PYU4tWHCpLR6J9CFVLVX3kZDY67o CsBbNAlAKKH7tHyYV48BXZ/bSfpJiqBix3s6OhhQLY1cP/g7fInHJ7wl+WQ42w== 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 200CC79963 for ; Wed, 13 Nov 2024 02:07:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tB1b0-0002Fr-Mt; Tue, 12 Nov 2024 19:50:58 -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 1tB1ap-0002F5-A1 for help-guix@gnu.org; Tue, 12 Nov 2024 19:50:47 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tB1an-0006rt-6b for help-guix@gnu.org; Tue, 12 Nov 2024 19:50:47 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 69EF9240027 for ; Wed, 13 Nov 2024 01:50:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1731459039; bh=oCpo1LkAi3HZG8IDgvBJPcC4KN5o95dCBOauhJOO6Hs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=JvRNIp0N8X+/g4T1+3AqC9LU1SAdlSeB4X3wl3Zu+PE76E7QQ77w2MLLUTd2THCRW cNC6v2WViOpbQ98KKKlQLaApN81JsDCOz35zMCF3LuSDdhexQ2srwn8TJYC1qNBVgk WiZP5ISto+WdM2datlN0VSys6ho38uA8TsGgEMVro1VdfemXZB59CsgmHXYzF7+gLx mEWlFpyUBIf/EN0Bh8vSP1PnFoUe+N3sh+FwhssLo3/9X4+hDH2i8WQDlxRQmD+d4V 1O6zbuJ6DlSWwtCutcITFJiHBtETAmixwnRDziEKJU9dZJu3gXtqY6DNZVH6pOBEK0 hiMJ0+yveRHFw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Xp4T91QvRz6tvy; Wed, 13 Nov 2024 01:50:37 +0100 (CET) From: Fredrik Salomonsson To: Laurent Gatto Cc: help-guix@gnu.org Subject: Re: C++ error In-Reply-To: References: <87a5e42v95.fsf@posteo.net> Date: Wed, 13 Nov 2024 00:50:34 +0000 Message-ID: <877c982bz9.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=plattfot@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.36 X-Spam-Score: -1.36 X-Migadu-Queue-Id: 200CC79963 X-TUID: hWb3byaawscq 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 PURPOS= E. > ``` > > 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 instead= ") > ``` > > 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_6= 4-unknown-linux-gnu/14.2.0/../../../../../../../x86_64-unknown-linux-gnu/in= clude" > 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_6= 4-unknown-linux-gnu/14.2.0/include > /gnu/store/ikn0imxfc6n0ba12mrf0c4hc1jm7ylc7-gcc-14.2.0-lib/lib/gcc/x86_6= 4-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. --=20 s/Fred[re]+i[ck]+/Fredrik/g