From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CFfYCTxcTWO5QgAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 15:44:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cF3iCTxcTWOTcgEA9RJhRA (envelope-from ) for ; Mon, 17 Oct 2022 15:44:28 +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 DD7AD9129 for ; Mon, 17 Oct 2022 15:44:27 +0200 (CEST) Received: from localhost ([::1]:34104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okQPp-000530-2B for larch@yhetil.org; Mon, 17 Oct 2022 09:44:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okQPT-00051T-Cs for bug-guix@gnu.org; Mon, 17 Oct 2022 09:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okQPS-0005yu-Gj for bug-guix@gnu.org; Mon, 17 Oct 2022 09:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okQPS-0000af-AX for bug-guix@gnu.org; Mon, 17 Oct 2022 09:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58567: Grafting affects origins Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Oct 2022 13:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Cc: 58567@debbugs.gnu.org Received: via spool by 58567-submit@debbugs.gnu.org id=B58567.16660141902201 (code B ref 58567); Mon, 17 Oct 2022 13:44:02 +0000 Received: (at 58567) by debbugs.gnu.org; 17 Oct 2022 13:43:10 +0000 Received: from localhost ([127.0.0.1]:47891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okQOc-0000ZP-6R for submit@debbugs.gnu.org; Mon, 17 Oct 2022 09:43:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okQOa-0000ZC-Kn for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 09:43:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okQOV-0005t3-ES for 58567@debbugs.gnu.org; Mon, 17 Oct 2022 09:43:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=r50/TJ3FxbqKP5Vx3PMQE8nxV3qprHu5mb/NaS9mLDY=; b=AZjv0nDmdMXXrt46ks// l0YJG0YzFOGiKAvukmSE9gDWd7gwlxyFrcd4GD1w0Cf8lJ2PH52DF/mbbfG3M4DDfiVtHvMtf439K KLZsPuVUn6x6/dXKuzQn9sxmGDqTrtH31LpUyiPrPYARulNXu5Efsdn21SC430zzlYdt8UsKVpa58 cE4o8jZ7lzUCsQc/PYlKehz7XMTISnB7RAhnHF7waHcTYT6lc3TBax6i6bdFN0e/FOUP8iP3otn5z 6RWauyJEgkKzuFu5D9PtlEzmcCOIghcoKcPqYXwFJW4n8vzrtwXXXUDhgPUb+ZAapUFSfbSOtqUUf Jp0BCrBZoYvb+g==; Received: from nat-eduroam-36-gw-01-bso.bordeaux.inria.fr ([194.199.1.36]:43912 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okQOT-0007MH-Pr; Mon, 17 Oct 2022 09:43:02 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a65vwvde.fsf@gnu.org> Date: Mon, 17 Oct 2022 15:42:58 +0200 In-Reply-To: <87a65vwvde.fsf@gnu.org> (Marius Bakke's message of "Sun, 16 Oct 2022 19:06:53 +0200") Message-ID: <877d0ysh0d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666014267; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=r50/TJ3FxbqKP5Vx3PMQE8nxV3qprHu5mb/NaS9mLDY=; b=qeO6xfNieitOIIc18/FC4i/2XPyl5Ra41NXXrkpW1C/NuUw1VwSrQzaBmMLYDgQLBS1nHQ r+1lSqbRUkx+1jCCptkHOz09i8lezIWtinuQvtqXDs3QUEJWzSI7bPaj/LQv303vUZNpp6 QTNEt45LtXw3nJ+HKao5Pka8YznbQA1OXXSPZnJsmUtlRENo6cvfkDiUpW4rcC8Brd+vKj mYDlJBZq/DscQ3hriduGiUVUdJGDNCYQ928eWDcSkaV85AhsE403e+irctZ/PFkXeL0p/N 2sSrEBf2ZOcWkbG3dusYABd888jRkJPC49alZx5QUUcuzJUk/umOF1GC0c11nw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666014267; a=rsa-sha256; cv=none; b=L9sipQPwDII0LIxfiuEkRortuare+d3EWqwJLOJ5rVOSEluSUPHpsHiZqJCF9rid0EhHop lHNCDlL8AfoF5ohftJ0dCrfb4ZQ4v9nDD3/xJFoMep1KpA/uviv76Vy3aFxq/IN5oOP4Ic Kg2MtbKobMAWqMSpRHeqoYizNEDlJsFzi4B3jf+95DpBKY8MWiCJg2ZuG+WyAeldXWR2b4 6y3dILLZdYj9z5CHII0tqNs4+F/sLNavPxq7bB3lUocespIYwH3Ya81P/k23HvF5Zbh9r3 fLNm4KBTdecnmV85U77xYNAAbRhouvNnAakzgkk35/bBI3ogc2kcaX5yR5cqHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=AZjv0nDm; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=AZjv0nDm; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DD7AD9129 X-Spam-Score: -4.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: Kzn1UU2KXLoa --=-=-= Content-Type: text/plain Hi, Marius Bakke skribis: > As an example, as of commit 3d8c243efb615c7e642942433be1c7badf0ae65e, > 'guix build -d telegram-desktop' produces: > > /gnu/store/q1gx5xaszlyyr0sx663c2qkx92cqbr4r-telegram-desktop-4.2.2.drv > > If we open that graft derivation, we see that it depends on: > > /gnu/store/92bl6qmj5r0byc59fykvlfaqmw6ikvy8-telegram-desktop-4.2.2.drv > > However: > > $ guix build -d --no-grafts telegram-desktop > /gnu/store/4vbj4gblmwvl645z1q3aaxfhckjqi3kg-telegram-desktop-4.2.2.drv The differences between these two are: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- # +++ # @@ -44,7 +44,7 @@ ("abseil-cpp" . "/gnu/store/lsrda46kb137fnwslwhg9bpqgnakasy8-abseil-cpp-20220623.1") ("alsa-lib" . "/gnu/store/nfxcjvv9c2q6in9x52kkkayqv38k00ai-alsa-lib-1.2.4") ("c++-gsl" . "/gnu/store/bpszfya32r8zj0rhaijckh5bj6fmj709-c++-gsl-3.1.0") - ("fcitx-qt5" . "/gnu/store/swyjasxcnlbxavpaiaginsyzr1gdpban-fcitx-qt5-1.2.6") + ("fcitx-qt5" . "/gnu/store/k184g9bj05zz0lnz7j5h1zsrjavdadwp-fcitx-qt5-1.2.6") ("fcitx5-qt" . "/gnu/store/cbpycbi5r23dgwl7k20g6h0kkmznz7pz-fcitx5-qt-5.0.7") ("ffmpeg" . "/gnu/store/jhd8y6a2j9jcx0icq25qdhs1m8i8qfy7-ffmpeg-4.4.2") ("glib" . "/gnu/store/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2") @@ -250,7 +250,7 @@ (quote glib-or-gtk-wrap) (assoc-ref glib-or-gtk:%standard-phases (quote glib-or-gtk-wrap)))) - #:qtbase "/gnu/store/ir6lpakwwj897lbjfn4n9kmxiqxs377l-qtbase-5.15.5" #:qt-wrap-excluded-outputs + #:qtbase "/gnu/store/w66rzihchl7n9d1zpr2qvgiyd58zr2pp-qtbase-5.15.5" #:qt-wrap-excluded-outputs (quote ()) #:qt-wrap-excluded-inputs --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I believe that=E2=80=99s a bug in =E2=80=98qt-build-system=E2=80=99: like = =E2=80=98gnu-build-system=E2=80=99, it should pass #:graft? #f (patch below). Failing that, it=E2=80=99ll end up = using a different #:qtbase depending on whether or not grafts are enabled. Does that make sense? I found a similar issue in =E2=80=98python-build-system=E2=80=99 in . Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/guix/build-system/qt.scm b/guix/build-system/qt.scm index a9bf728f25..7e3a54f1f8 100644 --- a/guix/build-system/qt.scm +++ b/guix/build-system/qt.scm @@ -181,6 +181,7 @@ (define builder (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) system #:graft? #f))) (gexp->derivation name builder + #:graft? #f ;consistent with 'gnu-build' #:system system #:guile-for-build guile))) @@ -269,6 +270,7 @@ (define %outputs (mlet %store-monad ((guile (package->derivation (or guile (default-guile)) system #:graft? #f))) (gexp->derivation name builder + #:graft? #f ;consistent with 'gnu-build' #:system system #:guile-for-build guile))) --=-=-=--