From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric S. Johansson" Subject: Re: Re: xenning gentoo Date: Fri, 31 Dec 2004 14:44:38 -0500 Message-ID: <41D5AC26.2020608@harvee.org> References: <41B3A8E4.60508@harvee.org> <41B4B230.5090406@illusionary.com> <41D5882F.3030805@harvee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <41D5882F.3030805@harvee.org> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Derek Glidden , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org 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