The kerberos pam module seems to be located inside the freebsd-pam-modules ebuild. The normal pam_krb5 ebuild is working perfectly on freebsd (if you manage to install heimdal). I don't know what the policy is here but either you remove the pam_krb5 from freebsd-pam-modules or prevent pam_krb5 from being installed. Reproducible: Always Steps to Reproduce: 1. emerge pam_krb5 2. USE="kerberos" emerge freebsd-pam-modules Actual Results: * Detected file collision(s): * * /lib/security/pam_krb5.so * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * sys-auth/pam_krb5-4.6:0::gentoo * /lib/security/pam_krb5.so Expected Results: No build errors
Created attachment 351004 [details] build log
Created attachment 351006 [details] emerge info
Created attachment 351008 [details, diff] a possible solution This patch solves the problem by removing pam_krb5 from freebsd-pam-modules-9.1
(In reply to henning.f from comment #3) > Created attachment 351008 [details, diff] [details, diff] > a possible solution > > This patch solves the problem by removing pam_krb5 from > freebsd-pam-modules-9.1 good idea but we need to have pam_krb5 keyworded first (and hence heimdal fixed)
(In reply to Alexis Ballier from comment #4) > good idea but we need to have pam_krb5 keyworded first (and hence heimdal > fixed) I am sorry, I reported the issues in the incorrect order.
applied your patch and keyworded pam_krb5, thanks!