[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: xenning gentoo

Eric S. Johansson wrote:
finally got back to trying to build xen on gentoo using the 2.0.1 ebuild:


unfortunately, it can't find the xen tarball and, quite frankly, I'm not sure where to put all the other pieces and whether or not I need to build manifest etc. etc.

its beginning to look like it might be easier to just build everything from raw bits and reinstall xen anytime I do an update via emerge.

couldn't bring myself to the things the raw bits way so I decided to go from zero knowledge on ebuilds to some knowledge.

this is what I've learned so far (yes, some of this is ebuild 101):

understand the directory hierarchy of an ebuild input files and the right place. This means the *.ebuild and Manifest are in the "top" directory of that particular ebuild and all datafiles go in "files".

get all the files local and into the /usr/portage/distfiles and directory. The new tarballs for xen and xen-sources are placed into /usr/portage/distfiles by hand just to make things easier.

don't be afraid to hack the hardcoded version numbers in your ebuilds like xen-sources-2.6.9.ebuild. and sometimes, just sometimes it really is a question of the knowing when to give up. ;-)

xeno xen-sources # ACCEPT_KEYWORDS="~x86" emerge -v xen-sources
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-kernel/xen-sources-2.6.9 to /
>>> md5 src_uri ;-) linux-2.6.9.tar.bz2
>>> md5 src_uri ;-) xen-2.0.1-src.tgz
>>> Unpacking source...
>>> Unpacking linux-2.6.9.tar.bz2 to /var/tmp/portage/xen-sources-2.6.9/work
>>> Unpacking xen-2.0.1-src.tgz to /var/tmp/portage/xen-sources-2.6.9/work
patching file /var/tmp/portage/xen-sources-2.6.9/work/linux-2.6.9-xen0/drivers/xen/blkfront/blkfront.c
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 103 (offset 1 line).
Hunk #2 FAILED at 138.
Hunk #3 succeeded at 467 (offset -1 lines).
Hunk #4 succeeded at 1008 (offset -1 lines).
1 out of 4 hunks FAILED -- saving rejects to file /var/tmp/portage/xen-sources-2.6.9/work/linux-2.6.9-xen0/drivers/xen/blkfront/blkfront.c.rej


The basis of Abelard's philosophy, which he taught to Heloise, was
that logic had to be applied to religion in order to arrive at the

The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.