Bug 15703 - Resolve sgdisk UUID warning in gptfdisk package
Summary: Resolve sgdisk UUID warning in gptfdisk package
Status: RESOLVED MOVED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Outdated package (show other bugs)
Version: 2023.02.3
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-18 16:23 UTC by John Koch
Modified: 2024-06-15 15:11 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Koch 2023-07-18 16:23:00 UTC
When using any option that generates a random UUID using sgdisk (e.g. sgdisk -G /dev/sda) you are presented with the warning:
Warning! Unable to generate a proper UUID! Creating an improper one as a last
resort! Windows 7 may crash if you save this partition table!

This appears to stem from a change in libuuid where a #define was changed: https://github.com/util-linux/util-linux/commit/10f5f79485964ab52272ebe79c3b0047b1f84d82

Upstream gptfdisk has resolved this issue on 2022-04-16 (and a few others since) but these patches haven't yet made it into the buildroot package.
Upstream commit: https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f/
Comment 1 Yann E. MORIN 2024-06-15 15:11:42 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!