libpcre complain at compile stage, says: Cannot --enable-pcregrep-libbz2 because bzlib.h was not found the root cause is that when USE="bzip2" enabled, the DEPEND doesn't handle this. add DEPEND="bzip2? (app-arch/bzip2)" should fix this problem. Reproducible: Always Steps to Reproduce: 1. emerge -C bzip2 2. USE="bzip2" emerge libpcre 3.
Created attachment 203831 [details] libpcre-7.9-r1 build log
+ 11 Sep 2009; Peter Alfredsen <loki_val@gentoo.org> libpcre-7.9-r1.ebuild: + Add deps for bzip2 and zlib. Bug 284638. + Thanks for the heads up.