pof n00b
Joined: 23 Apr 2002 Posts: 13
|
Posted: Tue Apr 23, 2002 4:19 pm Post subject: Problems after writing ebuild file |
|
|
I've writen my first ebuild file and I want to test if it works.
I created /usr/portage/app-misc/progname/ and then I copied my progname-version.ebuild into that dir.
When I try 'ebuild progname-version.ebuild fetch' I get the folowing error:
Code: |
Traceback (most recent call last):
File "/usr/sbin/ebuild", line 33, in ?
a=portage.doebuild(pargs[0],x,getroot(),debug=debug)
File "/usr/lib/python2.2/site-packages/portage.py", line 985, in doebuild
if not fetch(fetchme):
File "/usr/lib/python2.2/site-packages/portage.py", line 715, in fetch
mydigests[myline[2]]={"md5":myline[1],"size":string.atol(myline[3])}
IndexError: list index out of range
|
If I try 'emerge progname' I get this:
Code: |
Calculating dependencies ...done!
>>> emerge app-misc/progname-version to /
Traceback (most recent call last):
File "/usr/bin/emerge", line 1316, in ?
mydepgraph.merge(mydepgraph.altlist())
File "/usr/bin/emerge", line 592, in merge
retval=portage.doebuild(y,"merge",myroot,edebug)
File "/usr/lib/python2.2/site-packages/portage.py", line 985, in doebuild
if not fetch(fetchme):
File "/usr/lib/python2.2/site-packages/portage.py", line 715, in fetch
mydigests[myline[2]]={"md5":myline[1],"size":string.atol(myline[3])}
IndexError: list index out of range
|
Anyone knows what I am missing here? I think my ebuild syntax is correct.
Thanks in advance.
pof |
|