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

Bug 672452

Summary: app-emulation/libguestfs should not depend on app-emulation/libvirt
Product: Gentoo Linux Reporter: LABBE Corentin <clabbe.montjoie>
Component: Current packagesAssignee: Maxim Koltsov (RETIRED) <maksbotan>
Status: RESOLVED FIXED    
Severity: normal CC: eva, rich
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for made livirt dependency optional

Description LABBE Corentin 2018-12-03 14:23:14 UTC
Created attachment 556992 [details, diff]
patch for made livirt dependency optional

app-emulation/libguestfs does not need app-emulation/libvirt for compilation and/or runtime.
Furthermore, libguestfs simply does not work with libvirt for years. (sorry, lost the link to the old bug report, but someone on #libguestfs acked this fact).
Running libguestfs-test-tool block forever with libvirt support compiled in.
Comment 1 Larry the Git Cow gentoo-dev 2018-12-07 13:02:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f7e992bebab5eb33872a7a77d4872067c406b0

commit 04f7e992bebab5eb33872a7a77d4872067c406b0
Author:     Gilles Dartiguelongue <eva@gentoo.org>
AuthorDate: 2018-12-07 12:38:03 +0000
Commit:     Gilles Dartiguelongue <eva@gentoo.org>
CommitDate: 2018-12-07 13:02:16 +0000

    app-emulation/libguestfs: 1.36.13 → 1.36.15
    
    Do not RDEPEND on bash-completion and drop unused USE flag. Fix
    static-libs USE flag to actually do something. Fix build failure
    with USE=-ocaml, bug #670968. Make libvirt support optional,
    bug #672452. Remove unused debug USE flag. Switch from versionator
    eclass to eapi7-ver. gjs is a test dependency only. Fix sandbox issues,
    bug #653104.
    
    Closes: https://bugs.gentoo.org/653104
    Closes: https://bugs.gentoo.org/670968
    Closes: https://bugs.gentoo.org/672452
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>

 app-emulation/libguestfs/Manifest                  |   1 +
 ...-failure-when-not-built-with-OCaml-suppor.patch |  40 +++++
 ...build-time-requirement-on-bash-completion.patch |  45 ++++++
 app-emulation/libguestfs/libguestfs-1.36.15.ebuild | 178 +++++++++++++++++++++
 app-emulation/libguestfs/metadata.xml              |   5 +-
 5 files changed, 267 insertions(+), 2 deletions(-)