unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Brendan Tildesley <brendan.tildesley@openmailbox.org>
To: 27096@debbugs.gnu.org
Subject: bug#27096: guix package -i ... fails when the internet is disconnected
Date: Sat, 27 May 2017 19:42:27 +1000	[thread overview]
Message-ID: <0bb16f01-3edb-a43b-25b3-7713cd40673a@openmailbox.org> (raw)

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

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.



b@ui ~$ 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
b@ui ~$ 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


[-- Attachment #2: Type: text/html, Size: 9054 bytes --]

             reply	other threads:[~2017-05-27  9:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-27  9:42 Brendan Tildesley [this message]
2017-05-28 20:39 ` bug#27096: guix package -i ... fails when the internet is disconnected Ludovic Courtès
2017-05-29  8:30   ` Brendan Tildesley
2020-02-11  0:23 ` bug#27096: Hunting: 'guix package -i' fails when " zimoun
2020-02-11  0:26   ` zimoun
2020-02-12 16:00   ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0bb16f01-3edb-a43b-25b3-7713cd40673a@openmailbox.org \
    --to=brendan.tildesley@openmailbox.org \
    --cc=27096@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).