Gentoo Archives: gentoo-dev

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Fw: [gentoo-commits] gentoo-x86 commit in app-backup/bacula: bacula-5.0.2-r2.ebuild ChangeLog
Date: Thu, 22 Jul 2010 16:20:58
Message-Id: 20100722182029.145a15bb@ham
Did not see the mail here and replied only with p.m. to darkside.

So please find here teh attached copy to keep the discussion on the
right list.

Thomas.

Begin forwarded message:

Date: Thu, 22 Jul 2010 18:07:40 +0200
From: Thomas Beierlein <tomjbe@g.o>
To: Jeremy Olexa <darkside@g.o>
Subject: Re: [gentoo-commits] gentoo-x86 commit in app-backup/bacula:
bacula-5.0.2-r2.ebuild ChangeLog


On Thu, 22 Jul 2010 10:57:32 -0500
Jeremy Olexa <darkside@g.o> wrote:

> On Thu, 22 Jul 2010 15:48:51 +0000 (UTC), "Thomas Beierlein (tomjbe)" > <tomjbe@g.o> wrote: > > <snip> > > elif [[ "${dbnum}" -gt 1 ]]; then > > eerror > > eerror "You have set ${P} to use multiple > > database types." eerror "I don't know which to set as the default!" > > eerror "You can > > use /etc/portage/package.use to set per-package USE flags" eerror > > "Set it so only one database type, mysql, postgres, sqlite3" eerror > > die "Multiple database types selected." > > Hello Thomas, > I've just noticed this code snippet. Please don't die here, instead > pick a default if there are conflicting choices in USE. > > For reference, please see "Conflicting USE Flags" section on this > page, > http://devmanual.gentoo.org/general-concepts/use-flags/index.html > > Thanks, > Jeremy
Hi Jeremy, thanks for pointing it out. That is old heritage from former maintainer. I tried to fix the ebuild step by step and that was atm not on my 'urgent' list :). So maybe as sqlite3 use flag is default now. I should also default to that database here. Regards, Thomas.

Replies