unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* cannot build system from source during the installation
@ 2022-04-01  9:55 Adam Kandur
  2022-04-02  1:20 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Kandur @ 2022-04-01  9:55 UTC (permalink / raw)
  To: help-guix

hi guix!
I decided to try to build a guix system from source instead of using
substitutes but ran into a problem:

"guix pull --no-substitutes" returns me this

Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git   fc94e93
building /gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv...
\builder for `/gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv'
failed to produce output path
`/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz'
build of /gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv
failed
View build log at
'/var/log/guix/drvs/0h/7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv.bz2'.
cannot build derivation
`/gnu/store/3gjjkdq3ll76lffa2563xx62h4w9cxks-linux-libre-headers-5.4.20.drv':
1 dependencies couldn't be built
building /gnu/store/7sy6lhff8l2ss3qgyg21b5cav0rdgycv-linux-libre-headers-stripped-4.14.67-i686-linux.tar.xz.drv...
cannot build derivation
`/gnu/store/b7rgn9czp9qfdfrpyrz8ndj5dqfzrjw9-libtiff-4.2.0.drv': 1
dependencies couldn't be built
guix pull: error: build of
`/gnu/store/b7rgn9czp9qfdfrpyrz8ndj5dqfzrjw9-libtiff-4.2.0.drv' failed



So I looked in the log and found that:

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
From https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
download failed
"https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz"
404 "Not Found"

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
From ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-5.4.20-gnu.tar.xz...
Throw to key `ftp-error' with args `(#<input-output: socket 14> "RETR
linux-libre-5.4.20-gnu.tar.xz" 550 "Failed to open file.\r")'.

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
From https://ftpmirror.gnu.org/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
following redirection to
`https://mirror.tochlab.net/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz'...
download failed
"https://mirror.tochlab.net/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz"
404 "Not Found"

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
From ftp://ftp.cs.tu-berlin.de/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
In procedure getaddrinfo: Name or service not known

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
From ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
Throw to key `ftp-error' with args `(#<input-output: socket 17> "CWD
5.4.20-gnu" 550 "Can't change directory to 5.4.20-gnu: No such file or
directory\r")'.

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
From http://ftp.gnu.org/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
download failed
"http://ftp.gnu.org/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz"
404 "Not Found"

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
From https://ci.guix.gnu.org/file/linux-libre-5.4.20-gnu.tar.xz/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47...
In procedure connect*: Connection timed out

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
From https://tarballs.nixos.org/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47...
download failed
"https://tarballs.nixos.org/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47"
404 "Not Found"

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
From https://archive.softwareheritage.org/api/1/content/sha256:872c307c11abd7b0830fcd401e41e01d8d0b42dec63e87faa74b72569b71b0e3/raw/...
download failed
"https://archive.softwareheritage.org/api/1/content/sha256:872c307c11abd7b0830fcd401e41e01d8d0b42dec63e87faa74b72569b71b0e3/raw/"
404 "Not Found"
failed to download
"/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz"
from ("https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz"
"ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-5.4.20-gnu.tar.xz"
"mirror://gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz")


I checked http links. Can confirm that the source of linux libre is
not there. Maybe I did something wrong and you can help me to resolve
this issue.


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

* Re: cannot build system from source during the installation
  2022-04-01  9:55 cannot build system from source during the installation Adam Kandur
@ 2022-04-02  1:20 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2022-04-02  1:20 UTC (permalink / raw)
  To: Adam Kandur, help-guix

Unless the situation has changed since I last checked, tarballs of linux-libre are not preserved long-term by their creators.

Our normal kernel packages were designed to account for this, but this is a "kernel headers" package, right? Someone should see if we can address this shortcoming.

For building Guix or a bare-bones Guix System version 1.3.0, there are probably some more similar cases where sources are no longer available upstream.

It's something that Software Heritage aims to address.

There are other kinds of "must be substituted" problems. I remember upstream test suites with expiring TLS certificates; you'd have to change the system time. A tricky problem overall: we can never prevent all bogus non-deterministic build problems.

On Fri, Apr 1, 2022, at 05:55, Adam Kandur wrote:
> hi guix!
> I decided to try to build a guix system from source instead of using
> substitutes but ran into a problem:
>
> "guix pull --no-substitutes" returns me this
>
> Updating channel 'guix' from Git repository at
> 'https://git.savannah.gnu.org/git/guix.git'...
> Building from this channel:
>   guix      https://git.savannah.gnu.org/git/guix.git   fc94e93
> building 
> /gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv...
> \builder for 
> `/gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv'
> failed to produce output path
> `/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz'
> build of 
> /gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv
> failed
> View build log at
> '/var/log/guix/drvs/0h/7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv.bz2'.
> cannot build derivation
> `/gnu/store/3gjjkdq3ll76lffa2563xx62h4w9cxks-linux-libre-headers-5.4.20.drv':
> 1 dependencies couldn't be built
> building 
> /gnu/store/7sy6lhff8l2ss3qgyg21b5cav0rdgycv-linux-libre-headers-stripped-4.14.67-i686-linux.tar.xz.drv...
> cannot build derivation
> `/gnu/store/b7rgn9czp9qfdfrpyrz8ndj5dqfzrjw9-libtiff-4.2.0.drv': 1
> dependencies couldn't be built
> guix pull: error: build of
> `/gnu/store/b7rgn9czp9qfdfrpyrz8ndj5dqfzrjw9-libtiff-4.2.0.drv' failed
>
>
>
> So I looked in the log and found that:
>
> Starting download of
> /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
> From 
> https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
> download failed
> "https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz"
> 404 "Not Found"
>
> Starting download of
> /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
> From ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-5.4.20-gnu.tar.xz...
> Throw to key `ftp-error' with args `(#<input-output: socket 14> "RETR
> linux-libre-5.4.20-gnu.tar.xz" 550 "Failed to open file.\r")'.
>
> Starting download of
> /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
> From 
> https://ftpmirror.gnu.org/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
> following redirection to
> `https://mirror.tochlab.net/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz'...
> download failed
> "https://mirror.tochlab.net/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz"
> 404 "Not Found"
>
> Starting download of
> /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
> From 
> ftp://ftp.cs.tu-berlin.de/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
> In procedure getaddrinfo: Name or service not known
>
> Starting download of
> /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
> From 
> ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
> Throw to key `ftp-error' with args `(#<input-output: socket 17> "CWD
> 5.4.20-gnu" 550 "Can't change directory to 5.4.20-gnu: No such file or
> directory\r")'.
>
> Starting download of
> /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
> From 
> http://ftp.gnu.org/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
> download failed
> "http://ftp.gnu.org/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz"
> 404 "Not Found"
>
> Starting download of
> /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
> From 
> https://ci.guix.gnu.org/file/linux-libre-5.4.20-gnu.tar.xz/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47...
> In procedure connect*: Connection timed out
>
> Starting download of
> /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
> From 
> https://tarballs.nixos.org/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47...
> download failed
> "https://tarballs.nixos.org/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47"
> 404 "Not Found"
>
> Starting download of
> /gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
> From 
> https://archive.softwareheritage.org/api/1/content/sha256:872c307c11abd7b0830fcd401e41e01d8d0b42dec63e87faa74b72569b71b0e3/raw/...
> download failed
> "https://archive.softwareheritage.org/api/1/content/sha256:872c307c11abd7b0830fcd401e41e01d8d0b42dec63e87faa74b72569b71b0e3/raw/"
> 404 "Not Found"
> failed to download
> "/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz"
> from 
> ("https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz"
> "ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-5.4.20-gnu.tar.xz"
> "mirror://gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz")
>
>
> I checked http links. Can confirm that the source of linux libre is
> not there. Maybe I did something wrong and you can help me to resolve
> this issue.


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

end of thread, other threads:[~2022-04-02  1:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-01  9:55 cannot build system from source during the installation Adam Kandur
2022-04-02  1:20 ` Leo Famulari

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