unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Duplicate dependencies in util-linux
@ 2016-12-26  9:29 John Darrington
  2016-12-31  0:20 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: John Darrington @ 2016-12-26  9:29 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]

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 ?

J'





-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Duplicate dependencies in util-linux
  2016-12-26  9:29 Duplicate dependencies in util-linux John Darrington
@ 2016-12-31  0:20 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-12-31  0:20 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]

Howdy!

John Darrington <john@darrington.wattle.id.au> 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.


[-- Attachment #2: the graph --]
[-- Type: image/png, Size: 65981 bytes --]

[-- Attachment #3: Type: text/plain, Size: 166 bytes --]


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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-31  0:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-26  9:29 Duplicate dependencies in util-linux John Darrington
2016-12-31  0:20 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).