* guix-home corrupt input encoding error
@ 2022-06-26 2:50 jgart
2022-06-28 8:40 ` Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: jgart @ 2022-06-26 2:50 UTC (permalink / raw)
To: Guix Help
Hi Guixers,
I'm trying to keep my home tidy on void linux.
I followed ludo's blog post here: https://guix.gnu.org/en/blog/2022/keeping-ones-home-tidy/
But I get the following error:
```
λ guix home reconfigure ~/src/guix-config/home-configuration.scm
guix home: warning: cannot determine provenance for current system
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
41.9 MB will be downloaded
guix-1.3.0-27.598f728 39.9MiB 2.5MiB/s 00:16 [##################] 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/ngiphnissk3l2b8rimbapq5pdwmw1gfj-bower-0.13.drv
/gnu/store/qd9jkl345b57n1ral2bi192v2wnlprlk-bower-0.13-checkout.drv
/gnu/store/l87zi9figx82dyd8z59v3lga7jmdghj3-module-import-compiled.drv
/gnu/store/05i791c34mrsrb39c5pr93mafpd9qxbm-dwm-with-windows-key-6.3.drv
162.0 MB will be downloaded
emacs-annalist-1.0.1 25KiB 1.5MiB/s 00:00 [##################] 100.0%
diffutils-3.8 367KiB 570KiB/s 00:01 [##################] 100.0%
dwm-6.3.tar.gz 25KiB 11.1MiB/s 00:00 [##################] 100.0%
emacs-evil-collection-0.0.8 159KiB 259KiB/s 00:01 [##################] 100.0%
emacs-no-x-28.1 38.1MiB 4.3MiB/s 00:09 [##################] 100.0%
glibc-locales-2.33 30.6MiB 1.9MiB/s 00:16 [##################] 100.0%
lynx-2.9.0dev.9 1.3MiB 1.2MiB/s 00:01 [##################] 100.0%
mercury-20.06.1 81.3MiB 2.8MiB/s 00:29 [##################] 100.0%
nss-certs-3.71 128KiB 12.3MiB/s 00:00 [################# ] 99.6%Backtrace:
In guix/ui.scm:
2166:12 19 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1736:10 18 (with-exception-handler _ _ #:unwind? _ # _)
1736:10 17 (with-exception-handler _ _ #:unwind? _ # _)
1731:15 16 (with-exception-handler #<procedure 7fd4b430b000 at ic?> ?)
In guix/scripts/substitute.scm:
765:15 15 (_)
538:9 14 (process-substitution #<output: file 4> _ "/gnu/store/?" ?)
In guix/serialization.scm:
424:4 13 (fold-archive _ _ _ _)
468:33 12 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
468:33 11 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
468:33 10 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
468:33 9 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
451:26 8 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
520:21 7 (_ "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss-ce?" ?)
In ice-9/boot-9.scm:
1731:15 6 (with-exception-handler #<procedure 7fd4b3527f00 at ic?> ?)
In unknown file:
5 (symlink "NetLock_Arany_=Class_Gold=_F?tan?s?tv?ny.pem" #)
In ice-9/boot-9.scm:
1669:16 4 (raise-exception _ #:continuable? _)
1669:16 3 (raise-exception _ #:continuable? _)
1764:13 2 (_ #<&compound-exception components: (#<&error> #<&orig?>)
1669:16 1 (raise-exception _ #:continuable? _)
1669:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert wide string to output locale" 84 #f #f)'.
substitution of /gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss-certs-3.71 failed
guix home: error: corrupt input while restoring archive from #<closed: file 7f63b9351700>
```
This is my config that was generated from `guix home import`:
```
λ cat ~/src/guix-config/home-configuration.scm
;; This "home-environment" file can be passed to 'guix home reconfigure'
;; to reproduce the content of your profile. This is "symbolic": it only
;; specifies package names. To reproduce the exact same profile, you also
;; need to capture the channels being used, as returned by "guix describe".
;; See the "Replicating Guix" section in the manual.
(use-modules
(gnu home)
(gnu packages)
(gnu services)
(guix gexp)
(gnu home services shells))
(home-environment
(packages
(specifications->packages
(list "jrnl"
"slstatus"
"dmenu"
"guile-colorized"
"gcal"
"emacs-rainbow-delimiters"
"emacs-macrostep"
"emacs-sly-macrostep"
"emacs-eglot"
"emacs-keycast"
"emacs-restart-emacs"
"emacs-base16-theme"
"sbcl"
"emacs-sly"
"babi"
"dragon-drop"
"guitar-scale-chart"
"git-cal"
"tig"
"skim"
"git-open"
"guile"
"tz"
"neovim"
"emacs-corfu-doc-terminal"
"emacs-corfu-terminal"
"emacs-no-x"
"dwm-with-windows-key"
"xst"
"snafu"
"emacs-corfu-doc"
"emacs-corfu"
"emacs-epithet"
"emacs-imenu-list"
"emacs-org-cliplink"
"emacs-evil-org"
"emacs-evil-collection"
"emacs-undo-tree"
"emacs-rainbow-mode"
"emacs-evil-leader"
"emacs-tempel"
"emacs-pcmpl-args"
"emacs-xclip"
"emacs-terminal-here"
"emacs-better-defaults"
"emacs-orderless"
"emacs-consult"
"emacs-embark"
"catgirl"
"emacs-vertico"
"emacs-marginalia"
"emacs-evil"
"lynx"
"bower"
"glibc-locales"
"nss-certs")))
(services
(list (service
home-bash-service-type
(home-bash-configuration
(aliases
'(("b" . "acpi -b")
("c" . "emc")
("n" . "nnn")
("sbcl" . "rlwrap sbcl")))
(bashrc
(list (local-file
"/home/jgart/src/guix-config/.bashrc"
"bashrc")))
(bash-profile
(list (local-file
"/home/jgart/src/guix-config/.bash_profile"
"bash_profile")))
(bash-logout
(list (local-file
"/home/jgart/src/guix-config/.bash_logout"
"bash_logout"))))))))
```
wdyt
- jgart
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guix-home corrupt input encoding error
2022-06-26 2:50 guix-home corrupt input encoding error jgart
@ 2022-06-28 8:40 ` Efraim Flashner
0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2022-06-28 8:40 UTC (permalink / raw)
To: jgart; +Cc: Guix Help
[-- Attachment #1: Type: text/plain, Size: 5545 bytes --]
On Sat, Jun 25, 2022 at 09:50:51PM -0500, jgart wrote:
> Hi Guixers,
>
> I'm trying to keep my home tidy on void linux.
>
> I followed ludo's blog post here: https://guix.gnu.org/en/blog/2022/keeping-ones-home-tidy/
>
> But I get the following error:
>
> ```
> λ guix home reconfigure ~/src/guix-config/home-configuration.scm
> guix home: warning: cannot determine provenance for current system
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> 41.9 MB will be downloaded
> guix-1.3.0-27.598f728 39.9MiB 2.5MiB/s 00:16 [##################] 100.0%
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> The following derivations will be built:
> /gnu/store/ngiphnissk3l2b8rimbapq5pdwmw1gfj-bower-0.13.drv
> /gnu/store/qd9jkl345b57n1ral2bi192v2wnlprlk-bower-0.13-checkout.drv
> /gnu/store/l87zi9figx82dyd8z59v3lga7jmdghj3-module-import-compiled.drv
> /gnu/store/05i791c34mrsrb39c5pr93mafpd9qxbm-dwm-with-windows-key-6.3.drv
>
> 162.0 MB will be downloaded
> emacs-annalist-1.0.1 25KiB 1.5MiB/s 00:00 [##################] 100.0%
> diffutils-3.8 367KiB 570KiB/s 00:01 [##################] 100.0%
> dwm-6.3.tar.gz 25KiB 11.1MiB/s 00:00 [##################] 100.0%
> emacs-evil-collection-0.0.8 159KiB 259KiB/s 00:01 [##################] 100.0%
> emacs-no-x-28.1 38.1MiB 4.3MiB/s 00:09 [##################] 100.0%
> glibc-locales-2.33 30.6MiB 1.9MiB/s 00:16 [##################] 100.0%
> lynx-2.9.0dev.9 1.3MiB 1.2MiB/s 00:01 [##################] 100.0%
> mercury-20.06.1 81.3MiB 2.8MiB/s 00:29 [##################] 100.0%
> nss-certs-3.71 128KiB 12.3MiB/s 00:00 [################# ] 99.6%Backtrace:
> In guix/ui.scm:
> 2166:12 19 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
> 1736:10 18 (with-exception-handler _ _ #:unwind? _ # _)
> 1736:10 17 (with-exception-handler _ _ #:unwind? _ # _)
> 1731:15 16 (with-exception-handler #<procedure 7fd4b430b000 at ic?> ?)
> In guix/scripts/substitute.scm:
> 765:15 15 (_)
> 538:9 14 (process-substitution #<output: file 4> _ "/gnu/store/?" ?)
> In guix/serialization.scm:
> 424:4 13 (fold-archive _ _ _ _)
> 468:33 12 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
> 468:33 11 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
> 468:33 10 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
> 468:33 9 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
> 451:26 8 (read "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss?" ?)
> 520:21 7 (_ "/gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss-ce?" ?)
> In ice-9/boot-9.scm:
> 1731:15 6 (with-exception-handler #<procedure 7fd4b3527f00 at ic?> ?)
> In unknown file:
> 5 (symlink "NetLock_Arany_=Class_Gold=_F?tan?s?tv?ny.pem" #)
> In ice-9/boot-9.scm:
> 1669:16 4 (raise-exception _ #:continuable? _)
> 1669:16 3 (raise-exception _ #:continuable? _)
> 1764:13 2 (_ #<&compound-exception components: (#<&error> #<&orig?>)
> 1669:16 1 (raise-exception _ #:continuable? _)
> 1669:16 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert wide string to output locale" 84 #f #f)'.
> substitution of /gnu/store/mjmpb4k2g21p7hyx9zq57p9xymbl16ac-nss-certs-3.71 failed
> guix home: error: corrupt input while restoring archive from #<closed: file 7f63b9351700>
> ```
>
> wdyt
>
> - jgart
Try running 'guix build --no-grafts --no-substitutes nss-certs' so that
you can build nss-certs locally, and then run your command again.
nss-certs and character encoding is often a problem.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-28 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-26 2:50 guix-home corrupt input encoding error jgart
2022-06-28 8:40 ` Efraim Flashner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).