Package: guix;
Reported by: angola10 <angola10 <at> proton.me>
Date: Wed, 27 Jul 2022 21:56:01 UTC
Severity: normal
Done: Simon Tournier <zimon.toutoune <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56805 in the body.
You can then email your comments to 56805 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-guix <at> gnu.org
:bug#56805
; Package guix
.
(Wed, 27 Jul 2022 21:56:01 GMT) Full text and rfc822 format available.angola10 <angola10 <at> proton.me>
:bug-guix <at> gnu.org
.
(Wed, 27 Jul 2022 21:56:01 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: angola10 <angola10 <at> proton.me> To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org> Subject: guix import opam fails Date: Wed, 27 Jul 2022 21:28:51 +0000
[Message part 1 (text/plain, inline)]
Hello, The following opam package import fails Command: `guix import opam -r mirage-crypto-pk` Output: ``` Starting download of /tmp/guix-file.ZERar3 From https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz... following redirection to `https://objects.githubusercontent.com/github-production-release-asset-2e65be/238478536/d79d53ac-d704-42c2-a899-b487d768b5f1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220727%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220727T212413Z&X-Amz-Expires=300&X-Amz-Signature=b17374c9f77069f49807d91742bc1fd32c5676b916e3b801b695a54f8398dcd7&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=238478536&response-content-disposition=attachment%3B%20filename%3Dmirage-crypto-0.10.6.tbz&response-content-type=application%2Foctet-stream'... …o-0.10.6.tbz 1.2MiB 8.3MiB/s 00:00 [##################] 100.0% Backtrace: 10 (primitive-load "$HOME/.config/guix/current/bin/gu…") In guix/ui.scm: 2238:7 9 (run-guix . _) 2201:10 8 (run-guix-command _ . _) In guix/scripts/import.scm: 92:11 7 (guix-import . _) In guix/scripts/import/opam.scm: 103:17 6 (guix-import-opam . _) In guix/import/utils.scm: 539:27 5 (recursive-import _ #:repo->guix-package _ #:guix-name _ …) 529:33 4 (lookup-node "mirage-crypto-pk" #f) In guix/import/opam.scm: 284:2 3 (opam->guix-package "mirage-crypto-pk" #:repo _ # _) In unknown file: 2 (filter #<procedure 7fd67cb02ce0 at guix/import/opam.s…> …) In guix/import/opam.scm: 287:13 1 (_ ("mirage-no-solo5" "mirage-no-xen")) In unknown file: 0 (string-prefix? "conf-" ("mirage-no-solo5" "mirage-n…") …) ERROR: In procedure string-prefix?: In procedure string-prefix?: Wrong type argument in position 2 (expecting string): ("mirage-no-solo5" "mirage-no-xen") ``` Best, A.
[Message part 2 (text/html, inline)]
bug-guix <at> gnu.org
:bug#56805
; Package guix
.
(Thu, 28 Jul 2022 14:34:02 GMT) Full text and rfc822 format available.Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Csepp <raingloom <at> riseup.net> To: angola10 <angola10 <at> proton.me> Cc: 56805 <at> debbugs.gnu.org, bug-guix <at> gnu.org Subject: Re: bug#56805: guix import opam fails Date: Thu, 28 Jul 2022 16:30:37 +0200
angola10 via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes: > Hello, > > The following opam package import fails > > Command: `guix import opam -r mirage-crypto-pk` > > Output: > > ``` > > Starting download of /tmp/guix-file.ZERar3 > From https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz... > following redirection to > `https://objects.githubusercontent.com/github-production-release-asset-2e65be/238478536/d79d53ac-d704-42c2-a899-b487d768b5f1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220727%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220727T212413Z&X-Amz-Expires=300&X-Amz-Signature=b17374c9f77069f49807d91742bc1fd32c5676b916e3b801b695a54f8398dcd7&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=238478536&response-content-disposition=attachment%3B%20filename%3Dmirage-crypto-0.10.6.tbz&response-content-type=application%2Foctet-stream'... > > …o-0.10.6.tbz 1.2MiB 8.3MiB/s 00:00 [##################] 100.0% > Backtrace: > 10 (primitive-load "$HOME/.config/guix/current/bin/gu…") > In guix/ui.scm: > 2238:7 9 (run-guix . _) > 2201:10 8 (run-guix-command _ . _) > In guix/scripts/import.scm: > 92:11 7 (guix-import . _) > In guix/scripts/import/opam.scm: > 103:17 6 (guix-import-opam . _) > In guix/import/utils.scm: > 539:27 5 (recursive-import _ #:repo->guix-package _ #:guix-name _ …) > 529:33 4 (lookup-node "mirage-crypto-pk" #f) > In guix/import/opam.scm: > 284:2 3 (opam->guix-package "mirage-crypto-pk" #:repo _ # _) > In unknown file: > 2 (filter #<procedure 7fd67cb02ce0 at guix/import/opam.s…> …) > In guix/import/opam.scm: > 287:13 1 (_ ("mirage-no-solo5" "mirage-no-xen")) > In unknown file: > 0 (string-prefix? "conf-" ("mirage-no-solo5" "mirage-n…") …) > > ERROR: In procedure string-prefix?: > In procedure string-prefix?: Wrong type argument in position 2 (expecting string): ("mirage-no-solo5" "mirage-no-xen") > > ``` > > Best, > A. Looks like a field that was expected to contain a string contained a list of strings.
bug-guix <at> gnu.org
:bug#56805
; Package guix
.
(Thu, 28 Jul 2022 14:34:02 GMT) Full text and rfc822 format available.bug-guix <at> gnu.org
:bug#56805
; Package guix
.
(Thu, 28 Jul 2022 15:16:02 GMT) Full text and rfc822 format available.Message #14 received at 56805 <at> debbugs.gnu.org (full text, mbox):
From: pukkamustard <pukkamustard <at> posteo.net> To: angola10 <angola10 <at> proton.me> Cc: 56805 <at> debbugs.gnu.org Subject: Re: bug#56805: guix import opam fails Date: Thu, 28 Jul 2022 15:11:23 +0000
angola10 via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes: > Command: `guix import opam -r mirage-crypto-pk` Not a solution to this issue, but have a look at issue #49867 which contains patches to add mirage-crypto-pk. -pukkamustard > > Output: > > ``` > > Starting download of /tmp/guix-file.ZERar3 > From https://github.com/mirage/mirage-crypto/releases/download/v0.10.6/mirage-crypto-0.10.6.tbz... > following redirection to > `https://objects.githubusercontent.com/github-production-release-asset-2e65be/238478536/d79d53ac-d704-42c2-a899-b487d768b5f1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220727%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220727T212413Z&X-Amz-Expires=300&X-Amz-Signature=b17374c9f77069f49807d91742bc1fd32c5676b916e3b801b695a54f8398dcd7&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=238478536&response-content-disposition=attachment%3B%20filename%3Dmirage-crypto-0.10.6.tbz&response-content-type=application%2Foctet-stream'... > > …o-0.10.6.tbz 1.2MiB 8.3MiB/s 00:00 [##################] 100.0% > Backtrace: > 10 (primitive-load "$HOME/.config/guix/current/bin/gu…") > In guix/ui.scm: > 2238:7 9 (run-guix . _) > 2201:10 8 (run-guix-command _ . _) > In guix/scripts/import.scm: > 92:11 7 (guix-import . _) > In guix/scripts/import/opam.scm: > 103:17 6 (guix-import-opam . _) > In guix/import/utils.scm: > 539:27 5 (recursive-import _ #:repo->guix-package _ #:guix-name _ …) > 529:33 4 (lookup-node "mirage-crypto-pk" #f) > In guix/import/opam.scm: > 284:2 3 (opam->guix-package "mirage-crypto-pk" #:repo _ # _) > In unknown file: > 2 (filter #<procedure 7fd67cb02ce0 at guix/import/opam.s…> …) > In guix/import/opam.scm: > 287:13 1 (_ ("mirage-no-solo5" "mirage-no-xen")) > In unknown file: > 0 (string-prefix? "conf-" ("mirage-no-solo5" "mirage-n…") …) > > ERROR: In procedure string-prefix?: > In procedure string-prefix?: Wrong type argument in position 2 (expecting string): ("mirage-no-solo5" "mirage-no-xen") > > ``` > > Best, > A.
Simon Tournier <zimon.toutoune <at> gmail.com>
:angola10 <angola10 <at> proton.me>
:Message #19 received at 56805-done <at> debbugs.gnu.org (full text, mbox):
From: Simon Tournier <zimon.toutoune <at> gmail.com> To: angola10 <angola10 <at> proton.me> Cc: 56805-done <at> debbugs.gnu.org Subject: Re: bug#56805: guix import opam fails Date: Wed, 11 Oct 2023 10:46:25 +0200
Hi, This bug#56805 appears to be solved. So closing. Feel free to reopen if I have missed something. https://issues.guix.gnu.org/issue/56805 On Wed, 27 Jul 2022 at 21:28, angola10 <angola10 <at> proton.me> wrote: > The following opam package import fails > > Command: `guix import opam -r mirage-crypto-pk` --8<---------------cut here---------------start------------->8--- $ guix import opam mirage-crypto-pk -r Starting download of /tmp/guix-file.0YUKwm From https://github.com/mirage/mirage-crypto/releases/download/v0.11.2/mirage-crypto-0.11.2.tbz... following redirection to `https://objects.githubusercontent.com/github-production-release-asset-2e65be/238478536/0f24b226-de42-48f1-a378-3646b4c2454e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231011T084300Z&X-Amz-Expires=300&X-Amz-Signature=5053546517ee80f561aa3b9c2f232d374dcb4fc6e43483a674bb7f6c923629da&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=238478536&response-content-disposition=attachment%3B%20filename%3Dmirage-crypto-0.11.2.tbz&response-content-type=application%2Foctet-stream'... …o-0.11.2.tbz 1.2MiB 539KiB/s 00:02 ▕██████████████████▏ 100.0% Starting download of /tmp/guix-file.KIj5xA From https://github.com/hannesm/randomconv/releases/download/v0.1.3/randomconv-v0.1.3.tbz... following redirection to `https://objects.githubusercontent.com/github-production-release-asset-2e65be/69233633/f946fb00-5573-11ea-9e77-4c01edc0335e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231011T084344Z&X-Amz-Expires=300&X-Amz-Signature=90f2db87e2afe4b982a4d95425360757d9039971af880277d40d3db3a1c35de9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=69233633&response-content-disposition=attachment%3B%20filename%3Drandomconv-v0.1.3.tbz&response-content-type=application%2Foctet-stream'... randomconv-v0.1.3.tbz 2KiB 2.4MiB/s 00:00 ▕██████████████████▏ 100.0% Starting download of /tmp/guix-file.k5lnQi From https://github.com/mirage/mirage-crypto/releases/download/v0.11.2/mirage-crypto-0.11.2.tbz... following redirection to `https://objects.githubusercontent.com/github-production-release-asset-2e65be/238478536/0f24b226-de42-48f1-a378-3646b4c2454e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231011T084346Z&X-Amz-Expires=300&X-Amz-Signature=c9c6d90d3ae02862edb6e6fa33deeb286e275786c84a11e9d4453eacfbfe414b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=238478536&response-content-disposition=attachment%3B%20filename%3Dmirage-crypto-0.11.2.tbz&response-content-type=application%2Foctet-stream'... …o-0.11.2.tbz 1.2MiB 539KiB/s 00:02 ▕██████████████████▏ 100.0% Starting download of /tmp/guix-file.acsgsR From https://github.com/mirage/mirage-crypto/releases/download/v0.11.2/mirage-crypto-0.11.2.tbz... following redirection to `https://objects.githubusercontent.com/github-production-release-asset-2e65be/238478536/0f24b226-de42-48f1-a378-3646b4c2454e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231011T084346Z&X-Amz-Expires=300&X-Amz-Signature=c9c6d90d3ae02862edb6e6fa33deeb286e275786c84a11e9d4453eacfbfe414b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=238478536&response-content-disposition=attachment%3B%20filename%3Dmirage-crypto-0.11.2.tbz&response-content-type=application%2Foctet-stream'... …o-0.11.2.tbz 1.2MiB 539KiB/s 00:02 ▕██████████████████▏ 100.0% Starting download of /tmp/guix-file.eUfULj From https://github.com/ocaml/dune/releases/download/3.11.0/dune-3.11.0.tbz... following redirection to `https://objects.githubusercontent.com/github-production-release-asset-2e65be/72368050/e47a6e58-4337-4f8c-bb06-6ef46c4d206d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231011T084355Z&X-Amz-Expires=300&X-Amz-Signature=e53db9ccfdd2f8b93580d57cbcd0f6b56890b8cd246f7f52a3429b36f7a30d2f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=72368050&response-content-disposition=attachment%3B%20filename%3Ddune-3.11.0.tbz&response-content-type=application%2Foctet-stream'... dune-3.11.0.tbz 2.1MiB 546KiB/s 00:04 ▕██████████████████▏ 100.0% Starting download of /tmp/guix-file.5ArKCO From https://github.com/ocaml/dune/releases/download/3.11.0/dune-3.11.0.tbz... following redirection to `https://objects.githubusercontent.com/github-production-release-asset-2e65be/72368050/e47a6e58-4337-4f8c-bb06-6ef46c4d206d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231011T084355Z&X-Amz-Expires=300&X-Amz-Signature=e53db9ccfdd2f8b93580d57cbcd0f6b56890b8cd246f7f52a3429b36f7a30d2f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=72368050&response-content-disposition=attachment%3B%20filename%3Ddune-3.11.0.tbz&response-content-type=application%2Foctet-stream'... dune-3.11.0.tbz 2.1MiB 535KiB/s 00:04 ▕██████████████████▏ 100.0% Starting download of /tmp/guix-file.7S9xVg From https://github.com/mirage/mirage-crypto/releases/download/v0.11.2/mirage-crypto-0.11.2.tbz... following redirection to `https://objects.githubusercontent.com/github-production-release-asset-2e65be/238478536/0f24b226-de42-48f1-a378-3646b4c2454e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231011T084300Z&X-Amz-Expires=300&X-Amz-Signature=5053546517ee80f561aa3b9c2f232d374dcb4fc6e43483a674bb7f6c923629da&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=238478536&response-content-disposition=attachment%3B%20filename%3Dmirage-crypto-0.11.2.tbz&response-content-type=application%2Foctet-stream'... …o-0.11.2.tbz 1.2MiB 539KiB/s 00:02 ▕██████████████████▏ 100.0% Starting download of /tmp/guix-file.bIm4kP From https://github.com/hannesm/randomconv/releases/download/v0.1.3/randomconv-v0.1.3.tbz... following redirection to `https://objects.githubusercontent.com/github-production-release-asset-2e65be/69233633/f946fb00-5573-11ea-9e77-4c01edc0335e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231011T084412Z&X-Amz-Expires=300&X-Amz-Signature=d37e00d8578663a436873e094fb6e272bbadc24101319cea639e2484dee9da35&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=69233633&response-content-disposition=attachment%3B%20filename%3Drandomconv-v0.1.3.tbz&response-content-type=application%2Foctet-stream'... randomconv-v0.1.3.tbz 2KiB 7.8MiB/s 00:00 ▕██████████████████▏ 100.0% (define-public ocaml-mirage-crypto-rng (package (name "ocaml-mirage-crypto-rng") (version "0.11.2") (source (origin (method url-fetch) (uri "https://github.com/mirage/mirage-crypto/releases/download/v0.11.2/mirage-crypto-0.11.2.tbz") (sha256 (base32 "0r7pxlqz5x3cc8a1cwnh0phhlzqygh9h7k0k4mh4ld6wy2vprffn")))) (build-system dune-build-system) (propagated-inputs (list ocaml-dune-configurator ocaml-duration ocaml-cstruct ocaml-logs ocaml-mirage-crypto)) (native-inputs (list ocaml-ounit2 ocaml-randomconv)) (home-page "https://github.com/mirage/mirage-crypto") (synopsis "A cryptographically secure PRNG") (description "Mirage-crypto-rng provides a random number generator interface, and implementations: Fortuna, HMAC-DRBG, getrandom/getentropy based (in the unix sublibrary)") (license license:isc))) (define-public ocaml-dune-configurator (package (name "ocaml-dune-configurator") (version "3.11.0") (source (origin (method url-fetch) (uri "https://github.com/ocaml/dune/releases/download/3.11.0/dune-3.11.0.tbz") (sha256 (base32 "04v51mxzm991x7njd8hvvxki3wzc20lz04snf6fkm3aa2dz7v70v")))) (build-system dune-build-system) (propagated-inputs (list ocaml-csexp ocaml-odoc)) (home-page "https://github.com/ocaml/dune") (synopsis "Helper library for gathering system configuration") (description "dune-configurator is a small library that helps writing OCaml scripts that test features available on the system, in order to generate config.h files for instance. Among other things, dune-configurator allows one to: - test if a C program compiles - query pkg-config - import #define from OCaml header files - generate config.h file") (license license:expat))) (define-public ocaml-mirage-crypto (package (name "ocaml-mirage-crypto") (version "0.11.2") (source (origin (method url-fetch) (uri "https://github.com/mirage/mirage-crypto/releases/download/v0.11.2/mirage-crypto-0.11.2.tbz") (sha256 (base32 "0r7pxlqz5x3cc8a1cwnh0phhlzqygh9h7k0k4mh4ld6wy2vprffn")))) (build-system dune-build-system) (propagated-inputs (list ocaml-dune-configurator ocaml-cstruct ocaml-eqaf)) (native-inputs (list ocaml-ounit2)) (home-page "https://github.com/mirage/mirage-crypto") (synopsis "Simple symmetric cryptography for the modern age") (description "Mirage-crypto provides symmetric ciphers (DES, AES, RC4, @code{ChaCha20/Poly1305}), and hashes (MD5, SHA-1, SHA-2).") (license license:isc))) (define-public ocaml-randomconv (package (name "ocaml-randomconv") (version "0.1.3") (source (origin (method url-fetch) (uri "https://github.com/hannesm/randomconv/releases/download/v0.1.3/randomconv-v0.1.3.tbz") (sha256 (base32 "1iv3r0s5kqxs893b0d55f0r62k777haiahfkkvvfbqwgqsm6la4v")))) (build-system dune-build-system) (propagated-inputs (list ocaml-cstruct)) (home-page "https://github.com/hannesm/randomconv") (synopsis "Convert from random byte vectors (Cstruct.t) to random native numbers") (description "Given a function which produces random byte vectors, convert it to a number of your choice (int8/int16/int32/int64/int/float).") (license license:isc))) (define-public ocaml-mirage-crypto-pk (package (name "ocaml-mirage-crypto-pk") (version "0.11.2") (source (origin (method url-fetch) (uri "https://github.com/mirage/mirage-crypto/releases/download/v0.11.2/mirage-crypto-0.11.2.tbz") (sha256 (base32 "0r7pxlqz5x3cc8a1cwnh0phhlzqygh9h7k0k4mh4ld6wy2vprffn")))) (build-system dune-build-system) (propagated-inputs (list ocaml-cstruct ocaml-mirage-crypto ocaml-mirage-crypto-rng ocaml-sexplib0 ocaml-zarith ocaml-eqaf)) (native-inputs (list gmp-powm-sec ocaml-ounit2 ocaml-randomconv)) (home-page "https://github.com/mirage/mirage-crypto") (synopsis "Simple public-key cryptography for the modern age") (description "Mirage-crypto-pk provides public-key cryptography (RSA, DSA, DH).") (license license:isc))) --8<---------------cut here---------------end--------------->8--- Using Guix 6113e05. Cheers, simon
Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Wed, 08 Nov 2023 12:24:05 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.