Hello,

Marius Bakke <mba...@fastmail.com> ezt írta (időpont: 2020. ápr. 24., Pén
18:25):

> sirgazil <sirga...@zoho.com> writes:
>
> >  ---- On Fri, 24 Apr 2020 03:20:41 +0000 sirgazil <sirga...@zoho.com>
> wrote ----
> >  >  ---- On Thu, 23 Apr 2020 23:24:23 +0000 Marius Bakke <
> mba...@fastmail.com> wrote ----
> >  >  > Hello Guix!
> >  >  >
> >  >  > The "core-updates" branch is ready for testing!  According to 'guix
> >  >  > weather', the substitute coverage is slightly better than on
> "master"
> >  >  > for x86_64.  You can get it by running:
> >  >  >
> >  >  >   guix pull --branch=core-updates
> >  >  >
> >  >  > Please try upgrading your profiles and systems and file bugs for
> >  >  > anything that does not work for you.  GNOME users in particular are
> >  >  > encouraged to try the new GNOME 3.34 and report any regressions.
> >  >
> >  > I pulled from core-updates without problems, but "guix upgrade"
> failed.
> >  >
> >  > First, when running "guix upgrade", I got the following message,
> which I think is confusing because I use GNU, not Guix on a foreign distro:
> >  >
> >  >     $ guix upgrade
> >  >     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.
> >  >
> >  > Then, everything was going alright, until building emacs-guix
> derivation failed:
> >  >
> >  >     building
> /gnu/store/6kdl0pyv7i571d6b4vcxskr75ffqw1mk-emacs-guix-0.5.2.drv...
> >  >     \ 'configure' phasebuilder for
> `/gnu/store/6kdl0pyv7i571d6b4vcxskr75ffqw1mk-emacs-guix-0.5.2.drv' failed
> with exit code 1
> >  >     build of
> /gnu/store/6kdl0pyv7i571d6b4vcxskr75ffqw1mk-emacs-guix-0.5.2.drv failed
> >  >     View build log at
> '/var/log/guix/drvs/6k/dl0pyv7i571d6b4vcxskr75ffqw1mk-emacs-guix-0.5.2.drv.bz2'.
> >  >     guix upgrade: error: build of
> `/gnu/store/6kdl0pyv7i571d6b4vcxskr75ffqw1mk-emacs-guix-0.5.2.drv' failed
> >  >
> >  >
> >  > The build log said:
> >  >
> >  >     starting phase `configure'
> >  >     source directory:
> "/tmp/guix-build-emacs-guix-0.5.2.drv-0/emacs-guix-0.5.2" (relative from
> build: ".")
> >  >     build directory:
> "/tmp/guix-build-emacs-guix-0.5.2.drv-0/emacs-guix-0.5.2"
> >  >     configure flags:
> ("CONFIG_SHELL=/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash"
> "SHELL=/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash"
> "--prefix=/gnu/store/bqplgazij77awh62579p56wbnxdb1c2l-emacs-guix-0.5.2"
> "--enable-fast-install" "--build=x86_64-unknown-linux-gnu")
> >  >     configure: WARNING: unrecognized options: --enable-fast-install
> >  >     checking for a BSD-compatible install...
> /gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32/bin/install -c
> >  >     checking whether build environment is sane... yes
> >  >     checking for a thread-safe mkdir -p...
> /gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32/bin/mkdir -p
> >  >     checking for gawk... gawk
> >  >     checking whether make sets $(MAKE)... no
> >  >     checking whether make supports nested variables... yes
> >  >     checking whether make supports nested variables... (cached) yes
> >  >     checking for pkg-config...
> /gnu/store/krpyb0zi700dcrg9cc8932w4v0qivdg9-pkg-config-0.29.2/bin/pkg-config
> >  >     checking pkg-config is at least version 0.9.0... yes
> >  >     configure: checking for guile 2.2
> >  >     configure: checking for guile 2.0
> >  >     configure: error:
> >  >     No Guile development packages were found.
> >  >
> >  >     Please verify that you have Guile installed.  If you installed
> Guile
> >  >     from a binary distribution, please verify that you have also
> installed
> >  >     the development packages.  If you installed it yourself, you
> might need
> >  >     to adjust your PKG_CONFIG_PATH; see the pkg-config man page for
> more.
> >  >
> >  >     command
> "/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash"
> "./configure"
> "CONFIG_SHELL=/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash"
> "SHELL=/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash"
> "--prefix=/gnu/store/bqplgazij77awh62579p56wbnxdb1c2l-emacs-guix-0.5.2"
> "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" failed with
> status 1
> >  >
> >  >
> >
> >
> > Then, I decided to remove emacs-guix, and try again to upgrade. This
> time, one of my packages in a custom channel failed with "no code for (term
> ansi-color)" (the package definition:
> https://gitlab.com/sirgazil/guix-channel-x/-/blob/master/sirgazil-x/packages/guile.scm#L13).
> This is not a new package in my profile, I've been using it for a long
> time. Since both error seemed to be related to Guile, I removed all
> Guile-related packages from my profile and tried upgrading again. This
> time, the upgrade succeeded.
>
> Thanks for testing!  I fixed the emacs-guix issue in commit
> f568581c2bfb3a7367442c9ccc23613c43f6f1e9 plus some related changes in
> 962554ddcf86675362486a683acd94863ba68d8a and
> 9b42918edd3f7e9d505c874d3947c0a0815fe551.
>
> > I moved on to reconfiguring the system with "sudo system reconfigure
> my-gnome-config.scm", which failed with the following error:
> >
> > downloading from
> https://ci.guix.gnu.org/nar/lzip/24yvi2yyknfrpyb7linxd09dkpc560xp-nss-certs-3.50
> ...
> >  nss-certs-3.50  133KiB
>
>                                                314KiB/s 00:00 [########
>       ]  48.3%Backtrace:
> >            3 (apply-smob/1 #<catch-closure 7fb8bcb391e0>)
> > In ice-9/boot-9.scm:
> >     705:2  2 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
> > In ice-9/eval.scm:
> >     619:8  1 (_ #(#(#<directory (guile-user) 7fb8bc7cf140>)))
> > 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/24yvi2yyknfrpyb7linxd09dkpc560xp-nss-certs-3.50 failed
> > killing process 2771
> > guix system: error: some substitutes for the outputs of derivation
> `/gnu/store/qnc4hww9jcc3sdd0hqs0n6zsfirf8h5r-nss-certs-3.50.drv' failed
> (usually happens due to networking issues); try `--fallback' to build
> derivation from source
>
> I'm not sure what the problem here is.  Can you try adding --fallback to
> the upgrade command?
>

This comes up from time to time. It is locale related. I think we tried to
fix this several times. Fallback always helps. The not so nice solution
would be to ensure this always builds locally.

Best regards,
g_bor

Reply via email to