Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Cc: robbat2@g.o, nelchael@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: mysql.eclass
Date: Wed, 11 Feb 2009 19:56:55
Message-Id: 49932D9C.9030903@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: mysql.eclass by Krzysiek Pawlik
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Krzysiek Pawlik wrote:
5 > [blocks B ] dev-db/mysql ("dev-db/mysql" is blocking
6 > dev-db/mysql-community-5.0.67)
7 > [blocks B ] dev-db/mysql-community ("dev-db/mysql-community" is blocking
8 > dev-db/mysql-5.0.76)
9
10 As a workaround, you can mask dev-db/mysql-community:
11
12 echo dev-db/mysql-community >> /etc/portage/package.mask
13
14 It's a bug in portage that's triggered by some code which is
15 supposed to help avoid circular dependencies. Here's the relevant
16 piece of the emerge --debug output:
17
18 Parent: ('ebuild', '/', 'dev-db/mysql-5.0.76', 'merge')
19 Depstring: perl? ( >=dev-perl/DBD-mysql-2.9004 ) =virtual/mysql-5.0
20 Priority: medium-soft
21 Virtual Parent: virtual/mysql-5.0
22 Virtual Depstring: || ( =dev-db/mysql-5.0*
23 =dev-db/mysql-community-5.0* )
24 Candidates: ['=dev-db/mysql-community-5.0*',
25 '>=dev-perl/DBD-mysql-2.9004', '=virtual/mysql-5.0']
26
27 What you can see there is that it's selecting mysql-community to
28 satisfy the PDEPEND. I'll make a patch for portage so that it won't
29 trigger the circular dependency avoidance code when it's trying to
30 satisfy PDEPEND.
31 - --
32 Thanks,
33 Zac
34 -----BEGIN PGP SIGNATURE-----
35 Version: GnuPG v2.0.9 (GNU/Linux)
36
37 iEYEARECAAYFAkmTLZoACgkQ/ejvha5XGaP3iwCeIvzbDkpi9osKG/7HOp8H4xOM
38 WuQAoKcojo2g/hVqZ3PJQq/XDcIwMf/w
39 =mm3I
40 -----END PGP SIGNATURE-----

Replies