From: ludo@gnu.org (Ludovic Courtès)
To: John Darrington <john@darrington.wattle.id.au>
Cc: guix-devel@gnu.org
Subject: Re: Duplicate dependencies in util-linux
Date: Sat, 31 Dec 2016 01:20:52 +0100 [thread overview]
Message-ID: <871swp6ja3.fsf@gnu.org> (raw)
In-Reply-To: <20161226092917.GA28427@jocasta.intra> (John Darrington's message of "Mon, 26 Dec 2016 10:29:18 +0100")
[-- 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’.
prev parent reply other threads:[~2016-12-31 0:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-26 9:29 Duplicate dependencies in util-linux John Darrington
2016-12-31 0:20 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871swp6ja3.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=john@darrington.wattle.id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).