From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5Zs6-0005sb-21 for guix-patches@gnu.org; Fri, 20 Oct 2017 12:10:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5Zs2-0000ka-1N for guix-patches@gnu.org; Fri, 20 Oct 2017 12:10:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43930) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5Zs1-0000kT-VA for guix-patches@gnu.org; Fri, 20 Oct 2017 12:10:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e5Zs1-0008L4-KU for guix-patches@gnu.org; Fri, 20 Oct 2017 12:10:01 -0400 Subject: [bug#28690] provide a lib output for boost Resent-Message-ID: From: Dave Love References: <87d164b36m.fsf@albion.it.manchester.ac.uk> <874lr6w02b.fsf@gnu.org> <87shefmmm1.fsf@albion.it.manchester.ac.uk> <87infauga6.fsf@gnu.org> Date: Fri, 20 Oct 2017 17:09:39 +0100 In-Reply-To: <87infauga6.fsf@gnu.org> ("Ludovic \=\?iso-8859-1\?Q\?Court\=E8s\?\= \=\?iso-8859-1\?Q\?\=22's\?\= message of "Fri, 20 Oct 2017 14:58:57 +0200") Message-ID: <87wp3pkdh8.fsf@albion.it.manchester.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28690@debbugs.gnu.org, Thomas Danckaert Ludovic Court=C3=A8s writes: > The choice was made to allow package definitions to explicitly state > which outputs of their dependencies they=E2=80=99re interested in. So it= you > have > > `("boost" ,boost) > > that=E2=80=99s only boost:out; if you have: > > `("boost" ,boost "lib") > > that=E2=80=99s only boost:lib. If you want both, you need to specify bot= h. > > So far I don=E2=80=99t think this was considered a problem; on the contra= ry, you > could get fine-grain control, as in glib:out vs. glib:bin. In this > particular case, I agree that it=E2=80=99s annoying to have to specify bo= th. > > If this =E2=80=9Cparticular case=E2=80=9D happens to be common enough, we= can always > revisit the above decision and chance `("boost" ,boost) to mean =E2=80=9C= all the > outputs of boost.=E2=80=9D It looks to me that it will be common if you want to reduce closures. Also, in other distributions you know that you can build-depend on the -dev(el) package and get what you need without having to know about various sub-packages (outputs), and the runtime requirements should be minimal (although there are sometimes problems with unnecessary dependencies). As far as I know, Guix doesn't have an easy way to find what provides particular files to determine the inputs. I don't think these things are fundamental, obviously, and I may just be too set in my ways from other systems. It's all meant as constructive criticism, of course.