grub2 FTBFS when built with libfuse3-dev

Bug #1935659 reported by Graham Inggs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
grub2-unsigned (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

Fuse3 is a requirement for qemu 6 (LP: #1934510). Since we don't want to support two versions of fuse in main, we'd like reverse-dependencies of fuse to switch to fuse3.

grub2 (and grub2-unsigned) FTBFS in a test rebuild changing the build-dependency on libfuse-dev to libfuse3-dev.

Excerpt from the build log:

checking for fuse_main_real in -lfuse... no

Tags: fr-1494

Related branches

Revision history for this message
Julian Andres Klode (juliank) wrote :
tags: added: fr-1494
Revision history for this message
Graham Inggs (ginggs) wrote :

This is effectively a transition in main, so please don't upload until all of the other affected packages are ready.

Graham Inggs (ginggs)
summary: - Please switch to fuse3
+ grub2 FTBFS when built with libfuse3-dev
description: updated
tags: removed: rls-ii-incoming
Revision history for this message
Julian Andres Klode (juliank) wrote :

grub2-unsigned is supposed to be binary-copyable to older releases fwiw, so it should be able to build with both fuse3 and fuse2.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Not sure it needs to do that. because I thought the tooling i.e. grub-mount is built out of src:grub2 not out of src:grub2-unsigned. And we don't copy back src:grub2.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
some (qemu, open-vm-tools, fuse3 itself) started to land.

But do not do this in a rush, in bug 1956949 it was found that we need to coordinate this more precisely to move "all at once" to avoid conflicts between fuse <-> fuse3.

Therefore the question, would this be ready for upload now?

Revision history for this message
Julian Andres Klode (juliank) wrote :

I don't know, let's do it after the more urgent outstanding stuff. Where would we see an issue? The only fuse thing we have is the library dependency in grub-common.

Revision history for this message
Paride Legovini (paride) wrote :

I agree: given that there's no dependency on bin:fuse I see no issue with grub2 moving independently.

FTR fuse is only used by grub-mount(1).

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could we get the grub change uploaded? The desktop iso transitioned to fuse3 but grub is still pulling the old one also on the image which we would like to get resolved

tags: added: rls-jj-incoming
tags: removed: rls-jj-incoming
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Yep, more and more depend on fuse3 (and libfuse3) - I think it would be great to get this not-too-complex change uploaded.
FYI - the deadline for this is to demote fuse2 to universe before jammy release.

no longer affects: grub2 (Ubuntu Impish)
no longer affects: grub2-unsigned (Ubuntu Impish)
Changed in grub2-unsigned (Ubuntu Jammy):
status: New → In Progress
Changed in grub2 (Ubuntu Jammy):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2-unsigned - 2.06-2ubuntu5

---------------
grub2-unsigned (2.06-2ubuntu5) jammy; urgency=medium

  [ Julian Andres Klode ]
  * Free correct size when freeing params, rather than 16 Ki (LP: #1958623)
  * Build with FUSE3 (LP: #1935659)
  * Only run os-prober on first run and if it previously found other OS
    (LP: #1955109)

  [ Heinrich Schuchardt ]
  * Rename grub-core/loader/efi/linux.c
  * Add patches for GRUB on RISC-V
  * fat: fix listing the root directory
  * Enable building for RISC-V (LP: #1876620)

  [ Julian Andres Klode ]
  * Re-enable peimage code on other archs outside secure boot; this
    fixes LP: #1947046 when not booting in secure boot mode (secure
    boot pending security review of the code)
  * Source package generated from src:grub2 using make -f ./debian/rules
    generate-grub2-unsigned

 -- Julian Andres Klode <email address hidden> Fri, 18 Feb 2022 17:21:16 +0100

Changed in grub2-unsigned (Ubuntu Jammy):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2 - 2.06-2ubuntu5

---------------
grub2 (2.06-2ubuntu5) jammy; urgency=medium

  [ Julian Andres Klode ]
  * Free correct size when freeing params, rather than 16 Ki (LP: #1958623)
  * Build with FUSE3 (LP: #1935659)
  * Only run os-prober on first run and if it previously found other OS
    (LP: #1955109)

  [ Heinrich Schuchardt ]
  * Rename grub-core/loader/efi/linux.c
  * Add patches for GRUB on RISC-V
  * fat: fix listing the root directory
  * Enable building for RISC-V (LP: #1876620)

  [ Julian Andres Klode ]
  * Re-enable peimage code on other archs outside secure boot; this
    fixes LP: #1947046 when not booting in secure boot mode (secure
    boot pending security review of the code)

 -- Julian Andres Klode <email address hidden> Fri, 18 Feb 2022 17:21:16 +0100

Changed in grub2 (Ubuntu Jammy):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.