Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 907607

Summary: sys-libs/libblockdev: should (conditionally?) depend on sys-apps/gptfdisk
Product: Gentoo Linux Reporter: Christian Strahl <c.a.strahl>
Component: Current packagesAssignee: Marek Szuba (RETIRED) <marecki>
Status: RESOLVED FIXED    
Severity: normal CC: slashbeast
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/NixOS/nixpkgs/pull/62757
See Also: https://github.com/NixOS/nixpkgs/issues/62749
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Strahl 2023-06-01 08:26:11 UTC
Certain udisk2 operations (eg creating luks-encrypted ext4 volumes) require libblockdev to have access to the sgdisk utility, which is part of sys-apps/gptfdisk.



Reproducible: Always




See the following URLs for details:

A bug report for the same bug I was facing:
https://github.com/NixOS/nixpkgs/issues/62749

The solution for the problem:
https://github.com/NixOS/nixpkgs/pull/62757
Comment 1 Larry the Git Cow gentoo-dev 2023-06-12 23:22:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e66ff7cdbf98a1179eb49e9242b1a73a0eb6ac

commit 21e66ff7cdbf98a1179eb49e9242b1a73a0eb6ac
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-06-12 20:54:44 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-06-12 23:22:12 +0000

    sys-libs/libblockdev: RDEPEND on sys-apps/gptfdisk
    
    Needed for certain GPT-related operation currently not supported by
    parted.
    
    Closes: https://bugs.gentoo.org/907607
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r2.ebuild | 136 ++++++++++++++++++++++++
 1 file changed, 136 insertions(+)