Gentoo Archives: gentoo-user

From: Ian Lee <ian@×××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] problems adding local overlay and ebuild
Date: Wed, 01 Sep 2010 11:15:58
Message-Id: 4C7E380F.1040305@leehouse.eclipse.co.uk
In Reply to: [gentoo-user] problems adding local overlay and ebuild by Arnau Bria
1 On 01/09/10 11:21, Arnau Bria wrote:
2 > Hi all,
3 >
4 > I'd like to install mcollective and developer provides its ebuild.
5 > so I've followed http://en.gentoo-wiki.com/wiki/Overlay for adding a
6 > local overlay.
7 >
8 > *I had a problem when adding
9 > "source /usr/local/portage/layman/make.conf" to my make.conf. That file
10 > does not exists and layman has no make.conf file. Anyway, removing that line
11 > and following the other steps makes my ebuilds available to emerge.
12 >
13 > so this is my structure:
14 > # ls -R /usr/local/portage/*
15 > /usr/local/portage/dev-ruby:
16 > stomp
17 >
18 > /usr/local/portage/dev-ruby/stomp:
19 > ChangeLog Manifest stomp-1.1.6.ebuild stomp-1.1.ebuild
20 >
21 > /usr/local/portage/multi-tool:
22 > mcollective
23 >
24 > /usr/local/portage/multi-tool/mcollective:
25 > ChangeLog files Manifest mcollective-0.4.7.ebuild mcollective-0.4.8.ebuild
26 >
27 > /usr/local/portage/multi-tool/mcollective/files:
28 > client.cfg.dist.patch mcollectived.conf mcollectived.init server.cfg.dist.patch
29 >
30 > /usr/local/portage/profiles:
31 > repo_name
32 >
33 >
34 > So now I try to install new package:
35 >
36 > # emerge multi-tool/mcollective
37 >
38 > * IMPORTANT: 1 news items need reading for repository 'gentoo'.
39 > * Use eselect news to read news items.
40 >
41 > Calculating dependencies /
42 >
43 > !!! Invalid or corrupt dependency specification:
44 >
45 > Conditional without parenthesis: 'server?'
46 >
47 > ('ebuild', '/', 'multi-tool/mcollective-0.4.8', 'merge')
48 >
49 > server? || ( =dev-ruby/stomp-1.1>=dev-ruby/stomp-1.1.6 )>=dev-lang/ruby-1.8
50 >
51 > This package can not be installed. Please notify the 'multi-
52 > tool/mcollective-0.4.8' package maintainer about this problem.
53 > ... done!
54 >
55 >
56 > and it complains about server line.
57 >
58 > I've tried to add a parenthesis to that line, and after new digest, it
59 > still complains about that line.
60 >
61 >
62 > so, anyone with more experience could help me? is there a real problem
63 > with the ebuild? or the problem is mine? (most probable :-) ).
64 >
65 > *Instead of pasting ebuild code, I paste download link:
66 >
67 > http://code.google.com/p/mcollective/downloads/list
68 >
69 >
70 > Thanks in advance,
71 >
72 Try replacing the DEPEND= line with
73
74 DEPEND="server? ( || ( =dev-ruby/stomp-1.1 >=dev-ruby/stomp-1.1.6 ) )

Replies

Subject Author
Re: [gentoo-user] problems adding local overlay and ebuild Arnau Bria <arnau@×××××××××.net>