From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0EwxKk5gTGRShAAASxT56A (envelope-from ) for ; Sat, 29 Apr 2023 02:09:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MLQ4KU5gTGR5KQAAG6o9tA (envelope-from ) for ; Sat, 29 Apr 2023 02:09:50 +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 75E628535 for ; Sat, 29 Apr 2023 02:09:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psY9D-0007Rb-72; Fri, 28 Apr 2023 20:09:07 -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 1psY9B-0007RK-OJ for guix-devel@gnu.org; Fri, 28 Apr 2023 20:09:05 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psY99-0006Ck-Dz for guix-devel@gnu.org; Fri, 28 Apr 2023 20:09:05 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7A520402DA; Sat, 29 Apr 2023 02:08:59 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MD58-g4I3hr8; Sat, 29 Apr 2023 02:08:57 +0200 (CEST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1682726937; bh=BQdpw7oGrnO+0tJWEJycKBdTHiqQ4C8mTBK2T8j9v4o=; h=Date:To:Subject:Cc:From; b=aF1nvoeRRQPdvwkG+oTuEoO+AyQBVDUFFKwT9Ks+L/IyLS4RDhj1U2+EQ2GY2vajS zHmIiG0pE0+GcZappGuWivA6rced35c87PdXlRwAYpMYhZK/BsvCYnMj3C/BzM43Wz Fd119EOUiYjO5NS0mXBKU9XWMv20tnLiqQ1Qsm4E3Hsziz9cENbSJL/zl9MsNYogwx g+RCSPVsl6ncn481gvCb43fiEA31vDqg/bSUNC4k8/rHmUXLLoT7JAKcLW7Eh5nXDP +yHRb5R/UuYRrm2td6uE1d8fs+3Sgo9aO/6fJ+Ad6VZOq4ZF52FDWVvpk6w+Ej40Km wkoaK0tBIC81w== Date: Sat, 29 Apr 2023 08:08:52 +0800 MIME-Version: 1.0 To: zimon.toutoune@gmail.com Subject: =?UTF-8?Q?Re=3a_package_transformation_and_=e2=80=9cguix_graph?= =?UTF-8?B?4oCdPw==?= Content-Language: en-US Cc: guix-devel@gnu.org From: Adam Faiz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=adam.faiz@disroot.org; helo=knopi.disroot.org 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, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682726990; a=rsa-sha256; cv=none; b=tE/MXe5FSiwh0bwuNA5MsCFgnd+EeIRdIaMSvALrmZniEQvvHxjQhkV2U8T+9PTrFrX8vX zqUy+1SilCoKniTzHKK2lQWVcu/rGhXiQ7oNK9iEbenVT45NF85bvjn+FtLWQyB9D5rNgt d5JVYzeyTuOgtHViCBvzeIdDyPKm7JzYG08UF0K7pwUNL8jYrO7RzkV7m2EW4nF4egAsWB jfxut3/xdqzIY9f42wZyXVPyuDIKJ+HxCiuegDRo33bsudLLRUcZ/wlzqnlA+ZJcQag1yz fPQNG3tmRUZ/VFIaNoGwvpnK8xWm0SmJhH7pgVd6N1JZTS3nEofU2KbCmIaRcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=aF1nvoeR; dmarc=pass (policy=reject) header.from=disroot.org; 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=1682726990; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=wy+HBwTBYrS0M/6qZuVV6f3f16DJzWK6WUFWDD37Snk=; b=HEu+OIxFlLQMxzT+C2yi8s7EA/XBpewml2ADWT3hQVrb9XdKuGT4+uLFDEzVWIuL6Y1U3E U5JD67INg2V/UI5qE+iGZRkDxwOrrkOWu6J0PqO1qLqm3ADV0jV/zb2RYAK6PWQ+elf7nH oyA9Stzkcv58+wj9FCW/+ifGz9yJNWah5IkZQPpXAMwaTBlNcQ7+r1gt7v+GUMRx3crGjS U0HSJp/9Pe9xA7lUvW62vigOJkbDfGV3zthC7YesYJQ7LjtNGN1Yy1PFyRL4cs8Bf1NGsO U6N7KmCYeXqUkFj+FO5C+jfA8lu+DZZqfY++xFWS70xrQm+4nMGSmVulYi9acg== X-Migadu-Spam-Score: -6.27 X-Spam-Score: -6.27 X-Migadu-Queue-Id: 75E628535 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=aF1nvoeR; dmarc=pass (policy=reject) header.from=disroot.org; 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-TUID: +Z8KJf8DoXDu Hello, > Hi, > > Investigating « bug#62645: Failing `guix install gnash` » [1], I am a > bit surprised: >> The package rust-hmac needs to be rebuilt but it does not appear > connected via “guix graph”. Note that rust-hmac has no direct > dependency and only the ones from the Rust build system. > > Similarly, the node ’gcc’ appears in the DAG of gnash: > > but then, > > --8<---------------cut here---------------start------------->8--- > $ guix graph --path gnash -e '(@@ (gnu packages gcc) gcc-11)' -t bag > 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 “guix graph”. > > > Last, the package ’gcc’ appears in the graph of ’rust-hmac’ – 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 = > "gcc@11.3.0", shape = box, fontname = sans]; > --8<---------------cut here---------------end--------------->8--- > > and then again no path between rust-hmac and gcc. Note the same > derivation. > > > What do I miss? There's a long standing issue of rust packages not using inputs and native-inputs[1] because of how cargo-build-system works. The WIP antioxidant-build-system[2] will properly address all the shortcomings currently in Guix's Rust packaging. gcc-11 is an implicit input of gnu-build-system so it's still in the build graph. 1: https://issues.guix.gnu.org/53127 2: https://notabug.org/maximed/cargoless-rust-experiments > > > Cheers, > simon > > 1: https://issues.guix.gnu.org/issue/62645