Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78108 - Bacula should demand a database
Summary: Bacula should demand a database
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: App-Backup Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-15 10:21 UTC by Aquila
Modified: 2005-07-02 21:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aquila 2005-01-15 10:21:14 UTC
When installing bacula without a database use flag (because it's a fresh install) the make fails inside Bacula because the #define HAVE_MYSQL || HAVE_SQLITE || HAVE_POSTGRESQL is not set. Requiring at least one database useflag seems reasonable to me.

Reproducible: Sometimes
Steps to Reproduce:
1. emerge bacula on a system without any database use flag
2.
3.

Actual Results:  
the make fails for the Bacula director (altough not mentioned to the user, see 
bug #77038)
Comment 1 Aquila 2005-01-15 10:25:51 UTC
A line like this will do the checking but I'm sure portage has some nifty script for the check too:
use mysql || use postgres || use sqlite || die "please choose mysql, postgresql or sqlite and enable the corresponding use flag"
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-13 17:42:36 UTC
zul: would you like to join app-backup?
Comment 3 Steve Romanow 2005-03-17 09:01:23 UTC
See bug http://bugs.gentoo.org/show_bug.cgi?id=77510 a differing opinion. 
Comment 4 Aquila 2005-03-17 22:28:28 UTC
I disagree, as currently the make crashes. I have no problems with a client ebuild, but then it shouldn't crash.
Comment 5 Fernando Serboncini (RETIRED) gentoo-dev 2005-07-02 21:06:07 UTC
This is fixed in the new 1.36.3-r1 ebuild.