View previous topic :: View next topic |
Author |
Message |
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Mon Nov 04, 2002 8:24 am Post subject: problems writng an ebuild |
|
|
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 |
|
|
kutsuya Retired Dev
Joined: 21 Oct 2002 Posts: 189
|
Posted: Mon Nov 04, 2002 10:26 pm Post subject: Re: problems writng an ebuild |
|
|
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 |
|
|
keratos68 Guru
Joined: 27 Dec 2002 Posts: 561 Location: Blackpool, Lancashire, UK.
|
Posted: Wed Jan 15, 2003 2:15 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Jan 15, 2003 5:04 pm Post subject: |
|
|
Does "emerge regen" clear it up? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|
|
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
|
|