Attempting to install net-proxy/squid-3.5.12 with USE=kerberos and app-crypt/heimdal as the kerberos library results in a configure failure. Reproducible: Always Steps to Reproduce: 1. Install app-crypt/heimdal from portage (1.5.3-r2) 2. Set USE=kerberos and emerge net-proxy/squid-3.5.12 3. Actual Results: configure of squid fails, from config.log: configure:27659: $PKG_CONFIG --exists --print-errors "heimdal-krb5" Package heimdal-krb5 was not found in the pkg-config search path. Perhaps you should add the directory containing `heimdal-krb5.pc' to the PKG_CONFIG_PATH environment variable No package 'heimdal-krb5' found configure:27662: $? = 1 configure:27668: $PKG_CONFIG --exists --print-errors "heimdal-gssapi" configure:27671: $? = 0 configure:27680: checking for krb5-config configure:27698: found /usr/bin/krb5-config configure:27711: result: /usr/bin/krb5-config configure:27723: error: Could not find pkg-config or krb5-config for Heimdal Kerberos Expected Results: squid builds and installs The squid configure is looking for a pkg-config file heimdal-krb5.pc. According to the git tree for heimdal this file is present in the 1.6 tree but not in 1.5. heimdal 1.5 branch: https://github.com/heimdal/heimdal/blob/heimdal-1-5-branch/tools/heimdal-krb5.pc.in (this should 404) heimdal 1.6 branch: https://github.com/heimdal/heimdal/blob/heimdal-1-6-branch/tools/heimdal-krb5.pc.in This is probably an upstream squid problem where it should either require the later heimdal version or needs to expect that this file will be missing if it is an older version. Alternately Gentoo should provide a heimdal-1.6 ebuild (#572372) which satisfies squid.
This issue is resolved in net-proxy/squid-3.5.16-r1