Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118632 - dspam lies about what storage it defaults to
Summary: dspam lies about what storage it defaults to
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-11 01:40 UTC by Petr Baudis
Modified: 2006-10-29 01:59 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 Petr Baudis 2006-01-11 01:40:35 UTC
It goes like this:

 *  mysql database support in your USE flags.
 *  sqlite database support in your USE flags.

 * You have multiple database backends active in your USE flags.
 * Will default to MySQL as your dspam database backend.
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 * If you want to build with another database backend; hit Control-C now.
 * Change your USE flag -mysql and emerge again.

 * It would be best practice to add the set of USE flags that you use for this
 * package to the file: /etc/portage/package.use. Example:
 * `echo "mail-filter/dspam -mysql postgres -oci8 -sqlite -sqlite3" >> /etc/portage/package.use`
 * to build dspam with Postgres database as your dspam backend.
uid=26(dspam) gid=408(dspam) groups=408(dspam)
uid=26(dspam) gid=408(dspam) groups=408(dspam)
>>> Unpacking source...
>>> Unpacking dspam-3.6.2.tar.gz to /var/tmp/portage/dspam-3.6.2/work
>>> Unpacking dspam_sa_trainer.tar.gz to /var/tmp/portage/dspam-3.6.2/work
>>> Source unpacked.
 * econf: updating dspam-3.6.2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating dspam-3.6.2/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-long-username --with-delivery-agent=/usr/bin/procmail --enable-domain-scale --with-dspam-home=/var/spool/dspam --sysconfdir=/etc/mail/dspam --with-storage-driver=sqlite_drv --enable-virtual-users --build=i686-pc-linux-gnu
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

So it says it will use mysql and then uses sqlite, obviously totally breaking the whole dspam setup during upgrade (I believe this behaviour is different from previous versions, but I'm not sure - it just worked before but I can't say if I didn't add sqlite to common USE flags later).
Comment 1 Lim Swee Tat (RETIRED) gentoo-dev 2006-02-13 07:54:25 UTC
Is this still a problem?  I have mine running with sqlite3.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2006-10-29 01:57:03 UTC
takeover the maintainership from st_lim. 
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-10-29 01:59:46 UTC
dspam-3.6.8 tell no lie