all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why does installing icedtea-1.13.12 install the docs and jdk, too?
@ 2016-09-16 11:42 Hartmut Goebel
  2016-09-16 14:05 ` ng0
  0 siblings, 1 reply; 6+ messages in thread
From: Hartmut Goebel @ 2016-09-16 11:42 UTC (permalink / raw)
  To: help-guix

Hi,

I just installed icedtea-1.13.12, and for no reason, icedtea-1.13.12-doc
get installed, too,

IMHO, only icedtea-1.13.12 should be installed. What is going wrong here?

$ ./pre-inst-env guix package -i icedtea-1.13.12
guix package: warning: deprecated NAME-VERSION syntax; use NAME@VERSION
instead
substitute: updating list of substitutes from
'https://mirror.hydra.gnu.org'... 100.0%
The following package will be installed:
   icedtea      1.13.12
/gnu/store/ms8bgmxhsy8nxdp78lj3pwsz0yr72jva-icedtea-1.13.12

substitute: updating list of substitutes from
'https://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
  …
   /gnu/store/mp4hmmbz2sci2m2m114msc7qnyc3skbj-icedtea-1.13.12.drv
The following files will be downloaded:
   /gnu/store/n3gqnkjlk0ssd9i509f7pgszf14v4adh-icedtea-1.13.12-doc
   /gnu/store/kc6gbjaiby4bfh1id76yyaj2zxm73gfg-icedtea-1.13.12-jdk
   /gnu/store/1005jvxaqdrrk684f91d7268r05ys426-icedtea-1.13.12

…
Downloading n3gqnk...-icedtea-1.13.12-doc (219.0MiB installed)...
 icedtea-1.13.12-doc                             1.2MiB/s 00:09 |
10.6MiB transferred
…
Downloading 1005jv...-icedtea-1.13.12 (52.4MiB installed)...
 icedtea-1.13.12                                 1.3MiB/s 00:28 |
36.6MiB transferred
…
Downloading kc6gbj...-icedtea-1.13.12-jdk (385.9MiB installed)...
 icedtea-1.13.12-jdk                            1.5MiB/s 02:16 |
198.8MiB transferred


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

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

* Re: Why does installing icedtea-1.13.12 install the docs and jdk, too?
  2016-09-16 11:42 Why does installing icedtea-1.13.12 install the docs and jdk, too? Hartmut Goebel
@ 2016-09-16 14:05 ` ng0
  2016-09-16 14:37   ` Hartmut Goebel
  0 siblings, 1 reply; 6+ messages in thread
From: ng0 @ 2016-09-16 14:05 UTC (permalink / raw)
  To: Hartmut Goebel, help-guix

Hi,

Hartmut Goebel <h.goebel@crazy-compilers.com> writes:

> Hi,
>
> I just installed icedtea-1.13.12, and for no reason, icedtea-1.13.12-doc
> get installed, too,

I think you are confusing installation with downloading. if (I have not
checked it) icedtea is just one package with multiple outputs, all
outputs will be downloaded but only the selected one will be installed.
The same will happen for git afaik, all outputs will be downloaded but
only selected ones end up in your profile.

> IMHO, only icedtea-1.13.12 should be installed. What is going wrong here?
>
> $ ./pre-inst-env guix package -i icedtea-1.13.12
> guix package: warning: deprecated NAME-VERSION syntax; use NAME@VERSION
> instead
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... 100.0%
> The following package will be installed:
>    icedtea      1.13.12
> /gnu/store/ms8bgmxhsy8nxdp78lj3pwsz0yr72jva-icedtea-1.13.12
>
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivations will be built:
>   …
>    /gnu/store/mp4hmmbz2sci2m2m114msc7qnyc3skbj-icedtea-1.13.12.drv
> The following files will be downloaded:
>    /gnu/store/n3gqnkjlk0ssd9i509f7pgszf14v4adh-icedtea-1.13.12-doc
>    /gnu/store/kc6gbjaiby4bfh1id76yyaj2zxm73gfg-icedtea-1.13.12-jdk
>    /gnu/store/1005jvxaqdrrk684f91d7268r05ys426-icedtea-1.13.12
>
> …
> Downloading n3gqnk...-icedtea-1.13.12-doc (219.0MiB installed)...
>  icedtea-1.13.12-doc                             1.2MiB/s 00:09 |
> 10.6MiB transferred
> …
> Downloading 1005jv...-icedtea-1.13.12 (52.4MiB installed)...
>  icedtea-1.13.12                                 1.3MiB/s 00:28 |
> 36.6MiB transferred
> …
> Downloading kc6gbj...-icedtea-1.13.12-jdk (385.9MiB installed)...
>  icedtea-1.13.12-jdk                            1.5MiB/s 02:16 |
> 198.8MiB transferred
>
>
> -- 
> Regards
> Hartmut Goebel
>
> | Hartmut Goebel          | h.goebel@crazy-compilers.com               |
> | www.crazy-compilers.com | compilers which you thought are impossible |
>
>
>

-- 
              ng0

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

* Re: Why does installing icedtea-1.13.12 install the docs and jdk, too?
  2016-09-16 14:05 ` ng0
@ 2016-09-16 14:37   ` Hartmut Goebel
  2016-09-16 14:49     ` ng0
  0 siblings, 1 reply; 6+ messages in thread
From: Hartmut Goebel @ 2016-09-16 14:37 UTC (permalink / raw)
  To: ng0, help-guix

Am 16.09.2016 um 16:05 schrieb ng0:
> I think you are confusing installation with downloading. 

Maybe :-) But I'd expect that only packages to be installed are
downloaded. Otherwise this would be a wast of time and bandwidth.

> if (I have not checked it) icedtea is just one package with multiple outputs,
it is.

> all outputs will be downloaded 

But why? I do not see any reason for downloading packages which their
are neither requested nor installed. If all outputs are downloaded, what
should be the sense of having different outputs?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

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

* Re: Why does installing icedtea-1.13.12 install the docs and jdk, too?
  2016-09-16 14:37   ` Hartmut Goebel
@ 2016-09-16 14:49     ` ng0
  2016-09-16 14:57       ` Hartmut Goebel
  0 siblings, 1 reply; 6+ messages in thread
From: ng0 @ 2016-09-16 14:49 UTC (permalink / raw)
  To: Hartmut Goebel, help-guix

Hartmut Goebel <h.goebel@crazy-compilers.com> writes:

> Am 16.09.2016 um 16:05 schrieb ng0:
>> I think you are confusing installation with downloading. 
>
> Maybe :-) But I'd expect that only packages to be installed are
> downloaded. Otherwise this would be a wast of time and bandwidth.

There's a separation between packages and outputs. gnunet-svn is a
different package than gnunet, git-sendemail and git-svn are contained
in outputs of git (named 'sendemail' and 'svn'). They are not separated
like for example Debian does it with their -dev version packages.
For the exact reasons someone else has to explain. I guess it's
something about grafting, reproducibility, source provision etc.

>> if (I have not checked it) icedtea is just one package with multiple outputs,
> it is.
>
>> all outputs will be downloaded 
>
> But why? I do not see any reason for downloading packages which their
> are neither requested nor installed. If all outputs are downloaded, what
> should be the sense of having different outputs?
>
> -- 
> Regards
> Hartmut Goebel
>
> | Hartmut Goebel          | h.goebel@crazy-compilers.com               |
> | www.crazy-compilers.com | compilers which you thought are impossible |
>
>

-- 
              ng0

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

* Re: Why does installing icedtea-1.13.12 install the docs and jdk, too?
  2016-09-16 14:49     ` ng0
@ 2016-09-16 14:57       ` Hartmut Goebel
  2016-09-24  0:32         ` Leo Famulari
  0 siblings, 1 reply; 6+ messages in thread
From: Hartmut Goebel @ 2016-09-16 14:57 UTC (permalink / raw)
  To: ng0, help-guix

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

Am 16.09.2016 um 16:49 schrieb ng0:
> They are not separated
> like for example Debian does it with their -dev version packages.
> For the exact reasons someone else has to explain. I guess it's
> something about grafting, reproducibility, source provision etc.

This is what the docs say about this;

    Sometimes it is more appropriate to separate the various types of files
    produced from a single source package into separate outputs.  For
    instance, the GLib C library (used by GTK+ and related packages)
    installs more than 20 MiB of reference documentation as HTML pages.
    To *save space* for users who do not need it, the documentation goes
    to a
    separate output, called @code{doc}.  [...]

    Some packages install programs with different ``dependency footprints''.
    […] This allows users
    who do not need the GUIs to *save space*.  […]

For me this sound more like a bug. But maybe someone can explain this.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |


[-- Attachment #2: Type: text/html, Size: 1865 bytes --]

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

* Re: Why does installing icedtea-1.13.12 install the docs and jdk, too?
  2016-09-16 14:57       ` Hartmut Goebel
@ 2016-09-24  0:32         ` Leo Famulari
  0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2016-09-24  0:32 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: help-guix, ng0

On Fri, Sep 16, 2016 at 04:57:12PM +0200, Hartmut Goebel wrote:
> Am 16.09.2016 um 16:49 schrieb ng0:
> > They are not separated
> > like for example Debian does it with their -dev version packages.
> > For the exact reasons someone else has to explain. I guess it's
> > something about grafting, reproducibility, source provision etc.
> 
> This is what the docs say about this;
> 
>     Sometimes it is more appropriate to separate the various types of files
>     produced from a single source package into separate outputs.  For
>     instance, the GLib C library (used by GTK+ and related packages)
>     installs more than 20 MiB of reference documentation as HTML pages.
>     To *save space* for users who do not need it, the documentation goes
>     to a
>     separate output, called @code{doc}.  [...]
> 
>     Some packages install programs with different ``dependency footprints''.
>     […] This allows users
>     who do not need the GUIs to *save space*.  […]
> 
> For me this sound more like a bug. But maybe someone can explain this.

Whether it's a bug or not, it sounds like the situation could be
improved. Can you file a bug report?

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

end of thread, other threads:[~2016-09-24  0:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-16 11:42 Why does installing icedtea-1.13.12 install the docs and jdk, too? Hartmut Goebel
2016-09-16 14:05 ` ng0
2016-09-16 14:37   ` Hartmut Goebel
2016-09-16 14:49     ` ng0
2016-09-16 14:57       ` Hartmut Goebel
2016-09-24  0:32         ` Leo Famulari

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.