From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UAkwEpx0U2T+QQEASxT56A (envelope-from ) for ; Thu, 04 May 2023 11:02:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yActEpx0U2QeFQAA9RJhRA (envelope-from ) for ; Thu, 04 May 2023 11:02:20 +0200 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 284163C459 for ; Thu, 4 May 2023 11:02:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puUqC-00069K-FA; Thu, 04 May 2023 05:01:32 -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 1puUqB-00069A-0L for guix-devel@gnu.org; Thu, 04 May 2023 05:01:31 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puUq7-00085x-Iv; Thu, 04 May 2023 05:01:30 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3f3284dfe34so389705e9.0; Thu, 04 May 2023 02:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683190885; x=1685782885; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=9XRC8XISiWtw4Dny3zfuZJCR9rpUChtGLF8NxgXv+iw=; b=p+DTx3SKjMVtU+DbmNiNbZuOZ74vnqu+0wz1ozEv5+PKJ2lZDoMpvpNj0nXG40Av+Y OPebHM0qbg0rR51llEHwtxynun3FxINLXvtsDP9at96ae4jFFZajkx7E8B3oAHD+wI9L ONlFyBNVdSHScJU7pcmTFx5wzrzavNnhyqmwwqQY+TqRjyfHLeBr75eZlHrQD64Ujd6Z eYZuyeGx2xUjPl/XVkIu9HuRpf0qsMz2sO3dRcLqn6uV8h1bwcKIqVPH+NuoxygQgu5N iYumho72pMayrzF/ZMopqbmP24sjf/7+HHyxpalkqx4R3G6T0d26ZPFiouUQ91yu7MKV Qv3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683190885; x=1685782885; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9XRC8XISiWtw4Dny3zfuZJCR9rpUChtGLF8NxgXv+iw=; b=DeWXpZBSIAqcrHUBYIv7qVScVxPn0AKw65N5pvuXYk1Z/UT/z7Rx8Sn5hjfUH4uirX 72o4wv5MQ+M4QbQjQ1+9f+tRQz+LA/dj/H9vzyHx66+KsPBlfkAwaMxssDvqf0+FNrXr tOk8Nq8+Ya/95YOm3PU2xeciYcdAh2/yWy9UK2+r0Esc+Ewq6ckFY3g/SkxeaGiK2sFq kzW01Z7JK1biWLlFGJxeJNySkzumHEJycLRVQWdYORoK42nZR2DJPJOPQbY+GwLvRLCc SndWkEMmO4kcJhrkALAo6RC3laXioMO/tBX7Aev43qlyQCrIT9+gEWGxzVhX3QhMheWz +gpg== X-Gm-Message-State: AC+VfDwIp2pjdAdN6QWs/zo7iAtfx1oAgYnU8yrEaFp9mwOI8WuOr/As OcwO7Y7rn59OYIR1zug63bT3b27JP/k= X-Google-Smtp-Source: ACHHUZ6X8G1X3VjIVeE3VlunfGHeS0nrF2W4NCpfGCTN/Wm9SXyJvNdp9MWoSZ+xcfScQ+7b0Gh6/Q== X-Received: by 2002:a05:600c:3b82:b0:3f1:7a4b:bf17 with SMTP id n2-20020a05600c3b8200b003f17a4bbf17mr6791316wms.1.1683190884466; Thu, 04 May 2023 02:01:24 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id y6-20020a1c4b06000000b003f17e37ce60sm4128190wma.47.2023.05.04.02.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 02:01:24 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix Devel Subject: Re: package transformation and =?utf-8?Q?=E2=80=9Cguix_graph?= =?utf-8?Q?=E2=80=9D=3F?= In-Reply-To: <87sfcdumfr.fsf@gnu.org> References: <87sfck7xhn.fsf@gmail.com> <87sfcdumfr.fsf@gnu.org> Date: Thu, 04 May 2023 10:18:16 +0200 Message-ID: <867ctozf07.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x336.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683190940; a=rsa-sha256; cv=none; b=gVm/l/wWsV07WTs1oBXy1PlVibxjjCFigxjPwO8VVxHH5WaGOoMFINCZ1dggVgycDwb/KH lC0Cm52CcDZGRj/x1ZBvuIXBMV5kedQlPXtuBmg/+0xx6wGHdgM+VccRiaunXFJP+VQgKq 6CkCEUGuVSK5G5xRWicB/4nH/Bb8fXgUfwAbVbblyyoF2EgUypz9qv9Lioc2Y6WgXBA6or 7WOkslOg8ucgS+ZPkb96CcuPGqDivc9eG6RHYQMRGCxqwTsoML71KM3WXQjiAz3cp1fbx3 0Tm9fFLqs6fzr51dg2P1Kz0gEFMa977sW6XPjTgk/X/hNTwIzu/M+6lgAA/7bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=p+DTx3SK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683190940; 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=9XRC8XISiWtw4Dny3zfuZJCR9rpUChtGLF8NxgXv+iw=; b=jQNAgSoNYisG+4c+aRraMEz9NYiavId4shS6j+ejLAMUjbyvcj16CBxN4bpCFshinpLPoC sNBWELWZCt73a8Nk+WaiTHPW8oiMonw14h8r8m2Ye9Tytkv5qyK8vsXzy9r3D9iTzqU+jO YQot6zee7iDmhj+gpDYqSIizguCKnv1EdnQDXaL7kuSo1f37CF4eZBTRdR2J1DZreAT8wR RhUSTqhKgpLqU+f0m5UFY0GZn/Y+gpX9Xiu7mc1Nfg4UwEzAmpaGVx6HcDeYSZawI8/eN1 UYFDZo1P5XxLEIu5RQ6xf7hqJeKKsofKM6oo5DD/J+u78Xf3UPBL08U0TFkgzQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=p+DTx3SK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.91 X-Spam-Score: -3.91 X-Migadu-Queue-Id: 284163C459 X-TUID: k0kPlYdiOs7E Hi, (Well, something appears to me weird: rebuild Gnash which is a C++ software using another toolchain implies a Rust-world rebuild.) On Wed, 03 May 2023 at 23:36, Ludovic Court=C3=A8s wrote: > Note that it=E2=80=99s not the same version (0.12.0 vs. 0.8.1), but the r= esult > is the same with 0.8. The reason is that Rust packages aren=E2=80=99t li= ke > =E2=80=9Creal=E2=80=9D packages; the sources are eventually aggregated in= whatever > package needs them. Hum, ok. >> $ guix graph --path gnash -e '(@@ (gnu packages gcc) gcc-11)' -t bag=20 >> guix graph: error: no path from 'gnash@0.8.11-0.583ccbc' to 'gcc@11.3.0' > > That=E2=80=99s because you=E2=80=99re not looking at the =E2=80=9Cright= =E2=80=9D GCC 11 package object: Hum, this =E2=80=9Cright=E2=80=9D looks weird to me. I read from (gnu pack= ages gcc): --8<---------------cut here---------------start------------->8--- ;; Note: When changing the default gcc version, update ;; the gcc-toolchain-* definitions. (define-public gcc gcc-11) --8<---------------cut here---------------end--------------->8--- Then from (gnu packages commencent): --8<---------------cut here---------------start------------->8--- (define gcc-boot0 (package (inherit gcc) --8<---------------cut here---------------end--------------->8--- Then, --8<---------------cut here---------------start------------->8--- (define gcc-final ;; The final GCC. (package (inherit gcc-boot0) --8<---------------cut here---------------end--------------->8--- And, --8<---------------cut here---------------start------------->8--- (define-public gcc-toolchain (make-gcc-toolchain gcc-final)) --8<---------------cut here---------------end--------------->8--- Well, I am lost with the difference between gcc-final and gcc-11. Last, what lost me is this: --8<---------------cut here---------------start------------->8--- (define-public gcc-toolchain-4.8 (make-gcc-toolchain gcc-4.8)) (define-public gcc-toolchain-4.9 (make-gcc-toolchain gcc-4.9)) (define-public gcc-toolchain-5 (make-gcc-toolchain gcc-5)) (define-public gcc-toolchain-6 (make-gcc-toolchain gcc-6)) (define-public gcc-toolchain-7 (make-gcc-toolchain gcc-7)) (define-public gcc-toolchain-8 (make-gcc-toolchain gcc-8)) (define-public gcc-toolchain-9 (make-gcc-toolchain gcc-9)) (define-public gcc-toolchain-10 (make-gcc-toolchain gcc-10)) (define-public gcc-toolchain-11 gcc-toolchain) (define-public gcc-toolchain-12 (make-gcc-toolchain gcc-12)) --8<---------------cut here---------------end--------------->8--- compared to =E2=80=99gcc-toolchain=E2=80=99 which uses gcc-final. Why not = gcc-11 as all the others? It would make it consistent with the rest, no? Cheers, simon