Subject: Re: bug#64187: guix locate: unsupported manifest format

From: Ludovic Courtès <[email-masked]>
Date: Wed, 21 Jun 2023 16:41:40 +0200

Hi!

Ricardo Wurmus <[email-masked]> skribis:

> I ran “guix locate” on the HPC cluster where we generally don’t ever run
> “guix gc”.  Here’s what I got:
>
> $ time guix locate ls
> guix locate: indexing files from /gnu/store...
> guix locate: traversing local profile manifests...
> guix locate: error: unsupported manifest format

Oooh no…

> real	2m24.029s
> user	3m11.519s
> sys	0m5.617s
>
> It would be good if it printed the location of the problematic manifest
> and ignored it.

Yes.

However, how can it happen?  ‘guix locate’ knows all the manifest format
version, so maybe it mistook a file for a manifest when in fact it’s
something else?

Could you ‘strace -o /tmp/log.strace guix locate ls’ to get the name of
the offending file for now?

Thanks for reporting it!

Ludo’.