-   Linux - Newbie (
-   -   ebuild foo.ebuild digest problem (

shooterfpga 04-13-2004 12:06 AM

ebuild foo.ebuild digest problem
hi, im getting an error when tyring to generate a digest.

no package digest file found
type ebuild foo.ebuild digest to generate

ebuild /usr/portage/sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.26_pre6 digest

name error in 2.4.: two decimal points in a row
error : PF is null 'digest-gentoo-sources-2.4." ; exiting

does anyone know how to solve this.... any help will be appreciated, thanks

shooterfpga 04-13-2004 12:39 AM

bump, solved problem had to go to the ebuild directory and do the digest from there. now its working

motub 04-13-2004 12:46 AM

The instruction did not say "type ebuild /path/to/foo.ebuild digest", and I'm fairly sure that the name of the package is not digest-anything-- oh, the error says that, as well.

So this is firstly a typo (you should type "ebuild <packagename>.ebuild digest", but if it's a real portage package, you shouldn't be having this problem in the first place, because it should have a digest.

So since I would guess that this is a new addition to portage (kernel 2.4.26_pre6? wow), maybe what you need to do is:

1) an emerge sync to update your portage tree (I had this problem day before yesterday when Wine-20040408 came out; I could see it in the online package list, but my local copy of Portage didn't know it was available to me until I did an emerge sync to update it)

2) use the command ACCEPT_KEYWORDS="~x86" emerge --pretend --verbose gentoo-sources to confirm that if you emerge the most recent kernel you will in fact get 2.4.26_pre6 (the message will tell you what package it would pull, that's what --pretend --verbose is all about);

3) if the right one would be installed, just use the same command without --pretend --verbose, but if it would pull 2.4.26_pre3 or something, do ACCEPT_KEYWORDS="~x86" emerge "=gentoo-sources-2.4.26_pre6" (with the quotes) as shown here, in the section about how to install a specific version of gnumeric.

But looking at the online package manager, you shouldn't have to do that; if you're not getting 2.4.26_pre6, it's most likely because your local portage tree is old, and an emerge sync will fix it right up, enabling you to do a normal emerge to get the package.

shooterfpga 04-14-2004 06:57 AM

yes, i got it to work, did several updates to portage just to make sure it was correct, i only specified the path because it didnt go through, until i did cd to the directory, as for all that work, it didnt do any good as the 2.4.26 i was trying to install failed during compile, im now going to try the gentoo-test-sources for 2.6 with patches so i supposedly get sata support without much of the problems as before, hopefully i dont have to edit the hdparm again for timeout problems

All times are GMT -5. The time now is 02:24 AM.