GNU bug report logs - #64187
guix locate: unsupported manifest format

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Tue, 20 Jun 2023 07:27:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

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 64187 in the body.
You can then email your comments to 64187 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


Report forwarded to bug-guix <at> gnu.org:
bug#64187; Package guix. (Tue, 20 Jun 2023 07:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 20 Jun 2023 07:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: guix locate: unsupported manifest format
Date: Tue, 20 Jun 2023 09:25:09 +0200
I ran “guix locate” on the HPC cluster where we generally don’t ever run
“guix gc”.  Here’s what I got:

--8<---------------cut here---------------start------------->8---
$ time guix locate ls
guix locate: indexing files from /gnu/store...
guix locate: traversing local profile manifests...
guix locate: error: unsupported manifest format

real	2m24.029s
user	3m11.519s
sys	0m5.617s
--8<---------------cut here---------------end--------------->8---

It would be good if it printed the location of the problematic manifest
and ignored it.

-- 
Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#64187; Package guix. (Wed, 21 Jun 2023 14:42:01 GMT) Full text and rfc822 format available.

Message #8 received at 64187 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 64187 <at> debbugs.gnu.org
Subject: Re: bug#64187: guix locate: unsupported manifest format
Date: Wed, 21 Jun 2023 16:41:40 +0200
Hi!

Ricardo Wurmus <rekado <at> elephly.net> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#64187; Package guix. (Tue, 04 Jul 2023 06:19:01 GMT) Full text and rfc822 format available.

Message #11 received at 64187 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 64187 <at> debbugs.gnu.org
Subject: Re: bug#64187: guix locate: unsupported manifest format
Date: Tue, 04 Jul 2023 08:16:31 +0200
Ludovic Courtès <ludo <at> gnu.org> writes:

> 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?

The last manifest it reads is
/gnu/var/guix/profiles/per-user/wneuber/guix-profile-1-link/manifest
with the following contents

--8<---------------cut here---------------start------------->8---
(manifest
  (version 1)
  (packages
    (("gcc"
      "4.9.2"
      "out"
      "/gnu/store/ym7sybrdifnm3g0rafhclv891niaczcv-gcc-4.9.2"
      ()))))
--8<---------------cut here---------------end--------------->8---

-- 
Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#64187; Package guix. (Fri, 07 Jul 2023 14:04:02 GMT) Full text and rfc822 format available.

Message #14 received at 64187 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 64187 <at> debbugs.gnu.org
Subject: Re: bug#64187: guix locate: unsupported manifest format
Date: Fri, 07 Jul 2023 16:03:37 +0200
Ricardo Wurmus <rekado <at> elephly.net> skribis:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> 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?
>
> The last manifest it reads is
> /gnu/var/guix/profiles/per-user/wneuber/guix-profile-1-link/manifest
> with the following contents
>
> (manifest
>   (version 1)
>   (packages
>     (("gcc"
>       "4.9.2"
>       "out"
>       "/gnu/store/ym7sybrdifnm3g0rafhclv891niaczcv-gcc-4.9.2"
>       ()))))

Woow, this profile predates May 2015 and commit
dedb17ad010ee9ef67f3f4f3997dd17f226c8090.  And indeed, it’s no longer
recognized since e7e04396c0e91569bf493e1352d6539babc15327 (July 2022).

I’ll work on a fix…

Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 11 Jul 2023 16:23:01 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Tue, 11 Jul 2023 16:23:02 GMT) Full text and rfc822 format available.

Message #19 received at 64187-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 64187-done <at> debbugs.gnu.org
Subject: Re: bug#64187: guix locate: unsupported manifest format
Date: Tue, 11 Jul 2023 18:22:45 +0200
Ludovic Courtès <ludo <at> gnu.org> skribis:

> Ricardo Wurmus <rekado <at> elephly.net> skribis:
>
>> Ludovic Courtès <ludo <at> gnu.org> writes:
>>
>>> 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?
>>
>> The last manifest it reads is
>> /gnu/var/guix/profiles/per-user/wneuber/guix-profile-1-link/manifest
>> with the following contents
>>
>> (manifest
>>   (version 1)
>>   (packages
>>     (("gcc"
>>       "4.9.2"
>>       "out"
>>       "/gnu/store/ym7sybrdifnm3g0rafhclv891niaczcv-gcc-4.9.2"
>>       ()))))
>
> Woow, this profile predates May 2015 and commit
> dedb17ad010ee9ef67f3f4f3997dd17f226c8090.  And indeed, it’s no longer
> recognized since e7e04396c0e91569bf493e1352d6539babc15327 (July 2022).
>
> I’ll work on a fix…

Fixed in commit e1c2c2f042e8741c0759e21e634cd2271e078177!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#64187; Package guix. (Thu, 13 Jul 2023 06:48:01 GMT) Full text and rfc822 format available.

Message #22 received at 64187-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 64187-done <at> debbugs.gnu.org
Subject: Re: bug#64187: guix locate: unsupported manifest format
Date: Thu, 13 Jul 2023 08:46:45 +0200
Ludovic Courtès <ludo <at> gnu.org> writes:

>>> The last manifest it reads is
>>> /gnu/var/guix/profiles/per-user/wneuber/guix-profile-1-link/manifest
>>> with the following contents
>>>
>>> (manifest
>>>   (version 1)
>>>   (packages
>>>     (("gcc"
>>>       "4.9.2"
>>>       "out"
>>>       "/gnu/store/ym7sybrdifnm3g0rafhclv891niaczcv-gcc-4.9.2"
>>>       ()))))
>>
>> Woow, this profile predates May 2015 and commit
>> dedb17ad010ee9ef67f3f4f3997dd17f226c8090.  And indeed, it’s no longer
>> recognized since e7e04396c0e91569bf493e1352d6539babc15327 (July 2022).
>>
>> I’ll work on a fix…
>
> Fixed in commit e1c2c2f042e8741c0759e21e634cd2271e078177!

Thank you!  I confirm that it is now successfully indexing all packages
on the cluster.

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 Aug 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.