unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56805: guix import opam fails
@ 2022-07-27 21:28 angola10 via Bug reports for GNU Guix
  2022-07-28 14:30 ` Csepp
  2022-07-28 15:11 ` pukkamustard
  0 siblings, 2 replies; 3+ messages in thread
From: angola10 via Bug reports for GNU Guix @ 2022-07-27 21:28 UTC (permalink / raw)
  To: 56805

[-- Attachment #1: Type: text/plain, Size: 1809 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 2623 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#56805: guix import opam fails
  2022-07-27 21:28 bug#56805: guix import opam fails angola10 via Bug reports for GNU Guix
@ 2022-07-28 14:30 ` Csepp
  2022-07-28 15:11 ` pukkamustard
  1 sibling, 0 replies; 3+ messages in thread
From: Csepp @ 2022-07-28 14:30 UTC (permalink / raw)
  To: angola10; +Cc: 56805


angola10 via Bug reports for GNU Guix <bug-guix@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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#56805: guix import opam fails
  2022-07-27 21:28 bug#56805: guix import opam fails angola10 via Bug reports for GNU Guix
  2022-07-28 14:30 ` Csepp
@ 2022-07-28 15:11 ` pukkamustard
  1 sibling, 0 replies; 3+ messages in thread
From: pukkamustard @ 2022-07-28 15:11 UTC (permalink / raw)
  To: angola10; +Cc: 56805


angola10 via Bug reports for GNU Guix <bug-guix@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-28 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 21:28 bug#56805: guix import opam fails angola10 via Bug reports for GNU Guix
2022-07-28 14:30 ` Csepp
2022-07-28 15:11 ` pukkamustard

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/guix.git

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).