Both "gssapi" and "kerberos" USE flags enable dependency on virtual/krb5, and both are Kerberos-related. It does not seem to make sense to have these 2 separate USE flags. I suggest to merge them into one USE flag named "kerberos" (which is global, and present in all Wine versions, not just >=3.1). Then in `configure` arguments: $(use_with kerberos gssapi) $(use_with kerberos krb5)
I see an error-message pertaining to kerberos in wine-staging-7.12 with USE="kerberos -gssapi": 078c:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems The error disappears if built with USE="kerberos gssapi". Unsure if this should be filed as a separate bug.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=001c4e29e3651e0699213f4f7fdc537ae83204dc commit 001c4e29e3651e0699213f4f7fdc537ae83204dc Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2022-07-28 19:04:30 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2022-07-28 19:08:12 +0000 app-emulation/wine-vanilla: Merge USE flags Closes: https://bugs.gentoo.org/649594 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> .../wine-vanilla/wine-vanilla-7.13-r1.ebuild | 468 +++++++++++++++++++++ .../wine-vanilla/wine-vanilla-9999.ebuild | 5 +- 2 files changed, 470 insertions(+), 3 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01a0702e33a51407ef70d102fbc79111b32bd3fb commit 01a0702e33a51407ef70d102fbc79111b32bd3fb Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2022-07-28 19:06:26 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2022-07-28 19:08:15 +0000 app-emulation/wine-staging: Merge USE flags Bug: https://bugs.gentoo.org/649594 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> .../wine-staging/wine-staging-7.13-r1.ebuild | 543 +++++++++++++++++++++ .../wine-staging/wine-staging-9999.ebuild | 5 +- 2 files changed, 545 insertions(+), 3 deletions(-)
I merged the flags and made it so USE="kerberos" passes --with-krb5 and --with-gssapi so that issue should be fixed