Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Dependency Problem with Bind and Mysql
Date: Tue, 06 Sep 2011 14:54:41
Message-Id: 20110906165308.384bf9c0@rohan
In Reply to: Re: [gentoo-user] Dependency Problem with Bind and Mysql by Paul Hartman
1 On Tue, 6 Sep 2011 09:32:39 -0500
2 Paul Hartman <paul.hartman+gentoo@×××××.com> wrote:
3
4 > On Tue, Sep 6, 2011 at 6:41 AM, Todd Goodman <tsg@×××××××××.net>
5 > wrote:
6 > > I've been getting the following problem trying to emerge world for
7 > > the past few days:
8 > >
9 > > !!! Problem resolving dependencies for net-dns/bind from @selected
10 > > ... done!
11 > >
12 > > !!! The ebuild selected to satisfy "net-dns/bind" has unmet
13 > > requirements.
14 > > - net-dns/bind-9.8.1::gentoo USE="berkdb dlz mysql odbc ssl threads
15 > > xml -caps -doc -geoip -gost -gssapi -idn -ipv6 -ldap -pkcs11
16 > > -postgres -rpz -sdb-ldap (-selinux) -urandom"
17 > >
18 > >  The following REQUIRED_USE flag constraints are unsatisfied:
19 > >    mysql? ( !threads )
20 > >
21 > >  The above constraints are a subset of the following complete
22 > > expression:
23 > >    postgres? ( dlz ) berkdb? ( dlz ) mysql? ( dlz !threads ) odbc? (
24 > > dlz ) ldap? ( dlz ) sdb-ldap? ( dlz ) gost? ( ssl )
25 > >
26 > > (dependency required by "@selected" [set])
27 > > (dependency required by "@world" [argument])
28 > >
29 > >
30 > > So it looks like bind-9.8.1 wants mysql with the threads use flag
31 > > disabled.  I have added:
32 > >
33 > >>=dev-db/mysql-5.1.58-r1 -threads
34 > >
35 > > to /etc/portage/package.use
36 > >
37 > > However, I don't believe mysql-5.1.58-r1 uses the threads use flag?
38 > >
39 > > Anyone have any ideas (aside from down-reving mysql?)
40 >
41 > I think you need to set bind -threads, not mysql.
42 >
43
44 Correct. The meaning of this line:
45
46 > >    mysql? ( !threads )
47
48 is: for the package mentioned immediately above
49 (net-dns/bind-9.8.1::gentoo), USE="mysql" requires USE="-threads"
50
51 The USEs are just for the bind package, not global.
52
53 --
54 Alan McKinnnon
55 alan.mckinnon@×××××.com