Created attachment 778541 [details] forum post. Hi Guys Something very strange I noticed happening when trying to create partitions via gdisk Code: Command (? for help): n Partition number (23-128, default 23): First sector (34-1953529822, default = 912263168) or {+-}size{KMGTP}: Last sector (912263168-1953529822, default = 1953527807) or {+-}size{KMGTP}: +10G 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! Current type is 8300 (Linux filesystem) Hex code or GUID (L to show codes, Enter = 8300): This happened in two testing systems. Downgrading gptfdisk didnt help but booting into a non-testing system and using gdisk was faultless. I believe some other package (maybe systemd-utils[udev]) is to blame? What other relevant packages might be the culprit? Maybe Code: sys-fs/udisks-2.9.4 ? This is the dependency graph Code: * dependency graph for sys-apps/gptfdisk-1.0.9 `-- sys-apps/gptfdisk-1.0.9 ~amd64 `-- dev-libs/popt-1.18 (dev-libs/popt) amd64 `-- sys-libs/ncurses-6.3_p20220423 (sys-libs/ncurses) ~amd64 [unicode(+)] `-- sys-apps/util-linux-2.38 (sys-apps/util-linux) ~amd64 `-- virtual/pkgconfig-2-r1 (virtual/pkgconfig) amd64 [ sys-apps/gptfdisk-1.0.9 stats: packages (5), max depth (1) ] Should i file a bug report,but for which package? Maybe Code: /usr/lib64/libuuid.so of sys-apps/util-linux-2.38 ? Thanks a lot.
The problem was introduced by this change in util-linux: https://github.com/util-linux/util-linux/commit/10f5f79485964ab52272ebe79c3b0047b1f84d82 It should be fixed by this change in gptfdisk: https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f/
Thanks a lot. The above patch fixed it. :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4e356d33eccb979a1df3fb79009348ecf4a3ea commit 4d4e356d33eccb979a1df3fb79009348ecf4a3ea Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2022-05-14 13:15:51 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2022-05-14 13:17:07 +0000 sys-apps/gptfdisk: Revbump to fix build against recent libuuid Reported-by: Andreas <alamahant@gmail.com> Thanks-to: Mike Gilbert <floppym@gentoo.org> Closes: https://bugs.gentoo.org/844073 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../gptfdisk/files/gptfdisk-1.0.9-libuuid.patch | 37 ++++++++++++++++++++++ ...fdisk-1.0.9.ebuild => gptfdisk-1.0.9-r1.ebuild} | 4 +++ 2 files changed, 41 insertions(+)