[Bug 2018517] [NEW] build fails on Ubuntu Jammy 22.04 - failing tests

Valentijn Sessink 2018517 at bugs.launchpad.net
Thu May 4 14:01:27 UTC 2023


Public bug reported:

Several tests fail when building on a freshly installed Ubuntu 22.04.

Trying to compile 2.06-2ubuntu7:
- btrfs_test fails because it complains that "invalid sectorsize 256, expected range is [4K, 64K]", although trying to use 4K - 64K gives a new error, "sectorsize 8192 not yet supported for page size 4096". I was able to get the build going with MINLOGSECSIZE=12, MAXLOGSECSIZE=12, but that's probably silly. Also, I'm not sure what happens on a Linux system with page size <> 4K (would mkbtrfs complain about a sector size 4K there?)
- fat_test fails because grub-fs-tester contains "GRUBTEST ;_" for a label and mkfs.vfat complains "Labels with characters *?.,;:/\|+=<>[]" are not allowed". (Setting the label to "GRUBTEST _" fixes this.

squashfs_test shows a "TIME FAIL" - this has been solved in
2.06-2ubuntu14.

Please note: trying to compile 2.06-2ubuntu16 gave even more failed
tests: xfs_test, ahci_test and grub_func_test failed, too, but as
2.06-2ubuntu16 has no business on 22.04, I didn't investigate further.

Anyway: changing "MINLOGSECSIZE=8" to "12" for btrfs*, and changing the
FSLABEL to "GRUBTEST _" for vfat, then removing "-not-reproducable" from
the mksquashfs command line (as 2.06-2ubuntu14 does), fixed compilation
for me.

** Affects: grub2-unsigned (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-unsigned in Ubuntu.
https://bugs.launchpad.net/bugs/2018517

Title:
  build fails on Ubuntu Jammy 22.04 - failing tests

Status in grub2-unsigned package in Ubuntu:
  New

Bug description:
  Several tests fail when building on a freshly installed Ubuntu 22.04.

  Trying to compile 2.06-2ubuntu7:
  - btrfs_test fails because it complains that "invalid sectorsize 256, expected range is [4K, 64K]", although trying to use 4K - 64K gives a new error, "sectorsize 8192 not yet supported for page size 4096". I was able to get the build going with MINLOGSECSIZE=12, MAXLOGSECSIZE=12, but that's probably silly. Also, I'm not sure what happens on a Linux system with page size <> 4K (would mkbtrfs complain about a sector size 4K there?)
  - fat_test fails because grub-fs-tester contains "GRUBTEST ;_" for a label and mkfs.vfat complains "Labels with characters *?.,;:/\|+=<>[]" are not allowed". (Setting the label to "GRUBTEST _" fixes this.

  squashfs_test shows a "TIME FAIL" - this has been solved in
  2.06-2ubuntu14.

  Please note: trying to compile 2.06-2ubuntu16 gave even more failed
  tests: xfs_test, ahci_test and grub_func_test failed, too, but as
  2.06-2ubuntu16 has no business on 22.04, I didn't investigate further.

  Anyway: changing "MINLOGSECSIZE=8" to "12" for btrfs*, and changing
  the FSLABEL to "GRUBTEST _" for vfat, then removing "-not-
  reproducable" from the mksquashfs command line (as 2.06-2ubuntu14
  does), fixed compilation for me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2018517/+subscriptions




More information about the foundations-bugs mailing list