Bacula 1.34.5 wont build if you specify BUILD_CLIENT_ONLY=1 and have not specified a database (as you are supposed to do). It errors out during the compile with... ------ You have not specified either --enable-client-only or one of the supported databases: MySQL, PostgreSQL, or SQLite. This is not permitted. Please reconfigure. ------ The ebuild has the condition for BUILD_CLIENT_ONLY incorrectly checked before $myconf is defined. The addition of "--enable-client-only" is immediatley wiped out by the definition of $myconf on the next line. ------ src_compile() { local myconf="" [ -n "$BUILD_CLIENT_ONLY" ] \ && myconf="${myconf} --enable-client-only" #define this to skip building the other daemons ... myconf=" `use_enable readline` `use_enable gnome` `use_enable tcpd tcp-wrappers` `use_enable X x` `use_enable wxwindows wx-console` " ------ By switching the order the ebuild works fine. ------ src_compile() { local myconf="" #define this to skip building the other daemons ... myconf=" `use_enable readline` `use_enable gnome` `use_enable tcpd tcp-wrappers` `use_enable X x` `use_enable wxwindows wx-console` " [ -n "$BUILD_CLIENT_ONLY" ] \ && myconf="${myconf} --enable-client-only" ------ Reproducible: Always Steps to Reproduce: 1. BUILD_CLIENT_ONLY=1 emerge bacula This bug is the same as 56562 which was marked FIXED incorrectly. The solution provided was only a work around and did not address the problem.
Fixed in cvs.