Bacula does not compile when using postgres as the database. The problem is that the USE flag is postgres but the option to pass to configure is --with-postgresql. This game in pkg_setup(): if useq postgres; then export mydbtype='postgresql' let dbnum++ fi does not work because src_compile() contains myconf="${myconf} \ $(use_with ${mydbtype}) \ Since the USE flag is postgres and mydbtype is set to postgresql this always evaluates to --without-postgresql. A solution is to use "--with-${mydbtype}" rather than "$(use_with ${mydbtype})". Reproducible: Always Steps to Reproduce: 1. emerge bacula 2. 3. Actual Results: You have not specified either --enable-client-only or one of the supported databases: MySQL, PostgreSQL, SQLite3 or SQLite. This is not permitted. Please reconfigure. Expected Results: bacula compiles and installs
Fixed in CVS as bacula-2.0.2. (No need for revision bump.) Wait a couple hours then resync and try again please.
whoops forgot to mark fixed. sorry for spam.