From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Garlick Subject: Stuck upgrading from Guix v0.12 Date: Mon, 17 Dec 2018 12:29:49 +0000 Message-ID: <1545049789.2673.17.camel@tourbillion-technology.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-e/GNH4QRLnsnjPkFyQvt" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYs24-0006Ht-Vu for help-guix@gnu.org; Mon, 17 Dec 2018 07:30:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYs20-0001dI-Q7 for help-guix@gnu.org; Mon, 17 Dec 2018 07:30:00 -0500 Received: from smtp.hosts.co.uk ([85.233.160.19]:29726) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gYs20-0001b8-I2 for help-guix@gnu.org; Mon, 17 Dec 2018 07:29:56 -0500 Received: from [79.123.23.187] (helo=pancake.local) by smtp.hosts.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim) (envelope-from ) id 1gYs1u-0002hm-Cr for help-guix@gnu.org; Mon, 17 Dec 2018 12:29:52 +0000 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --=-e/GNH4QRLnsnjPkFyQvt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hi Guix, A lesson learnt from a previous update process [1] was; do not leave it too long between 'guix pull' updates.   However, I have one system running Ubuntu 16.04 and Guix v0.12 that I am trying to update.  As root: $guix package --list-installed glibc-utf8-locales 2.25 out /gnu/store/g4g0zhcp5j9 pyjmcv02ks4x2b48k252x-glibc-utf8-locales-2.25 guix 0.12.0-9.25a4 out /gnu/store/nqy9m6hhnkkfwr5w yq5bac96v9s9hc9i-guix-0.12.0-9.25a4 gnutls 3.5.9 out /gnu/store/56dbd2gw33g3wdxmq78lr3 9lamg8gxnq-gnutls-3.5.9 nss-certs 3.30.2 out /gnu/store/3ql0vilc0zv6ra42gh i04787vrg6bb71-nss-certs-3.30.2 When I do 'guix pull' I get an error.  The backtrace suggests reporting a bug: Backtrace: In unknown file:    ?: 19 [primitive-load-path "guix/store" ...] In ./guix/store.scm:   20: 18 [#] In ice-9/boot-9.scm: 2987: 17 [define-module* (guix store) #:filename ...] 2962: 16 [resolve-imports (((guix utils)) ((guix config)) ((guix memoization)) ...)] 2900: 15 [resolve-interface (guix utils) #:select ...] 2825: 14 [# # ...] 3101: 13 [try-module-autoload (guix utils) #f] 2412: 12 [save-module-excursion #] 3121: 11 [#] In unknown file:    ?: 10 [primitive-load-path "guix/utils" ...] In ./guix/utils.scm:   26: 9 [#] In ice-9/boot-9.scm: 2987: 8 [define-module* (guix utils) #:filename ...] 2962: 7 [resolve-imports (((guix config)) ((srfi srfi-1)) ((srfi srfi- 9)) ...)] 2900: 6 [resolve-interface (guix config) #:select ...] 2825: 5 [# # ...] 3101: 4 [try-module-autoload (guix config) #f] 2412: 3 [save-module-excursion #] 3121: 2 [#] In unknown file:    ?: 1 [primitive-load-path "guix/config" ...] In ./guix/config.scm:    1: 0 [#] ./guix/config.scm:1:437: In procedure #: ./guix/config.scm:1:437: In procedure module-lookup: Unbound variable: and=> guix pull: error: You found a bug: the program '/gnu/store/d9dc5jdlhbp4zdx1m9ffr3fmhyg60zy8-compute-guix-derivation' failed to compute the derivation for Guix (version: "20181217.11"; system: "x86_64-linux"; host version: "20170504.14"; pull-version: 0). Please report it by email to . However, I remember that the package guile-git was not a dependency at the time of v0.12 but it is now.  So, rather than reporting the bug I have tried to install guile-git: $ guix package -i guile-git Starting download of /gnu/store/c3npgqn9ag2ypi9bda1g779wwwlcqqrf- libgit2-0.25.1.tar.gz >From https://github.com/libgit2/libgit2/archive/v0.25.1.tar.gz... following redirection to `https://codeload.github.com/libgit2/libgit2/t ar.gz/v0.25.1'...  v0.25.1                                     1.3MiB/s 00:03 | 4.1MiB transferred output path `/gnu/store/c3npgqn9ag2ypi9bda1g779wwwlcqqrf-libgit2- 0.25.1.tar.gz' should have sha256 hash `1cdwcw38frc1wf28x5ppddazv9hywc718j92f3xa3ybzzycyds3s', instead has `0ywcxw1mwd56c8qc14hbx31bf198gxck3nja3laxyglv7l57qp26' This has been reported before [2].  The workaround suggested there was to download the source directly.  However, this now fails too: $  guix download https://mirror.hydra.gnu.org/file/libgit2-0.25.1.tar.g z/sha256/1cdwcw38frc1wf28x5ppddazv9hywc718j92f3xa3ybzzycyds3s ERROR: Throw to key `gnutls-error' with args `(# set-certificate-credentials-x509-trust- file!)' I think the error message is a little misleading here.  I have tried to download the same file from a more recent guix installation on another system which also fails.  Essentially, the error is 'file not found'. So, the situation is that neither a substitute nor the source code are available for libgit2 and Guix gets stuck.  How should one resolve cases such as this? Best regards, Paul. [1]: http://lists.gnu.org/archive/html/guix-devel/2018-09/msg00068.html [2]: https://lists.gnu.org/archive/html/bug-guix/2017-10/msg00000.html --=-e/GNH4QRLnsnjPkFyQvt Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi Guix,

A lesson le= arnt from a previous update process [1] was; do not leave it too long betwe= en 'guix pull' updates.  

However, I have one= system running Ubuntu 16.04 and Guix v0.12 that I am trying to update. &nb= sp;As root:

$guix package --list-installed
glibc-utf8-locales 2.25 out /g= nu/store/g4g0zhcp5j9pyjmcv02ks4x2b48k252x-glibc-utf8-locales-2.25guix 0.1= 2.0-9.25a4 out /gn= u/store/nqy9m6hhnkkfwr5wyq5bac96v9s9hc9i-guix-0.12.0-9.25a4
gnutl= s 3.5.9 out /gnu/store/56dbd2gw33= g3wdxmq78lr39lamg8gxnq-gnutls-3.5.9
nss-certs 3.30.2 out /gnu/store/3ql0vilc0zv6ra42ghi04787vrg6bb= 71-nss-certs-3.30.2

When I do 'guix pull' I get an= error.  The backtrace suggests reporting a bug:

<= div>Backtrace:
In unknown file:
   ?: 19= [primitive-load-path "guix/store" ...]
In ./guix/store.scm:
  20: 18 [#<procedure 167b020 ()>]
In ice-9/boot= -9.scm:
2987: 17 [define-module* (guix store) #:filename ...]
2962: 16 [resolve-imports (((guix utils)) ((guix config)) ((guix mem= oization)) ...)]
2900: 15 [resolve-interface (guix utils) #:selec= t ...]
2825: 14 [#<procedure 16ffb40 at ice-9/boot-9.scm:2813:= 4 (name #:optional autoload version #:key ensure)> # ...]
3101= : 13 [try-module-autoload (guix utils) #f]
2412: 12 [save-module-= excursion #<procedure 18d53c0 at ice-9/boot-9.scm:3102:17 ()>]
<= div>3121: 11 [#<procedure 18d53c0 at ice-9/boot-9.scm:3102:17 ()>]
In unknown file:
   ?: 10 [primitive-load-= path "guix/utils" ...]
In ./guix/utils.scm:
  26: = 9 [#<procedure 17760a0 ()>]
In ice-9/boot-9.scm:
= 2987: 8 [define-module* (guix utils) #:filename ...]
2962: 7 [res= olve-imports (((guix config)) ((srfi srfi-1)) ((srfi srfi-9)) ...)]
2900: 6 [resolve-interface (guix config) #:select ...]
2825: 5= [#<procedure 16ffb40 at ice-9/boot-9.scm:2813:4 (name #:optional autolo= ad version #:key ensure)> # ...]
3101: 4 [try-module-autoload = (guix config) #f]
2412: 3 [save-module-excursion #<procedure 1= 8f3090 at ice-9/boot-9.scm:3102:17 ()>]
3121: 2 [#<procedur= e 18f3090 at ice-9/boot-9.scm:3102:17 ()>]
In unknown file:
   ?: 1 [primitive-load-path "guix/config" ...]
In ./guix/config.scm:
   1: 0 [#<procedur= e 1790d40 ()>]

./guix/config.scm:1:437: In proc= edure #<procedure 1790d40 ()>:
./guix/config.scm:1:437: In = procedure module-lookup: Unbound variable: and=3D>
guix pull: = error: You found a bug: the program '/gnu/store/d9dc5jdlhbp4zdx1m9ffr3fmhyg= 60zy8-compute-guix-derivation'
failed to compute the derivation f= or Guix (version: "20181217.11"; system: "x86_64-linux";
host ver= sion: "20170504.14"; pull-version: 0).
Please report it by email = to <bug-guix@gnu.org>.

However, I remember that the package guile-git was not a d= ependency at the time of v0.12 but it is now.  So, rather than reporti= ng the bug I have tried to install guile-git:

$ gu= ix package -i guile-git
Starting download of /gnu/store/c3npgqn9a= g2ypi9bda1g779wwwlcqqrf-libgit2-0.25.1.tar.gz
following redirecti= on to `https://codeload.github.com/libgit2/libgit2/tar.gz/v0.25.1'...
 v0.25.1         &n= bsp;            = ;            &n= bsp;  1.3MiB/s 00:03 | 4.1MiB transferred
output path `= /gnu/store/c3npgqn9ag2ypi9bda1g779wwwlcqqrf-libgit2-0.25.1.tar.gz' should h= ave sha256 hash `1cdwcw38frc1wf28x5ppddazv9hywc718j92f3xa3ybzzycyds3s', ins= tead has `0ywcxw1mwd56c8qc14hbx31bf198gxck3nja3laxyglv7l57qp26'
<= br>
This has been reported before [2].  The workaround sugge= sted there was to download the source directly.  However, this now fai= ls too:




--=-e/GNH4QRLnsnjPkFyQvt--