Created attachment 904894 [details] build log gnome-control center fails to build during the upgrade ebuild U ] gnome-base/gnome-control-center-46.4 [46.2] USE="bluetooth cups geolocation gnome-online-accounts ibus kerberos networkmanager systemd wayland -debug (-elogind) -test" INPUT_DEVICES="-wacom"
Created attachment 904895 [details] emerge --info output
Created attachment 904896 [details] environment
have same error
Same here, it compiles fine without the kerberos USE flag, it's a problem within the library /usr/lib64/libkrb5.so.3. no time to fix it for the moment.
(In reply to Lionel MANNONE from comment #4) > Same here, it compiles fine without the kerberos USE flag, it's a problem > within the library /usr/lib64/libkrb5.so.3. > no time to fix it for the moment. No, its a problem with the patch in 0002-build-Make-kerberos-optional.patch which remove kerberos library from the control center build.
(In reply to Hanspeter Spalinger from comment #5) > (In reply to Lionel MANNONE from comment #4) > > Same here, it compiles fine without the kerberos USE flag, it's a problem > > within the library /usr/lib64/libkrb5.so.3. > > no time to fix it for the moment. > > No, its a problem with the patch in 0002-build-Make-kerberos-optional.patch > which remove kerberos library from the control center build. I think the patch should look like this (relevant part only): @@ -104,7 +104,6 @@ # Kerberos support krb_dep = dependency('krb5', required: false) -assert(krb_dep.found(), 'kerberos libraries not found in your path') deps = common_deps + [ accounts_dep, which still checks for the kerberos library, but does not fail if its not found. The above is untested on systems without kerberos; i checked it on my system with kerberos where it works.
(In reply to Hanspeter Spalinger from comment #6) > (In reply to Hanspeter Spalinger from comment #5) > I think the patch should look like this (relevant part only): > @@ -104,7 +104,6 @@ Thanks for the suggestion! I see two removed assert() calls however (in panels/system/users/meson.build and panels/system/meson.build), and actually the krb_dep definition was moved up into meson.build and made "required" if the "kerberos" option is given, so this seems fine. Here, gnome-control-center +kerberos compiles if only krb_dep is re-added to deps in panels/system/meson.build where it was (I think erroneously) removed. I attach a patch which adds it conditionally, defining enable_kerberos in meson.build for that.
Created attachment 905146 [details, diff] Re-add krb_dep only if kerberos is enabled and found
(In reply to Bernd Feige from comment #8) > Created attachment 905146 [details, diff] [details, diff] > Re-add krb_dep only if kerberos is enabled and found works on my kerberized system.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7ac89d5f624dc8b13553b4e323c2972cc063a10 commit d7ac89d5f624dc8b13553b4e323c2972cc063a10 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2024-10-17 12:29:46 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2024-10-17 12:29:49 +0000 gnome-base/gnome-control-center: fix kerberos patch Thanks-to: Özgür Thanks-to: Hanspeter Spalinger Thanks-to: Bernd Feige Closes: https://bugs.gentoo.org/940745 Signed-off-by: Pacho Ramos <pacho@gentoo.org> gnome-base/gnome-control-center/Manifest | 2 +- gnome-base/gnome-control-center/gnome-control-center-46.4.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)