Subject: bug#63451: Guix pull not successful

From: a <[email-masked]>
Date: Mon, 22 May 2023 23:31:34 -0500

~ guix pull -l

Generation 1 Feb 05 2023 20:46:03
  guix 4b9e1e8
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 4b9e1e84585270a40cec485046ce15387405d256
Generation 2 Feb 06 2023 10:23:38
  guix a582d86
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a582d863465990642d331bc05bf073f47fb80908
Generation 3 May 08 2023 07:32:24
  guix e118b92
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: e118b92cfe7a598b71dbbda2622b7551f4a72104

News for channel 'guix'
  New `--with-configure-flag' transformation option
    commit ae11fcb84ac478dfa56d322ef08890645183a087

    The new `--with-configure-flag' package transformation option lets you
pass an additional configure flag to the build system of a
    package.  For instance, here is how you would pass a flag to `cmake',
the build system of the `lapack' package:

         guix build lapack \
           --with-configure-flag=lapack=-DBUILD_COMPLEX=OFF

    Run `info "(guix) Package Transformation Options"' for more info.
  Core packages updated
    commit c919bfefd98bf2e29549539b4e28e6dc2a8a6f32

    Core packages have been updated, following months of hard work by
contributors.  Noteworthy package upgrades include:

       * glibc 2.35;

       * Python 3.10;

       * Perl 5.36;

       * Mesa 22;

       * GCC 11 is now used as the default compiler.

    A major highlight is the introduction of the so-called "full-source
bootstrap": packages are all built starting from a 500-byte program
    called stage0, which is then used to build a higher-level interpreter,
a basic Scheme interpreter and C compiler (GNU Mes), and so on,
    until GCC (the GNU Compiler Collection) is finally built.  This is a
premiere and a huge step forward in terms of transparency of
    auditability.
  Linux-libre LTS kernel updated to 6.1
    commit 21564fada141bfba25d471518b293b6004244c3a

...skipping...

       * GCC 11 is now used as the default compiler.

    A major highlight is the introduction of the so-called "full-source
bootstrap": packages are all built starting from a 500-byte program
    called stage0, which is then used to build a higher-level interpreter,
a basic Scheme interpreter and C compiler (GNU Mes), and so on,
    until GCC (the GNU Compiler Collection) is finally built.  This is a
premiere and a huge step forward in terms of transparency of
    auditability.
  Linux-libre LTS kernel updated to 6.1
    commit 21564fada141bfba25d471518b293b6004244c3a

    The default version of the `linux-libre-lts' kernel has been updated to
the 6.1 longterm release series.
  Using Guix within `guix shell --container'
    commit 57db09aae73e3713a10c5253758d84e1046f80dc

    The `--container' (or `-C') option lets you spawn a container---an
isolated software environment.  In some cases, it is useful to use
    Guix from within the container, something that is normally not possible.

    The new `--nesting' (or `-W') option lets you do exactly that: a
container created with that option will let you use `guix' commands,
    including `guix shell -C', _inside_ of it.

    The example below shows how to evaluate a `guix.scm' file to build a
package from within an isolated container, which is useful if
    `guix.scm' is untrusted:

         guix shell -CW -- guix build -f guix.scm

    Run `info "(guix) Invoking guix shell"' for more information.
  Linux-libre kernel updated to 6.2
    commit 0e18c5e5bcb9204c278cfc75493d3b02b746d5c3

    The default version of the linux-libre kernel has been updated to the
6.2 release series.
  New `rpm' format for the `guix pack' command
    commit 598f4c509bbfec2b983a8ee246cce0a0fe45ec7f

    RPM archives (with the .rpm file extension) can now be produced via the
`guix pack --format=rpm' command, providing an alternative
    distribution path for software built with Guix.  Here is a simple
example that generates an RPM archive for the `hello' package:

         guix pack --format=rpm --symlink=/usr/bin/hello=bin/hello hello

    See `info "(guix) Invoking guix pack"' for more information.

Generation 4 May 11 2023 13:02:21
  guix d6f6b57
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: d6f6b57766e95d2fa8af63d4460a2b303ca4d867
Generation 5 May 14 2023 21:53:47 (current)
  guix c5fa9dd
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: c5fa9dd0e96493307cc76ea098a6bca9b076e012

On Tue, May 16, 2023 at 10:06 AM Simon Tournier <[email-masked]>
wrote:

> Hi,
>
> On Thu, 11 May 2023 at 13:03, a <[email-masked]> wrote:
>
> > \Backtrace:
> > In ice-9/boot-9.scm:
> >    222:29 19 (map1 (#<syntax ((#<syntax lambda> (#<syntax x>) #<syntax
> x>)
> > #<syntax:packages.scm:609:30 %supporte?> ?))
> >    222:29 18 (map1 (#<syntax ((#<syntax lambda> (#<syntax x>) #<syntax
> x>)
> > (#<syntax quote> ()))> #<syntax (#<syn?> ?))
> >    222:17 17 (map1 (#<syntax (#<syntax:packages.scm:615:31
> > sanitize-location> (#<syntax:packages.scm:614:22 curre?> ?))
> > In ice-9/psyntax.scm:
> > Exception thrown while printing backtrace:
> > Wrong type to apply: 129
> >
> > ice-9/boot-9.scm:3165:6: In procedure module-gensym:
> > Invalid read access of chars of wide string: "m-1bcbf699e1749862-28a08"
> > guix pull: error: You found a bug: the program
> > '/gnu/store/s2rl9h1zmxx84iyk25ndmn7rmy9508dj-compute-guix-derivation'
> > failed to compute the derivation for Guix (version:
> > "d6f6b57766e95d2fa8af63d4460a2b303ca4d867"; system: "x86_64-linux";
> > host version: "1.4.0"; pull-version: 1).
>
> Hum, I am not able to reproduce,
>
>     guix time-machine --commit=v1.4.0                                 \
>     -- time-machine --commit=d6f6b57766e95d2fa8af63d4460a2b303ca4d867 \
>     -- help
>
> passes.  What appears to me weird is the previous part:
>
> > Authenticating channel 'guix', commits 9edb3f6 to d6f6b57 (667 new)
>
> It means that you already have a checkout and some commits
> authenticated.  Other said, you have already run “guix pull” and you
> probably did “guix pull --commit=v.1.4.0”, no?
>
> Well, can you share the output of “guix pull -l”?  It would not explain
> why the Guile ’module-gensym’ failed though.
>
>
> Cheers,
> simon
>
>