Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems writng an ebuild
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
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Mon Nov 04, 2002 8:24 am    Post subject: problems writng an ebuild Reply with quote

im trying to write my first ebuild, so far ive only got as far as the headers & src_unpack(), but when I tried to test the fetch part (ebuild /usr/portage.local/app-games/simutrans/simutrans-0.81.ebuild fetch) I get this:
Code:

portage: aux_get(): (1) couldn't open cache entry for app-games/simutrans-0.81.ebuild (likely caused by syntax error or corruption in the app-games/simutrans-0.81 ebuild.)
portage: doebuild(): aux_get() error; aborting.

Code:

S=${WORKDIR}/${P}
DESCRIPTION="Country infrastructure simulation"
SRC_URI="http://www.s-line.de/homepages/simutrans/simutrans/data/simubase-0_81_0.zip
    http://www.s-line.de/homepages/simutrans/simutrans/data/simulinux-0_81_0.tar.gz
    http://www.s-line.de/homepages/simutrans/simutrans/data/sim_midi-0_78_0.zip"
HOMEPAGE="http://www.simutrans.de"
KEYWORDS="x86 ppc"
#IUSE=""
DEPEND="virtual/x11"
RDEPEND="${DEPEND}"
SLOT="0"
LICENSE="freedist"

src_unpack() {
   unzip simubase-0_81_0.zip
    unpack simulinux-0-81_0.tar.gz
    unzip sim_midi-0_78_0.zip
}

src_compile() {}

src_install() {}

I know its something really trivial, but I simply cannot find it. Please put me out of my misery!
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
kutsuya
Retired Dev
Retired Dev


Joined: 21 Oct 2002
Posts: 189

PostPosted: Mon Nov 04, 2002 10:26 pm    Post subject: Re: problems writng an ebuild Reply with quote

TheCoop wrote:
im trying to write my first ebuild, so far ive only got as far as the headers & src_unpack(), but when I tried to test the fetch part (ebuild /usr/portage.local/app-games/simutrans/simutrans-0.81.ebuild fetch) I get this:
Code:

portage: aux_get(): (1) couldn't open cache entry for app-games/simutrans-0.81.ebuild (likely caused by syntax error or corruption in the app-games/simutrans-0.81 ebuild.)
portage: doebuild(): aux_get() error; aborting.

Code:

S=${WORKDIR}/${P}
DESCRIPTION="Country infrastructure simulation"
SRC_URI="http://www.s-line.de/homepages/simutrans/simutrans/data/simubase-0_81_0.zip
    http://www.s-line.de/homepages/simutrans/simutrans/data/simulinux-0_81_0.tar.gz
    http://www.s-line.de/homepages/simutrans/simutrans/data/sim_midi-0_78_0.zip"
HOMEPAGE="http://www.simutrans.de"
KEYWORDS="x86 ppc"
#IUSE=""
DEPEND="virtual/x11"
RDEPEND="${DEPEND}"
SLOT="0"
LICENSE="freedist"

src_unpack() {
   unzip simubase-0_81_0.zip
    unpack simulinux-0-81_0.tar.gz
    unzip sim_midi-0_78_0.zip
}

src_compile() {}

src_install() {}

I know its something really trivial, but I simply cannot find it. Please put me out of my misery!


Hi,

Well the first thing I would suspect is:
Code:
src_compile() {}
src_install() {}


Might want to delete those empty ebuild functions, or give them some code. If there is still a problem, check if this ebuild has a digest in /usr/portage.local/app-games/simutrans/files.

Hope that helps.

Regards,

--Kutsuya
Back to top
View user's profile Send private message
keratos68
Guru
Guru


Joined: 27 Dec 2002
Posts: 561
Location: Blackpool, Lancashire, UK.

PostPosted: Wed Jan 15, 2003 2:15 pm    Post subject: Reply with quote

I have the same error, nothing to do with the src_compile() etc., its do do with caching of the database data pertaining to pkg install status.

I'm working but havent fixed it yet!! Anyone else?
_________________
Someone told me that "..they only ever made one mistake...."

...and that's when they said they were wrong!!
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Jan 15, 2003 5:04 pm    Post subject: Reply with quote

Does "emerge regen" clear it up?
_________________
For every higher wall, there is a taller ladder
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