GNU bug report logs - #37732
glib propagates util-linux

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Diego Nicola Barbato <dnbarbato@HIDDEN>; dated Sun, 13 Oct 2019 11:50:03 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 37732 <at> debbugs.gnu.org:


Received: (at 37732) by debbugs.gnu.org; 3 Nov 2019 16:47:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 03 11:47:45 2019
Received: from localhost ([127.0.0.1]:34971 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iRJ2W-0001u6-Ck
	for submit <at> debbugs.gnu.org; Sun, 03 Nov 2019 11:47:45 -0500
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41889)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1iRJ2U-0001tg-2P
 for 37732 <at> debbugs.gnu.org; Sun, 03 Nov 2019 11:47:42 -0500
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id DA1D021391;
 Sun,  3 Nov 2019 11:47:36 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Sun, 03 Nov 2019 11:47:36 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 from:to:cc:subject:in-reply-to:references:date:message-id
 :mime-version:content-type; s=fm1; bh=9TpIlFYbbc71PvH9Ps4ONGvTUl
 vQfyiFfLJx059aJbw=; b=G24zoGLWeMCY5Azv58r8Zt5bjIKAVN8SY13z0izRON
 fLXFFf0YtT9VVRkcLysvdvyccxTJowHEVZuYHc6czkm7IHhlWaVn4igxoY5LkojX
 3szFIU7X598XL/jNUAXdk368zjz1w0kCZ7fKQOr+w4OJ2YtSywg0Yyy9lwRSwtLY
 n5b7YL4Ipk7H8gYvC7D5qaeyBG/bFRLD82n+9S2zbyfsQLnOFeGVU9qvWovmmcLY
 HUD4JxgKtn078aji9w6pURb1GRFBIwce6f7bvf/zXU1lcaZ2FpMlPm2M+qseoGE9
 rWY62vqwU8w/JSScBfjVc8gDdKXdUt9jWFhSdiKqqDMw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=9TpIlF
 Ybbc71PvH9Ps4ONGvTUlvQfyiFfLJx059aJbw=; b=EaSwCq7PVPqnKUR7oim899
 qGMavNrILtqHHo/H41qaL0fkQljx69Z8YyYQ4T2pPMkJ8NRdLHkFR8wB5+P8SaYe
 4LW0Hs7Ft5NATpcT2c7MU3x/n+Lk+wQYry3+ySOrFX2bFDKXsTvHwL6dh3LfrxYB
 C3DWkU+CrtybcuY4UyfmeTeTO5S7NLtwUFmvfc6SJsfqKXB9G+Vx6xqCK69D9U61
 A7f87NoQEAgf22i5vCFwK8XeGk/kxThpu/ZrpwTl1v93d5iEO+3iiKnwGIDrW6KZ
 3LCBXOAjTQn54mi08fj6Rz8J3fXoIsrXte9b7R5M+ZkVOE/ESusG/zAMqxydyB1w
 ==
X-ME-Sender: <xms:qAS_XWpkQPO7KM8as9s_RynS6DR0hkhbCARRr1VkA280bE11ZlmaSQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudduuddgleeiucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufgjfhgffffkgggtsehgtderredtreejnecuhfhrohhmpeforghrihhu
 shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucffohhmrg
 hinhepghhnuhdrohhrghenucfkphepiedvrdduiedrudelvddrudehtdenucfrrghrrghm
 pehmrghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdrtghomhenucevlhhush
 htvghrufhiiigvpedt
X-ME-Proxy: <xmx:qAS_XZ4GWfka7QSLfOXjqi8T0cEGtyhT3wePCevTGaEb3u-UbaUBIA>
 <xmx:qAS_Xc5kFR1q7rGkCW84PCM-XKo14gAB_VYyrWdgZVPBsAVqsez4mg>
 <xmx:qAS_XeH13WCAHMPwy9mEFluA9Bkmlw4_gSKLPP0zJQ5VEG6qofWhYg>
 <xmx:qAS_XV326ONzfAYx4XicOTPOqfJL_aKwv75aoEcYOQjEYADz-hjwcw>
Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150])
 by mail.messagingengine.com (Postfix) with ESMTPA id E6A553060060;
 Sun,  3 Nov 2019 11:47:35 -0500 (EST)
From: Marius Bakke <mbakke@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#37732: mps-youtube propagates util-linux
In-Reply-To: <87eeyrbqw5.fsf@HIDDEN>
References: <875zks27rf.fsf@HIDDEN> <878spo3en3.fsf@HIDDEN>
 <87eeyrbqw5.fsf@HIDDEN>
User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.3
 (x86_64-pc-linux-gnu)
Date: Sun, 03 Nov 2019 17:47:34 +0100
Message-ID: <875zk0q53t.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 37732
Cc: 37732 <at> debbugs.gnu.org, Diego Nicola Barbato <dnbarbato@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi!
>
> Marius Bakke <mbakke@HIDDEN> skribis:
>
>> Diego Nicola Barbato <dnbarbato@HIDDEN> writes:
>>
>>> Hi Guix,
>>>
>>> An unfortunate chain of propagated-inputs causes 'util-linux' (mount,
>>> umount, etc.) to be installed alongside 'mps-youtube': 'mps-youtube'
>>> propagates 'python-pygobject', which propagates 'glib', which propagates
>>> 'util-linux'.  It seems to have been introduced with commit 6c237a2,
>>> when 'util-linux' was moved to the propagated-inputs of 'glib'.
>
> Do we know why this commit moved =E2=80=98util-linux=E2=80=99 to propagat=
ed-inputs?
> Presumably because of this line in =E2=80=98gio-2.0.pc=E2=80=99, right?
>
>   Requires.private: gmodule-no-export-2.0, zlib, mount >=3D 2.23, libseli=
nux

I assume so.

> If it=E2=80=99s =E2=80=9Cjust=E2=80=9D because of this, I=E2=80=99d say w=
e don=E2=80=99t need to propagate
> =E2=80=98util-linux=E2=80=99: we only build shared libraries for GLib any=
way, so none of
> our packages actually use =E2=80=98Requires.private=E2=80=99.  If we were=
 to add
> packages requiring it, it=E2=80=99s fine to just add =E2=80=98mount=E2=80=
=99 as an explicit
> inputs of these packages IMO.
>
> We could follow the same reasoning for the other things that are
> propagated due to their being listed in =E2=80=98Requires.private=E2=80=
=99.
>
> Thoughts?

Right.  You know, I had forgotten that Requires.private were for static
libraries.  Thanks for pointing that out.  I think quite a few packages
propagate Requires.private dependencies without using static libraries.

Something to watch out for in the ongoing quest to purge static
libraries from Guix.

> Moving =E2=80=98util-linux=E2=80=99 back to =E2=80=98inputs=E2=80=99 coul=
d perhaps be done on the next
> =E2=80=98staging=E2=80=99 or on =E2=80=98core-updates=E2=80=99.

util-linux now has 7880 dependent packages, as 'fontconfig' recently
started depending on it.  So it must go through 'core-updates'.  Luckily
that branch is slated to start by the end of this month, so the waiting
time should not be too long.

>> I have attached a WIP patch that fixes this "long term", by moving the
>> util-linux libraries to a separate output.  It rebuilds 7753 packages
>> and is intended for the 'core-updates' branch.
>>
>> From b9cbe08694ddd8248ac32ce60d5fc40d5c619a54 Mon Sep 17 00:00:00 2001
>> From: Marius Bakke <mbakke@HIDDEN>
>> Date: Sun, 13 Oct 2019 16:07:44 +0200
>> Subject: [PATCH] gnu: util-linux: Move libraries to separate output.
>>
>> Fixes <https://bugs.gnu.org/37732>.
>> Reported by Diego Nicola Barbato <dnbarbato@HIDDEN>.
>>
>> * gnu/packages/linux.scm (util-linux)[outputs]: Add "dev".
>> [arguments]: Update #:configure-flags accordingly.  Add phase
>> "adjust-bindirs", and rename "move-static-libraries" to "move-libraries",
>> while adding a substitution for the .pc files.
>> * gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Use the "d=
ev"
>> output of UTIL-LINUX.
>> * gnu/packages/glib.scm (glib)[propagated-inputs]: Likewise.
>
> [...]
>
>> --- a/gnu/packages/linux.scm
>> +++ b/gnu/packages/linux.scm
>> @@ -1089,19 +1089,40 @@ providing the system administrator with some hel=
p in common tasks.")
>>                      (("build_kill=3Dyes") "build_kill=3Dno"))
>>                    #t))))
>>      (build-system gnu-build-system)
>> -    (outputs '("out"
>> -               "static"))      ; >2 MiB of static .a libraries
>> +    (outputs '("out"                   ;6.4 MiB executables and documen=
tation
>> +               "dev"                   ;8.8 MiB shared libraries, heade=
rs and locales
>> +               "static"))              ;2.9 MiB static .a libraries
>
> Shared libraries are not just for development, so I=E2=80=99d say it shou=
ld be
> =E2=80=9Clib=E2=80=9D instead, no?

Agreed.  Will adjust this patch accordingly once I get around to start
working on 'core-updates'.  :-)

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2/BKYACgkQoqBt8qM6
VPr73Qf/TAyTfm9Nv5zHKQZ6U2NJB9GUIg0lxIKB9HH/O0qzxgS2svJlxR/kzxn/
b+ldgZ5tLkvpGBekV48W+h4endb3bB8OldYbRH3C0esSZA3YuBTjPABulmbRcygi
mNN9e/EDCxkDG/zHlDB3u9ZQCdaDZ8IdCjaCCY9neagANd+mcmQ92/S9UPn+AzpG
ETM0qserK5DtOr5BIZdbLXy7YfAiZk/FRrlF+w1FxotEpz1FJdiuMOiGjyOr6qBi
PpLp+SaKPgcnjZsO5UegYHv6rKRRa2GEtct6J7Oz6RYHeomFG4+sOhzMgGG9poi8
4PQ/WZnS9sgxP5Auf30wOdFWnKPFQg==
=7JWZ
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37732; Package guix. Full text available.

Message received at 37732 <at> debbugs.gnu.org:


Received: (at 37732) by debbugs.gnu.org; 1 Nov 2019 14:41:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 01 10:41:39 2019
Received: from localhost ([127.0.0.1]:56802 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQY7P-0004uJ-Db
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 10:41:39 -0400
Received: from eggs.gnu.org ([209.51.188.92]:60495)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iQY7N-0004u3-PP
 for 37732 <at> debbugs.gnu.org; Fri, 01 Nov 2019 10:41:38 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:59753)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iQY7I-0001Ck-Jw; Fri, 01 Nov 2019 10:41:32 -0400
Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=58656 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iQY7I-0001wF-3C; Fri, 01 Nov 2019 10:41:32 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Marius Bakke <mbakke@HIDDEN>
Subject: Re: bug#37732: mps-youtube propagates util-linux
References: <875zks27rf.fsf@HIDDEN> <878spo3en3.fsf@HIDDEN>
Date: Fri, 01 Nov 2019 15:41:30 +0100
In-Reply-To: <878spo3en3.fsf@HIDDEN> (Marius Bakke's message of "Sun, 13 Oct
 2019 16:26:40 +0200")
Message-ID: <87eeyrbqw5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
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]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 37732
Cc: 37732 <at> debbugs.gnu.org, Diego Nicola Barbato <dnbarbato@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi!

Marius Bakke <mbakke@HIDDEN> skribis:

> Diego Nicola Barbato <dnbarbato@HIDDEN> writes:
>
>> Hi Guix,
>>
>> An unfortunate chain of propagated-inputs causes 'util-linux' (mount,
>> umount, etc.) to be installed alongside 'mps-youtube': 'mps-youtube'
>> propagates 'python-pygobject', which propagates 'glib', which propagates
>> 'util-linux'.  It seems to have been introduced with commit 6c237a2,
>> when 'util-linux' was moved to the propagated-inputs of 'glib'.

Do we know why this commit moved =E2=80=98util-linux=E2=80=99 to propagated=
-inputs?
Presumably because of this line in =E2=80=98gio-2.0.pc=E2=80=99, right?

  Requires.private: gmodule-no-export-2.0, zlib, mount >=3D 2.23, libselinux

If it=E2=80=99s =E2=80=9Cjust=E2=80=9D because of this, I=E2=80=99d say we =
don=E2=80=99t need to propagate
=E2=80=98util-linux=E2=80=99: we only build shared libraries for GLib anywa=
y, so none of
our packages actually use =E2=80=98Requires.private=E2=80=99.  If we were t=
o add
packages requiring it, it=E2=80=99s fine to just add =E2=80=98mount=E2=80=
=99 as an explicit
inputs of these packages IMO.

We could follow the same reasoning for the other things that are
propagated due to their being listed in =E2=80=98Requires.private=E2=80=99.

Thoughts?

Moving =E2=80=98util-linux=E2=80=99 back to =E2=80=98inputs=E2=80=99 could =
perhaps be done on the next
=E2=80=98staging=E2=80=99 or on =E2=80=98core-updates=E2=80=99.

> I have attached a WIP patch that fixes this "long term", by moving the
> util-linux libraries to a separate output.  It rebuilds 7753 packages
> and is intended for the 'core-updates' branch.
>
> From b9cbe08694ddd8248ac32ce60d5fc40d5c619a54 Mon Sep 17 00:00:00 2001
> From: Marius Bakke <mbakke@HIDDEN>
> Date: Sun, 13 Oct 2019 16:07:44 +0200
> Subject: [PATCH] gnu: util-linux: Move libraries to separate output.
>
> Fixes <https://bugs.gnu.org/37732>.
> Reported by Diego Nicola Barbato <dnbarbato@HIDDEN>.
>
> * gnu/packages/linux.scm (util-linux)[outputs]: Add "dev".
> [arguments]: Update #:configure-flags accordingly.  Add phase
> "adjust-bindirs", and rename "move-static-libraries" to "move-libraries",
> while adding a substitution for the .pc files.
> * gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Use the "de=
v"
> output of UTIL-LINUX.
> * gnu/packages/glib.scm (glib)[propagated-inputs]: Likewise.

[...]

> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -1089,19 +1089,40 @@ providing the system administrator with some help=
 in common tasks.")
>                      (("build_kill=3Dyes") "build_kill=3Dno"))
>                    #t))))
>      (build-system gnu-build-system)
> -    (outputs '("out"
> -               "static"))      ; >2 MiB of static .a libraries
> +    (outputs '("out"                   ;6.4 MiB executables and document=
ation
> +               "dev"                   ;8.8 MiB shared libraries, header=
s and locales
> +               "static"))              ;2.9 MiB static .a libraries

Shared libraries are not just for development, so I=E2=80=99d say it should=
 be
=E2=80=9Clib=E2=80=9D instead, no?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#37732; Package guix. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to 'glib propagates util-linux' from 'mps-youtube propagates util-linux' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 37732 <at> debbugs.gnu.org:


Received: (at 37732) by debbugs.gnu.org; 15 Oct 2019 14:29:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 15 10:29:40 2019
Received: from localhost ([127.0.0.1]:44663 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iKNpU-0005Tq-HN
	for submit <at> debbugs.gnu.org; Tue, 15 Oct 2019 10:29:40 -0400
Received: from mout02.posteo.de ([185.67.36.66]:44853)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dnbarbato@HIDDEN>) id 1iKNpS-0005TV-4B
 for 37732 <at> debbugs.gnu.org; Tue, 15 Oct 2019 10:29:39 -0400
Received: from submission (posteo.de [89.146.220.130]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 9BB3A2400FB
 for <37732 <at> debbugs.gnu.org>; Tue, 15 Oct 2019 16:29:31 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017;
 t=1571149771; bh=r6VyK9A0yGgdVBASxWjOBNtndHMm31/0LwsodPLGTzc=;
 h=From:To:Cc:Subject:Date:From;
 b=dTcX4SPfDlZzZHxnHCFDrT6c5hBYG1TWTbwgPblKcgUEkusziFr19UY4ajw6Q5p4q
 ZF/Xk9cm51t23RR+T2HAOhtfoqHK5qewNobFAsYkoNRQRg8K9xMNugPfVPchEwVAo0
 mC6+6c0Aa39xSqeYRNiTXrdiflvya9HQM4VMf1qqpxNJjU6vtqJgqlDddzx1BC1PGY
 dBa49gX5NxJmlLLGuSPAIcmt0DX0kyKyI8s8D+A8ApTy5XOIeSl28qahi990LhfNbI
 9MpWvGhjOjxvlXOHzPSMB2FaGv/Lak8/uCSgkvWHyS+edV8WfNCzAxgEAtauzmcoOw
 eTLV+18qN4ahw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 46syVg0X3sz9rxK;
 Tue, 15 Oct 2019 16:29:30 +0200 (CEST)
From: Diego Nicola Barbato <dnbarbato@HIDDEN>
To: Marius Bakke <mbakke@HIDDEN>
Subject: Re: bug#37732: mps-youtube propagates util-linux
References: <875zks27rf.fsf@HIDDEN> <878spo3en3.fsf@HIDDEN>
Date: Tue, 15 Oct 2019 16:29:30 +0200
In-Reply-To: <878spo3en3.fsf@HIDDEN> (Marius Bakke's message of "Sun, 13 Oct
 2019 16:26:40 +0200")
Message-ID: <87ftjuytdh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 37732
Cc: 37732 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello Marius,

Marius Bakke <mbakke@HIDDEN> writes:


[...]


> Diego: one work-around you can try in the meantime is to create a
> ~/setuid-programs, add it first on PATH, and symlink the required
> binaries in there.  Sorry for the inconvenience! 

No worries.  I have simply removed 'mps-youtube' from my profile and use
it with 'guix environment --ad-hoc mps-youtube -- mpsyt' instead.  The
difficult part was finding out which package propagated 'util-linux'.  I
used 'emacs-guix' and lucky guesses to find it (fortunately the profile
only contained 12 packages).

Is there a more convenient way to recursively show all propagated-inputs
of a given package?  It would be interesting to check how prevalent this
propagation pollution is (another example that comes to mind is 'jami',
which installs 125 programs under bin/, of which only about half can be
attributed to 'util-linux').

Thanks,

Diego




Information forwarded to bug-guix@HIDDEN:
bug#37732; Package guix. Full text available.

Message received at 37732 <at> debbugs.gnu.org:


Received: (at 37732) by debbugs.gnu.org; 13 Oct 2019 14:26:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 13 10:26:53 2019
Received: from localhost ([127.0.0.1]:36709 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iJepg-0000hp-Ia
	for submit <at> debbugs.gnu.org; Sun, 13 Oct 2019 10:26:52 -0400
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:47979)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1iJepe-0000hY-5p
 for 37732 <at> debbugs.gnu.org; Sun, 13 Oct 2019 10:26:51 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.west.internal (Postfix) with ESMTP id 038DE4FB;
 Sun, 13 Oct 2019 10:26:43 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Sun, 13 Oct 2019 10:26:44 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 from:to:subject:in-reply-to:references:date:message-id
 :mime-version:content-type; s=fm1; bh=7QC7D48FCnY7MzsJ78DQb/KDMN
 Vhu0TaVtEKRTdndzc=; b=VBjwsaF4ypBxg1yNzsjUw0q/KhtJiQiZHnus13vS+a
 xKdIPOjJFW4lsqaeH6YW4Rd2kWtYlCn0PpRF2RXtoXQ81QiAzqjdeGxkoZXsKFuq
 d/YW5sZJmrjgnBfnDXCeU3jUR6tyhAOxuTHOdlx1EPuPOi6dFhmiLgiCV4WHUa+b
 9qXCme1VYPoPZbAeScemv8XPN35JwQ/WqGYvnv5bdW3D8BpS2Oa1An7m9cw59PyY
 p8eTa1sjC6AuVz/5AKjEKt97bP9NsmSTheyM5mxLa3NfkHP5uv0OCMeP8pcY9E2M
 xI5IpuoxpbWx+pD9eaFyN9KHjiYKWdN0FsnrMuNlo2bw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=7QC7D4
 8FCnY7MzsJ78DQb/KDMNVhu0TaVtEKRTdndzc=; b=cBfeZGn99YWr9T06IYu7gb
 E1pVJ+/5p3QIxu2S4WCv8AO9O3oM7Fa7FV71TCjL3VV06XosKZ3HVcgTyrjkA8u0
 3eP+BK/rL1APBdj1rCdp7TMPw5A/cnyQ/xT2sUBfyVoi4cozfegwPO8cKDL+bUl/
 a0gzBVasOuOXaI8MkHQkrd37Rhs40pbl+BBerdtGj+9x0XGtom/MyDcbW8XBGJzo
 sBV3qm4Fs8FNrnn2o1clq/EgqMqWh88hrWoMj0cXNp+dvrKYWylpXOtuXnkOa6L+
 73XbRpzD2Fj6VtRlAq2J72pHPH+cal6WeYSHjoXEv0U6W3z2byNYAPPt4XHeCvcA
 ==
X-ME-Sender: <xms:IzSjXcL43i9frW0CQ6m55grfThtjzIQ6rIW4ZlZs4FZ60hsKpbidyw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrieelgdejiecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhs
 uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppeeivd
 drudeirdduledvrdduhedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvges
 fhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:IzSjXSD2i0TA0876aBP7ACbAJhgHc5CVDpeNCJYRSuh50UI6cQ07WA>
 <xmx:IzSjXfKrADCm-fBLf1OdpX8dthEyd90ExMU9WBXQ8Xakt8ynEEFepA>
 <xmx:IzSjXahnMaMEe84IbIfW25ONv5dAIPaYaGv3IWWq-AV4WuzZM33mwQ>
 <xmx:IzSjXeZRhbeIat71lVjw66vFFIdRhtZM-7MVTQe7HKeMBEthffEF2A>
Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150])
 by mail.messagingengine.com (Postfix) with ESMTPA id E00F4D6005D;
 Sun, 13 Oct 2019 10:26:42 -0400 (EDT)
From: Marius Bakke <mbakke@HIDDEN>
To: Diego Nicola Barbato <dnbarbato@HIDDEN>, 37732 <at> debbugs.gnu.org
Subject: Re: bug#37732: mps-youtube propagates util-linux
In-Reply-To: <875zks27rf.fsf@HIDDEN>
References: <875zks27rf.fsf@HIDDEN>
User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2
 (x86_64-pc-linux-gnu)
Date: Sun, 13 Oct 2019 16:26:40 +0200
Message-ID: <878spo3en3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 37732
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain

Hello Diego,

Thanks for the report!

Diego Nicola Barbato <dnbarbato@HIDDEN> writes:

> Hi Guix,
>
> An unfortunate chain of propagated-inputs causes 'util-linux' (mount,
> umount, etc.) to be installed alongside 'mps-youtube': 'mps-youtube'
> propagates 'python-pygobject', which propagates 'glib', which propagates
> 'util-linux'.  It seems to have been introduced with commit 6c237a2,
> when 'util-linux' was moved to the propagated-inputs of 'glib'.
>
> This is a problem on foreign distributions, where the stowaway 'mount'
> and 'umount' commands installed by Guix shadow the setuid ones provided
> by the distro.

I have attached a WIP patch that fixes this "long term", by moving the
util-linux libraries to a separate output.  It rebuilds 7753 packages
and is intended for the 'core-updates' branch.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline;
 filename=0001-gnu-util-linux-Move-libraries-to-separate-output.patch
Content-Transfer-Encoding: quoted-printable

From=20b9cbe08694ddd8248ac32ce60d5fc40d5c619a54 Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@HIDDEN>
Date: Sun, 13 Oct 2019 16:07:44 +0200
Subject: [PATCH] gnu: util-linux: Move libraries to separate output.

Fixes <https://bugs.gnu.org/37732>.
Reported by Diego Nicola Barbato <dnbarbato@HIDDEN>.

* gnu/packages/linux.scm (util-linux)[outputs]: Add "dev".
[arguments]: Update #:configure-flags accordingly.  Add phase
"adjust-bindirs", and rename "move-static-libraries" to "move-libraries",
while adding a substitution for the .pc files.
* gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Use the "dev"
output of UTIL-LINUX.
* gnu/packages/glib.scm (glib)[propagated-inputs]: Likewise.
=2D--
 gnu/packages/fontutils.scm |  2 +-
 gnu/packages/glib.scm      |  2 +-
 gnu/packages/linux.scm     | 39 ++++++++++++++++++++++++++++++++------
 3 files changed, 35 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index e355f7bb89..e01ea615be 100644
=2D-- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -304,7 +304,7 @@ fonts to/from the WOFF2 format.")
    ;; In Requires or Requires.private of fontconfig.pc.
    (propagated-inputs `(("expat" ,expat)
                         ("freetype" ,freetype)
=2D                        ("libuuid" ,util-linux)))
+                        ("libuuid" ,util-linux "dev")))
    (inputs `(("gs-fonts" ,gs-fonts)))
    (native-inputs
     `(("gperf" ,gperf)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index c558d9fcb6..ce695843ef 100644
=2D-- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -185,7 +185,7 @@ shared NFS home directories.")
     `(("pcre" ,pcre)  ; in the Requires.private field of glib-2.0.pc
       ("libffi" ,libffi) ; in the Requires.private field of gobject-2.0.pc
       ;; These are in the Requires.private field of gio-2.0.pc
=2D      ("util-linux" ,util-linux)  ; for libmount
+      ("util-linux" ,util-linux "dev")  ;for libmount
       ("libselinux" ,libselinux)
       ("zlib" ,zlib)))
    (inputs
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index bc39757da2..5a7351eaee 100644
=2D-- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1089,19 +1089,40 @@ providing the system administrator with some help i=
n common tasks.")
                     (("build_kill=3Dyes") "build_kill=3Dno"))
                   #t))))
     (build-system gnu-build-system)
=2D    (outputs '("out"
=2D               "static"))      ; >2 MiB of static .a libraries
+    (outputs '("out"                   ;6.4 MiB executables and documentat=
ion
+               "dev"                   ;8.8 MiB shared libraries, headers =
and locales
+               "static"))              ;2.9 MiB static .a libraries
     (arguments
      `(#:configure-flags (list "--disable-use-tty-group"
                                "--enable-fs-paths-default=3D/run/current-s=
ystem/profile/sbin"
                                ;; Don't try to chown root:root mount and u=
mount
                                "--disable-makeinstall-chown"
+                               "--localstatedir=3D/var"
+                               (string-append "--localedir=3D"
+                                              (assoc-ref %outputs "dev")
+                                              "/share/locale")
+                               (string-append "--includedir=3D"
+                                              (assoc-ref %outputs "dev") "=
/include")
+                               (string-append "--exec_prefix=3D"
+                                              (assoc-ref %outputs "dev"))
+                               (string-append "--bindir=3D"
+                                              (assoc-ref %outputs "out") "=
/bin")
+                               (string-append "--sbindir=3D"
+                                              (assoc-ref %outputs "out") "=
/sbin")
                                ;; Install completions where our
                                ;; bash-completion package expects them.
                                (string-append "--with-bashcompletiondir=3D"
                                               (assoc-ref %outputs "out")
                                               "/etc/bash_completion.d"))
        #:phases (modify-phases %standard-phases
+                  (add-before 'configure 'adjust-bindirs
+                    (lambda _
+                      ;; Some binaries are "hard coded" to use $exec_prefi=
x/{,s}bin
+                      ;; instead of --bindir.  Adjust those to use $prefix=
 instead.
+                      (substitute* "configure"
+                        (("\\$\\{exec_prefix\\}/(s?bin)" _ bin)
+                         (string-append "${prefix}/" bin)))
+                      #t))
                   (add-before
                    'build 'set-umount-file-name
                    (lambda* (#:key outputs #:allow-other-keys)
@@ -1122,12 +1143,13 @@ providing the system administrator with some help i=
n common tasks.")
                           (string-append net "/etc/services")))
                        #t)))
                   (add-after
=2D                   'install 'move-static-libraries
+                   'install 'split-outputs
                    (lambda* (#:key outputs #:allow-other-keys)
=2D                     (let ((out    (assoc-ref outputs "out"))
+                     (let ((dev    (assoc-ref outputs "dev"))
                            (static (assoc-ref outputs "static")))
+
                        (mkdir-p (string-append static "/lib"))
=2D                       (with-directory-excursion out
+                       (with-directory-excursion dev
                          (for-each (lambda (file)
                                      (rename-file file
                                                   (string-append static "/"
@@ -1138,7 +1160,12 @@ providing the system administrator with some help in=
 common tasks.")
                          ;; files so that Libtool does the right thing whe=
n both
                          ;; the shared and static library is available.
                          (substitute* (find-files "lib" "\\.la$")
=2D                           (("old_library=3D.*") "old_library=3D''\n")))
+                           (("old_library=3D.*") "old_library=3D''\n"))
+
+                         ;; Finally, drop the unused "prefix=3D" from the =
pkg-config
+                         ;; files to avoid a cyclic reference on "out".
+                         (substitute* (find-files "lib" "\\.pc$")
+                           (("^prefix=3D.*") "")))
=20
                        #t))))))
     (inputs `(("zlib" ,zlib)
=2D-=20
2.23.0


--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


The size of 'fontconfig' (as reported by `guix size`) decreases from
103.6 MiB to 92.1 MiB with this patch.  \o/

Short term I'm not sure what to do.  Perhaps we can add a
"glib-sans-util-linux" variant that does not propagate util-linux?  Or a
variant that propagates a util-linux-sans-binaries?

Diego: one work-around you can try in the meantime is to create a
~/setuid-programs, add it first on PATH, and symlink the required
binaries in there.  Sorry for the inconvenience!=20

--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2jNCAACgkQoqBt8qM6
VPpHXggAlC6rqVd2hB4qSJOKFkhTwPvLk7LL9ewHjT6DJWae5IfVdrLcIvr5I8mC
nd4r3REdQKR70AYazaAj8WhxqTI8ZVsR9uFJUxiXgxdMZeH/Mi+W1N2Q6YTVkU3M
Z94CSHCoF0c1cimYBnVtZRrI1zW9anXlkhU8AgRKeU6FNYB9HMByldWj/fYHTo6U
HhE9RkVECQz9YRWw1BHR1B/U6UT6TwsPenSRVltEkfGFlk+bR9HHu9PoDYSrQmJx
ZjLCcE6gxjMiXw/Jaw6FPP/X+n8ih9Q7epcfvSaXLf2ElcWTh+jPcoZ6f0bFgtys
7B8JLvxQ/chNjXxmTFI0F/QkpPpO1w==
=QuVo
-----END PGP SIGNATURE-----
--==-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37732; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Oct 2019 11:49:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 13 07:49:13 2019
Received: from localhost ([127.0.0.1]:35277 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iJcN7-0002zB-At
	for submit <at> debbugs.gnu.org; Sun, 13 Oct 2019 07:49:13 -0400
Received: from lists.gnu.org ([209.51.188.17]:54609)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dnbarbato@HIDDEN>) id 1iJcN4-0002yv-DE
 for submit <at> debbugs.gnu.org; Sun, 13 Oct 2019 07:49:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36057)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <dnbarbato@HIDDEN>) id 1iJcN3-0004oK-29
 for bug-guix@HIDDEN; Sun, 13 Oct 2019 07:49:10 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dnbarbato@HIDDEN>) id 1iJcEt-0004Wt-8v
 for bug-guix@HIDDEN; Sun, 13 Oct 2019 07:40:47 -0400
Received: from mout02.posteo.de ([185.67.36.66]:37997)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <dnbarbato@HIDDEN>) id 1iJcEs-0004Tg-PJ
 for bug-guix@HIDDEN; Sun, 13 Oct 2019 07:40:43 -0400
Received: from submission (posteo.de [89.146.220.130]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 9C829240100
 for <bug-guix@HIDDEN>; Sun, 13 Oct 2019 13:40:38 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017;
 t=1570966838; bh=F+ySqavcVg1WYdFPDQKkmnRuuIb+OpPm/l5juezYa5k=;
 h=From:To:Subject:Date:From;
 b=l6E6CHOpP4fojyggqddCL/QpaCuZa5v+VUWfY0tI28ScrfROWwGjRWM+IL+VeMKeX
 4PdEf/a+95MHsjVwwohfdBYXLTETUUhZdFUlzG6iqidtDLoSFnm9gUhCSOFFQiMUHQ
 tHxV/fVfZOtHBPMF7Ry8Bru5BAllwd3vDljkcgiJ/2bL+182Y8ghk6BQYAWHqrX0FM
 bkiV+bv3Z5ihqZWSdXZVAdjzpFzYSJUQvUIXw/V7oR0ib0n7RNmqeQE6MJNvp/e+st
 RWLhFFxhSC8q+o/WSPPkaqfSH+RZilbCrVH2XoialiOxIKBIeJoVjo7RcQKVtc3TJw
 r9cRadOw9svgg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 46rfrj1FSfz9rxH
 for <bug-guix@HIDDEN>; Sun, 13 Oct 2019 13:40:36 +0200 (CEST)
From: Diego Nicola Barbato <dnbarbato@HIDDEN>
To: bug-guix@HIDDEN
Subject: mps-youtube propagates util-linux
Date: Sun, 13 Oct 2019 13:40:36 +0200
Message-ID: <875zks27rf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 185.67.36.66
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi Guix,

An unfortunate chain of propagated-inputs causes 'util-linux' (mount,
umount, etc.) to be installed alongside 'mps-youtube': 'mps-youtube'
propagates 'python-pygobject', which propagates 'glib', which propagates
'util-linux'.  It seems to have been introduced with commit 6c237a2,
when 'util-linux' was moved to the propagated-inputs of 'glib'.

This is a problem on foreign distributions, where the stowaway 'mount'
and 'umount' commands installed by Guix shadow the setuid ones provided
by the distro.

I am currently on commit ecf3a3a (post core-updates merge).

Regards,

Diego




Acknowledgement sent to Diego Nicola Barbato <dnbarbato@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#37732; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 3 Nov 2019 17:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.