Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908805 - app-emulation/libvirt-9.4.0-r1: fail to configure
Summary: app-emulation/libvirt-9.4.0-r1: fail to configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-06-18 21:30 UTC by Kai-Chun Ning
Modified: 2023-06-24 01:42 UTC (History)
2 users (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 Kai-Chun Ning 2023-06-18 21:30:37 UTC
Compilation fails at configure phase with error message

src/security/apparmor/meson.build:37:0: ^[[1;31mERROR:^[[0m File usr.lib.libvirt.virt-aa-helper.local does not exist.

Comparing patch (https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/libvirt/files/libvirt-9.5.0-fix-paths-for-apparmor.patch) and src/security/apparmor/meson.build:37 suggests that replacing

'usr.lib.libvirt.virt-aa-helper.local' at line 38 with
'usr.libexec.libvirt.virt-aa-helper.local'

might fix the issue.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-18 21:40:25 UTC
For completeness in future, please do include the full build.log & emerge --info even if it's obvious, as it helps if something doesn't get seen immediately to regain context a bit.
Comment 2 Larry the Git Cow gentoo-dev 2023-06-21 21:48:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91f917f5a995053cd671b0b4bf22d1a326fdf61e

commit 91f917f5a995053cd671b0b4bf22d1a326fdf61e
Author:     Kai-Chun Ning <kaichun.ning@gmail.com>
AuthorDate: 2023-06-20 18:26:46 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2023-06-21 21:48:00 +0000

    app-emulation/libvirt-9.4.0-r2: fix apparmor path
    
    Closes: https://bugs.gentoo.org/908805
    Closes: https://github.com/gentoo/gentoo/pull/31557
    Signed-off-by: Kai-Chun Ning <kaichun.ning@gmail.com>
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 .../files/libvirt-9.5.0-fix-paths-for-apparmor.patch    | 17 +++++++++++++----
 ...{libvirt-9.4.0-r1.ebuild => libvirt-9.4.0-r2.ebuild} |  0
 2 files changed, 13 insertions(+), 4 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2023-06-24 01:42:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9170e00db4ac439fe8e444af14ec53bfa329f639

commit 9170e00db4ac439fe8e444af14ec53bfa329f639
Author:     Kai-Chun Ning <kaichun.ning@gmail.com>
AuthorDate: 2023-06-22 15:38:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-24 01:42:09 +0000

    app-emulation/libvirt: fix apparmor path in 9.4.0-r3
    
    Bug: https://bugs.gentoo.org/908805
    Signed-off-by: Kai-Chun Ning <kaichun.ning@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31575
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/libvirt-9.4.0-fix-paths-for-apparmor.patch    | 17 +++++++++--------
 ...{libvirt-9.4.0-r2.ebuild => libvirt-9.4.0-r3.ebuild} |  0
 2 files changed, 9 insertions(+), 8 deletions(-)