From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CAR3GKYgvmDAQgEAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 15:35:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EPniE6YgvmBsLgAA1q6Kng (envelope-from ) for ; Mon, 07 Jun 2021 13:35:34 +0000 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 BE1B019FAD for ; Mon, 7 Jun 2021 15:35:33 +0200 (CEST) Received: from localhost ([::1]:58448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqFPg-0000gP-Aj for larch@yhetil.org; Mon, 07 Jun 2021 09:35:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqFPC-000097-Mr for guix-patches@gnu.org; Mon, 07 Jun 2021 09:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqFPC-000699-6v for guix-patches@gnu.org; Mon, 07 Jun 2021 09:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqFPC-0007ip-3m for guix-patches@gnu.org; Mon, 07 Jun 2021 09:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 13:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen , Leo Famulari Cc: 47539@debbugs.gnu.org Received: via spool by 47539-submit@debbugs.gnu.org id=B47539.162307285229623 (code B ref 47539); Mon, 07 Jun 2021 13:35:02 +0000 Received: (at 47539) by debbugs.gnu.org; 7 Jun 2021 13:34:12 +0000 Received: from localhost ([127.0.0.1]:54751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqFOK-0007hf-Lx for submit@debbugs.gnu.org; Mon, 07 Jun 2021 09:34:11 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:45015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqFOH-0007hV-GP for 47539@debbugs.gnu.org; Mon, 07 Jun 2021 09:34:06 -0400 Received: from [10.0.0.4] (62-116-34-49.adsl.highway.telekom.at [62.116.34.49]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FzDqF5wgVz3wXX; Mon, 7 Jun 2021 15:34:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1623072842; bh=o4OOsD1LrKoT5Yr6ZbBD4fQdflVqsMCxm0L3FXy9Ozg=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=h0wo7kE0HbD692tfBTsDifs6brRoo4E4WGzJzjLmEw3gMZKl9otI0coxmKz78ReJd rjazefOGAO6BNrC2PdKYjfvM1fZQBRazRcQYESO95PYnub1+rQBiGEfpVJNPN3yw5r WxgSsHvfDOC9Hb+ATTqOgQLCw1mivMAKTY7orEHE= Message-ID: <5346fb46fb1e846b4b3aca1ef5e44b544a227732.camel@student.tugraz.at> From: Leo Prikler Date: Mon, 07 Jun 2021 15:33:40 +0200 In-Reply-To: <87lf7lu8di.fsf@yoctocell.xyz> References: <87y2dd8r18.fsf@yoctocell.xyz> <87lf9d8l43.fsf@yoctocell.xyz> <87mts486ln.fsf@yoctocell.xyz> <87pmwxu8z5.fsf@yoctocell.xyz> <87lf7lu8di.fsf@yoctocell.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623072934; 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=o4OOsD1LrKoT5Yr6ZbBD4fQdflVqsMCxm0L3FXy9Ozg=; b=e6DcVjgQJ+SbZBcGaFsqha2P1IgI/UTYIbctyMC9DjWT6PYJGdZXX2+/LoB4J9gBkrRWYZ gxqINZEuH+2FJiShXXuLDF5LFi2H5zBU/T9RxCxU0M+bjQlCN1Ax2ltqtFWuVX9T0mrRNQ CreI76RjgGcLZUDsIGSO5125DgMtjWwNi0WgGZ2gIYoQkXPFz6yVUglxsDlktH52Xe+8kn NCx3/XERdZc5JxbhtKcrjBsscnr9N68CsDbQbnC/A7cSUmi5c5UzqswIgT7lF/OWkDm5c7 gWwy4usDg4lcrkRZmXbfxnp+tSTA9cTLHiEWlYXY0ZF+cFSOemcb1rs3NXqmWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623072934; a=rsa-sha256; cv=none; b=mC6pvDGjXqxYCY88NFUwSgazc8mt8Q+J0lYpWzdyPSYUp5GhIWh29Sx03hXj0AFjvk3t8Q QE9UA363j+0Z7kJFuT3IwwkZda+E7FO1uEmGgBJPMvC4teC4UAuYlhOUU4I8IvzByQ9irv VZXVruxToEX5fAv6Yg8vjTLt2V+RsuZ7Ng7tPlfDTw0hThCiVUcgVxf1rKfhhC2SfHDucu 2nsHsLbVnCWiP2ikcJEiocTRLIe1+VM7qIWiok3IXDSg6jg872IqNnxbb3jgOFPN6R7KtZ ee/GkNLf3hlwpqtIpzSoO8uGfjewr5prEHcx20RTAcpmW/f6ZTl4Y5HZp9Pa1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=h0wo7kE0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=h0wo7kE0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BE1B019FAD X-Spam-Score: 0.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: ujfa+f6l6eg8 Am Montag, den 07.06.2021, 15:11 +0200 schrieb Xinglu Chen: > On Mon, Jun 07 2021, Xinglu Chen wrote: > > > On Sun, Jun 06 2021, Leo Famulari wrote: > > > > > On Sat, Jun 05, 2021 at 09:16:36PM +0200, Xinglu Chen wrote: > > > > On Fri, May 21 2021, Leo Famulari wrote: > > > > > I notice that (most of?) the new packages use native-inputs > > > > > for their > > > > > dependencies. > > > > > > > > > > If these dependencies are used at run-time, I would propagate > > > > > them > > > > > instead. This way, they will be available in the build > > > > > environment of > > > > > packages that depend on the package that is using them, which > > > > > matters > > > > > for our go-build-system, where everything is built from > > > > > scratch in each > > > > > package. If I remember correctly, that is... > > > > > > > > I am not familiar with the Go ecosystem, is there a way to tell > > > > if a > > > > dependency is used at runtime? > > > > > > If foo requires bar, and baz depends on foo, then bar needs to be > > > available when building baz. That is because foo will be rebuilt > > > while > > > building baz. > > > > > > We must either propagate bar from foo, or make baz depend on it. > > > Technically, bar is a dependency of foo, so it is correct to > > > propagate > > > it from foo. > > > > So if A dependes on B which depends on C, and I want to build A, > > then C > > has to be a ‘propagated-input’ for B? Did I get that right? > > > > But if I just want to build B, should C still be a ‘propagated- > > input’ > > for B? > > Since a new version of the ‘github-cli’ package is out, I ran > ‘./pre-inst-env guix import go -r github.com/cli/cli’ to see if it > had > any new dependencies. I noticed that the Go importer put all the > dependencies as ‘propagated-input’ instead of ‘native-input’ (which > it > did before). > > My guess is that basically everything should be propagated? Do cross-check with the output of the Go importer. While there were some modifications that we made (e.g. the safeexec thing), the Go importer probably does "the right thing™". Regards, Leo