When building www/apache24 with relevant config as $ grep '^OPTIONS.*DB' /usr/local/etc/poudriere.d/options/www_apache24/options git:(pingpong) OPTIONS_FILE_SET+=AUTHN_DBD OPTIONS_FILE_SET+=AUTHN_DBM OPTIONS_FILE_SET+=AUTHZ_DBD OPTIONS_FILE_SET+=AUTHZ_DBM OPTIONS_FILE_SET+=DBD OPTIONS_FILE_SET+=SOCACHE_DBM OPTIONS_FILE_SET+=SESSION_DBD Q/A warns about missing dependencies: Error: /usr/local/bin/ab is linked to /usr/local/lib/libdb-5.3.so.0 from databases/db5 but it is not declared as a dependency Warning: you need USES+=bdb Error: /usr/local/bin/ab is linked to /usr/local/lib/libgdbm.so.6 from databases/gdbm but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libgdbm.so:databases/gdbm
Hi Palle, Closing this ticket, not a bug in Apache. You could call it a bug in the Q/A code. You are seeing the Q/A warning because of the devel/apr1 dependency. If you build devel/apr1 with any of the "Database support" options (BDB and GDMB are selected by default), you will have a libaprutil-1.so that is linked against the respective database shared libs. The Apache build uses the output of apu-1-config for the compiling and linking of a.o. `support/ab`. Thus the `ab` utility is linked with libdb-5 and libgdbm. Cheers, Bernard (with hat apache@)