First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 57302
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Chuck Short (RETIRED) <zul@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: MikeM <list@themorrells.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 57302 depends on: Show dependency tree
Bug 57302 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-07-16 10:03 0000
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.

------- Comment #1 From Chuck Short (RETIRED) 2004-07-19 17:08:25 0000 -------
Fixed in cvs.

First Last Prev Next    No search results available      Search page      Enter new bug