-- Found GSSAPI: /usr/lib64/libgssapi_krb5.so;/usr/lib64/libkrb5.so;/usr/lib64/libk5crypto.so;/usr/lib64/libcom_err.so CMake Error at cmake/Modules/SelectGSSAPI.cmake:48 (MESSAGE): Asked for backend yes but it wasn't found Call Stack (most recent call first): src/CMakeLists.txt:238 (INCLUDE) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/dev-libs/libgit2-0.99.0/work/libgit2-0.99.0_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/dev-libs/libgit2-0.99.0/work/libgit2-0.99.0_build/CMakeFiles/CMakeError.log". * ERROR: dev-libs/libgit2-0.99.0::gentoo failed (configure phase): * cmake failed Reproducible: Always
Created attachment 615130 [details] build.log
Thank you for the report. Please recompile and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks. Please reopen this ticket (Status:unconfirmed) afterwards.
Created attachment 615182 [details] emerge --info
Ok, I added the output of `emerge --info`, but it's completely irrelevant to this bug. It's quite obvious that the ebuild passed USE_GSSAPI=yes where the package expects either "on" to autodetect the backend or the explicit backend name.
to test this changed the ebuild to use `-DUSE_GSSAPI=$(usex gssapi on off)` to test, but this leads to --- CMake Error at cmake/Modules/SelectGSSAPI.cmake:48 (MESSAGE): Asked for backend on but it wasn't found --- so i guess it wants something else. setting `-DUSE_GSSAPI=gssapi` works for me, as does "-DUSE_GSSAPI=no". so i guess the solution could be to use "-DUSE_GSSAPI=$(usex gssapi gssapi no)" i'll attach an ebuild with this change made for further testing.
Created attachment 615462 [details] ebuild with gssapi usex fixed
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9109f0db6cf2ec9b7cf843cf047948be43ef68a commit a9109f0db6cf2ec9b7cf843cf047948be43ef68a Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-02-24 16:58:39 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-02-24 17:01:45 +0000 dev-libs/libgit2: Fix boolean args Upstream started using exact string matches in some places; adjust the usex constants appropriately. Closes: https://bugs.gentoo.org/710502 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-libs/libgit2/libgit2-0.99.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)