bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27096: guix package -i ... fails when the internet is disconnected


From: Brendan Tildesley
Subject: bug#27096: guix package -i ... fails when the internet is disconnected
Date: Sat, 27 May 2017 19:42:27 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.8.0

On GuixSD, I ran the following install command 3 times. The second time,
it showed "nothing to be done" as expected. However after that, I
disconnected my internet and ran it again with different results
including a guile type error. Just because there was no internet
connection, guix tries to download a variety of packages even though it
theoretically shouldn't need anything, and fails to handle the case
where there is no internet connection and a #f is returned somewhere in
the code. I think guix development has taken for granted that one always
has an internet connection. Some hackers may wish to try out hacking on
Guix for a few hours without an internet connection and see what doesn't
work.



address@hidden ~$ guix package -i stellarium calibre icecat  duplicity mpv vlc
audacity transmission 0ad qtox weechat terminology leafpad --fallback
The following packages will be upgraded:
   stellarium    0.15.1 → 0.15.1   
/gnu/store/qyxkrm2pawcl0lhkzhc5cm0zxzbph6xj-stellarium-0.15.1
   calibre    2.85.1 → 2.85.1   
/gnu/store/igjgzg8qcss2wn9m4q7p4jz0w4d4cwp3-calibre-2.85.1
   icecat    52.1.0-gnu1 → 52.1.0-gnu1   
/gnu/store/nb64j11jys7ijzlb4a5swgqmw228gjs9-icecat-52.1.0-gnu1
   duplicity    0.7.12 → 0.7.12   
/gnu/store/sysrzmlsrrdprgv59f3g81lsxhfz70cv-duplicity-0.7.12
   mpv    0.25.0 → 0.25.0   
/gnu/store/0pcmgd24v7p0wmccwsan1xw88dhkz4jl-mpv-0.25.0
   vlc    2.2.6 → 2.2.6   
/gnu/store/hysbc89y541kwdrh5kr63xs2z6xfc3lk-vlc-2.2.6
   audacity    2.1.3 → 2.1.3   
/gnu/store/vlp9fmbfzc6bxvcwkfns4m78wl1ai45i-audacity-2.1.3
   transmission    2.92 → 2.92   
/gnu/store/9rw82dip670864ijy06k62jd1py2bfwb-transmission-2.92
   0ad    0.0.21-alpha → 0.0.21-alpha   
/gnu/store/iikijc3g14k8lscjzqg7g7ca7f2222fn-0ad-0.0.21-alpha
   qtox    1.10.1 → 1.10.1   
/gnu/store/g7qxq694lns87gmcz7jxs7mqs0vngc4v-qtox-1.10.1
   weechat    1.8 → 1.8   
/gnu/store/8p0dkk2l4zh3gq185hjpbn1sf4z1nrbr-weechat-1.8
   terminology    1.0.0 → 1.0.0   
/gnu/store/05s9nwhf6m7zq4gvx4kb9djcfqj401cs-terminology-1.0.0
   leafpad    0.8.18.1 → 0.8.18.1   
/gnu/store/d630r7id7rr2r2wfdm4wc2jxlpv2m9k2-leafpad-0.8.18.1

nothing to be done
address@hidden ~$ guix package -i stellarium calibre icecat  duplicity mpv vlc
audacity transmission 0ad qtox weechat terminology leafpad --fallback
The following packages will be upgraded:
   stellarium    0.15.1 → 0.15.1   
/gnu/store/qyxkrm2pawcl0lhkzhc5cm0zxzbph6xj-stellarium-0.15.1
   calibre    2.85.1 → 2.85.1   
/gnu/store/igjgzg8qcss2wn9m4q7p4jz0w4d4cwp3-calibre-2.85.1
   icecat    52.1.0-gnu1 → 52.1.0-gnu1   
/gnu/store/nb64j11jys7ijzlb4a5swgqmw228gjs9-icecat-52.1.0-gnu1
   duplicity    0.7.12 → 0.7.12   
/gnu/store/sysrzmlsrrdprgv59f3g81lsxhfz70cv-duplicity-0.7.12
   mpv    0.25.0 → 0.25.0   
/gnu/store/0pcmgd24v7p0wmccwsan1xw88dhkz4jl-mpv-0.25.0
   vlc    2.2.6 → 2.2.6   
/gnu/store/hysbc89y541kwdrh5kr63xs2z6xfc3lk-vlc-2.2.6
   audacity    2.1.3 → 2.1.3   
/gnu/store/vlp9fmbfzc6bxvcwkfns4m78wl1ai45i-audacity-2.1.3
   transmission    2.92 → 2.92   
/gnu/store/9rw82dip670864ijy06k62jd1py2bfwb-transmission-2.92
   0ad    0.0.21-alpha → 0.0.21-alpha   
/gnu/store/iikijc3g14k8lscjzqg7g7ca7f2222fn-0ad-0.0.21-alpha
   qtox    1.10.1 → 1.10.1   
/gnu/store/g7qxq694lns87gmcz7jxs7mqs0vngc4v-qtox-1.10.1
   weechat    1.8 → 1.8   
/gnu/store/8p0dkk2l4zh3gq185hjpbn1sf4z1nrbr-weechat-1.8
   terminology    1.0.0 → 1.0.0   
/gnu/store/05s9nwhf6m7zq4gvx4kb9djcfqj401cs-terminology-1.0.0
   leafpad    0.8.18.1 → 0.8.18.1   
/gnu/store/d630r7id7rr2r2wfdm4wc2jxlpv2m9k2-leafpad-0.8.18.1

Backtrace:
           1 (primitive-load "/gnu/store/fza7573wpfm3alzdnnfw4g6f1ww…")
In guix/ui.scm:
   1264:8  0 (run-guix-command _ . _)

guix/ui.scm:1264:8: In procedure run-guix-command:
guix/ui.scm:1264:8: In procedure struct_vtable: Wrong type argument in
position 1 (expecting struct): #f
Downloading
https://mirror.hydra.gnu.org/guix/nar/6jr66c4dj5sgqi3qzqnqndz25vg1lpkd-alabaster-0.7.9.tar.gz
(10KiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Downloading
https://mirror.hydra.gnu.org/guix/nar/gzip/529jffxlnzni6gnknxwj5aq5dqnnl5yr-python2-markupsafe-0.23
(87KiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Downloading
https://mirror.hydra.gnu.org/guix/nar/gzip/mindszikwbq6q8kk43wlyhifw97lyzn7-python2-requests-2.13.0
(2.9MiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Backtrace:
           1 (primitive-load "/gnu/store/fza7573wpfm3alzdnnfw4g6f1ww…")
In guix/ui.scm:
   1264:8  0 (run-guix-command _ . _)

guix/ui.scm:1264:8: In procedure run-guix-command:
guix/ui.scm:1264:8: In procedure struct_vtable: Wrong type argument in
position 1 (expecting struct): #f
Downloading
https://mirror.hydra.gnu.org/guix/nar/gzip/nhs83fqs3z54876rw4vakifk0czlrp95-pcre-8.40-bin
(209KiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Downloading
https://mirror.hydra.gnu.org/guix/nar/gzip/fckvya7k7i2wlh3wfdf26g52k63jqrgh-python2-webencodings-0.5
(68KiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Backtrace:
           1 (primitive-load "/gnu/store/fza7573wpfm3alzdnnfw4g6f1ww…")
In guix/ui.scm:
   1264:8  0 (run-guix-command _ . _)

guix/ui.scm:1264:8: In procedure run-guix-command:
guix/ui.scm:1264:8: In procedure struct_vtable: Wrong type argument in
position 1 (expecting struct): #f
Backtrace:
           1 (primitive-load "/gnu/store/fza7573wpfm3alzdnnfw4g6f1ww…")
In guix/ui.scm:
   1264:8  0 (run-guix-command _ . _)

guix/ui.scm:1264:8: In procedure run-guix-command:
guix/ui.scm:1264:8: In procedure struct_vtable: Wrong type argument in
position 1 (expecting struct): #f
Downloading
https://mirror.hydra.gnu.org/guix/nar/6kazs3hk2ldzbyf5fkz2sywxyvlxwr7x-pcre-8.40.tar.bz2
(1.5MiB installed)...
guix substitute: error: host name lookup error: Name or service not known

Starting download of
/gnu/store/h8ggljz6ahc3ikhz3wprz6p9pwpkw9zb-Jinja2-2.8.tar.gz
>From https://pypi.io/packages/source/J/Jinja2/Jinja2-2.8.tar.gz...
ERROR: In procedure getaddrinfo: Name or service not known

Starting download of
/gnu/store/h8ggljz6ahc3ikhz3wprz6p9pwpkw9zb-Jinja2-2.8.tar.gz
From
http://mirror.hydra.gnu.org/file/Jinja2-2.8.tar.gz/sha256/1x0v41lp5m1pjix3l46zx02b7lqp2hflgpnxwkywxynvi3zz47xw...
ERROR: In procedure getaddrinfo: Name or service not known

Starting download of
/gnu/store/h8ggljz6ahc3ikhz3wprz6p9pwpkw9zb-Jinja2-2.8.tar.gz
From
http://tarballs.nixos.org/sha256/1x0v41lp5m1pjix3l46zx02b7lqp2hflgpnxwkywxynvi3zz47xw...
ERROR: In procedure getaddrinfo: Name or service not known
failed to download
"/gnu/store/h8ggljz6ahc3ikhz3wprz6p9pwpkw9zb-Jinja2-2.8.tar.gz" from
"https://pypi.io/packages/source/J/Jinja2/Jinja2-2.8.tar.gz"
builder for
`/gnu/store/4w00r5104mgnj0wj3rbj0nlbfvl2j1ww-Jinja2-2.8.tar.gz.drv'
failed to produce output path
`/gnu/store/h8ggljz6ahc3ikhz3wprz6p9pwpkw9zb-Jinja2-2.8.tar.gz'
cannot build derivation
`/gnu/store/7gsxva81vfxlcchmz6hhbrph87p5f7b4-python2-jinja2-2.8.drv': 1
dependencies couldn't be built
cannot build derivation
`/gnu/store/zi3bsjfnnb7sp2d3p4afkypmf9yhgqfj-python2-cffi-1.4.2.drv': 1
dependencies couldn't be built
guix package: error: build failed: build of
`/gnu/store/zi3bsjfnnb7sp2d3p4afkypmf9yhgqfj-python2-cffi-1.4.2.drv' failed


reply via email to

[Prev in Thread] Current Thread [Next in Thread]