Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907607 - sys-libs/libblockdev: should (conditionally?) depend on sys-apps/gptfdisk
Summary: sys-libs/libblockdev: should (conditionally?) depend on sys-apps/gptfdisk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL: https://github.com/NixOS/nixpkgs/pull...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-01 08:26 UTC by Christian Strahl
Modified: 2023-06-12 23:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(+)