Created attachment 392958 [details] config.log for dev-lang/swig-2.0.9 Happy New Year everyone! I'm doing new Gentoo installation and found an issue with dev-lang/swig. Using the "hardened/linux/amd64/no-multilib/selinux" profile. "static-libs" flag is forced on "dev-libs/libpcre" by "package.use.force" in SELinux profile. Therefore swig can't find pcre-config script and throws an error during the "configure" stage: configure: error: Cannot find pcre-config script from PCRE (Perl Compatible Regular Expressions) library package. This dependency is needed for configure to complete, Either: - Install the PCRE developer package on your system (preferred approach). - Download the PCRE source tarball, build and install on your system as you would for any package built from source distribution. - Use the Tools/pcre-build.sh script to build PCRE just for SWIG to statically link against. Run 'Tools/pcre-build.sh --help' for instructions. (quite easy and does not require privileges to install PCRE on your system) - Use configure --without-pcre to disable regular expressions support in SWIG (not recommended). Package versions and USE flags: dev-libs/libpcre-8.35:3 bzip2 cxx jit readline recursion-limit (static-libs) (unicode) zlib -libedit -pcre16 -pcre32 dev-lang/swig-2.0.9 pcre -ccache -doc I've disabled "pcre" USE flag on swig as a temporary workaround.
Created attachment 392960 [details] emerge --info
Problem seems solved. Have to rebuild system again from scratch.