From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#26302: [website] translations Date: Wed, 6 Nov 2019 19:30:15 +0100 Message-ID: <20191106183015.uivozksjlxx4krw5@pelzflorian.localdomain> References: <20190908171638.cna67eearj4rbn2k@pelzflorian.localdomain> <16d18a5a9e8.12ab66c8254154.2756956535677606704@zoho.com> <20190915201819.3yxm25fayvbxwdpl@pelzflorian.localdomain> <20191007081502.wog4q4wjptvhmejf@pelzflorian.localdomain> <874kznbqa5.fsf@gnu.org> <20191102131515.sq6mlvwsfybagsd2@pelzflorian.localdomain> <87ftj38spn.fsf@gnu.org> <20191105073130.j5eft6jgqhkcnqf3@pelzflorian.localdomain> <20191105111112.xfryncx6ut3ggqaj@pelzflorian.localdomain> <87k18d12a7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="pjwnmai5rxuwfeb6" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57539) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSQ59-0001Aa-8F for bug-guix@gnu.org; Wed, 06 Nov 2019 13:31:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSQ58-0000Yr-3O for bug-guix@gnu.org; Wed, 06 Nov 2019 13:31:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60690) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSQ57-0000YP-Vj for bug-guix@gnu.org; Wed, 06 Nov 2019 13:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSQ57-0001pU-R8 for bug-guix@gnu.org; Wed, 06 Nov 2019 13:31:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87k18d12a7.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: sirgazil , 26302 <26302@debbugs.gnu.org> --pjwnmai5rxuwfeb6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Wed, Nov 06, 2019 at 03:56:48PM +0100, Ludovic Courtès wrote: > I don’t feel strongly about it, but to me, this is a discussion and thus > not quite in line with the style of this section as a reference of ‘guix > build’ options. > > As far as the discussion goes :-), I’d argue that the Corresponding > Source in the spirit of the GPL is the derivation rather than what > ‘--sources’ returns, since the Corresponding Source should include > “build scripts”. I would argue that only functional package managers > are able to support such a strong notion of Corresponding Source. > > Long story short: the discussion is not clear-cut and I’m not sure it > belongs here. :-) > > Thoughts? > > Thanks, > Ludo’. Well said. You convinced me not to make a recommendation. Thank you. I still was surprised about `guix build -S` so I attach a new proposal. Regards, Florian --pjwnmai5rxuwfeb6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-doc-Add-clarification-on-the-source-build-option.patch" >From c9f7b2739392e0d8cf2afa6b2179b2e138c49bc7 Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Wed, 6 Nov 2019 19:28:57 +0100 Subject: [PATCH] doc: Add clarification on the '--source' build option. Emphasize that what the '--source' build option downloads is insufficient for reproducing the packages. * doc/guix.texi (Additional Build Options): Explain more. --- doc/guix.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 30706d9ddd..58b8e41ab4 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -8336,6 +8336,11 @@ The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages}). +Note that @command{guix build -S} compiles the sources only of the +specified packages. They do not include the sources of statically +linked dependencies and by themselves are insufficient for reproducing +the packages. + @item --sources Fetch and return the source of @var{package-or-derivation} and all their dependencies, recursively. This is a handy way to obtain a local copy -- 2.23.0 --pjwnmai5rxuwfeb6--