WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: xenning gentoo

To: Derek Glidden <dglidden@xxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: xenning gentoo
From: "Eric S. Johansson" <esj@xxxxxxxxxx>
Date: Fri, 31 Dec 2004 14:44:38 -0500
Delivery-date: Fri, 31 Dec 2004 19:45:25 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <41D5882F.3030805@xxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <41B3A8E4.60508@xxxxxxxxxx> <41B4B230.5090406@xxxxxxxxxxxxxxx> <41D5882F.3030805@xxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Eric S. Johansson wrote:
finally got back to trying to build xen on gentoo using the 2.0.1 ebuild:

http://bugs.gentoo.org/show_bug.cgi?id=70161)


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



--
http://www.salon.com/books/review/2004/12/18/heloise/index.html

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
truth.


-------------------------------------------------------
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
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>