gnome-base/gnome-control-center-46.2 fails to build with -kerberos flag Reproducible: Always [ebuild R ] gnome-base/gnome-control-center-46.2:2::gentoo USE="bluetooth geolocation gnome-online-accounts ibus networkmanager systemd wayland -cups -debug (-elogind) -kerberos -test" INPUT_DEVICES="-wacom" 0 KiB fails with the following error... Found CMake: /usr/bin/cmake (3.30.0) Run-time dependency krb5 found: NO (tried pkgconfig and cmake) panels/system/meson.build:107:0: ERROR: Assert failed: kerberos libraries not found in your path After emerging app-crypt/mit-krb5 gnome-base/gnome-control-center-46.2 builds correctly with -kerberos flag
Created attachment 897985 [details] Emerge --info
Please include the full build.log and meson-log.txt.
Created attachment 897986 [details] Build.log
Created attachment 897987 [details] build.log My build.log
Created attachment 897988 [details] meson-log.txt My meson-log.txt
(In reply to Albert W. Hopkins from comment #5) > Created attachment 897988 [details] > meson-log.txt > > My meson-log.txt Thanks where did you find the meson-log.txt ?
``` [32m*[0m 0002-build-Make-kerberos-optional.patch ... patching file meson.build Hunk #1 succeeded at 329 with fuzz 1. patching file meson_options.txt Hunk #1 succeeded at 3 with fuzz 2. patching file panels/system/users/cc-realm-manager.c patching file panels/system/users/meson.build [A[72C [34;01m[ [32;01mok[34;01m ][0m ``` I suppose that patch needs rebasing and fixing.
(In reply to Andy Pettinger from comment #6) > (In reply to Albert W. Hopkins from comment #5) [...] > Thanks where did you find the meson-log.txt ? $PORTAGE_TMPDIR/gnome-base/gnome-control-center-46.2/work/gnome-control-center-46.2-build/meson-logs/meson-log.txt
I think we also need to append: --- a/panels/system/meson.build~ 2024-05-27 10:43:32.000000000 +0200 +++ b/panels/system/meson.build 2024-07-22 11:18:10.579401369 +0200 @@ -102,10 +102,6 @@ libgtop2 = dependency('libgtop-2.0') udisks2 = dependency('udisks2', version: '>= 2.8.2') -# Kerberos support -krb_dep = dependency('krb5', required: false) -assert(krb_dep.found(), 'kerberos libraries not found in your path') - deps = common_deps + [ accounts_dep, gcr_dep,
I just ran into the same issue with 46.2. I do not have kerberos installed, and I set the -kerberos use flag. The patch in comment #9 worked for me, although there is a use of krb_dep a few lines farther down that I also removed. This patch is what I used: --- a/panels/system/meson.build 2024-05-27 03:43:32.000000000 -0500 +++ b/panels/system/meson.build 2024-08-25 20:55:26.243245267 -0500 @@ -102,10 +102,6 @@ libgtop2 = dependency('libgtop-2.0') udisks2 = dependency('udisks2', version: '>= 2.8.2') -# Kerberos support -krb_dep = dependency('krb5', required: false) -assert(krb_dep.found(), 'kerberos libraries not found in your path') - deps = common_deps + [ accounts_dep, gcr_dep, @@ -116,7 +112,6 @@ libgtop2, liblanguage_dep, libsecret_dep, - krb_dep, polkit_gobject_dep, pwquality_dep, udisks2,
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=793bc3c3de14b7554cae8bee85713601c3e18177 commit 793bc3c3de14b7554cae8bee85713601c3e18177 Author: Guillermo Joandet <gjoandet@gmail.com> AuthorDate: 2024-08-10 23:43:18 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2024-10-03 08:52:09 +0000 gnome-base/gnome-control-center: Bump to 46.4 Closes: https://bugs.gentoo.org/936292 Thanks-to: Mark Locascio Thanks-to: Andy Pettinger Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Signed-off-by: Pacho Ramos <pacho@gentoo.org> gnome-base/gnome-control-center/Manifest | 2 + .../gnome-control-center-46.4.ebuild | 215 +++++++++++++++++++++ 2 files changed, 217 insertions(+)