unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30157: texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
@ 2018-01-18 12:52 Mathieu Lirzin
  2018-01-18 13:56 ` ng0
  2018-01-19 13:22 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Mathieu Lirzin @ 2018-01-18 12:52 UTC (permalink / raw)
  To: 30157

Hello,

While building my system configuration after a ‘guix pull’ with guix
"d36d4c55c4a3faf47ee09e1010cb6617c6e39a48", I encountered the following
error.

--8<---------------cut here---------------start------------->8---
Téléchargement de « https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz »...
guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
guix system: error: build failed: some substitutes for the outputs of derivation `/gnu/store/j3m0a6rwrz9jmass4zlndpn5y0x8g5n4-texlive-20170524-texmf.tar.xz.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 
--8<---------------cut here---------------end--------------->8---

Thanks.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

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

* bug#30157: texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
  2018-01-18 13:56 ` ng0
@ 2018-01-18 13:17   ` Mathieu Lirzin
  2018-01-18 15:07     ` ng0
  0 siblings, 1 reply; 6+ messages in thread
From: Mathieu Lirzin @ 2018-01-18 13:17 UTC (permalink / raw)
  To: ng0; +Cc: 30157

Hello,

ng0 <ng0@n0.is> writes:

> Mathieu Lirzin transcribed 1.0K bytes:
>> 
>> While building my system configuration after a ‘guix pull’ with guix
>> "d36d4c55c4a3faf47ee09e1010cb6617c6e39a48", I encountered the following
>> error.
>> 
>> --8<---------------cut here---------------start------------->8---
>> Téléchargement de « https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz »...
>> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
>> guix system: error: build failed: some substitutes for the outputs
>> of derivation
>> `/gnu/store/j3m0a6rwrz9jmass4zlndpn5y0x8g5n4-texlive-20170524-texmf.tar.xz.drv'
>> failed (usually happens due to networking issues); try `--fallback'
>> to build derivation from source
>> --8<---------------cut here---------------end--------------->8---

> this is expected as we don't build substitutes for some parts of texlive, notable
> this one. The resulting size would be ~5GB and as far as I understand it this would
> need longer to transfer to you than to build locally (given that your machine can
> build it).

Hum,

That makes sense, however the command bailing out is kind of confusing.
Would it be possible to configure those heavy packages so that they
automatically fallback to native compilation.

Anyway I don't understand how the full texlive end up being built when
running ‘guix system build /etc/config.scm’ since the configuration
contains only the following services and packages:

  (packages (cons* nss-certs         ;for HTTPS access
                   gvfs              ;for user mounts
		   samba
		   cifs-utils
		   nfs-utils
                   %base-packages))

  (services (cons* (console-keymap-service "fr")
		   (xfce-desktop-service)
		   (mate-desktop-service)
		   (service cups-service-type
			    (cups-configuration
			     (web-interface? #t)
			     (extensions (list cups-filters hplip))))
		   (extra-special-file "/usr/bin/env"
				       (file-append coreutils "/bin/env"))
		   %desktop-services))

The only reference of texlive I have is ”texlive-tiny“ which is only in
my user profile and is already built.

Thank you for the explanation.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

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

* bug#30157: texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
  2018-01-18 12:52 bug#30157: texlive-20170524-texmf.tar.xz' failed: 410, "Gone" Mathieu Lirzin
@ 2018-01-18 13:56 ` ng0
  2018-01-18 13:17   ` Mathieu Lirzin
  2018-01-19 13:22 ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: ng0 @ 2018-01-18 13:56 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: 30157

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

Mathieu Lirzin transcribed 1.0K bytes:
> Hello,
> 
> While building my system configuration after a ‘guix pull’ with guix
> "d36d4c55c4a3faf47ee09e1010cb6617c6e39a48", I encountered the following
> error.
> 
> --8<---------------cut here---------------start------------->8---
> Téléchargement de « https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz »...
> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
> guix system: error: build failed: some substitutes for the outputs of derivation `/gnu/store/j3m0a6rwrz9jmass4zlndpn5y0x8g5n4-texlive-20170524-texmf.tar.xz.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 
> --8<---------------cut here---------------end--------------->8---
> 
> Thanks.
> 
> -- 
> Mathieu Lirzin
> GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
> 

Hi,

this is expected as we don't build substitutes for some parts of texlive, notable
this one. The resulting size would be ~5GB and as far as I understand it this would
need longer to transfer to you than to build locally (given that your machine can
build it).

-- 
ng0 :: https://ea.n0.is
A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://ea.n0.is/keys/

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

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

* bug#30157: texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
  2018-01-18 13:17   ` Mathieu Lirzin
@ 2018-01-18 15:07     ` ng0
  0 siblings, 0 replies; 6+ messages in thread
From: ng0 @ 2018-01-18 15:07 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: 30157

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

Mathieu Lirzin transcribed 2.4K bytes:
> Hello,
> 
> ng0 <ng0@n0.is> writes:
> 
> > Mathieu Lirzin transcribed 1.0K bytes:
> >> 
> >> While building my system configuration after a ‘guix pull’ with guix
> >> "d36d4c55c4a3faf47ee09e1010cb6617c6e39a48", I encountered the following
> >> error.
> >> 
> >> --8<---------------cut here---------------start------------->8---
> >> Téléchargement de « https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz »...
> >> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
> >> guix system: error: build failed: some substitutes for the outputs
> >> of derivation
> >> `/gnu/store/j3m0a6rwrz9jmass4zlndpn5y0x8g5n4-texlive-20170524-texmf.tar.xz.drv'
> >> failed (usually happens due to networking issues); try `--fallback'
> >> to build derivation from source
> >> --8<---------------cut here---------------end--------------->8---
> 
> > this is expected as we don't build substitutes for some parts of texlive, notable
> > this one. The resulting size would be ~5GB and as far as I understand it this would
> > need longer to transfer to you than to build locally (given that your machine can
> > build it).
> 
> Hum,
> 
> That makes sense, however the command bailing out is kind of confusing.
> Would it be possible to configure those heavy packages so that they
> automatically fallback to native compilation.
> 
> Anyway I don't understand how the full texlive end up being built when
> running ‘guix system build /etc/config.scm’ since the configuration
> contains only the following services and packages:
> 
>   (packages (cons* nss-certs         ;for HTTPS access
>                    gvfs              ;for user mounts
> 		   samba
> 		   cifs-utils
> 		   nfs-utils
>                    %base-packages))
> 
>   (services (cons* (console-keymap-service "fr")
> 		   (xfce-desktop-service)
> 		   (mate-desktop-service)
> 		   (service cups-service-type
> 			    (cups-configuration
> 			     (web-interface? #t)
> 			     (extensions (list cups-filters hplip))))
> 		   (extra-special-file "/usr/bin/env"
> 				       (file-append coreutils "/bin/env"))
> 		   %desktop-services))
> 
> The only reference of texlive I have is ”texlive-tiny“ which is only in
> my user profile and is already built.

I suspect that it's somewhere in one of the dependency graphs of those applications,
you can check with guix size `guix build foo` to get a view on that.
It's definitely not gvfs, and mate triggered a build of webkitgtk-2 here, so
you have to figure out yourself I guess ( can take some time ).

> Thank you for the explanation.
> 
> -- 
> Mathieu Lirzin
> GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
> 

-- 
ng0 :: https://ea.n0.is
A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://ea.n0.is/keys/

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

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

* bug#30157: texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
  2018-01-18 12:52 bug#30157: texlive-20170524-texmf.tar.xz' failed: 410, "Gone" Mathieu Lirzin
  2018-01-18 13:56 ` ng0
@ 2018-01-19 13:22 ` Ludovic Courtès
  2018-01-19 14:51   ` Mathieu Lirzin
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2018-01-19 13:22 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: 30157-done

Mathieu Lirzin <mthl@gnu.org> skribis:

> Téléchargement de « https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz »...
> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz' failed: 410, "Gone"

Fixed by simply letting it through:

  https://git.savannah.gnu.org/cgit/guix/maintenance.git/commit/?id=8859af255f4041f90f630094c6ec81227b554904

However note that it’s a 2.2 GiB file.  I think it’s OK for hydra to
serve it, in particular because ‘guix publish’ does almost no processing
on that file since it’s already compressed.  So the only cost is
bandwidth.

(The ‘texlive-texmf’ binary remains unavailable on hydra because it’s
marked as non-substitutable.)

Other options that came to mind were:

  1. Mark the texlive-texmf source derivation as non-substitutable,
     which would have required fiddling with ‘url-fetch’ to pass
     #:substitutable? #f to ‘raw-derivation’.  Everyone would have
     downloaded from the upstream FTP site.

  2. Add a ‘--hide=.*texlive-texmf*’ option to ‘guix publish’, which
     would prevent it from publishing narinfos for store items that
     match the regexp.

Ludo’.

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

* bug#30157: texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
  2018-01-19 13:22 ` Ludovic Courtès
@ 2018-01-19 14:51   ` Mathieu Lirzin
  0 siblings, 0 replies; 6+ messages in thread
From: Mathieu Lirzin @ 2018-01-19 14:51 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 30157-done

ludo@gnu.org (Ludovic Courtès) writes:

> Mathieu Lirzin <mthl@gnu.org> skribis:
>
>> Téléchargement de « https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz »...
>> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/5rnvmy02yazy8iwaa91kijbbqp8qmflz-texlive-20170524-texmf.tar.xz' failed: 410, "Gone"
>
> Fixed by simply letting it through:
>
>   https://git.savannah.gnu.org/cgit/guix/maintenance.git/commit/?id=8859af255f4041f90f630094c6ec81227b554904
>
> However note that it’s a 2.2 GiB file.  I think it’s OK for hydra to
> serve it, in particular because ‘guix publish’ does almost no processing
> on that file since it’s already compressed.  So the only cost is
> bandwidth.
>
> (The ‘texlive-texmf’ binary remains unavailable on hydra because it’s
> marked as non-substitutable.)
>
> Other options that came to mind were:
>
>   1. Mark the texlive-texmf source derivation as non-substitutable,
>      which would have required fiddling with ‘url-fetch’ to pass
>      #:substitutable? #f to ‘raw-derivation’.  Everyone would have
>      downloaded from the upstream FTP site.
>
>   2. Add a ‘--hide=.*texlive-texmf*’ option to ‘guix publish’, which
>      would prevent it from publishing narinfos for store items that
>      match the regexp.

AIUI the issue is somewhat specific to public instances of ‘guix
publish’.  What I mean is that when having a local build farm used on a
local network by a cluster, It seems useful to cache the texlive-texmf
tarball on the build farm to benefit for the local network speed.  So in
that regard (2) seems a better option but maybe I am overlooking other
important points.

Thanks for fixing that.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

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

end of thread, other threads:[~2018-01-19 14:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 12:52 bug#30157: texlive-20170524-texmf.tar.xz' failed: 410, "Gone" Mathieu Lirzin
2018-01-18 13:56 ` ng0
2018-01-18 13:17   ` Mathieu Lirzin
2018-01-18 15:07     ` ng0
2018-01-19 13:22 ` Ludovic Courtès
2018-01-19 14:51   ` Mathieu Lirzin

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