From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirgazil Subject: Re: core-updates call for testing Date: Fri, 24 Apr 2020 19:29:19 +0000 Message-ID: <171adaa6af5.bb85cde55255.4212130320096832859@zoho.com> References: <87pnbxg508.fsf@devup.no> <171aa339c16.dea1952b12162.1876835440526368620@zoho.com> <171ac449812.e08028a216256.2620619201410674037@zoho.com> <87eescg8ba.fsf@devup.no> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: =?UTF-8?Q?=22G=C3=A1bor_Boskovits=22?= Cc: Marius Bakke , guix-devel , help-guix List-Id: guix-devel.gnu.org ---- On Fri, 24 Apr 2020 16:54:19 +0000 G=C3=A1bor Boskovits wrote ---- > Hello, >=20 > Marius Bakke ezt =C3=ADrta (id=C5=91pont: 2020. = =C3=A1pr. 24., P=C3=A9n 18:25): >=20 > 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 > sirgazil writes: >=20 > > ---- On Fri, 24 Apr 2020 03:20:41 +0000 sirgazil = wrote ---- > > > ---- On Thu, 23 Apr 2020 23:24:23 +0000 Marius Bakke wrote ---- > > > > Hello Guix! > > > >=20 > > > > The "core-updates" branch is ready for testing! According to 'g= uix > > > > weather', the substitute coverage is slightly better than on "ma= ster" > > > > for x86_64. You can get it by running: > > > >=20 > > > > guix pull --branch=3Dcore-updates > > > >=20 > > > > 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. > > >=20 > > > I pulled from core-updates without problems, but "guix upgrade" fai= led. > > >=20 > > > First, when running "guix upgrade", I got the following message, wh= ich I think is confusing because I use GNU, not Guix on a foreign distro: > > >=20 > > > $ guix upgrade > > > guile: warning: failed to install locale > > > hint: Consider installing the `glibc-utf8-locales' or `glibc-lo= cales' package and defining `GUIX_LOCPATH', along these lines: > > >=20 > > > guix package -i glibc-utf8-locales > > > export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" > > >=20 > > > See the "Application Setup" section in the manual, for more inf= o. > > >=20 > > > Then, everything was going alright, until building emacs-guix deriv= ation failed: > > >=20 > > > building /gnu/store/6kdl0pyv7i571d6b4vcxskr75ffqw1mk-emacs-guix= -0.5.2.drv... > > > \ 'configure' phasebuilder for `/gnu/store/6kdl0pyv7i571d6b4vcx= skr75ffqw1mk-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/dl0pyv7i571d6b4vcxskr7= 5ffqw1mk-emacs-guix-0.5.2.drv.bz2'. > > > guix upgrade: error: build of `/gnu/store/6kdl0pyv7i571d6b4vcxs= kr75ffqw1mk-emacs-guix-0.5.2.drv' failed > > >=20 > > >=20 > > > The build log said: > > >=20 > > > 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=3D/gnu/store/pwcp239kjf7lnj5i4l= kdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash" "SHELL=3D/gnu/store/pwcp239kjf= 7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash" "--prefix=3D/gnu/store= /bqplgazij77awh62579p56wbnxdb1c2l-emacs-guix-0.5.2" "--enable-fast-install"= "--build=3Dx86_64-unknown-linux-gnu") > > > configure: WARNING: unrecognized options: --enable-fast-install > > > checking for a BSD-compatible install... /gnu/store/57xj5gcy1jb= l9ai2lnrqnpr0dald9i65-coreutils-8.32/bin/install -c > > > checking whether build environment is sane... yes > > > checking for a thread-safe mkdir -p... /gnu/store/57xj5gcy1jbl9= ai2lnrqnpr0dald9i65-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/krpyb0zi700dcrg9cc8932w4v= 0qivdg9-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:=20 > > > No Guile development packages were found. > > >=20 > > > Please verify that you have Guile installed. If you installed = Guile > > > from a binary distribution, please verify that you have also in= stalled > > > the development packages. If you installed it yourself, you mi= ght need > > > to adjust your PKG_CONFIG_PATH; see the pkg-config man page for= more. > > >=20 > > > command "/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minim= al-5.0.16/bin/bash" "./configure" "CONFIG_SHELL=3D/gnu/store/pwcp239kjf7lnj= 5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash" "SHELL=3D/gnu/store/pwcp23= 9kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash" "--prefix=3D/gnu/s= tore/bqplgazij77awh62579p56wbnxdb1c2l-emacs-guix-0.5.2" "--enable-fast-inst= all" "--build=3Dx86_64-unknown-linux-gnu" failed with status 1 > > >=20 > > >=20 > > > > > > Then, I decided to remove emacs-guix, and try again to upgrade. This t= ime, one of my packages in a custom channel failed with "no code for (term = ansi-color)" (the package definition: https://gitlab.com/sirgazil/guix-chan= nel-x/-/blob/master/sirgazil-x/packages/guile.scm#L13). This is not a new p= ackage 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. >=20 > Thanks for testing! I fixed the emacs-guix issue in commit > f568581c2bfb3a7367442c9ccc23613c43f6f1e9 plus some related changes in > 962554ddcf86675362486a683acd94863ba68d8a and > 9b42918edd3f7e9d505c874d3947c0a0815fe551. >=20 > > I moved on to reconfiguring the system with "sudo system reconfigure m= y-gnome-config.scm", which failed with the following error: > > > > downloading from https://ci.guix.gnu.org/nar/lzip/24yvi2yyknfrpyb7linx= d09dkpc560xp-nss-certs-3.50 ... > > nss-certs-3.50 133KiB = = 314KiB/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 con= vert 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 `/g= nu/store/qnc4hww9jcc3sdd0hqs0n6zsfirf8h5r-nss-certs-3.50.drv' failed (usual= ly happens due to networking issues); try `--fallback' to build derivation = from source >=20 > I'm not sure what the problem here is. Can you try adding --fallback to > the upgrade command? >=20 I tried again the whole process (after pulling the latest changes). Using -= -fallback works around the nss-certs part, but "guix system reconfigure" st= ill fails with another issue: https://debbugs.gnu.org/cgi/bugreport.cgi?bug= =3D40828