Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577034 - [PATCH] app-emulation/libvirt-1.3.1[systemd] fails to build (missing libsystemd-daemon) with >sys-apps/systemd-229
Summary: [PATCH] app-emulation/libvirt-1.3.1[systemd] fails to build (missing libsyste...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks: 577158
  Show dependency tree
 
Reported: 2016-03-11 06:28 UTC by Elias Probst
Modified: 2016-03-12 15:31 UTC (History)
2 users (show)

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


Attachments
patch for app-emulation/libvirt to use libsystemd instead of libsystemd-daemon (libsystemd.patch,684 bytes, patch)
2016-03-11 06:28 UTC, Elias Probst
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2016-03-11 06:28:02 UTC
Created attachment 427946 [details, diff]
patch for app-emulation/libvirt to use libsystemd instead of libsystemd-daemon

systemd upstream droppped the systemd compat-libs, while libvirt still tries to make use of them.

This causes a build of app-emulation/libvirt[systemd] to fail:
[…]
checking for SSH2... yes
checking for SYSTEMD_DAEMON... no
configure: error: You must install the libsystemd-daemon >= 0.27.1 pkg-config module to compile libvirt

Debian fixed this issue in a patch [1] which WORKSFORME.


[1] https://github.com/deusstultus/Archlinux_packages/blob/e2d63d45ba33edc69fcbf21aa8491de3ba45712a/libvirt/libsystemd.patch
Comment 1 Matthias Maier gentoo-dev 2016-03-11 07:47:06 UTC
Thanks! I have fixed all non-live versions. (I omitted 9999 in the hope that upstream fixes the issue in the next days).


commit d46e220e3eda61b10a696173ea314ac6c52b00c6
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Fri Mar 11 01:43:52 2016 -0600

    app-emulation/libvirt: avoid deprecated pc file (bug #577034)
    
    The current live version of systemd has removed the libsystemd-deamon.pc
    compatibility file. This file is long deprecated, use libsystemd.pc instead
    (supported since systemd-209).
    
    Thanks to Elias Probst for the detailed bug report and finding a patch used
    by Debian to resolve this issue.
    
    Gentoo-Bug: 577034
    
    Package-Manager: portage-2.2.26