First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 169698
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: App-Backup Team <app-backup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mark Wagner <mark@lanfear.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

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

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

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







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


Description:   Opened: 2007-03-07 01:48 0000
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

------- Comment #1 From Lisa Seelye (RETIRED) 2007-03-08 09:31:53 0000 -------
Fixed in CVS as bacula-2.0.2. (No need for revision bump.) Wait a couple hours
then resync and try again please.

------- Comment #2 From Lisa Seelye (RETIRED) 2007-03-08 09:32:16 0000 -------
whoops forgot to mark fixed. sorry for spam.

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