gtk-4.8.1 grafting fails

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Marek Paśnikowski
Owner
unassigned
Submitted by
Marek Paśnikowski
Severity
normal
M
M
Marek Paśnikowski wrote on 23 Nov 2022 10:55
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
aFO0B_ekpKIOPvdLkCofnGoqUdKYUCfmVqJTuLPSRGKW64kK9HMfU3URloc_Q6pCp3ff5ZZZjHsq7U5PnsLTRs7hOJhuKWJYEIguRwuBxKI=@protonmail.com
Evidence:

applying 20 grafts for gtk-4.8.1 ...
grafting '/gnu/store/vgm4f5k65kn6nwdlhziwzlgc0pli18d7-gtk-4.8.1-bin' -> '/gnu/store/ar0qphva0q53vavqqihgi4pq46f4z1z4-gtk-4.8.1-bin'...
grafting '/gnu/store/vp4ybqhxdrf4b2fk37c0s72g6iafqsmz-gtk-4.8.1-doc' -> '/gnu/store/7hfq1hbhfsmzjil433cjd8mngvxd05xv-gtk-4.8.1-doc'...
ERROR: In procedure fport_fill_input: Input/output error
builder for `/gnu/store/f8sjy3w9c1a9cdndkvflpbqnic7rik8g-gtk-4.8.1.drv' failed with exit code 1

Workaround:

guix system reconfigure --no-grafts
L
L
Ludovic Courtès wrote on 28 Nov 2022 21:36
(name . Marek Paśnikowski)(address . marekpasnikowski@protonmail.com)(address . 59512@debbugs.gnu.org)
87lenuak9t.fsf@gnu.org
Hi,

Marek Paśnikowski <marekpasnikowski@protonmail.com> skribis:

Toggle quote (3 lines)
> grafting '/gnu/store/vp4ybqhxdrf4b2fk37c0s72g6iafqsmz-gtk-4.8.1-doc' -> '/gnu/store/7hfq1hbhfsmzjil433cjd8mngvxd05xv-gtk-4.8.1-doc'...
> ERROR: In procedure fport_fill_input: Input/output error

This indicates an error while writing to your storage device, which
could be due to a failing device.

Does /var/log/messages contains hints of input/output errors?

Toggle quote (2 lines)
> guix system reconfigure --no-grafts

Note that the effect of this is that important security updates will be
missing. This is not recommended.

Thanks,
Ludo’.
M
M
Marek Paśnikowski wrote on 29 Nov 2022 13:37
(address . 59512@debbugs.gnu.org)
Ngn8BKvdynJDYa7Z-0DctvKDipo-gzm5v7wTW10EprMID0danyQkxbYCX0sdO9k6fsp4o5kBDvu9EeD-o_abzMoHQCYxABjf4l9ILWuovQ8=@protonmail.com
------- Original Message -------
On poniedziałek, 28 listopada 2022 21:36, Ludovic Courtès <ludo@gnu.org> wrote:


Toggle quote (15 lines)
>
>
> Hi,
>
> Marek Paśnikowski marekpasnikowski@protonmail.com skribis:
>
> > grafting '/gnu/store/vp4ybqhxdrf4b2fk37c0s72g6iafqsmz-gtk-4.8.1-doc' -> '/gnu/store/7hfq1hbhfsmzjil433cjd8mngvxd05xv-gtk-4.8.1-doc'...
> > ERROR: In procedure fport_fill_input: Input/output error
>
>
> This indicates an error while writing to your storage device, which
> could be due to a failing device.
>
> Does /var/log/messages contains hints of input/output errors?

Yes, there is one node with a wrong checksum. On the internet I found [[https://forums.unraid.net/topic/92704-solved-btrfs-csum-error/][amatching topic on Unraid Forum]].

I checked RAM with Memtest (it passed) and then identified the
broken file. So far, I think I got "lucky" and had a "cosmic ray"
kind of event - I do remember a single failure of resume-from-suspend some time ago.

I should be able to heal the system by deleting the bit-flipped
file and reinstalling gtk. Does Guix have the ability to remove or
rewrite a specific file in its store? The file is rooted in the
system configuration - not in a profile.

Thank you for your help. I would also like to suggest a tweak to
the error message - to make the file system failure more obvious.
L
L
Ludovic Courtès wrote on 2 Dec 2022 14:15
(name . Marek Paśnikowski)(address . marekpasnikowski@protonmail.com)(address . 59512-done@debbugs.gnu.org)
878rjqt08s.fsf@gnu.org
Hi,

Marek Paśnikowski <marekpasnikowski@protonmail.com> skribis:

Toggle quote (5 lines)
> I should be able to heal the system by deleting the bit-flipped
> file and reinstalling gtk. Does Guix have the ability to remove or
> rewrite a specific file in its store? The file is rooted in the
> system configuration - not in a profile.

‘guix gc --verify=repair’ can do that, but only for items that are
substitutable (grafts are not substitutable).

Closing the bug, thanks!

Ludo’.
Closed
?