1 |
* kashani <kashani-list@××××××××.net>: |
2 |
> When building bugzilla-3.4.1-r1 which requires ~x86 I have to |
3 |
> unmask a number of perl modules. Two of those modules, listed above, |
4 |
> attempt to pull in perl-5.10.1 which isn't in portage. Hardmasking |
5 |
> packages that require dependencies that don't exist makes sense. If |
6 |
> you'd like to explain otherwise a little more data other than "cause |
7 |
> I said so" is required. |
8 |
|
9 |
Let's have a look at the ebuild: |
10 |
|
11 |
> kashani@www01 /usr/portage/dev-lang/perl $ cat |
12 |
> /usr/portage/virtual/perl-Test-Harness/perl-Test-Harness-3.17.ebuild |
13 |
> # Copyright 1999-2009 Gentoo Foundation |
14 |
> # Distributed under the terms of the GNU General Public License v2 |
15 |
> # $Header: /var/cvsroot/gentoo-x86/virtual/perl-Test-Harness/perl-Test-Harness-3.17.ebuild,v |
16 |
> 1.2 2009/08/25 10:56:52 tove Exp $ |
17 |
> |
18 |
> DESCRIPTION="Virtual for Test-Harness" |
19 |
> HOMEPAGE="http://www.gentoo.org/proj/en/perl/" |
20 |
> SRC_URI="" |
21 |
> |
22 |
> LICENSE="GPL-2" |
23 |
> SLOT="0" |
24 |
> KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 |
25 |
> ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
26 |
> IUSE="" |
27 |
> |
28 |
> DEPEND="" |
29 |
> RDEPEND="|| ( ~dev-lang/perl-5.10.1 ~perl-core/Test-Harness-${PV} )" |
30 |
|
31 |
The ebuild depends on dev-lang/perl-5.10.1 or perl-core/Test-Harness-3.17. |
32 |
The second one is in the tree so there is no need for hardmasking. |
33 |
|
34 |
So if you add virtual/perl-Test-Harness to package.keywords you should |
35 |
also add perl-core/Test-Harness. |
36 |
|
37 |
If you wonder why portage doesn't report both possibilities, visit the |
38 |
bugs in my other mail in this thread. |
39 |
|
40 |
Thanks |