For some reason net-mail/vpopmail (5.4.6-r1) doesnt pass the CFLAGS to all subdirs. This means the subdir cdb/ will be compiled without -fPIC when the rest of the c files are compiled with... It doesnt give any error here, but emerging courier-authlib (0.55/0.56) will fail. Reproducible: Always Steps to Reproduce: 1. have CFLAGS="-fPIC" in make.conf 2. emerge vpopmail 3. emerge courier-authlib Fix: I fixed the problem by changing line 8314 in configure from: echo "${CC} -O2" > cdb/conf-cc to: echo "${CC} -O2 -fPIC" > cdb/conf-cc
*** This bug has been marked as a duplicate of 81605 ***