FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-01-2010, 10:21 AM
Arnau Bria
 
Default problems adding local overlay and ebuild

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,

--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
 
Old 09-01-2010, 11:10 AM
Alex Schuster
 
Default problems adding local overlay and ebuild

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
 
Old 09-01-2010, 11:25 AM
Ian Lee
 
Default problems adding local overlay and ebuild

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 ) )
 
Old 09-01-2010, 12:17 PM
Jil Larner
 
Default problems adding local overlay and ebuild

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
 
Old 09-01-2010, 12:57 PM
Arnau Bria
 
Default problems adding local overlay and ebuild

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
 
Old 09-01-2010, 01:02 PM
Arnau Bria
 
Default problems adding local overlay and ebuild

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
 
Old 09-01-2010, 01:32 PM
Arnau Bria
 
Default problems adding local overlay and ebuild

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
 
Old 09-01-2010, 01:32 PM
Neil Bothwick
 
Default problems adding local overlay and ebuild

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
 
Old 09-01-2010, 06:40 PM
Ian Lee
 
Default problems adding local overlay and ebuild

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 ) )"
 

Thread Tools




All times are GMT. The time now is 02:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org