From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id lJnbB+StNmVztAAA9RJhRA:P1 (envelope-from ) for ; Mon, 23 Oct 2023 19:31:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id lJnbB+StNmVztAAA9RJhRA (envelope-from ) for ; Mon, 23 Oct 2023 19:31:16 +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 DBA2D622BB for ; Mon, 23 Oct 2023 19:31:15 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=C6bzzJKl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698082276; a=rsa-sha256; cv=none; b=g5CBl5cvlp1jkd2bseN3cn2VFtPDCKQOUhoyq4ZRqrlK8Muhesak82bcfC5FUjyIm/WswW wsCzOr0l14P9spSymqJG3i04UzuqNnQMmbuCwMtQVh/fVoMnT2hTo9/cf1EZ2zf/jk8YVK s6xQ3IR5WBUVTIAxvRwFGf1nr8owHgN6Cd0elLftEn7Hke/YPHy6BVv9OoY8NxQLaMnHPw AEo0G21CfRePxaCD0q6vlAGCpoVyVV+PfC09CIEiyvoX+Mwwi23/nFeVPZu6nrMjHI7hS7 TA0qgwNlywSowjYoNU1fsgDTxCJItzfJXpMajxUSIDfPfxL9Un3SAoumluNAyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=C6bzzJKl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698082276; 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: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=OE3VQNJnSYB5WCBl/krrUCyn8ICCyqoBp7PRlxQiHUI=; b=JcB0X7o1oNzR34P4jEJCcUa9zpQHXe4riW7yMp5ashZYVioPcExpz9jp5AjXXOCz2RE1fg z5Qy1rYRzVOnPha3Zvr5KwEHsgM14xjB4PLHSKrKekXtOBoKShGl7SjhndVkyOX+kaNcen L3VyRa2th6hXbQ7NNM+X5rW2EYZqmA+Qpv/T5nKCTiN1nsOwNr4mG3eQTU9DDK8BfcRK7R qUvSfwI2QM+YSEHadMOQngu/twSeL/iktkQlH8dSav4qx4YX/348+h5ZJu8Wfecl6W9miN C2+JF9OKmz59wQQApI8qkSzBzSJZD1kDeBAIVrxcl5MvuyPG+03ItXvZq5BVfA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quylU-00044h-Pr; Mon, 23 Oct 2023 13:30:56 -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 1quylJ-0003yp-HF for bug-guix@gnu.org; Mon, 23 Oct 2023 13:30:47 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1quyl7-0008Ow-Hi for bug-guix@gnu.org; Mon, 23 Oct 2023 13:30:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quyla-0004eV-Al for bug-guix@gnu.org; Mon, 23 Oct 2023 13:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65665: package-mapping with #:deep? #t doesn't get all the implicit inputs Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 23 Oct 2023 17:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65665 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ulf Herrman , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Ulf Herrman , 65665@debbugs.gnu.org Received: via spool by 65665-submit@debbugs.gnu.org id=B65665.169808222717824 (code B ref 65665); Mon, 23 Oct 2023 17:31:02 +0000 Received: (at 65665) by debbugs.gnu.org; 23 Oct 2023 17:30:27 +0000 Received: from localhost ([127.0.0.1]:51556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quyl1-0004dP-Co for submit@debbugs.gnu.org; Mon, 23 Oct 2023 13:30:27 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:39938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quyky-0004cx-43 for 65665@debbugs.gnu.org; Mon, 23 Oct 2023 13:30:25 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-408434ce195so9337535e9.0 for <65665@debbugs.gnu.org>; Mon, 23 Oct 2023 10:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698082189; x=1698686989; darn=debbugs.gnu.org; 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=OE3VQNJnSYB5WCBl/krrUCyn8ICCyqoBp7PRlxQiHUI=; b=C6bzzJKlH+2xCZg5yAhVDGMOA0HKU8FOBnIuBIhp7N6D2WJ8srPTi/NSNmPJxEIrC6 SPzL7P3GaMA15Oq/8QCMlws6RkNs0nm8mTQ2EzeKK/a117dlhfY9M0yEdCyAAFQRM6hj WY+nl99R70KG1G64ORxXJUY9nd4GAyaSlDTX0yDZZ1YUR9PNdNzzL6+g5PgPW6RvUS4W 5Z/FytSv17w1fnSYaWMDSnZcU+AgRnGWXELa2G/MDEdcWr09HTfLrM0TxXys0EJK5FYG ntZrU7/sjpud7izN1W90+NqF/OLUMHm5cIFVNyYf3uQD6GHDmyM78zkninyU43hKgbtK 7HbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698082189; x=1698686989; 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=OE3VQNJnSYB5WCBl/krrUCyn8ICCyqoBp7PRlxQiHUI=; b=POidkVcXNXG6drOPOC69TV2FhQX/nMbB1W6uGkbDwtJ0P+LCvQc1ZbPnPF9OGZaMOW Se+A2pD3twBeWqfZAwESVqc+EeNvNaw1eQsVxc2ZnRAc/aWTbfp8NndHIa8Q86oXIf99 RaBal2D1Y4QZZDUxOlWaadjoQE4Bao6A6pAkIzIPbGlLQ8IlvXNI+On8bNpB8rzKrogO RafkIClmXl+B4OiqbnVBsTJVrK2/cWG+NB/fTzo10i3iKeUOoIlP2/J9sta1XnXF3m4Y L2hK4nQN+lJAFRLEP8vPw66SCJtjOAzTgoZrP2gt14FAggVNaRmRusksHYDzpkvCmHO5 88rQ== X-Gm-Message-State: AOJu0YwZyxu9MU/nNdKSZtXMe3oQdLkqA1cNKB449Ds0r0IDVCieRTTJ 9spUnoltFvhjrLRuMWNj0ZoGBSvXAUY= X-Google-Smtp-Source: AGHT+IE8j8mUX+20uHkV40YGvPZzlMnyZvIXXsjvcgJdpBF44Ye973S2fF7JvA5WqVK6pKjXsVP8/w== X-Received: by 2002:adf:b1d3:0:b0:32d:c333:c1dd with SMTP id r19-20020adfb1d3000000b0032dc333c1ddmr6773814wra.7.1698082188893; Mon, 23 Oct 2023 10:29:48 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id r3-20020adff103000000b0032d9337e7d1sm8223948wro.11.2023.10.23.10.29.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 10:29:48 -0700 (PDT) From: Simon Tournier In-Reply-To: <8734y3r4z1.fsf@tilde.club> References: <87h6ofufy5.fsf@tilde.club> <87msxmqwng.fsf@tilde.club> <871qe0lytk.fsf_-_@gnu.org> <87wmvrdxnf.fsf@tilde.club> <87y1g5fd1e.fsf@gnu.org> <87o7h0e4us.fsf@tilde.club> <87wmvgoxn7.fsf@gnu.org> <8734y3r4z1.fsf@tilde.club> Date: Mon, 23 Oct 2023 15:53:35 +0200 Message-ID: <87r0lljvhc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: 2.87 X-Spam-Score: 2.87 X-Migadu-Queue-Id: DBA2D622BB X-TUID: HHaZEqNe4Vy8 Hi, On Sat, 21 Oct 2023 at 17:22, Ulf Herrman wrote: >> I don=E2=80=99t know, should we start by having a proper bug report for = this and >> study how this happen? [...] >> Again I=E2=80=99m sorry if I=E2=80=99m slow to understand, but I=E2=80= =99d like to make sure we >> have a good understanding of the problem before we start discussing >> solutions. > > Okay, I suppose I should have given a concrete example of the behavior. > The qgit example can fill that role: > > $ cat $(./pre-inst-env guix build qgit -n --derivations --no-grafts --wit= h-latest=3Dqtbase) If I might, Guix revision a25a492f2b, my understanding is, $ ./pre-inst-env guix build qgit -n --with-latest=3Dqtbase /gnu/store/gx5d03as0k1w6jv0pssi6j69n8glf6w5-qgit-2.10.drv /gnu/store/h02aizdjy4p10n4gmcy0y35x14lmjx3n-qtbase-6.6.0.drv Then the builder of the derivation /gnu/store/gx5d03as0k1w6jv0pssi6j69n8glf6w5-qgit-2.10.drv reads, --8<---------------cut here---------------start------------->8--- (begin (use-modules (guix build qt-build-system) (guix build utils)) (qt-build #:source "/gnu/store/a57n7wy8mdi7l52pr4zg07132blgj5xp-qgit-2.10= -checkout" #:system "x86_64-linux" #:outputs (list (cons "out" ((@ (guile) getenv) "out"))) #:inputs (quote (("source" . "/gnu/store/a57n7wy8mdi7l52pr4zg07132blgj5xp-qgit= -2.10-checkout") ("cmake" . "/gnu/store/ygab8v4ci9iklaykapq52bfsshpvi8pw-cmake= -minimal-3.24.2") ("qtbase" . "/gnu/store/khlz8afih21pd0szn5x1ck6bp6w320cz-qtba= se-6.6.0") [...] #:qtbase "/gnu/store/h8z3xhpb8m1ih2k45935kqx0wya5w7vq-qtbase-5.= 15.10" --8<---------------cut here---------------end--------------->8--- Therefore, the transformation does not rewrite #:qtbase. And note that qtbase-5.15.10 is not listed as #:inputs. Without the transformations, it reads, --8<---------------cut here---------------start------------->8--- (begin (use-modules (guix build qt-build-system) (guix build utils)) (qt-build #:source "/gnu/store/a57n7wy8mdi7l52pr4zg07132blgj5xp-qgit-2.10= -checkout" #:system "x86_64-linux" #:outputs (list (cons "out" ((@ (guile) getenv) "out"))) #:inputs (quote (("source" . "/gnu/store/a57n7wy8mdi7l52pr4zg07132blgj5xp-qgit= -2.10-checkout") ("cmake" . "/gnu/store/ygab8v4ci9iklaykapq52bfsshpvi8pw-cmake= -minimal-3.24.2") ("qtbase" . "/gnu/store/h8z3xhpb8m1ih2k45935kqx0wya5w7vq-qtba= se-5.15.10") [...] #:qtbase "/gnu/store/h8z3xhpb8m1ih2k45935kqx0wya5w7vq-qtbase-5.= 15.10" --8<---------------cut here---------------end--------------->8--- Cheers, simon