guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duplicate dependencies in util-linux


From: Ludovic Courtès
Subject: Re: Duplicate dependencies in util-linux
Date: Sat, 31 Dec 2016 01:20:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Howdy!

John Darrington <address@hidden> skribis:

> When I run:  guix size util-linux | sort -n -k 3
>
> I get:
>
> store item                                                       total    self
> /gnu/store/a64w9dq219a8d9k4mfz76mnzph9wsvfj-zlib-1.2.8              61.3     
> 0.4   0.4%
> /gnu/store/bm0gfw4jkw8gd0vpnnzrb6z0xncrbx3p-readline-7.0            45.3     
> 1.3   1.4%
> /gnu/store/rvgmixpmsq5lqr9qflhkm70kg7a4rys2-bash-static-4.4.0        1.4     
> 1.4   1.6%
> /gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0              50.7     
> 5.4   6.0%
> /gnu/store/hdrli1v7q3107w842s7di8rid82xlfvl-ncurses-6.0             44.0     
> 5.7   6.3%
> /gnu/store/xydfiifs9slq0wv6n8j6p26icn2ihn88-ncurses-6.0             66.7     
> 5.7   6.3%
> /gnu/store/8b5ffm91zlmm1k5i4kq5qix59v7jm9ln-util-linux-2.28.1       90.6    
> 11.2  12.3%
> /gnu/store/cdi08kw7r6r684w8mk0xq0dkgpjhfpmd-gcc-4.9.4-lib           61.0    
> 22.7  25.1%
> /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24              38.3    
> 36.8  40.6%
>
>
> This seems odd to me:
>
> 1. Why does it depend on two different version of ncurses6.0 ?
> 2. Why does it depend on both bash-4.4.0 and bash-static-4.4 ?

“guix graph -t references util-linux” explains this: libc depends on
‘bash-static’, and bash depends on an ncurses variant that is different
from that used by util-linux.

PNG image

To fix the latter, we’d need to somehow declare a common ncurses package
to use to optimize our dependency graph.  Not sure how to do that.

HTH!

Ludo’.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]