View previous topic :: View next topic |
Author |
Message |
Jeld Tux's lil' helper
Joined: 28 Jun 2002 Posts: 84 Location: NYC, US
|
Posted: Fri Jun 28, 2002 12:48 am Post subject: ebuild problem. suspect to be a bug |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Fri Jun 28, 2002 12:55 am Post subject: Re: ebuild problem. suspect to be a bug |
|
|
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 |
|
|
Jeld Tux's lil' helper
Joined: 28 Jun 2002 Posts: 84 Location: NYC, US
|
Posted: Sun Jun 30, 2002 7:09 pm Post subject: Re: ebuild problem. suspect to be a bug |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Jun 30, 2002 8:03 pm Post subject: Re: ebuild problem. suspect to be a bug |
|
|
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 |
|
|
Jeld Tux's lil' helper
Joined: 28 Jun 2002 Posts: 84 Location: NYC, US
|
Posted: Mon Jul 01, 2002 9:18 am Post subject: Re: ebuild problem. suspect to be a bug |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Jul 01, 2002 4:02 pm Post subject: |
|
|
Just give ebuild an absolute path, you'll be fine. (ebuild /usr/portage/category/name/name-version.ebuild fetch) |
|
Back to top |
|
|
|