Gentoo Archives: gentoo-dev

From: Krzysiek Pawlik <nelchael@g.o>
To: gentoo-dev@l.g.o, robbat2@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: mysql.eclass
Date: Wed, 11 Feb 2009 19:12:24
Message-Id: 49932314.1070108@gentoo.org
1 Robin H. Johnson (robbat2) wrote:
2 > robbat2 09/02/11 11:27:13
3 >
4 > Modified: mysql.eclass
5 > Log:
6 > Fix PDEPEND for build order.
7 >
8 > Revision Changes Path
9 > 1.104 eclass/mysql.eclass
10 >
11 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.104&view=markup
12 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.104&content-type=text/plain
13 > diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.103&r2=1.104
14 >
15 > Index: mysql.eclass
16 > ===================================================================
17 > RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v
18 > retrieving revision 1.103
19 > retrieving revision 1.104
20 > diff -p -w -b -B -u -u -r1.103 -r1.104
21 > --- mysql.eclass 12 Jan 2009 23:08:17 -0000 1.103
22 > +++ mysql.eclass 11 Feb 2009 11:27:13 -0000 1.104
23 > @@ -1,6 +1,6 @@
24 > # Copyright 1999-2007 Gentoo Foundation
25 > # Distributed under the terms of the GNU General Public License v2
26 > -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.103 2009/01/12 23:08:17 maekke Exp $
27 > +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.104 2009/02/11 11:27:13 robbat2 Exp $
28 >
29 > # Author: Francesco Riosa (Retired) <vivo@g.o>
30 > # Maintainer: MySQL Team <mysql-bugs@g.o>
31 > @@ -10,7 +10,7 @@
32 > WANT_AUTOCONF="latest"
33 > WANT_AUTOMAKE="latest"
34 >
35 > -inherit eutils flag-o-matic gnuconfig autotools mysql_fx
36 > +inherit eutils flag-o-matic gnuconfig autotools mysql_fx versionator
37 >
38 > # Shorten the path because the socket path length must be shorter than 107 chars
39 > # and we will run a mysql server during test phase
40 > @@ -83,6 +83,9 @@ mysql_version_is_at_least "5.1.12" \
41 > # dev-perl/DBD-mysql is needed by some scripts installed by MySQL
42 > PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
43 >
44 > +# For other stuff to bring us in
45 > +PDEPEND="${PDEPEND} =virtual/mysql-$(get_version_component_range 1-2 ${PV})"
46 > +
47 > # Work out the default SERVER_URI correctly
48 > if [ -z "${SERVER_URI}" ]; then
49 > # The community build is on the mirrors
50
51 This breaks installing MySQL:
52
53 nelchael ~ # emerge -avt dev-db/mysql
54
55 These are the packages that would be merged, in reverse order:
56
57 Calculating dependencies... done!
58 [nomerge ] dev-db/mysql-5.0.76 USE="berkdb ssl -big-tables -cluster -debug
59 -embedded -extraengine -latin1 -max-idx-128 -minimal -perl (-selinux) -static"
60 [ebuild N ] dev-db/mysql-community-5.0.67 USE="berkdb ssl -big-tables
61 -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -perl
62 (-selinux) -static" 27,810 kB
63 [ebuild N ] virtual/mysql-5.0 0 kB
64 [ebuild N ] dev-db/mysql-5.0.76 USE="berkdb ssl -big-tables -cluster
65 -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -perl (-selinux)
66 -static" 33,717 kB
67 [ebuild N ] dev-db/mysql-init-scripts-1.2 0 kB
68 [ebuild N ] sys-apps/ed-1.2 88 kB
69 [blocks B ] dev-db/mysql ("dev-db/mysql" is blocking
70 dev-db/mysql-community-5.0.67)
71 [blocks B ] dev-db/mysql-community ("dev-db/mysql-community" is blocking
72 dev-db/mysql-5.0.76)
73
74 Total: 5 packages (5 new), Size of downloads: 61,615 kB
75 Conflict: 2 blocks (2 unsatisfied)
76
77 * Error: The above package list contains packages which cannot be
78 * installed at the same time on the same system.
79
80 ('ebuild', '/', 'dev-db/mysql-5.0.76', 'merge') pulled in by
81 =dev-db/mysql-5.0* required by ('ebuild', '/', 'virtual/mysql-5.0', 'merge')
82 =dev-db/mysql-5.0* required by ('ebuild', '/',
83 'dev-db/mysql-community-5.0.67', 'merge')
84 dev-db/mysql
85
86
87 For more information about Blocked Packages, please refer to the following
88 section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
89
90 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
91
92 --
93 Krzysztof Pawlik <nelchael at gentoo.org> key id: 0xBC555551
94 desktop-misc, java, apache, ppc, vim, kernel, python...

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies