Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225073 - sys-kernel/genkernel-3.4.10: Could not find source tarball
Summary: sys-kernel/genkernel-3.4.10: Could not find source tarball
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-06 02:03 UTC by Paul Taylor
Modified: 2011-08-13 16:21 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Taylor 2008-06-06 02:03:35 UTC
After upgrading to genkernel-3.4.10, genkernel now fails to run with the following error:

Could not find source tarball /var/cache/genkernel/src/busybox-1.7.4.tar.bz2. Please refetch.

/var/cache/genkernel/src does not exist, and previous versions of genkernel did not require any manual intervention to fetch busybox etc. since DISTDIR pointed to /usr/portage/distfiles:

### Changes to /etc/genkernel.conf after upgrade to genkernel-3.4.10:

 # Location of the default cache
-CACHE_DIR="/var/cache/genkernel/%%ARCH%%"
+CACHE_DIR="/var/cache/genkernel"
 # Location of DISTDIR, where our source tarballs are stored
-DISTDIR="/usr/portage/distfiles"
+DISTDIR="${CACHE_DIR}/src"

Either DISTDIR should be changed back to /usr/portage/distfiles, or genkernel should fetch and maintain the contents of ${CACHE_DIR}/src.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-06-06 12:23:50 UTC
The ebuild should be copying the distfiles to /var/cache/genkernel/src. It looks like that part got overlooked when updating the ebuild.
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-01 12:56:58 UTC
This was fixed in the tree a while back.
Comment 3 Tilman Giese 2008-07-01 15:41:49 UTC
Even with 3.4.10-r1, I am still getting the following error message:

Could not find source tarball /usr/share/genkernel/pkg/busybox-1.1.3+gentoo.tar.bz2. Please refetch.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-01 16:30:24 UTC
That's because you didn't run etc-update to update your /etc/genkernel.conf
Comment 5 Matthijs 2008-08-21 11:09:03 UTC
(In reply to comment #4)
> That's because you didn't run etc-update to update your /etc/genkernel.conf
> 

I have the same problem, and I DID do the etc-update for both genkernel and busybox after a re-emerge. However I notice the following:

Genkernel search for:
/usr/share/genkernel/pkg/busybox-1.1.3+gentoo.tar.bz2

Current location (notice the x86_64):
/usr/share/genkernel/pkg/x86_64/busybox-1.1.3+gentoo.tar.bz2

What happend, do I have to modify genkernel.conf manually?

Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2008-08-21 12:46:41 UTC
Your genkernel.conf is outdated. The version of busybox in 3.4.10 is 1.7.4. Re-emerge genkernel and run etc-update again.
Comment 7 Simone Piunno 2008-09-28 08:15:00 UTC
I just installed 3.4.10, ran etc-update and my genkernel.conf points to busybox-1.1.3+gentoo.

I had to manually fix genkernel.conf and copy files from /usr/portage/distfiles to /usr/share/genkernel/pkg to make it work.
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2008-09-28 16:11:51 UTC
Then you ran etc-update incorrectly
Comment 9 LuçaS. 2008-10-06 08:12:34 UTC
(In reply to comment #7)
> I just installed 3.4.10, ran etc-update and my genkernel.conf points to
> busybox-1.1.3+gentoo.
> 
> I had to manually fix genkernel.conf and copy files from /usr/portage/distfiles
> to /usr/share/genkernel/pkg to make it work.
> 

I had the same problem; it seems that i resolved this problem just doing a backup copy of /etc/genkernel.conf and then:

rm /etc/genkernel.conf
emerge genkernel
Comment 10 p cooper 2008-10-07 08:57:31 UTC
same problem with me with e x86 arch.

- removing /etc/genkernel.conf  seems to have fixed it. 
After re-emerging genkernel etc-update   didnt indicate the conf file needed upgrading.

genkernel is trying to find /usr/share/genkernel/pkg/busybox-1.1.3+gentoo.tar.bz2 and the file is ( i think) in /usr/share/genkernel/pkg/x86/busybox-1.1.3+gentoo.tar.bz2
Comment 11 kiorky 2009-09-11 13:40:17 UTC
same problem here, its not fixed
Comment 12 Frank Hsieh 2011-08-13 16:21:21 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > I just installed 3.4.10, ran etc-update and my genkernel.conf points to
> > busybox-1.1.3+gentoo.
> > 
> > I had to manually fix genkernel.conf and copy files from /usr/portage/distfiles
> > to /usr/share/genkernel/pkg to make it work.
> > 
> 
> I had the same problem; it seems that i resolved this problem just doing a
> backup copy of /etc/genkernel.conf and then:
> 
> rm /etc/genkernel.conf
> emerge genkernel

It works for me! Thank LuçaS.