unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* guix package -u --no-substitutes
@ 2016-04-06 20:05 Danny Milosavljevic
  2016-04-06 20:23 ` Leo Famulari
  2016-04-07 21:27 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Danny Milosavljevic @ 2016-04-06 20:05 UTC (permalink / raw)
  To: guix-devel

Hi,

I've been having problems doing

  $ ./pre-inst-env guix package -u

lately. I get

>guix substitute: error: download from 'http://hydra.gnu.org/nar/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz' failed: 503, "Service Temporarily Unavailable"

.

When I try

  $ ./pre-inst-env guix package -u --no-substitutes

it doesn't try to update anything (and exit code is 0).

Weird...

Same for

  $ ./pre-inst-env guix package -u --fallback

it doesn't try to update anything (and exit code is 0).

Trying

  $ ./pre-inst-env guix package -u

makes it download a random package of the to-be-downloaded list and then it tries texlive and fails...

The to-be-downloaded list would be

   /gnu/store/4364r3pa8xf4s8d8yl0wyb8lsbbbkbf7-wv-1.2.4.tar.gz
   /gnu/store/yck62fapjqrck7zq07lir5plsjqnay2m-zenity-3.18.1.1.tar.xz
   /gnu/store/ryj6qfp0ksnj3b5ad6nk38bal2x2lbh8-xev-1.2.2.tar.bz2
   /gnu/store/hfw0wxr122ag05x8nrnhkznaayls6lb1-xmodmap-1.0.9.tar.bz2
   /gnu/store/m4gwxr4qbnasqz5acm7nsna7b2hdznqw-xdpyinfo-1.3.2.tar.bz2
   /gnu/store/x3s4bbarwnhfiryqfkm6amakxbf27wsx-wxWidgets-3.0.2.tar.bz2 <--- right now it's downloading this one first
   /gnu/store/sr7izwwc2bzp46mwb054j53pddfkaahp-vamp-plugin-sdk-2.6.tar.gz
   /gnu/store/8g5wx0yc1y0gz5ajkhs58jm4nh03mq38-wxGTK-2.8.12.tar.gz
   /gnu/store/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz <-- and then it tries this one
   /gnu/store/bh52wcvfqcvyxdr3as66mywqrwg39gzz-wxmaxima-15.04.0.tar.gz
   /gnu/store/drwk4nk2mk7xfzw9dvc8xw93w8a6qdih-xwd-1.0.6.tar.bz2
   /gnu/store/fmka91y1p1165597jgws9kn3byhnb6xj-xdg-utils-1.0.2.tgz
   /gnu/store/v95p5wgwrlslnfaspi1z6hqwla3445y3-xset-1.2.3.tar.bz2
   /gnu/store/4ad2r7zgfghvx5lqzlwzbabg11zd6zfw-xprop-1.2.2.tar.bz2
   /gnu/store/3jl9mwihmcdmwqdqhypdm8i4g2piqr1v-xkill-1.0.4.tar.bz2
   /gnu/store/y7pzhrbybh4shrxrpza6da4ifzz75sfi-xf86-input-wacom-0.29.0.tar.bz2
   /gnu/store/96s1kbmhirhxqyca96mrfxdaddh6xh8d-zziplib-0.13.62.tar.bz2
   /gnu/store/zmp8l0qjq3164sfqjpwws2zwz725xfrf-vpnc-0.5.3.tar.gz
   /gnu/store/768yw94dwznsivx0cnwm8mkd3lfqqwih-waf-1.8.8.tar.bz2
   /gnu/store/kw7xyn99dyrcrcb68qhz189gx68igddi-xf86driproto-2.1.1.tar.bz2
   /gnu/store/grcy0q8mj9n19j9m0m1fwxrd92mxspdg-xcb-util-renderutil-0.3.9.tar.bz2
   /gnu/store/fy9v9m18qp3wavr1k3l70rsb0wqf132l-xcb-util-image-0.4.0.tar.bz2
   /gnu/store/fq2r7jz70r3hs0iw3k6wzq9v7nsjlrgl-xcb-util-wm-0.4.1.tar.bz2
   /gnu/store/96fbfjvkgw2ngnf6889cbhgr017bm5wc-wisp-0.9.0.tar.gz
   /gnu/store/4rjmgbghslbqkdqiqh0dy8mcyc1lwrwf-xf86dgaproto-2.1.tar.bz2
   /gnu/store/z3r35lpqq8z0kml40hcwjsdcgig7v1an-wheel-0.29.0.tar.gz

right now.

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

* Re: guix package -u --no-substitutes
  2016-04-06 20:05 guix package -u --no-substitutes Danny Milosavljevic
@ 2016-04-06 20:23 ` Leo Famulari
  2016-04-07  6:04   ` Efraim Flashner
  2016-04-07 21:27 ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2016-04-06 20:23 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

On Wed, Apr 06, 2016 at 10:05:29PM +0200, Danny Milosavljevic wrote:
> Hi,
> 
> I've been having problems doing
> 
>   $ ./pre-inst-env guix package -u
> 
> lately. I get
> 
> >guix substitute: error: download from 'http://hydra.gnu.org/nar/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz' failed: 503, "Service Temporarily Unavailable"
> 
> .
> 
> When I try
> 
>   $ ./pre-inst-env guix package -u --no-substitutes

Try this:

$ ./pre-inst-env guix package -u . --no-substitutes

The '.' is a regex.

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

* Re: guix package -u --no-substitutes
  2016-04-06 20:23 ` Leo Famulari
@ 2016-04-07  6:04   ` Efraim Flashner
  0 siblings, 0 replies; 6+ messages in thread
From: Efraim Flashner @ 2016-04-07  6:04 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

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

On Wed, Apr 06, 2016 at 04:23:19PM -0400, Leo Famulari wrote:
> On Wed, Apr 06, 2016 at 10:05:29PM +0200, Danny Milosavljevic wrote:
> > Hi,
> > 
> > I've been having problems doing
> > 
> >   $ ./pre-inst-env guix package -u
> > 
> > lately. I get
> > 
> > >guix substitute: error: download from 'http://hydra.gnu.org/nar/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz' failed: 503, "Service Temporarily Unavailable"
> > 
> > .
> > 
> > When I try
> > 
> >   $ ./pre-inst-env guix package -u --no-substitutes
> 
> Try this:
> 
> $ ./pre-inst-env guix package -u . --no-substitutes
> 
> The '.' is a regex.
> 

I've also found putting the `-u` last helps, so I run it as
./pre-inst-env guix package --no-substitutes/--fallack -u

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: guix package -u --no-substitutes
  2016-04-06 20:05 guix package -u --no-substitutes Danny Milosavljevic
  2016-04-06 20:23 ` Leo Famulari
@ 2016-04-07 21:27 ` Ludovic Courtès
  2016-04-08  6:31   ` Efraim Flashner
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2016-04-07 21:27 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

Danny Milosavljevic <dannym@scratchpost.org> skribis:

>>guix substitute: error: download from 'http://hydra.gnu.org/nar/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz' failed: 503, "Service Temporarily Unavailable"

This is because we’ve decided to stop distributing texlive-texmf (4 GiB)
from Hydra; it’s just too much, at least for now.

You need to use --fallback (or --no-substitutes) to get it.

See Leo’s and Efraim’s messages for the rest.  :-)

Ludo’.

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

* Re: guix package -u --no-substitutes
  2016-04-07 21:27 ` Ludovic Courtès
@ 2016-04-08  6:31   ` Efraim Flashner
  2016-04-09  6:18     ` Leo Famulari
  0 siblings, 1 reply; 6+ messages in thread
From: Efraim Flashner @ 2016-04-08  6:31 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

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

On Thu, Apr 07, 2016 at 11:27:01PM +0200, Ludovic Courtès wrote:
> Danny Milosavljevic <dannym@scratchpost.org> skribis:
> 
> >>guix substitute: error: download from 'http://hydra.gnu.org/nar/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz' failed: 503, "Service Temporarily Unavailable"
> 
> This is because we’ve decided to stop distributing texlive-texmf (4 GiB)
> from Hydra; it’s just too much, at least for now.
> 
> You need to use --fallback (or --no-substitutes) to get it.
> 
> See Leo’s and Efraim’s messages for the rest.  :-)
> 
> Ludo’.
> 

Do we want to tag it `#:build-locally? #t` or `#:substitutable? #f`
then?

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: guix package -u --no-substitutes
  2016-04-08  6:31   ` Efraim Flashner
@ 2016-04-09  6:18     ` Leo Famulari
  0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2016-04-09  6:18 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel

On Fri, Apr 08, 2016 at 09:31:47AM +0300, Efraim Flashner wrote:
> On Thu, Apr 07, 2016 at 11:27:01PM +0200, Ludovic Courtès wrote:
> > Danny Milosavljevic <dannym@scratchpost.org> skribis:
> > 
> > >>guix substitute: error: download from 'http://hydra.gnu.org/nar/36wqhbch45x055wj6gfsng00zkwfqg6n-texlive-20150523-texmf.tar.xz' failed: 503, "Service Temporarily Unavailable"
> > 
> > This is because we’ve decided to stop distributing texlive-texmf (4 GiB)
> > from Hydra; it’s just too much, at least for now.
> > 
> > You need to use --fallback (or --no-substitutes) to get it.
> > 
> > See Leo’s and Efraim’s messages for the rest.  :-)
> > 
> > Ludo’.
> > 
> 
> Do we want to tag it `#:build-locally? #t` or `#:substitutable? #f`
> then?

I don't like the current situation, where building libreoffice (among
others) requires --fallback unless texlive-texmf is already in the
store.

About #:local-build, the manual [0] says:

"When local-build? is true, declare that the derivation is not a good
candidate for offloading and should rather be built locally (see Daemon
Offload Setup). This is the case for small derivations where the costs
of data transfers would outweigh the benefits."

I think it's orthogonal to substituting binaries. Some discussion: 
https://bugs.gnu.org/18747

The manual [0] says about #:substitutable?:

"When substitutable? is false, declare that substitutes of the
derivation’s output should not be used (see Substitutes). This is
useful, for instance, when building packages that capture details of the
host CPU instruction set."

Some people are using their own servers and it could make sense for them
to substitute texlive-texmf if they have fast I/O and networking. But it
might not make a big difference to them in practice.

[0]
https://www.gnu.org/software/guix/manual/guix.html#Derivations

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

end of thread, other threads:[~2016-04-09  6:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-06 20:05 guix package -u --no-substitutes Danny Milosavljevic
2016-04-06 20:23 ` Leo Famulari
2016-04-07  6:04   ` Efraim Flashner
2016-04-07 21:27 ` Ludovic Courtès
2016-04-08  6:31   ` Efraim Flashner
2016-04-09  6:18     ` Leo Famulari

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