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.
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.
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(-)
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(-)