Re: Why does installing icedtea-1.13.12 install the docs and jdk, too?

2016-09-23 Thread Leo Famulari
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?



Re: Why does installing icedtea-1.13.12 install the docs and jdk, too?

2016-09-16 Thread Hartmut Goebel
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.goe...@crazy-compilers.com   |
| www.crazy-compilers.com | compilers which you thought are impossible |



Re: Why does installing icedtea-1.13.12 install the docs and jdk, too?

2016-09-16 Thread ng0
Hartmut Goebel  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.goe...@crazy-compilers.com   |
> | www.crazy-compilers.com | compilers which you thought are impossible |
>
>

-- 
  ng0



Re: Why does installing icedtea-1.13.12 install the docs and jdk, too?

2016-09-16 Thread Hartmut Goebel
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.goe...@crazy-compilers.com   |
| www.crazy-compilers.com | compilers which you thought are impossible |




Re: Why does installing icedtea-1.13.12 install the docs and jdk, too?

2016-09-16 Thread ng0
Hi,

Hartmut Goebel  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-jdk1.5MiB/s 02:16 |
> 198.8MiB transferred
>
>
> -- 
> Regards
> Hartmut Goebel
>
> | Hartmut Goebel  | h.goe...@crazy-compilers.com   |
> | www.crazy-compilers.com | compilers which you thought are impossible |
>
>
>

-- 
  ng0



Why does installing icedtea-1.13.12 install the docs and jdk, too?

2016-09-16 Thread Hartmut Goebel
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-jdk1.5MiB/s 02:16 |
198.8MiB transferred


-- 
Regards
Hartmut Goebel

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