Subject: Re: bug#59179: BUG: &invalid-base32-character (./guix/base32.scm:296:65: ERROR)

From: zimoun <[email-masked]>
Date: Fri, 11 Nov 2022 10:44:25 +0100

Hi,

CC: Mathieu

The issue seems from guile-parted,

https://gitlab.com/mothacehe/guile-parted/-/commit/8a9913843170dc7e46bbb1c93d7c41241fa6d649

and I miss the current commit
1h9q5plmnc1zd5ikz2x538v4a8lmriai6yyfv53bk5vjls7mrf3r in the commit list
of history of Guile-Parted.

On Thu, 10 Nov 2022 at 12:51, "[email-masked]" <[email-masked]> wrote:

> Backtrace:
> In ice-9/boot-9.scm:
>    222:17 19 (map1 (#<syntax ((#<syntax lambda> (#<syntax x>) #<syntax
> x>) #<syntax (origin (method git-fetch) (uri?>))
> In ice-9/psyntax.scm:
>   1479:23 18 (_ _ _)
> In ice-9/boot-9.scm:
>    222:17 17 (map1 (#<syntax (origin (method git-fetch) (uri (git-
> reference (url "https://gitlab.com/mothacehe/guil?>;;))
> In ice-9/psyntax.scm:
>   2356:44 16 (expand-let _ _ (()) #f (hygiene gnu packages guile-xyz)
> #<procedure build-let (src ids vars val-exps ?> ?)
>   1620:31 15 (parse _ _ _ () () () _ _)
>   2356:44 14 (expand-let _ _ (() #(ribcage () () ()) #(ribcage
> #(method) #((top)) #("l-57d92629c77107c-317a"))) #f # ?)
>   1620:31 13 (parse _ _ _ () () () _ _)
>   2356:44 12 (expand-let _ _ (() #(ribcage () () ()) #(ribcage #(uri)
> #((top)) #("l-57d92629c77107c-317e")) #(# ?) ?) ?)
>   1620:31 11 (parse _ _ _ () () () _ _)
>   2355:44 10 (expand-let (#<syntax:psyntax.scm:3122:18 let>
> ((#<syntax:packages.scm:335:15 hash> #<syntax ((#?>)) #) ?)
> In ice-9/boot-9.scm:
>    222:17  9 (map1 (#<syntax ((#<syntax lambda> (#<syntax x>) #<syntax
> x>) #<syntax (#<syntax:packages.scm:335:21 c?>))
> In ice-9/psyntax.scm:
>   1479:23  8 (_ _ _)
> In ice-9/boot-9.scm:
>    222:17  7 (map1 (#<syntax (#<syntax:packages.scm:335:21 content-
> hash> #<syntax (base32 "8a9913843170dc7e46bbb1c9?>))
> In ice-9/psyntax.scm:
>   1402:23  6 (_ _)
>   1343:32  5 (syntax-type (#<syntax:packages.scm:335:21 content-hash>
> #<syntax (base32 "8a9913843170dc7e46bbb1c9?> ?) ?)
>   1557:32  4 (expand-macro #<procedure 7f09956b50c8 at
> ./guix/packages.scm:261:2 (s)> (#<syntax:packages.scm:335?> ?) ?)
> In ./guix/packages.scm:
>    277:25  3 (_ #<syntax base32> #<syntax
> "8a9913843170dc7e46bbb1c93d7c41241fa6d649">
> #<syntax:packages.scm:335:38 s?>)
> In ./guix/base32.scm:
>     295:4  2 (base32-string-unfold-right #<procedure 7f0987512580 at
> ./guix/base32.scm:318:28 (chr)> "8a9913843170dc?")
> In unknown file:
>            1 (string-fold-right #<procedure 7f0987512560 at
> ./guix/base32.scm:295:23 (chr index)> 0 "8a9913843170dc?" ?)
> In ./guix/base32.scm:
>    296:65  0 (_ #\e 24)
>
>
> ./guix/base32.scm:296:65: ERROR:
>   1. &invalid-base32-character:
>       character: #\e
>       string: "8a9913843170dc7e46bbb1c93d7c41241fa6d649"

I miss why Guix crashed…

Cheers,
simon