bug#63009: /profile/bin missing from PATH for ssh commands
Hi, Yesterday I updated my account on our 'kluit' server to use guix home, and found that broke pushing to my git archives. Apparently, my git installed as a guix home package is not seen for ssh commands. --8<---cut here---start->8--- $ ssh kluit type -p git [1]10:13:59 janneke@drakenpad:~ $ ssh kluit echo '$PATH' /run/setuid-programs:/home/janneke/.config/guix/current/bin:/home/janneke/.guix-profile/bin:/run/current-system/profile/bin:/run/current-system/profile/sbin --8<---cut here---end--->8--- See? Although there is no "/home/janneke/.guix-profile/bin", it is still present in PATH, while "/home/janneke/.guix-home/profile/bin" is missing! Also (re-)installing git in my home profile again (ugh!) is a workaround to fix this: --8<---cut here---start->8--- $ ssh kluit type -p git /home/janneke/.guix-profile/bin/git 10:14:52 janneke@drakenpad:~ --8<---cut here---end--->8--- The attached patch has a fix for this. WYDT? Greetings, Janneke >From 2ac41477dad5699b748acfc72d4e91e0e14fa16a Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Sat, 22 Apr 2023 09:58:48 +0200 Subject: [PATCH] gnu: system: Cater for Guix Home in PATH. * gnu/system.scm (operating-system-etc-service): Also add a user's /profile/bin directory to PATH, before /bin. --- gnu/system.scm | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/system.scm b/gnu/system.scm index c17c6e4e98..df1e4e8640 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2020, 2021 Brice Waegeneire ;;; Copyright © 2020 Florian Pelz ;;; Copyright © 2020, 2022 Maxim Cournoyer -;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2020, 2023 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2020, 2022 Efraim Flashner ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 raid5atemyhomework @@ -1037,8 +1037,11 @@ (define* (operating-system-etc-service os) export `cat /etc/environment | cut -d= -f1` fi -# Arrange so that ~/.config/guix/current comes first. -for profile in \"$HOME/.guix-profile\" \"$HOME/.config/guix/current\" +# Arrange so that ~/.config/guix/current comes first, +# and guix-home comes before guix-profile. +for profile in \"$HOME/.guix-profile\"\\ + \"$HOME/.guix-home/profile\" \\ + \"$HOME/.config/guix/current\" do if [ -f \"$profile/etc/profile\" ] then -- 2.39.2 -- Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
bug#63002: Ubuntu 22.04 + GNU Guix, guile-gnutls-3.7.11: dependencies couldn't be built
Hi Artyom, "Artyom V. Poptsov" writes: > Initialized empty Git repository in > /gnu/store/dpbxqzqmbhfy7jc2a9dyfi28fdvi04sd-guile-gnutls-3.7.11-checkout/.git/ > fatal: unable to access 'https://gitlab.com/gnutls/guile/': The requested URL > returned error: 403 > Failed to do a shallow fetch; retrying a full fetch... > fatal: unable to access 'https://gitlab.com/gnutls/guile/': The requested URL > returned error: 403 > git-fetch: 'git fetch origin' failed with exit code 128 It rather seems like you're just getting a 403 from gitlab, not that you can't validate the TLS certificate. Can you access that url from a browser? Are you using a proxy, but the Guix daemon is somehow not using it? Best, -- Josselin Poiret signature.asc Description: PGP signature
bug#63010: Exception when running guix pull
I get an error when running `guix pull' on my server: ┌ │ ice-9/boot-9.scm:1685:16: In procedure raise-exception: │ In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f └ The derivation output just lists the progress up to 65% before it fails and isn’t of any use. `guix describe': ┌ │ Generation 14 Apr 09 2023 20:16:43(current) │ guix 02033bf │ repository URL: https://git.savannah.gnu.org/git/guix.git │ branch: master │ commit: 02033bfc05a1e82b12e80c6d000e1724e910e899 └ More detailed output: ┌ │ | | building of `/gnu/store/x3ggzclnvsh9mp17iw0mrxf8fs7l31cy-guix-packages-base.drv': trying to build │ | | locking path `/gnu/store/dnjmnghad7s6mpmw6jchj0hhq48wpvfb-guix-packages-base' │ | | lock acquired on `/gnu/store/dnjmnghad7s6mpmw6jchj0hhq48wpvfb-guix-packages-base.lock' │ | | hook reply is `decline' │ | | building path(s) `/gnu/store/dnjmnghad7s6mpmw6jchj0hhq48wpvfb-guix-packages-base' │ | | | found build user `guixbuilder01' │ | | | found build user `guixbuilder02' │ | | | found build user `guixbuilder03' │ | | | found build user `guixbuilder04' │ | | | found build user `guixbuilder05' │ | | | found build user `guixbuilder06' │ | | | found build user `guixbuilder07' │ | | | found build user `guixbuilder08' │ | | | found build user `guixbuilder09' │ | | | found build user `guixbuilder10' │ | | | trying user `guixbuilder01' │ | | | killing all processes running under uid `999' │ | | | setting up chroot environment in `/gnu/store/x3ggzclnvsh9mp17iw0mrxf8fs7l31cy-guix-packages-base.drv.chroot' │ | | | executing builder `/gnu/store/vbcdwklck7cd28j4jv9wchfw60abivfd-guile-3.0.9/bin/guile' │ | | | @ build-started /gnu/store/x3ggzclnvsh9mp17iw0mrxf8fs7l31cy-guix-packages-base.drv - x86_64-linux /var/log/guix/drvs/x3//ggzclnvsh9mp17iw0mrxf8fs7l31cy-guix-packages-base.drv.gz 15434 │ | | building of `/gnu/store/i9kmvwkzakrv4xd7pq8jbs11nb2gj1r0-guix-config-source.drv': trying to build │ | | locking path `/gnu/store/9bg21iqpy82qs4x3qcjmmvbw1ssrn7xn-guix-config-source' │ | | lock acquired on `/gnu/store/9bg21iqpy82qs4x3qcjmmvbw1ssrn7xn-guix-config-source.lock' │ | | wait for build slot │ | | lock released on `/gnu/store/9bg21iqpy82qs4x3qcjmmvbw1ssrn7xn-guix-config-source.lock' │ | | waiting for children │ | | building of `/gnu/store/x3ggzclnvsh9mp17iw0mrxf8fs7l31cy-guix-packages-base.drv': read 41 bytes │ Backtrace: │ In guix/store.scm: │659:37 19 (thunk) │ In guix/status.scm: │ 830:4 18 (call-with-status-report _ _) │ In guix/store.scm: │1321:3 17 (_) │1298:8 16 (call-with-build-handler _ _) │1298:8 15 (call-with-build-handler # …) │ In guix/build/syscalls.scm: │1445:3 14 (_) │1411:4 13 (call-with-file-lock/no-wait "/var/guix/profiles/per-u…" …) │ In guix/store.scm: │ 2168:25 12 (run-with-store # …) │ In guix/scripts/pull.scm: │ 450:4 11 (_ _) │ In guix/store.scm: │ 2040:38 10 (_ #) │ In guix/scripts/package.scm: │167:14 9 (build-and-use-profile # …) │ In guix/store.scm: │ 1417:15 8 (_ # _ _) │737:14 7 (process-stderr _ _) │ In unknown file: │6 (display "@ build-log 15434 41\n\r[ 0/712] loading...…" …) │ In guix/status.scm: │770:20 5 (write! _ _ _) │ In srfi/srfi-1.scm: │460:18 4 (fold # …) │ In guix/status.scm: │660:15 3 (_ (build-log 15434 "\r[ 0/712] loading...\t 0.0% …") #) │179:23 2 (update-build #< building: () downloadin…> …) │ In ice-9/boot-9.scm: │ 1685:16 1 (raise-exception _ #:continuable? _) │ 1685:16 0 (raise-exception _ #:continuable? _) │ │ ice-9/boot-9.scm:1685:16: In procedure raise-exception: │ In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f └
bug#62956: gajim-1.4.7: build fails during check phase
IRC user jlicht gave me a patch, which I used to successful build gajim after patching a guix checkout yesterday. I am attaching unaltered the patch file I received. Christopher Howard >From 5af74fc3b14aaa26099514d11dda06a24007e4b6 Mon Sep 17 00:00:00 2001 Message-Id: <5af74fc3b14aaa26099514d11dda06a24007e4b6.1682115095.git.jli...@fsfe.org> From: Jelle Licht Date: Sat, 22 Apr 2023 00:08:20 +0200 Subject: [PATCH] gnu: gajim: Add missing inputs. * gnu/packages/messaging.scm (gajim)[native-inputs]: Add python-wheel. [inputs]: Add python-idna. --- gnu/packages/messaging.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index ebb9bc17b3..e9d7a80a49 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -1208,6 +1208,7 @@ (define-public gajim `(,gtk+ "bin") python-distutils-extra python-setuptools + python-wheel xorg-server-for-tests)) (inputs (list avahi @@ -1233,6 +1234,7 @@ (define-public gajim python-css-parser python-dbus python-gssapi + python-idna python-keyring python-nbxmpp python-packaging -- 2.39.2
bug#63019: restic is nine versions out of date
Dear Guix, I rely on restic for my long-term backup solution and it worries me that the version currently provided by Guix is so ancient. Restic 0.9.6 was released in 2019 and there have been 9 major updates since then. I'm particularly interested in the compression support added in restic 0.14.0, but there are many other bug fixes and improvements which have been added. The latest release from January of this year is 0.15.1. There was a recent appeal for help on the help-guix mailing list: => https://lists.gnu.org/archive/html/help-guix/2023-03/msg00117.html I'm filing this bug report since I'm worried that the people who are most knowledge about Go in Guix might not check that mailing list as frequently. Cheers, Kyle
bug#63020: guix import crate swhkd -r
hi, just wanted to capture and report this bug. when I call the following it blows up: $ guix import crate swhkd -r Backtrace: 5 (primitive-load "/home/jgart/.config/guix/current/bin/g…") In guix/ui.scm: 2300:7 4 (run-guix . _) 2263:10 3 (run-guix-command _ . _) In guix/scripts/import.scm: 89:11 2 (guix-import . _) In guix/import/utils.scm: 638:27 1 (recursive-import "swhkd" #:repo->guix-package _ # _ # . #) 630:33 0 (lookup-node "swhkd" #f) guix/import/utils.scm:630:33: In procedure lookup-node: Wrong number of values returned to continuation (expected 2) all best, jgart https://github.com/waycrate/swhkd
bug#63010: Looks like the issue is resolved
`guix pull' didn’t fail, and I’m now at `5b54576' ┌ │ Generation 15 Apr 22 2023 19:21:12(current) │ guix 5b54576 │ repository URL: https://git.savannah.gnu.org/git/guix.git │ branch: master │ commit: 5b545763ed9b8a3fade7f756d543819fc090953f └
bug#63010: Looks like the issue is resolved
Hi Simen, Simen Endsjø writes: > `guix pull' didn’t fail, and I’m now at `5b54576' > > ┌ > │ Generation 15 Apr 22 2023 19:21:12(current) > │ guix 5b54576 > │ repository URL: https://git.savannah.gnu.org/git/guix.git > │ branch: master > │ commit: 5b545763ed9b8a3fade7f756d543819fc090953f > └ Good to see it's resolved. Closing. If you run into this again, feel free to send a reply. Best, -- Josselin Poiret signature.asc Description: PGP signature