Re: [gentoo-user] problems adding local overlay and ebuild

2010-09-01 Thread Alex Schuster
Arnau Bria writes:

 I'd like to install mcollective and developer provides its ebuild.
 so I've followed http://en.gentoo-wiki.com/wiki/Overlay for adding a
 local overlay.
 
 *I had a problem when adding
 source /usr/local/portage/layman/make.conf to my make.conf. That file
 does not exists and layman has no make.conf file. Anyway, removing that
 line and following the other steps makes my ebuilds available to
 emerge.

Lyman is a different thing. Nowadays its defaultlocation is 
/var/lib/layman (I think), so to use it you need to source the make.conf 
in this directory. But fr your own overlay, just set the PORTDIR_OVERLAY 
path in /etc/make.conf.

[...]

 !!! Invalid or corrupt dependency specification:
 
 Conditional without parenthesis: 'server?'
 
 ('ebuild', '/', 'multi-tool/mcollective-0.4.8', 'merge')
 
 server? || ( =dev-ruby/stomp-1.1 =dev-ruby/stomp-1.1.6 )
 =dev-lang/ruby-1.8

The '||' looks wrong to me.

Wonko



Re: [gentoo-user] problems adding local overlay and ebuild

2010-09-01 Thread Ian Lee

On 01/09/10 11:21, Arnau Bria wrote:

Hi all,

I'd like to install mcollective and developer provides its ebuild.
so I've followed http://en.gentoo-wiki.com/wiki/Overlay for adding a
local overlay.

*I had a problem when adding
source /usr/local/portage/layman/make.conf to my make.conf. That file
does not exists and layman has no make.conf file. Anyway, removing that line
and following the other steps makes my ebuilds available to emerge.

so this is my structure:
# ls -R /usr/local/portage/*
/usr/local/portage/dev-ruby:
stomp

/usr/local/portage/dev-ruby/stomp:
ChangeLog  Manifest  stomp-1.1.6.ebuild  stomp-1.1.ebuild

/usr/local/portage/multi-tool:
mcollective

/usr/local/portage/multi-tool/mcollective:
ChangeLog  files  Manifest  mcollective-0.4.7.ebuild  mcollective-0.4.8.ebuild

/usr/local/portage/multi-tool/mcollective/files:
client.cfg.dist.patch  mcollectived.conf  mcollectived.init  
server.cfg.dist.patch

/usr/local/portage/profiles:
repo_name


So now I try to install new package:

# emerge multi-tool/mcollective

  * IMPORTANT: 1 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.

Calculating dependencies /

!!! Invalid or corrupt dependency specification:

Conditional without parenthesis: 'server?'

('ebuild', '/', 'multi-tool/mcollective-0.4.8', 'merge')

server? || ( =dev-ruby/stomp-1.1=dev-ruby/stomp-1.1.6 )=dev-lang/ruby-1.8

This package can not be installed. Please notify the 'multi-
tool/mcollective-0.4.8' package maintainer about this problem.
... done!


and it complains about server line.

I've tried to add a parenthesis to that line, and after new digest, it
still complains about that line.


so, anyone with more experience could help me? is there a real problem
with the ebuild? or the problem is mine? (most probable :-) ).

*Instead of pasting ebuild code, I paste download link:

http://code.google.com/p/mcollective/downloads/list


Thanks in advance,


Try replacing the DEPEND= line with

DEPEND=server? ( || ( =dev-ruby/stomp-1.1 =dev-ruby/stomp-1.1.6 ) )




Re: [gentoo-user] problems adding local overlay and ebuild

2010-09-01 Thread Jil Larner
Hi,

Le 01/09/2010 12:21, Arnau Bria a écrit :
 so, anyone with more experience could help me? is there a real problem
 with the ebuild? or the problem is mine? (most probable :-) ).

An error was introduced in the latest version of the ebuild.

replace
DEPEND=server? || ( =dev-ruby/stomp-1.1 =dev-ruby/stomp-1.1.6 )
with
DEPEND=server? ( =dev-ruby/stomp-1.1 =dev-ruby/stomp-1.1.6 )

as suggested by Alex. Previous version of the ebuild is functionnal, so
emerge -pv =mcollective-0.4.7
works fine.

Btw, you should keep the portage categories in your overlay, so the
mcollective package would be under dev-ruby, not multi-tool. However,
there’s no obligation ;)

Sincerely yours,
Jil





Re: [gentoo-user] problems adding local overlay and ebuild

2010-09-01 Thread Arnau Bria
On Wed, 01 Sep 2010 12:25:03 +0100
Ian Lee wrote:

Hi Ian,

 Try replacing the DEPEND= line with
 
 DEPEND=server? ( || ( =dev-ruby/stomp-1.1 =dev-ruby/stomp-1.1.6 ) )

fails on manifest:

# ebuild mcollective-0.4.8.ebuild manifest
Error(s) in metadata for 'multi-tool/mcollective-0.4.8':
  DEPEND: server? ( || ( =dev-ruby/stomp-1.1 =dev-ruby/stomp-1.1.6 ) ) 
=dev-lang/ruby-1.8 )
invalid atom: ''
  RDEPEND: server? ( || ( =dev-ruby/stomp-1.1 =dev-ruby/stomp-1.1.6 ) ) 
=dev-lang/ruby-1.8 )
invalid atom: ''

Cheers,

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] problems adding local overlay and ebuild

2010-09-01 Thread Arnau Bria
On Wed, 1 Sep 2010 13:10:03 +0200
Alex Schuster wrote:

 Arnau Bria writes:
Hi Alex,
 
[...]
 Lyman is a different thing. Nowadays its defaultlocation is 
 /var/lib/layman (I think), so to use it you need to source the
 make.conf in this directory. But fr your own overlay, just set the
 PORTDIR_OVERLAY path in /etc/make.conf.
Yep, I only wanted to say that I did not follow all the steps in the
wiki (or that the wiki is out of date). 

 [...]
 
  !!! Invalid or corrupt dependency specification:
  
  Conditional without parenthesis: 'server?'
  
  ('ebuild', '/', 'multi-tool/mcollective-0.4.8', 'merge')
  
  server? || ( =dev-ruby/stomp-1.1 =dev-ruby/stomp-1.1.6 )
  =dev-lang/ruby-1.8
 
 The '||' looks wrong to me.
I removed them and now it works... let's see how ends the comilation.


   Wonko
Thanks Wonko!
 


-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] problems adding local overlay and ebuild

2010-09-01 Thread Neil Bothwick
On Wed, 01 Sep 2010 14:17:11 +0200, Jil Larner wrote:

 Btw, you should keep the portage categories in your overlay, so the
 mcollective package would be under dev-ruby, not multi-tool. However,
 there’s no obligation ;)

As long as you don't mind portage complaining about it. If you want to
use a custom category, add it to /etc/portage/categories.


-- 
Neil Bothwick

Top Oxymorons Number 22: Childproof


signature.asc
Description: PGP signature


Re: [gentoo-user] problems adding local overlay and ebuild

2010-09-01 Thread Arnau Bria
On Wed, 1 Sep 2010 14:32:45 +0100
Neil Bothwick wrote:

 On Wed, 01 Sep 2010 14:17:11 +0200, Jil Larner wrote:
 
  Btw, you should keep the portage categories in your overlay, so the
  mcollective package would be under dev-ruby, not multi-tool.
  However, there’s no obligation ;)
 
 As long as you don't mind portage complaining about it. If you want to
 use a custom category, add it to /etc/portage/categories.
Yep, I saw an error and added my category there. Not mentioned as I did
not see a problem on it. Anyway, going to change to dev-ruby and follow
the standard :-)

thanks to both,
Cheers,


-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] problems adding local overlay and ebuild

2010-09-01 Thread Ian Lee

On 01/09/10 13:57, Arnau Bria wrote:

On Wed, 01 Sep 2010 12:25:03 +0100
Ian Lee wrote:

Hi Ian,


Try replacing the DEPEND= line with

DEPEND=server? ( || ( =dev-ruby/stomp-1.1=dev-ruby/stomp-1.1.6 ) )


fails on manifest:

# ebuild mcollective-0.4.8.ebuild manifest
Error(s) in metadata for 'multi-tool/mcollective-0.4.8':
   DEPEND: server? ( || ( =dev-ruby/stomp-1.1=dev-ruby/stomp-1.1.6 ) 
)=dev-lang/ruby-1.8 )
 invalid atom: ''
   RDEPEND: server? ( || ( =dev-ruby/stomp-1.1=dev-ruby/stomp-1.1.6 ) 
)=dev-lang/ruby-1.8 )
 invalid atom: ''

Cheers,


Oops may bad. I missed off the last dependency

Should read

DEPEND==dev-lang/ruby-1.8
server? ( || ( =dev-ruby/stomp-1.1 =dev-ruby/stomp-1.1.6 ) )