Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424769 - dev-libs/cyrus-sasl-2.1.*: missing SQL-libs for SQLite Database
Summary: dev-libs/cyrus-sasl-2.1.*: missing SQL-libs for SQLite Database
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-04 14:24 UTC by Roland Holzner
Modified: 2012-07-11 18:18 UTC (History)
0 users

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 Roland Holzner 2012-07-04 14:24:47 UTC
I could'nt get dev-libs/cyrus-sasl-2.1.25-r2 to work with SQLite Database. After looking at the ebuild i noticed that the sqlite useflag did not bring in the libs for the SQL-Plugin. When i re-emerge the package with the mysql useflag enabled and --nodeps, the authentication works without problems.

Reproducible: Always

Steps to Reproduce:
Does not work:
1. USE="sqlite -mysql" emerge dev-libs/cyrus-sasl
2. /etc/init.d/postfix restart
3. Try to send a mail
Actual Results:  
Jul  4 16:02:49 mailrelay postfix/smtpd[838]: connect from gentux[1.2.3.4]
Jul  4 16:02:49 mailrelay postfix/smtpd[838]: warning: gentux[1.2.3.4]: SASL PLAIN authentication failed: no mechanism available
Jul  4 16:02:49 mailrelay postfix/smtpd[838]: warning: gentux[1.2.3.4]: SASL LOGIN authentication failed: no mechanism available



Expected Results:  
Jul  4 16:07:59 nscerelay postfix/smtpd[14106]: connect from gentux[1.2.3.4]
Jul  4 16:07:59 nscerelay postfix/smtpd[14106]: 7DF357E13B: client=gentux[1.2.3.4], sasl_method=PLAIN, sasl_username=myusername


This Works:
1. USE="sqlite mysql" emerge -O dev-libs/cyrus-sasl
2. /etc/init.d/postfix restart
3. Try to send a mail

I dont have mysql or postgres installed but when i use the mysql useflag the libs are getting pulled in and the plugin work.
Comment 1 Eray Aslan gentoo-dev 2012-07-11 18:18:16 UTC
+*cyrus-sasl-2.1.25-r3 (11 Jul 2012)
+
+  11 Jul 2012; Eray Aslan <eras@gentoo.org> +cyrus-sasl-2.1.25-r3.ebuild:
+  Fix building with sqlite USE flag - bug #424769
+

Please reopen if it does not solve the problem.  Thank you.