From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 19 03:03:49 2017 Received: (at submit) by debbugs.gnu.org; 19 Mar 2017 07:03:49 +0000 Received: from localhost ([127.0.0.1]:34512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpUsX-0008Cf-CS for submit@debbugs.gnu.org; Sun, 19 Mar 2017 03:03:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpUsU-0008CR-MR for submit@debbugs.gnu.org; Sun, 19 Mar 2017 03:03:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpUsO-0001BM-F6 for submit@debbugs.gnu.org; Sun, 19 Mar 2017 03:03:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44596) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpUsO-0001BH-Bu for submit@debbugs.gnu.org; Sun, 19 Mar 2017 03:03:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpUsN-0004HZ-0M for bug-guix@gnu.org; Sun, 19 Mar 2017 03:03:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpUsJ-0001Aq-Pu for bug-guix@gnu.org; Sun, 19 Mar 2017 03:03:39 -0400 Received: from pelzflorian.de ([5.45.111.108]:51144 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpUsJ-0001Af-Fd for bug-guix@gnu.org; Sun, 19 Mar 2017 03:03:35 -0400 Received: from [192.168.178.30] (ip5f58bf63.dynamic.kabel-deutschland.de [95.88.191.99]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 12F5F36000F for ; Sun, 19 Mar 2017 08:03:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1489907014; bh=FORvc6VZquqfUo+/6uN5jTfyJ1BxNZfb46HrOUtJeSk=; h=To:From:Subject:Date; b=VPsU3JCu3l7bKvEYfeZBvfJhrQnFR2Gt6EdFTMJN0Dh4y1WUh57zB2KrO56LvdoD1 tx8zXeH+pLsamQXU6kMiftoAaQiIcG4CQEwkhOpkZ5/pRs+kJA99KXd0S0zjKAHi6W 6khj14SDsjJ2v6w1SbiE3RMFKrzLQjeNlhXTi3HE= To: bug-guix@gnu.org From: "pelzflorian (Florian Pelz)" Subject: documentation: Explanation of propagated-inputs unclear Message-ID: <03214f18-23c3-3879-0be3-f1abb95abcea@pelzflorian.de> Date: Sun, 19 Mar 2017 08:03:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Hello, I presume the difference between a package=E2=80=99s `inputs` and `propagated-inputs` in Guix packages is that propagated inputs get installed to a Guix profile whenever the package is installed while inputs are dependencies that remain in the Store. I presume libraries the packaged program is linked to do not need to go to `propagated-inputs` because the program is linked to the files in the Sto= re. For more context, I am attempting to package the GNOME Evolution mail client which looks for evolution-data-server=E2=80=99s share/dbus-1/services/org.gnome.evolution.dataserver.Sources.service at run time and thus should use it as a propagated input (I believe). I am however confused by `info guix` where I find explanations like =E2=80=9CLastly, =E2=80=98propagated-inputs=E2=80=99 is similar to =E2=80= =98inputs=E2=80=99, but the specified packages will be automatically installed alongside the package they belong to (*note =E2=80=98guix package=E2=80=99= : package-cmd-propagated-inputs, for information on how =E2=80=98= guix package=E2=80=99 deals with propagated inputs.)=E2=80=9D and =E2=80=9CSometimes packages have =E2=80=9Cpropagated inputs=E2=80=9D: the= se are dependencies that automatically get installed along with the required package (*note =E2=80=98propagated-inputs=E2=80=99 in =E2=80=98package=E2=80= =99 objects: package-propagated-inputs, for information about propagated inputs in package definitions).=E2=80=9C I suggest mentioning more explicitly 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 ti= me and not just). This would have made the purpose of `propagated-inputs` easier to understand. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 03 07:14:24 2019 Received: (at 26170) by debbugs.gnu.org; 3 Dec 2019 12:14:24 +0000 Received: from localhost ([127.0.0.1]:39364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ic74S-0008Ib-7b for submit@debbugs.gnu.org; Tue, 03 Dec 2019 07:14:24 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:43367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ic74P-0008IN-Ld for 26170@debbugs.gnu.org; Tue, 03 Dec 2019 07:14:22 -0500 Received: by mail-qk1-f176.google.com with SMTP id q28so3115611qkn.10 for <26170@debbugs.gnu.org>; Tue, 03 Dec 2019 04:14:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=/nwAoXFpbT8vgsWe72/2O9EhRVL9j/x1VeoNJzeKOro=; b=YpvEUk8TGGa4kvZbVc1C1l/mlgLJRZvs45Btx2+E1OuUXyBShALBU4LLxwjz5w5TI3 FfuFp7pW9irWnoM3UwIB2A8Osff7aD4kPpGsk1dFyNg1JZf1tvNPkWxF/sae9hddbayt zmZZ4gkaZHGyGwrfuzyIgChcrqHxYgT0aQIMd9iBjdPpWZlbaAuaA+WY75rQCfw5lvn7 wklwTocWertD+GL2CW1csYBWodH+pb9lo2p95GyZpqGtNde0/90Y515nKPctGGfRi+gt JruGX7WlUfWIchwZr/BW2clPiS/sjrpVvk2toDC/Au22qNyD5gDtEsgctU5yFi1j07m2 luEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=/nwAoXFpbT8vgsWe72/2O9EhRVL9j/x1VeoNJzeKOro=; b=o2hlRSU2q1f/BJiLZOxN4Ee5OItNQpITMGH5n0zOpozE1+8kxYa+JjxngPqyJjB+7R nvDy76MMGJOoPSct3Ls3btOs5o2ZX7k0BqQZroP0RCIsNJH60qYo2N1A2v9YDRhA3kX+ 7h1K7PGdnId9GQNoJlO5dT9SVgXAwPqZbHB1yYPpaaS5bOo4/hVArEmAQizuKrYsGGpm NLqj+phbPWtUIjEDFubB635ZJllMGdcOU5vC1crrfO8I6K8MWAmoQeZ/uXcakr94EOfX 5tN1fr2BSwLvCKUwhST9XVs2Gh/MTvWuUci3XjkQh40K4zuFpPJf3/FnZoRSKK2Rn104 1fUQ== X-Gm-Message-State: APjAAAWaQ9T91KVZ+rHvtBjdQFHoTfa+k/vjgO1hJkKo1WVHgLzZBuGu WDbqOJLi0WGpVk+Oy06j4GiVTw7sxRCZvU4EF+dPtIr+fj8= X-Google-Smtp-Source: APXvYqxci5lzxeqGWDbVgnNQ7sQj6Ef5ceGkxsY8ru5Yp+4jJc/hF0Kccdm/nODxhZ7gujnih8HUm1Va6Wj6nBbih3c= X-Received: by 2002:a37:4f10:: with SMTP id d16mr4735137qkb.80.1575375256081; Tue, 03 Dec 2019 04:14:16 -0800 (PST) MIME-Version: 1.0 From: zimoun Date: Tue, 3 Dec 2019 13:14:05 +0100 Message-ID: Subject: Bug #26170 Hunting: doc: Explanation of propagated-inputs unclear To: 26170@debbugs.gnu.org, "pelzflorian (Florian Pelz)" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 26170 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) Dear Florian, You report this bug [1] a couple of years ago about unclear explanations of the term propagated-inputs. [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26170 The explanations of propagated-inputs are here [2] and short words are there [3]. Tey have not been changed since your report. [2] https://guix.gnu.org/manual/en/html_node/package-Reference.html#package= -Reference [3] https://guix.gnu.org/manual/en/html_node/Invoking-guix-package.html#Inv= oking-guix-package You proposed: << 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). >> And I agree. I also had issue and I remember asking on IRC explanations. Do you have already a patch? If no, do you plan to prepare one? Thank you in advance for any comments. All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 03 07:49:08 2019 Received: (at 26170) by debbugs.gnu.org; 3 Dec 2019 12:49:08 +0000 Received: from localhost ([127.0.0.1]:39389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ic7c4-0002d0-Hb for submit@debbugs.gnu.org; Tue, 03 Dec 2019 07:49:08 -0500 Received: from pelzflorian.de ([5.45.111.108]:40960 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ic7c2-0002cr-7L for 26170@debbugs.gnu.org; Tue, 03 Dec 2019 07:49:07 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 983D83604DA; Tue, 3 Dec 2019 13:49:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1575377344; bh=A/bjo3ICKz85oR7c8FrPOCP8bcV5wmGFEK2B2C2NyeY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dNm1/vTyrI4njH72aaLX/bdS3x1+3JcrRYULi3q6VTmOtON1fMXtABqGrjH72Igpt rdYqsMF2wYNF/jidyQzq3owIq335JUJOiwF5oo5UpQYvxDzfzD5jbhHZVzBDdoJbaj Lp8HNGtfYc6jCWotRN1OKu8W6RcZPdtn5c7zr25E= Date: Tue, 3 Dec 2019 13:49:04 +0100 From: "pelzflorian (Florian Pelz)" To: zimoun Subject: Re: Bug #26170 Hunting: doc: Explanation of propagated-inputs unclear Message-ID: <20191203124904.lotocvk7htki2ill@pelzflorian.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26170 Cc: 26170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Dec 03, 2019 at 01:14:05PM +0100, zimoun wrote: > Dear Florian, > > You report this bug [1] a couple of years ago about unclear > explanations of the term propagated-inputs. > […] > Do you have already a patch? If no, do you plan to prepare one? > > > Thank you in advance for any comments. > > All the best, > simon Sorry I had totally forgotten about my bug report and do not have a patch. I do not have time at the moment or good knowledge of current documentation and discussions, sorry. I would be most happy if you and/or others made patches for better explanations of profiles, environments and propagated inputs. Thank you for looking at / searching for old (but current) issues. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 09 09:25:59 2020 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 To: "pelzflorian (Florian Pelz)" Subject: Re: bug#26170: Bug #26170 Hunting: doc: Explanation of propagated-inputs unclear 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-Debbugs-Envelope-To: 26170 Cc: 26170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 09 11:10:37 2020 Received: (at 26170) by debbugs.gnu.org; 9 Sep 2020 15:10:37 +0000 Received: from localhost ([127.0.0.1]:32906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG1k4-0002qo-LF for submit@debbugs.gnu.org; Wed, 09 Sep 2020 11:10:36 -0400 Received: from pelzflorian.de ([5.45.111.108]:59624 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG1k1-0002qf-Ty for 26170@debbugs.gnu.org; Wed, 09 Sep 2020 11:10:35 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 6AF7036055C; Wed, 9 Sep 2020 17:10:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1599664232; bh=7xDxgMzuCnSZmNsPFgq45U0OQ1ZH8BwvCoTvQD9jQtQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=cFFKh79qWe7tgV7o+ltppvDYnxvNf4p4ghLdpmPYQuiJeiwGuzzXia7ZiaBEcpRkX vXRlu23yVxV+rFC9JCLNpFq6sNIwoiNRflrLArWXKizYrw7N3wBU6xJdO61dmV6zuw N40ceuizP5wxP+ESYUM8wPgaL4Mxcut+owCrgdh0= Date: Wed, 9 Sep 2020 17:10:21 +0200 From: "pelzflorian (Florian Pelz)" To: zimoun Subject: Re: bug#26170: Bug #26170 Hunting: doc: Explanation of propagated-inputs unclear Message-ID: <20200909151021.dnte7uodi3gj5t6r@pelzflorian.localdomain> References: <20191203124904.lotocvk7htki2ill@pelzflorian.localdomain> <87h7s7ulo4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ph22iexfsimeorxv" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87h7s7ulo4.fsf@gmail.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26170 Cc: 26170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --ph22iexfsimeorxv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Thank you for bringing up this bug again with detailed cross-referencing. Sorry for not sending a patch earlier. I do not think it makes sense to close yet. I attach a proposed patch now (its text is not properly wrapped yet). It may contain misunderstandings about propagated inputs as I have not packaged much. On Wed, Sep 09, 2020 at 03:25:31PM +0200, zimoun wrote: > Currently, the term “propagated inputs” in the index [2] goes to the > section “Invoking guix package” [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—unless they had also been explicitly > installed by the user. > > with the hyperlink [4] mentioning: Note the text currently in the manual is the same as back then when I filed the bug. When starting to read about propagated inputs in the documentation of `guix package --install`, I agree, it is clear enough, the reader will understand that propagated inputs get treated like with `guix package --install` and the reader need not think about profiles and the store. However, back then I may have gotten confused because I started off reading the Defining Packages section without the context of `guix package --install`. In this context, I may have been thinking of installation to a directory rather than a user running `guix install`. > 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 – I presume it is also needed at run time and > not just). I was mistaken about 3). I am glad Ricardo Wurmus packaged Evolution. Apparently I was wrong and evolution does not need evolution-data-server as a propagated-input. Regards, Florian --ph22iexfsimeorxv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-doc-Clarify-what-propagated-inputs-are.patch" >From fd4955cd0a61e92c37a371e4c5411a505ad5ac76 Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Wed, 9 Sep 2020 16:54:04 +0200 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [PATCH] doc: Clarify what propagated inputs are. Fixes . * doc/guix.texi (package Reference)[package-propagated-inputs]: Clarify. --- doc/guix.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 1d6782e6fa..0a5640b174 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -6360,21 +6360,21 @@ this area (@pxref{Invoking guix lint}). @anchor{package-propagated-inputs} Lastly, @code{propagated-inputs} is similar to @code{inputs}, but the -specified packages will be automatically installed alongside the package +specified packages will be automatically installed to profiles (@pxref{Features, the role of profiles in Guix}) alongside the package they belong to (@pxref{package-cmd-propagated-inputs, @command{guix package}}, for information on how @command{guix package} deals with propagated inputs). -For example this is necessary when a C/C++ library needs headers of +For example this is necessary when packaging a C/C++ library that needs headers of another library to compile, or when a pkg-config file refers to another one @i{via} its @code{Requires} field. Another example where @code{propagated-inputs} is useful is for languages that lack a facility to record the run-time search path akin to the @code{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 @code{propagated-inputs} rather than @code{inputs}. +more. When packaging libraries written in those languages, ensure they can find +library code they depend on at run time by listing run-time dependencies +in @code{propagated-inputs} rather than @code{inputs}. @item @code{outputs} (default: @code{'("out")}) The list of output names of the package. @xref{Packages with Multiple -- 2.28.0 --ph22iexfsimeorxv-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 09 11:45:57 2020 Received: (at 26170) by debbugs.gnu.org; 9 Sep 2020 15:45:57 +0000 Received: from localhost ([127.0.0.1]:33006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG2IH-0005z5-CB for submit@debbugs.gnu.org; Wed, 09 Sep 2020 11:45:57 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:42750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG2IE-0005yr-UY for 26170@debbugs.gnu.org; Wed, 09 Sep 2020 11:45:55 -0400 Received: by mail-wr1-f66.google.com with SMTP id c18so3479807wrm.9 for <26170@debbugs.gnu.org>; Wed, 09 Sep 2020 08:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=aDHNxNclAAIF1V5Vl6OoK5Yuo8KUq4EJc7o5oPtCFQk=; b=ejhxFYTh4riSRRhqpwNplLtkj2PSOATIkAuv+ynLRQh98M4C5jo0Vk1L6nNK7cGqeU 7rTf8g6qStz/AMKTzFckBwnP63uRjFMSn6iiKg+Gy51ymq3wchTFasZq+Yl6G+thUJ7y lKEeIbhrmu2LQRd4ID2Wgn7u+K1q8BoRkRYi2lG7kktBMGmmLyu5uqYa0UcThRNjIfVC wmRRBhUJDfYXl6iGeVru2C6klnFyV+AZWo9JWkG9/YmpzhrgnE6/hQvLZX77MC2wuYGO BN5nU1goG2CUhtMulEs88orLqWeNoh+OveEe+zKd4WKxkMu/42PKEoQIV9kGO4Zr7ASN 4WFw== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=aDHNxNclAAIF1V5Vl6OoK5Yuo8KUq4EJc7o5oPtCFQk=; b=kSNuJqN+dUYpMiYbYBHc+/59ixwGvGgHwBiDZjb8WDaoIWLVK2/cTjXpfjucZYeZbJ wODJV6DsHt2SdBlpynL+MC4SVpHJotVm9mfl1BjDb1PqAcRTjEs1Ey9BXx7gwsmKYAii sFQaGNi54IKCzPtO9+S/CQPGnwryeMlgHmlgUnIVrZOa/m+tbtDbn7URmxu2kKHl9me1 gR7NR4ptu0HpZK90KF5K9xCZyDrFCn+a8iDhGAL84d6kSba+GkWqZnud8f0V8npPf3+q ad7DDH4rnvXV6Agnm6jQlQjSU7if1kmMGIOcBqL+QClD+oVBS3Gp0QWUGVpIERA0r6u0 tyWA== X-Gm-Message-State: AOAM5332zk/lnjvH3DRSyGg5HE2+KAnFylZqE0bRDRuGlAnL/6DlBBr6 GBPfdKb7P9hsOT523WJrHCMQmqd2hnY= X-Google-Smtp-Source: ABdhPJwMrJiFf3NqQ6w02KsBvAzZG01HlBjK21VRssQR5JV+brev+SXJamy8Cw9WBrALLGENmmHJcg== X-Received: by 2002:adf:fc92:: with SMTP id g18mr4864244wrr.201.1599666348745; Wed, 09 Sep 2020 08:45:48 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id t22sm5166476wmt.1.2020.09.09.08.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 08:45:48 -0700 (PDT) From: zimoun To: "pelzflorian (Florian Pelz)" Subject: Re: bug#26170: Bug #26170 Hunting: doc: Explanation of propagated-inputs unclear References: <20191203124904.lotocvk7htki2ill@pelzflorian.localdomain> <87h7s7ulo4.fsf@gmail.com> <20200909151021.dnte7uodi3gj5t6r@pelzflorian.localdomain> Date: Wed, 09 Sep 2020 17:45:47 +0200 In-Reply-To: <20200909151021.dnte7uodi3gj5t6r@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Wed, 9 Sep 2020 17:10:21 +0200") Message-ID: <874ko7uf6c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26170 Cc: 26170@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, 09 Sep 2020 at 17:10, "pelzflorian (Florian Pelz)" wrote: > Thank you for bringing up this bug again with detailed > cross-referencing. Sorry for not sending a patch earlier. My pleasure. :-) >>>From fd4955cd0a61e92c37a371e4c5411a505ad5ac76 Mon Sep 17 00:00:00 2001 > From: Florian Pelz > Date: Wed, 9 Sep 2020 16:54:04 +0200 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > Subject: [PATCH] doc: Clarify what propagated inputs are. > > Fixes . > > * doc/guix.texi (package Reference)[package-propagated-inputs]: Clarify. > --- > doc/guix.texi | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index 1d6782e6fa..0a5640b174 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -6360,21 +6360,21 @@ this area (@pxref{Invoking guix lint}). > > @anchor{package-propagated-inputs} > Lastly, @code{propagated-inputs} is similar to @code{inputs}, but the > -specified packages will be automatically installed alongside the package > +specified packages will be automatically installed to profiles (@pxref{Features, the role of profiles in Guix}) alongside the package Do not forget the correct filling length. :-) > they belong to (@pxref{package-cmd-propagated-inputs, @command{guix > package}}, for information on how @command{guix package} deals with > propagated inputs). > > -For example this is necessary when a C/C++ library needs headers of > +For example this is necessary when packaging a C/C++ library that needs headers of Idem. > another library to compile, or when a pkg-config file refers to another > one @i{via} its @code{Requires} field. > > Another example where @code{propagated-inputs} is useful is for languages > that lack a facility to record the run-time search path akin to the > @code{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 @code{propagated-inputs} rather than @code{inputs}. > +more. When packaging libraries written in those languages, ensure they can find > +library code they depend on at run time by listing run-time dependencies > +in @code{propagated-inputs} rather than @code{inputs}. Idem. And my English is not good enough to read the difference. :-) > @item @code{outputs} (default: @code{'("out")}) > The list of output names of the package. @xref{Packages with Multiple All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 06:37:40 2020 Received: (at 26170) by debbugs.gnu.org; 16 Sep 2020 10:37:40 +0000 Received: from localhost ([127.0.0.1]:33329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIUom-0000QW-9Q for submit@debbugs.gnu.org; Wed, 16 Sep 2020 06:37:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIUok-0000QK-Hu for 26170@debbugs.gnu.org; Wed, 16 Sep 2020 06:37:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37362) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIUoe-0006lC-O9; Wed, 16 Sep 2020 06:37:32 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39280 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kIUoe-0003az-AY; Wed, 16 Sep 2020 06:37:32 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian (Florian Pelz)" Subject: Re: bug#26170: Bug #26170 Hunting: doc: Explanation of propagated-inputs unclear References: <20191203124904.lotocvk7htki2ill@pelzflorian.localdomain> <87h7s7ulo4.fsf@gmail.com> <20200909151021.dnte7uodi3gj5t6r@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Jour de la Vertu de =?utf-8?Q?l'Ann=C3=A9e?= 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 16 Sep 2020 12:37:20 +0200 In-Reply-To: <20200909151021.dnte7uodi3gj5t6r@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Wed, 9 Sep 2020 17:10:21 +0200") Message-ID: <87een2nh27.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26170 Cc: 26170@debbugs.gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, "pelzflorian (Florian Pelz)" skribis: > From fd4955cd0a61e92c37a371e4c5411a505ad5ac76 Mon Sep 17 00:00:00 2001 > From: Florian Pelz > Date: Wed, 9 Sep 2020 16:54:04 +0200 > Content-Type: text/plain; charset=3DUTF-8 > Content-Transfer-Encoding: 8bit > Subject: [PATCH] doc: Clarify what propagated inputs are. > > Fixes . > > * doc/guix.texi (package Reference)[package-propagated-inputs]: Clarify. > --- > doc/guix.texi | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index 1d6782e6fa..0a5640b174 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -6360,21 +6360,21 @@ this area (@pxref{Invoking guix lint}). >=20=20 > @anchor{package-propagated-inputs} > Lastly, @code{propagated-inputs} is similar to @code{inputs}, but the > -specified packages will be automatically installed alongside the package > +specified packages will be automatically installed to profiles (@pxref{F= eatures, the role of profiles in Guix}) alongside the package Like zimoun wrote, please introduce a newline. > Another example where @code{propagated-inputs} is useful is for languages > that lack a facility to record the run-time search path akin to the > @code{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 @code{propagated-inputs} rather than @code{inputs}. > +more. When packaging libraries written in those languages, ensure they = can find > +library code they depend on at run time by listing run-time dependencies > +in @code{propagated-inputs} rather than @code{inputs}. I=E2=80=99m not convinced about this hunk; it uses imperative tense towards= the reader to state the same thing no? Otherwise LGTM, thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 09:28:07 2020 Received: (at 26170) by debbugs.gnu.org; 16 Sep 2020 13:28:08 +0000 Received: from localhost ([127.0.0.1]:33578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIXTj-0006m8-LA for submit@debbugs.gnu.org; Wed, 16 Sep 2020 09:28:07 -0400 Received: from pelzflorian.de ([5.45.111.108]:44966 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIXTg-0006lw-P9 for 26170@debbugs.gnu.org; Wed, 16 Sep 2020 09:28:06 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 88A58360566; Wed, 16 Sep 2020 15:28:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1600262883; bh=fPAFudlRnyDHuBygVGBd+aaSgfNPEu3cO20zf9YQRMU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=KfradOgI5ISVltzrHdqwNj549e8Na180YT250XdFiuWwrL9TYuniCom3hJLT5fj3m no2qxAnqSnJI5XdGadFQj3Qs2ZPb+wolBd1iMDipkphq3uiEAbIzQgQwMbs1xJnmjb b8sGQaFgBIK+ytgrkm80JtMg76s8IlgesTDCG2n8= Date: Wed, 16 Sep 2020 15:27:52 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26170: Bug #26170 Hunting: doc: Explanation of propagated-inputs unclear Message-ID: <20200916132752.cfkabi2bdmgpdnm3@pelzflorian.localdomain> References: <20191203124904.lotocvk7htki2ill@pelzflorian.localdomain> <87h7s7ulo4.fsf@gmail.com> <20200909151021.dnte7uodi3gj5t6r@pelzflorian.localdomain> <87een2nh27.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87een2nh27.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26170 Cc: 26170@debbugs.gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, Sep 16, 2020 at 12:37:20PM +0200, Ludovic Courtès wrote: > "pelzflorian (Florian Pelz)" skribis: > > Another example where @code{propagated-inputs} is useful is for languages > > that lack a facility to record the run-time search path akin to the > > @code{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 @code{propagated-inputs} rather than @code{inputs}. > > +more. When packaging libraries written in those languages, ensure they can find > > +library code they depend on at run time by listing run-time dependencies > > +in @code{propagated-inputs} rather than @code{inputs}. > > I’m not convinced about this hunk; it uses imperative tense towards the > reader to state the same thing no? The difference is “When packaging libraries”. I suppose the intention is that propagated-inputs be declared as part of library packages and not as part of the application using those libraries. I am unsure if I understand correctly if “When packaging libraries” is not explicitly stated. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 17 15:45:20 2020 Received: (at 26170) by debbugs.gnu.org; 17 Sep 2020 19:45:20 +0000 Received: from localhost ([127.0.0.1]:39157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIzqK-0006tm-4C for submit@debbugs.gnu.org; Thu, 17 Sep 2020 15:45:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIzqI-0006tX-F1 for 26170@debbugs.gnu.org; Thu, 17 Sep 2020 15:45:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44241) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIzqC-0004KG-O4; Thu, 17 Sep 2020 15:45:12 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39974 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kIzqB-0007Zr-IB; Thu, 17 Sep 2020 15:45:11 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian (Florian Pelz)" Subject: Re: bug#26170: Bug #26170 Hunting: doc: Explanation of propagated-inputs unclear References: <20191203124904.lotocvk7htki2ill@pelzflorian.localdomain> <87h7s7ulo4.fsf@gmail.com> <20200909151021.dnte7uodi3gj5t6r@pelzflorian.localdomain> <87een2nh27.fsf@gnu.org> <20200916132752.cfkabi2bdmgpdnm3@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Jour du =?utf-8?Q?G=C3=A9nie?= de =?utf-8?Q?l'Ann?= =?utf-8?Q?=C3=A9e?= 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 17 Sep 2020 21:45:09 +0200 In-Reply-To: <20200916132752.cfkabi2bdmgpdnm3@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Wed, 16 Sep 2020 15:27:52 +0200") Message-ID: <87tuvw6vcq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26170 Cc: 26170@debbugs.gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, "pelzflorian (Florian Pelz)" skribis: > On Wed, Sep 16, 2020 at 12:37:20PM +0200, Ludovic Court=C3=A8s wrote: >> "pelzflorian (Florian Pelz)" skribis: >> > Another example where @code{propagated-inputs} is useful is for langu= ages >> > that lack a facility to record the run-time search path akin to the >> > @code{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 @code{propagated-inputs} rather than @code{inputs}. >> > +more. When packaging libraries written in those languages, ensure th= ey can find >> > +library code they depend on at run time by listing run-time dependenc= ies >> > +in @code{propagated-inputs} rather than @code{inputs}. >>=20 >> I=E2=80=99m not convinced about this hunk; it uses imperative tense towa= rds the >> reader to state the same thing no? > > The difference is =E2=80=9CWhen packaging libraries=E2=80=9D. I suppose = the intention > is that propagated-inputs be declared as part of library packages and > not as part of the application using those libraries. I am unsure if > I understand correctly if =E2=80=9CWhen packaging libraries=E2=80=9D is n= ot explicitly > stated. Oh I see, that makes sense to me. Go ahead! :-) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 18 05:08:56 2020 Received: (at 26170-done) by debbugs.gnu.org; 18 Sep 2020 09:08:56 +0000 Received: from localhost ([127.0.0.1]:40847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJCO0-0002Gl-Dl for submit@debbugs.gnu.org; Fri, 18 Sep 2020 05:08:56 -0400 Received: from pelzflorian.de ([5.45.111.108]:47362 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJCNy-0002Ga-Fv for 26170-done@debbugs.gnu.org; Fri, 18 Sep 2020 05:08:55 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 87885360566; Fri, 18 Sep 2020 11:08:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1600420133; bh=WgTB9SvLHvfZ4jcTJJq3DpIjAbY3xNS89dBIiWbFgFA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=MieV8yWrHBDhPSbqKGDcdKOjzUa0baWniL6nPDNIeqF8XZVIS65WRtYYT37BZgkD/ 5mUjBJaw8W7AXFfOOzz+CRjGUpA39dTRt16Gkk7r7H/QicI26f76aYdbvRQ2n6fuYJ LvfZL98FO0Y9I/tbK7SiH7/n2kjWGetOx9v0g8Gk= Date: Fri, 18 Sep 2020 11:08:42 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26170: Bug #26170 Hunting: doc: Explanation of propagated-inputs unclear Message-ID: <20200918090842.dqv3w6h5dq4otqzx@pelzflorian.localdomain> References: <20191203124904.lotocvk7htki2ill@pelzflorian.localdomain> <87h7s7ulo4.fsf@gmail.com> <20200909151021.dnte7uodi3gj5t6r@pelzflorian.localdomain> <87een2nh27.fsf@gnu.org> <20200916132752.cfkabi2bdmgpdnm3@pelzflorian.localdomain> <87tuvw6vcq.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tuvw6vcq.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26170-done Cc: 26170-done@debbugs.gnu.org, zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thank you both! Pushed as 125fc37e5f32afdbd1e5fca119c9eb41e7ad8ec1. Closing. Regards, Florian From unknown Mon Aug 18 11:27:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 16 Oct 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator