From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oE9rHfXXWF/ZGAAA0tVLHw (envelope-from ) for ; Wed, 09 Sep 2020 13:26:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EIZpGfXXWF/jbAAA1q6Kng (envelope-from ) for ; Wed, 09 Sep 2020 13:26:13 +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 215DC94051F for ; Wed, 9 Sep 2020 13:26:13 +0000 (UTC) Received: from localhost ([::1]:57144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kG072-00069l-3p for larch@yhetil.org; Wed, 09 Sep 2020 09:26:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kG06t-00066y-1C for bug-guix@gnu.org; Wed, 09 Sep 2020 09:26:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46363) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kG06s-0004wq-Nx for bug-guix@gnu.org; Wed, 09 Sep 2020 09:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kG06s-0001Jd-Kl for bug-guix@gnu.org; Wed, 09 Sep 2020 09:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#26170: Bug #26170 Hunting: doc: Explanation of propagated-inputs unclear Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 09 Sep 2020 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26170 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian (Florian Pelz)" Received: via spool by 26170-submit@debbugs.gnu.org id=B26170.15996579595041 (code B ref 26170); Wed, 09 Sep 2020 13:26:02 +0000 Received: (at 26170) by debbugs.gnu.org; 9 Sep 2020 13:25:59 +0000 Received: from localhost ([127.0.0.1]:57908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG06o-0001JF-Lf for submit@debbugs.gnu.org; Wed, 09 Sep 2020 09:25:59 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:39538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG06l-0001Im-Ld for 26170@debbugs.gnu.org; Wed, 09 Sep 2020 09:25:56 -0400 Received: by mail-wm1-f51.google.com with SMTP id b79so2346023wmb.4 for <26170@debbugs.gnu.org>; Wed, 09 Sep 2020 06:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=Xzlg9r8wkdPqSwJfAobYRLC6Sok3jpVvnum+cSeszzA=; b=HaERHB3fPE4r/PYZUVoeT5NyylEVuT2n5t1pRpTICvzNbI6nCJFi+/l6iFZrpwzFnM OeAYws+XHRgh4thnr/BN/UyCMr370kR4MV80KurXAaMUb0iR71f6Ngz5ezQOFRKUqgXP nVyC9jkuE5L/YHZdBY2vQTTHY0GqUY7Kf5VgXjXH9pRC7aWu0HOKBKa+tbJ4jDlDTGCD X7ZsIe57N1A61nwuVhP8yoHqxdzNvJ0I4awS1fijmHm29LxFItcv1DvNvlhb3XhmkEwv vF4s5bbmovZFRB145EoY7C398RvtHXzkQ3awg5lvzuR8eXEF0ZM2WNvWunV8hHHlsCiI Lgdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=Xzlg9r8wkdPqSwJfAobYRLC6Sok3jpVvnum+cSeszzA=; b=ME2D+3MQCn6m3Oizzcemx9Nzm4breEM7upBZ2OIXwIG+VjsdluIYIF+Xi6Fd8QziWN pa8fJG6zFs7VpWZgMEWIdBePL0BG0kifL2MOmgNayceehOw82BTJX5xBbyXnyDG+RZZb WmZBzgb8EVQ7YpwpcytDFOHcVn3AkNsQ5a7ZeFoU76X0nYNvfZyzlJNvqZXf2jEZWUi2 ZHI1pxroG+HyfgKFWoOgllYDF0kZSs2kPG8cHBfOKGJY5mJlASD8J70sxL1xtXqj+jGs Ln8mINctocd0sQQ3VGib4cgmAKkgwhh7NYFlgjwI6dsBXV48ZnUetpqnKYdgG+ScrGrr rLdQ== X-Gm-Message-State: AOAM532JO8s3XyTtz4mM+OxMlwSpMwvnR1q+/7Ef3EEWoplU/ESiiWFI e17mWvTXLpq4wzzDIDiygVW9pLPqaBI= X-Google-Smtp-Source: ABdhPJxcr5kbB/NwRRfEgu0nhz9oKCAIeHIok8IbFmDKzoXb9Aoh9ReNTjTHPL0048iTAbLumNftmg== X-Received: by 2002:a7b:cb47:: with SMTP id v7mr3795524wmj.129.1599657949543; Wed, 09 Sep 2020 06:25:49 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id o2sm3980177wmo.37.2020.09.09.06.25.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 06:25:48 -0700 (PDT) From: zimoun In-Reply-To: <20191203124904.lotocvk7htki2ill@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Tue, 3 Dec 2019 13:49:04 +0100") References: <20191203124904.lotocvk7htki2ill@pelzflorian.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Date: Wed, 09 Sep 2020 15:25:31 +0200 Message-ID: <87h7s7ulo4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 26170@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=HaERHB3f; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: 25JXlfxZsiWm Dear, The bug 26170 [1] is about the description of =E2=80=9Cpropagated inputs=E2= =80=9D in the manual. Currently, the term =E2=80=9Cpropagated inputs=E2=80=9D in the index [2] go= es to the section =E2=80=9CInvoking guix package=E2=80=9D [3] and explaining: Sometimes packages have propagated inputs: these are dependencies that automatically get installed along with the required package (see propagated-inputs in package objects, for information about propagated inputs in package definitions). An example is the GNU MPC library: its C header files refer to those of the GNU MPFR library, which in turn refer to those of the GMP library. Thus, when installing MPC, the MPFR and GMP libraries also get installed in the profile; removing MPC also removes MPFR and GMP=E2=80=94unless they had also been explicitly installed by the user. with the hyperlink [4] mentioning: Lastly, propagated-inputs is similar to inputs, but the specified packages will be automatically installed alongside the package they belong to (see guix package, for information on how guix package deals with propagated inputs). For example this is necessary when a C/C++ library needs headers of another library to compile, or when a pkg-config file refers to another one via its Requires field. Another example where propagated-inputs is useful is for languages that lack a facility to record the run-time search path akin to the RUNPATH of ELF files; this includes Guile, Python, Perl, and more. To ensure that libraries written in those languages can find library code they depend on at run time, run-time dependencies must be listed in propagated-inputs rather than inputs. The initial suggestions of this bug report were: --8<---------------cut here---------------start------------->8--- 1) that `propagated-inputs` are automatically installed *to the Guix profile* and not just the Store like regular inputs and 2) that C/C++ libraries do not need to be propagated because they can just as well be loaded from the Store *unless* their header files are included by header files of another input package (?) and 3) more examples like the above example for GNOME Evolution (which however I have yet to finish packaging and submit as a patch; maybe dconf is a better example =E2=80=93 I presume it is also needed at run time= and not just). --8<---------------cut here---------------end--------------->8--- which now appear to me clarified with the current manual. Does it make sense to close? All the best, simon [1] http://issues.guix.gnu.org/issue/26170 [2] http://guix.gnu.org/manual/devel/en/guix.html#Concept-Index_cp_letter-P [3] http://guix.gnu.org/manual/devel/en/guix.html#index-propagated-inputs [4] http://guix.gnu.org/manual/devel/en/guix.html#package_002dpropagated_00= 2dinputs