From 98744d9403fe2dbc14bede28df4c7ff2faa1a7c4 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 15 Dec 2020 01:02:56 -0300 Subject: rellocatable -> relocatable --- ...-failure-with-rellocatable-guix-pack-tarball.md | 83 ---------------------- ...5-failure-with-relocatable-guix-pack-tarball.md | 83 ++++++++++++++++++++++ 2 files changed, 83 insertions(+), 83 deletions(-) delete mode 100644 _pastebins/2020-12-15-failure-with-rellocatable-guix-pack-tarball.md create mode 100644 _pastebins/2020-12-15-failure-with-relocatable-guix-pack-tarball.md diff --git a/_pastebins/2020-12-15-failure-with-rellocatable-guix-pack-tarball.md b/_pastebins/2020-12-15-failure-with-rellocatable-guix-pack-tarball.md deleted file mode 100644 index 01fbc5c..0000000 --- a/_pastebins/2020-12-15-failure-with-rellocatable-guix-pack-tarball.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -title: Failure with rellocatable Guix pack tarball -date: 2020-12-15 -layout: pastebin -lang: en ---- - -The example from the [blog post][guix-tarball-article] fails. - -[guix-tarball-article]: https://guix.gnu.org/blog/2018/tarballs-the-ultimate-container-image-format/ - -```shell -$ tar xf `guix pack --relocatable -S /bin=bin -S /etc=etc guile gnutls guile-json` -$ source etc/profile -$ bin/guile -c '(use-modules (json))' -guile: warning: failed to install locale -Backtrace: -In ice-9/boot-9.scm: - 1736:10 13 (with-exception-handler _ _ #:unwind? _ # _) -In unknown file: - 12 (apply-smob/0 #) -In ice-9/boot-9.scm: - 718:2 11 (call-with-prompt ("prompt") # ?) -In ice-9/eval.scm: - 619:8 10 (_ #(#(#))) -In ice-9/command-line.scm: - 185:18 9 (_ #) -In unknown file: - 8 (eval (use-modules (json)) #) -In ice-9/eval.scm: - 721:20 7 (primitive-eval (use-modules (json))) -In ice-9/psyntax.scm: - 1241:36 6 (expand-top-sequence ((use-modules (json))) _ _ #f _ _ _) - 1233:19 5 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?) - 285:10 4 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?) -In ice-9/boot-9.scm: - 3898:20 3 (process-use-modules _) - 222:17 2 (map1 (((json)))) - 3899:31 1 (_ ((json))) - 3300:6 0 (resolve-interface (json) #:select _ #:hide _ #:prefix _ ?) - -ice-9/boot-9.scm:3300:6: In procedure resolve-interface: -no code for module (json) -$ bin/guile -c '(use-modules (gnutls))' -guile: warning: failed to install locale -Backtrace: -In ice-9/boot-9.scm: - 1736:10 13 (with-exception-handler _ _ #:unwind? _ # _) -In unknown file: - 12 (apply-smob/0 #) -In ice-9/boot-9.scm: - 718:2 11 (call-with-prompt ("prompt") # ?) -In ice-9/eval.scm: - 619:8 10 (_ #(#(#))) -In ice-9/command-line.scm: - 185:18 9 (_ #) -In unknown file: - 8 (eval (use-modules (gnutls)) #) -In ice-9/eval.scm: - 721:20 7 (primitive-eval (use-modules (gnutls))) -In ice-9/psyntax.scm: - 1241:36 6 (expand-top-sequence ((use-modules (gnutls))) _ _ #f _ _ ?) - 1233:19 5 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?) - 285:10 4 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?) -In ice-9/boot-9.scm: - 3898:20 3 (process-use-modules _) - 222:17 2 (map1 (((gnutls)))) - 3899:31 1 (_ ((gnutls))) - 3300:6 0 (resolve-interface (gnutls) #:select _ #:hide _ #:prefix ?) - -ice-9/boot-9.scm:3300:6: In procedure resolve-interface: -no code for module (gnutls) -``` - -My Guix version if fairly recent: -```shell -$ guix describe -Génération 83 14 déc. 2020 00:28:16 (actuelle) - guix 41807eb - URL du dépôt : https://git.savannah.gnu.org/git/guix.git - branche: master - commit : 41807eb5329299b8c45cd49356a4ead01ce0d469 -``` diff --git a/_pastebins/2020-12-15-failure-with-relocatable-guix-pack-tarball.md b/_pastebins/2020-12-15-failure-with-relocatable-guix-pack-tarball.md new file mode 100644 index 0000000..5b87d8b --- /dev/null +++ b/_pastebins/2020-12-15-failure-with-relocatable-guix-pack-tarball.md @@ -0,0 +1,83 @@ +--- +title: Failure with relocatable Guix pack tarball +date: 2020-12-15 +layout: pastebin +lang: en +--- + +The example from the [blog post][guix-tarball-article] fails. + +[guix-tarball-article]: https://guix.gnu.org/blog/2018/tarballs-the-ultimate-container-image-format/ + +```shell +$ tar xf `guix pack --relocatable -S /bin=bin -S /etc=etc guile gnutls guile-json` +$ source etc/profile +$ bin/guile -c '(use-modules (json))' +guile: warning: failed to install locale +Backtrace: +In ice-9/boot-9.scm: + 1736:10 13 (with-exception-handler _ _ #:unwind? _ # _) +In unknown file: + 12 (apply-smob/0 #) +In ice-9/boot-9.scm: + 718:2 11 (call-with-prompt ("prompt") # ?) +In ice-9/eval.scm: + 619:8 10 (_ #(#(#))) +In ice-9/command-line.scm: + 185:18 9 (_ #) +In unknown file: + 8 (eval (use-modules (json)) #) +In ice-9/eval.scm: + 721:20 7 (primitive-eval (use-modules (json))) +In ice-9/psyntax.scm: + 1241:36 6 (expand-top-sequence ((use-modules (json))) _ _ #f _ _ _) + 1233:19 5 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?) + 285:10 4 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?) +In ice-9/boot-9.scm: + 3898:20 3 (process-use-modules _) + 222:17 2 (map1 (((json)))) + 3899:31 1 (_ ((json))) + 3300:6 0 (resolve-interface (json) #:select _ #:hide _ #:prefix _ ?) + +ice-9/boot-9.scm:3300:6: In procedure resolve-interface: +no code for module (json) +$ bin/guile -c '(use-modules (gnutls))' +guile: warning: failed to install locale +Backtrace: +In ice-9/boot-9.scm: + 1736:10 13 (with-exception-handler _ _ #:unwind? _ # _) +In unknown file: + 12 (apply-smob/0 #) +In ice-9/boot-9.scm: + 718:2 11 (call-with-prompt ("prompt") # ?) +In ice-9/eval.scm: + 619:8 10 (_ #(#(#))) +In ice-9/command-line.scm: + 185:18 9 (_ #) +In unknown file: + 8 (eval (use-modules (gnutls)) #) +In ice-9/eval.scm: + 721:20 7 (primitive-eval (use-modules (gnutls))) +In ice-9/psyntax.scm: + 1241:36 6 (expand-top-sequence ((use-modules (gnutls))) _ _ #f _ _ ?) + 1233:19 5 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?) + 285:10 4 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?) +In ice-9/boot-9.scm: + 3898:20 3 (process-use-modules _) + 222:17 2 (map1 (((gnutls)))) + 3899:31 1 (_ ((gnutls))) + 3300:6 0 (resolve-interface (gnutls) #:select _ #:hide _ #:prefix ?) + +ice-9/boot-9.scm:3300:6: In procedure resolve-interface: +no code for module (gnutls) +``` + +My Guix version if fairly recent: +```shell +$ guix describe +Génération 83 14 déc. 2020 00:28:16 (actuelle) + guix 41807eb + URL du dépôt : https://git.savannah.gnu.org/git/guix.git + branche: master + commit : 41807eb5329299b8c45cd49356a4ead01ce0d469 +``` -- cgit v1.2.3