Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild problem. suspect to be a bug
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Jeld
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 84
Location: NYC, US

PostPosted: Fri Jun 28, 2002 12:48 am    Post subject: ebuild problem. suspect to be a bug Reply with quote

I am trying to make an ebuild for scummvm emulator. The source file is called
scummvm_0.2.0-src.tgz

I have ( so far ) made this .ebuild called scummvm-0.2.0.ebuild

A=${P/-/_}-src.tgz
S=${WORKDIR}/${P}
DESCRIPTION=""
SRC_URI="http://unc.dl.sourceforge.net/sourceforge/scummvm/${P}.tgz"
HOMEPAGE="http://unc.dl.sourceforge.net/sourceforge/scummvm/"

DEPEND=""

RDEPEND=$DEPEND

src_unpack() {
unpack ${A}.tgz
cd scummvm
}

Then this happened

computa scummvm # ebuild scummvm-0.2.0.ebuild fetch
!!! doebuild: /usr/portage/portage/scummvm/scummvm-0.2.0.ebuild not found.
portage: aux_get(): couldn't open cache entry for portage/scummvm-0.2.0
(likely caused by syntax error or corruption in the portage/scummvm-0.2.0 ebuild.)

I have consulted a few people and nobody seems to know why this doesn't work.
_________________
package JAPH;sub x{$/='$';@1=map{$_=ord;$_--;chr}
split//,<DATA>;@2=map{$_=ord;$_++;chr}split//
,<DATA>;$_=sub{$.++%2?shift@2:shift@1};bless$_;}
1;$x=JAPH->x;for(1..25){print&$x,;}__DATA__
Kt!ouf!fmIdf"$ts@ngqOq`jq
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri Jun 28, 2002 12:55 am    Post subject: Re: ebuild problem. suspect to be a bug Reply with quote

Jeld wrote:
I have consulted a few people and nobody seems to know why this doesn't work.


Most likely because ebuilds belong in subdirectories -- you've got yours placed in /usr/portage/scummvm when it really should be /usr/portage/app-emulation/scummvm. My guess is portage is expecting one more level of subdirs and barfing when it doesn't find it.

Try placing the scummvm directory within app-emulation and see if that doesn't solve the problem.

EDIT: Just noticed you have it in /usr/portage/portage, at least according to your error output. I still suggest placing the scummvm directory within app-emulation

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Jeld
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 84
Location: NYC, US

PostPosted: Sun Jun 30, 2002 7:09 pm    Post subject: Re: ebuild problem. suspect to be a bug Reply with quote

In my example my ebuild was in the /root, but I tried to put it into both /usr/portage/scummvm and /usr/portage/app-emulators/scammvm and I do get same error with slightly different paths.
_________________
package JAPH;sub x{$/='$';@1=map{$_=ord;$_--;chr}
split//,<DATA>;@2=map{$_=ord;$_++;chr}split//
,<DATA>;$_=sub{$.++%2?shift@2:shift@1};bless$_;}
1;$x=JAPH->x;for(1..25){print&$x,;}__DATA__
Kt!ouf!fmIdf"$ts@ngqOq`jq
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Jun 30, 2002 8:03 pm    Post subject: Re: ebuild problem. suspect to be a bug Reply with quote

Jeld wrote:
I am trying to make an ebuild for scummvm emulator. The source file is called
scummvm_0.2.0-src.tgz


Doesn't this already exist in app-games?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Jeld
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 84
Location: NYC, US

PostPosted: Mon Jul 01, 2002 9:18 am    Post subject: Re: ebuild problem. suspect to be a bug Reply with quote

There is. Sorry, didn't find it myself. But this doesn't resolve the ebuild issue.
_________________
package JAPH;sub x{$/='$';@1=map{$_=ord;$_--;chr}
split//,<DATA>;@2=map{$_=ord;$_++;chr}split//
,<DATA>;$_=sub{$.++%2?shift@2:shift@1};bless$_;}
1;$x=JAPH->x;for(1..25){print&$x,;}__DATA__
Kt!ouf!fmIdf"$ts@ngqOq`jq
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jul 01, 2002 4:02 pm    Post subject: Reply with quote

Just give ebuild an absolute path, you'll be fine. (ebuild /usr/portage/category/name/name-version.ebuild fetch)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum