From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EJthOaUFTGS+XgAASxT56A (envelope-from ) for ; Fri, 28 Apr 2023 19:43:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4CxLOaUFTGRWSwAA9RJhRA (envelope-from ) for ; Fri, 28 Apr 2023 19:43:01 +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 A7D413EFAC for ; Fri, 28 Apr 2023 19:43:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psRSl-0002GJ-Kv; Fri, 28 Apr 2023 13:00:51 -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 1psRSk-0002Fu-JS for guix-devel@gnu.org; Fri, 28 Apr 2023 13:00:50 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1psRSh-0007M2-LB for guix-devel@gnu.org; Fri, 28 Apr 2023 13:00:50 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3f17b5552e9so23559695e9.1 for ; Fri, 28 Apr 2023 10:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682701247; x=1685293247; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=2MUzy9Nal6VXjYHNVkk8IWHPpEY4f3YY/loK8z1V7Gg=; b=h/zcm/d+U0lkS0FJ6TMTCzYYuKe5ks86H79XKvnlYL2R5ACP18lHuk9XUfSMjjnoDX FuiJDPsca6dg3khlvbOEXoF+nC/wziz8I0JUSmPVgQwrcdbBYrCivHaRq+zdwTJFlXjs EdLUZFGCOtDDsJ3CV4B+0ZMJy05DThDtCcaIzx5nHEzHs0jm2A/De+pScGhGNKGDdWdx cf/hPnkFVOKZjUNhmubo4YM0n8jOlCCdcmoJKb9cHAUWBQtSFHz9cT8eR3T4wgKIINVy g6WRn+OcFDeXjuCnXf4g9z5C4PGR+SsmYfKpplt6HxjiNKc4eYVkIctxqoE/fNyrx0U2 oHjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682701247; x=1685293247; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2MUzy9Nal6VXjYHNVkk8IWHPpEY4f3YY/loK8z1V7Gg=; b=aTGug55012kgIJ6bGxoPprpuPlkePNMqZvIpO/EcQvdonSaKnqAOoR8XlGc9KbcGyO wvXwawiPaAm5gFaaThoXj54U1CwIXaaSaXZe2RPgOvbO1ZxJRKElrNyXdvra5JplnbjK XsKlKX2th2dvGdgdKqiQbpRXxK+5Ka7emd9+508upth9zJFl9MC8vn9+sRg4DPLDQ57d CS16Em3X3GWVJcz02+SFMmwCojm6lLoUB9Elw9ygWKrwZ0EjXXJSPXjsiKU27hRIIqEU LQ+y+/lQu9sFtpwB61Qyb4cRSg7ef/w4/EAOd28hAo2Ylqt2t1AR4Zm35saLa8yAk9y8 vUFg== X-Gm-Message-State: AC+VfDwtZWoVnJlIWPhbAM2OJKGweAHHKW6UGi/0hMIrwM4XG7YTAx4F OilZafgspyZjce3JkUd6ti9D+YZLElI= X-Google-Smtp-Source: ACHHUZ6jLHH7AkZapcveqxtSpNtstYAUPKdFychfwTJA+UcsYsH+KBz+1v7XxJQXXWp3ARxS14LPOw== X-Received: by 2002:a05:600c:3542:b0:3f1:727f:1967 with SMTP id i2-20020a05600c354200b003f1727f1967mr5065030wmq.4.1682701246856; Fri, 28 Apr 2023 10:00:46 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id d23-20020a1c7317000000b003f325f0e020sm2582830wmb.47.2023.04.28.10.00.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Apr 2023 10:00:46 -0700 (PDT) From: Simon Tournier To: Guix Devel Subject: package transformation and =?utf-8?Q?=E2=80=9Cguix_graph=E2=80=9D?= =?utf-8?Q?=3F?= Date: Fri, 28 Apr 2023 19:00:36 +0200 Message-ID: <87sfck7xhn.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::334; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x334.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=1682703781; a=rsa-sha256; cv=none; b=KJrSh0V9vpiQMRNBz/toJpr62vQno01RrtXz7W8P558GCwUHahk6aBMrcWIlgKRudzBMcc vPM5947wP+ELPFmML71IISXgjs0AXutOk7KPv4BUbWdasCa33ih+ly2Jg2Gy76KrokHPVj K/1/61gTC/WaUOOSQ9//oxcLLBY+i6HsOpLmvR3DhvWf6ONC1SnzZipt21qwTfvC8gJj00 /e7O61bo7j4Ab/7KzkLPLeBI36lUfmnvu534K/X6pNJKa5Fw8G+2L9dFsYY5SmnendhNR8 VFV2qxegI0H++PMZtyL52kD23phXQJ23ZR2pVtwy0b7dWCft6m6Uowng18yt2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="h/zcm/d+"; 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=1682703781; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2MUzy9Nal6VXjYHNVkk8IWHPpEY4f3YY/loK8z1V7Gg=; b=jT+wt1hVajV7LuCkFL7ijRbZTvfwxTfoaLpVKz5M0zjia1UVXQJBSLa+G8RQsKLtPnN81G wkYCJroCgNsZdwwaHO4mouDt1YAF1g6MoAJv03wlpY24WQOVvOdV1bWHXOKV1ECxbnNFzW GzlWzXDhBe6NK884wlSP85hKB2OZuQKb4RXniGUlYBTAcg4GieiivSrYlN9+wDsETXx3ed 5Pg/RT1jbLPFELwEsPfk9hFjFvAAxWjwSfLgNiVp5Fjoh35/LC4ecgRdBKoQ7eOBcmU4P3 NA/OF4anndC5PPWElMvYctJzIz2N/xuR+0KvkyIAhq9a20ZVj8raQXPU9qBeUg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="h/zcm/d+"; 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: -5.41 X-Spam-Score: -5.41 X-Migadu-Queue-Id: A7D413EFAC X-TUID: 9ogJ9RNi8bJK Hi, Investigating =C2=AB bug#62645: Failing `guix install gnash` =C2=BB [1], I = am a bit surprised: --8<---------------cut here---------------start------------->8--- $ guix build gnash --with-c-toolchain=3Dgnash=3Dgcc-toolchain@9 -n 2>&1 | g= rep tar.gz | wc -l 1008 --8<---------------cut here---------------end--------------->8--- and most of the packages to rebuild are Rust packages. Basically because the dependency =E2=80=99gtk+=E2=80=99; surprising but why not. Where I am really surprised is that: --8<---------------cut here---------------start------------->8--- $ guix build gnash --with-c-toolchain=3Dgnash=3Dgcc-toolchain@9 -n 2>&1 | g= rep rust-hmac /gnu/store/983c5jb08bypxa9r6cmzg3znncmjhs4s-rust-hmac-0.8.1.tar.gz $ guix graph --path gnash rust-hmac -t bag guix graph: error: no path from 'gnash@0.8.11-0.583ccbc' to 'rust-hmac@0.12= .0' --8<---------------cut here---------------end--------------->8--- The package rust-hmac needs to be rebuilt but it does not appear connected via =E2=80=9Cguix graph=E2=80=9D. Note that rust-hmac has no dir= ect dependency and only the ones from the Rust build system. Similarly, the node =E2=80=99gcc=E2=80=99 appears in the DAG of gnash: --8<---------------cut here---------------start------------->8--- $ guix graph gnash -t bag-emerged | grep label | grep gcc "/gnu/store/wcx86bp6zcad2n2x5940dndhcksvfk5v-gcc-11.3.0.drv" [label =3D "= gcc@11.3.0", shape =3D box, fontname =3D sans]; "/gnu/store/rws8k2p28lvcims2yxr87v0yq4d793yk-gcc-mesboot-wrapper-4.9.4.dr= v" [label =3D "gcc-mesboot-wrapper@4.9.4", shape =3D box, fontname =3D sans= ]; "/gnu/store/9nnxabq3m41pnq619gr59bjrbj054sl7-gcc-mesboot1-4.6.4.drv" [lab= el =3D "gcc-mesboot1@4.6.4", shape =3D box, fontname =3D sans]; "/gnu/store/ifxv0rvji2fqmj8m3yypwylc9fb3v1iq-gcc-mesboot0-2.95.3.drv" [la= bel =3D "gcc-mesboot0@2.95.3", shape =3D box, fontname =3D sans]; "/gnu/store/8vp8iadwjcvhaaqpa1wy60irhjdppwx7-gcc-core-mesboot0-2.95.3.drv= " [label =3D "gcc-core-mesboot0@2.95.3", shape =3D box, fontname =3D sans]; "/gnu/store/d3380kgfxv8dq9bimdqy2p0rfb30ad0q-gcc-mesboot-4.9.4.drv" [labe= l =3D "gcc-mesboot@4.9.4", shape =3D box, fontname =3D sans]; "/gnu/store/jgdyp8yr4j9ajk8ppfkypb1kylav7yx5-gcc-mesboot1-wrapper-4.6.4.d= rv" [label =3D "gcc-mesboot1-wrapper@4.6.4", shape =3D box, fontname =3D sa= ns]; "/gnu/store/j3idibd5016sxv4c15mx4xrpzggccjd0-python-pexpect-4.8.0.drv" [l= abel =3D "python-pexpect@4.8.0", shape =3D box, fontname =3D sans]; --8<---------------cut here---------------end--------------->8--- but then, --8<---------------cut here---------------start------------->8--- $ 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' --8<---------------cut here---------------end--------------->8--- And note that, --8<---------------cut here---------------start------------->8--- $ guix build -e '(@@ (gnu packages gcc) gcc-11)' --no-grafts -d /gnu/store/rcd13s3lcd579s0l8v3awk4a6kbj8hvz-gcc-11.3.0.drv $ guix build -e '(@@ (gnu packages gcc) gcc-11)' -d /gnu/store/rcd13s3lcd579s0l8v3awk4a6kbj8hvz-gcc-11.3.0.drv --8<---------------cut here---------------end--------------->8--- the derivation does not match with the one reported by =E2=80=9Cguix graph= =E2=80=9D. Last, the package =E2=80=99gcc=E2=80=99 appears in the graph of =E2=80=99ru= st-hmac=E2=80=99 =E2=80=93 which seems weird to me but why not: --8<---------------cut here---------------start------------->8--- $ guix graph rust-hmac -t bag-emerged | grep label | grep gcc "/gnu/store/wcx86bp6zcad2n2x5940dndhcksvfk5v-gcc-11.3.0.drv" [label =3D "= gcc@11.3.0", shape =3D box, fontname =3D sans]; --8<---------------cut here---------------end--------------->8--- and then again no path between rust-hmac and gcc. Note the same derivation. What do I miss? Cheers, simon 1: https://issues.guix.gnu.org/issue/62645