From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 25 11:20:20 2020 Received: (at submit) by debbugs.gnu.org; 25 Aug 2020 15:20:20 +0000 Received: from localhost ([127.0.0.1]:35690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAakC-0007Zv-Iv for submit@debbugs.gnu.org; Tue, 25 Aug 2020 11:20:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:50244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAWQt-0004d3-QB for submit@debbugs.gnu.org; Tue, 25 Aug 2020 06:44:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAWQt-00085Y-HP for bug-guix@gnu.org; Tue, 25 Aug 2020 06:44:03 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:43099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAWQq-0008Ak-39 for bug-guix@gnu.org; Tue, 25 Aug 2020 06:44:02 -0400 Received: by mail-wr1-x436.google.com with SMTP id 2so1044047wrj.10 for ; Tue, 25 Aug 2020 03:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=U6A+lyInB9SqGOykqAQujsUJshUCLkXZCCagSgQkBz8=; b=lAPSw5hR7zNdSBknyE9I6UMaw2psRLpWFJTXzXk0pulhmWp242QljLmu2n6UgsJvTH orqMiSbqSCakE2AdoAz8uw46uQay+StL77h9qyBdiPTkbmBku8673k0tXr84skl3PaAw 1ob9d3ih9V7l3gcOBFK7yLhx2zkg2as0lKJXS+tES9Jie6l+DWOuqmTELEUa/vy0lRbg uy4RIr55drOpyL8ay88N0TFjTOIszbLscet8wZzQwSTrjzA1dc1W40A0fNn4Iwx3MH7f +FVm8T3pb+qbINKebJgGftdkInyB7nH6SWk/r4PD0TsDYUiM8u0AhYxoTFBylJ29NXcp SO9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=U6A+lyInB9SqGOykqAQujsUJshUCLkXZCCagSgQkBz8=; b=Q8VjG6Ola3LzLe3kSEvWVGkPTHhLgWTT3M39KpiZFy8JFIDxIVgnO6keWbOQ1+Zq89 /iM1BtRE+jtQ1P9B2vQYZUIBHlQMnDWtdoanGk6/DVCpafoLx2z6NBLeIXuAW843gKmX nGWIUxuDaT+bnrmGXhiY88R19mwPU1nNX+tqjMZqIdT++Wqf+p0/ER24LY6AlEOwYptc MG+RP2+5bRkSq9KLEt+UkR4gmZVuPw0DSWane8kohQxsh/y1dBCNceArW6bXMKBnYt6V mshx46biXY3+el0Usv8MBsRT92PSycJd8MFfbGGBgxzn5T3CYeLRmjHaXI0TsAuf0rE9 5kqw== X-Gm-Message-State: AOAM531ExZzqJLOP/QZWWvH15HZaR/Q7AS6eSgW/l6IbRF6JC6EAtsfs T/5g8d/TRQegA4axXHsUjZYOo/XrLyZ9z4T8Cj1dZiGM85GTmg== X-Google-Smtp-Source: ABdhPJyFFLds6DOL4RgwjL7EDmB1m0wLnOCYL8rVVP/xw829lVvDsrwbZxufdASfywfNful1GdTV320AYEzNCd6ngZM= X-Received: by 2002:adf:e4c8:: with SMTP id v8mr2182055wrm.192.1598352237282; Tue, 25 Aug 2020 03:43:57 -0700 (PDT) MIME-Version: 1.0 From: Adam Griffiths Date: Tue, 25 Aug 2020 20:43:29 +1000 Message-ID: Subject: Vanilla GUIX 1.1.0 reconfigure fails on nss-certs To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="00000000000054497505adb16146" Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=adam.lw.griffiths@gmail.com; helo=mail-wr1-x436.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 25 Aug 2020 11:20:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --00000000000054497505adb16146 Content-Type: text/plain; charset="UTF-8" After installing GuixSD 1.1.0 into a VirtualBox VM and following the After System Installation steps ( https://guix.gnu.org/manual/en/html_node/After-System-Installation.html#After-System-Installation), the update fails when trying to update nss-certs. Possibly related to #37662 Error: $ guix pull Migrating profile generations to '/var/guix/profiles/per-user/adam'... Updating channel 'guix' from Git repository at ' https://git.savannah.gnu.org/git/guix.git'... $ sudo guix system reconfigure /etc/config.scm guile: warning: failed to install locale hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and defining `GUIX_LOCPATH', along these lines: guix package -i glibc-utf8-locales export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. guix system: warning: cannot determine provenance for current system substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% downloading from https://ci.guix.gnu.org/nar/lzip/0llx3y194278l5ksr4xh9kc64mh8nn8d-nss-certs-3.52.1 ... nss-certs-3.52.1 133KiB 186KiB/s 00:00 [######## ] 48.3% Backtrace: 3 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 2 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 1 (_ #(#(#))) In guix/ui.scm: 1936:12 0 (run-guix-command _ . _) guix/ui.scm:1936:12: In procedure run-guix-command: Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert wide string to output locale" 84 #f #f)'. substitution of /gnu/store/0llx3y194278l5ksr4xh9kc64mh8nn8d-nss-certs-3.52.1 failed killing process 5266 guix system: error: some substitutes for the outputs of derivation `/gnu/store/55mphxd7fz9km07s2zy1x26vcljh6yb5-nss-certs-3.52.1.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source The error is always when installing nss-certs, is entirely repeatable, and therefore not to do with a network connection. I tried this about 4 months previous, and again today, and have been presented with exactly the same error. The error always occurs at 48.3%. A post on Reddit ( https://www.reddit.com/r/GUIX/comments/hxrmzn/guix_system_error/) has the exact same error as this. The error even occurred at the same 48.3%! I selected the Australian Locale (en_AU) during this installation. I am unsure why the locales error is present after installation. I ran the commands it suggested last time and the warning did not disappear, nor did the nss-certs error get resolved. I can run --fallback, but to me this is ignoring an obvious issue with a vanilla system that should work out of the box. Steps to reproduce: * Create new VBox VM * Install GuixSD Graphical * Select Australia locale * Select defaults * boot into the system * $ guix pull * $ sudo guix system reconfigure /etc/config.scm Original post https://superuser.com/questions/1580209/vanilla-guix-1-1-0-reconfigure-fails-on-nss-certs --00000000000054497505adb16146 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
After installing GuixSD 1.1.0 into a VirtualBox VM and fol= lowing the After System Installation steps (https://guix.gnu.org/manual/en/html_node/After-System-Installation.html= #After-System-Installation), the update fails when trying to update nss= -certs.

Possibly related to=C2=A0 #37662=C2=A0=C2=A0
Error:

$ guix pull
Migrating profile generations to '/var/gu= ix/profiles/per-user/adam'...
Updating channel 'guix' from G= it repository at 'https://git.savannah.gnu.org/git/guix.git'...
<snip>= ;
$ sudo guix system reconfigure /etc/config.scm
<sudo warning sn= ipped>
guile: warning: failed to install locale
hint: Consider ins= talling the `glibc-utf8-locales' or `glibc-locales' package and def= ining
`GUIX_LOCPATH', along these lines:

=C2=A0 =C2=A0 =C2=A0= guix package -i glibc-utf8-locales
=C2=A0 =C2=A0 =C2=A0export GUIX_LOCPA= TH=3D"$HOME/.guix-profile/lib/locale"

See the "Applic= ation Setup" section in the manual, for more info.

guix system:= warning: cannot determine provenance for current system
substitute: upd= ating substitutes from 'https://ci.= guix.gnu.org'... 100.0%

<snip>

downloading from= https://ci.guix.gnu.org/nar/lzip/0llx3y194278l5ksr4xh9= kc64mh8nn8d-nss-certs-3.52.1 ...
=C2=A0nss-certs-3.52.1 =C2=A0133KiB= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0186KiB/s 00:00 [#######= # =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0] =C2=A048.3%
Backtrace:
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A03 (apply-smob/1 #<catch-closure 7f10d4= c80120>)
In ice-9/boot-9.scm:
=C2=A0 =C2=A0 705:2 =C2=A02 (call-wi= th-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.s= cm:
=C2=A0 =C2=A0 619:8 =C2=A01 (_ #(#(#<directory (guile-user) 7f10d= 490e140>)))
In guix/ui.scm:
=C2=A0 1936:12 =C2=A00 (run-guix-comma= nd _ . _)

guix/ui.scm:1936:12: In procedure run-guix-command:
Thr= ow to key `encoding-error' with args `("scm_to_stringn" "= ;cannot convert wide string to output locale" 84 #f #f)'.
subst= itution of /gnu/store/0llx3y194278l5ksr4xh9kc64mh8nn8d-nss-certs-3.52.1 fai= led
killing process 5266
guix system: error: some substitutes for the= outputs of derivation `/gnu/store/55mphxd7fz9km07s2zy1x26vcljh6yb5-nss-cer= ts-3.52.1.drv' failed (usually happens due to networking issues); try `= --fallback' to build derivation from source

The error is always= when installing nss-certs, is entirely repeatable, and therefore not to do= with a network connection.

I tried this about 4 months previous, an= d again today, and have been presented with exactly the same error.

= The error always occurs at 48.3%.

A post on Reddit (https://www.re= ddit.com/r/GUIX/comments/hxrmzn/guix_system_error/) has the exact same = error as this. The error even occurred at the same 48.3%!

I selected= the Australian Locale (en_AU) during this installation. I am unsure why th= e locales error is present after installation. I ran the commands it sugges= ted last time and the warning did not disappear, nor did the nss-certs erro= r get resolved.

I can run --fallback, but to me this is ignoring an = obvious issue with a vanilla system that should work out of the box.
Steps to reproduce:

* Create new VBox VM
=C2=A0 * =C2=A0 Install= GuixSD Graphical
=C2=A0 * =C2=A0 Select Australia locale
=C2=A0 * = =C2=A0 Select defaults
=C2=A0 * =C2=A0 boot into the system
=C2=A0 * = =C2=A0$ guix pull
=C2=A0 * =C2=A0$ sudo guix system reconfigure /etc/con= fig.scm

Original post
https://superuse= r.com/questions/1580209/vanilla-guix-1-1-0-reconfigure-fails-on-nss-certs =C2=A0
--00000000000054497505adb16146--