From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id D3C163EA0B for ; Wed, 20 Nov 2002 05:32:39 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gAKAWdD27675 for ; Wed, 20 Nov 2002 05:32:39 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id gAKAWdK05828 for axp-list@listman.redhat.com; Wed, 20 Nov 2002 05:32:39 -0500 Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [172.16.58.1]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id gAKAWdN05824 for ; Wed, 20 Nov 2002 05:32:39 -0500 Received: from localhost (mharris@localhost) by devserv.devel.redhat.com (8.11.6/8.11.0) with ESMTP id gAKAWdQ12243 for ; Wed, 20 Nov 2002 05:32:39 -0500 X-Authentication-Warning: devserv.devel.redhat.com: mharris owned process doing -bs Date: Wed, 20 Nov 2002 05:32:39 -0500 (EST) From: "Mike A. Harris" X-X-Sender: mharris@devserv.devel.redhat.com To: axp-list@redhat.com Subject: Re: Building Redhat from source/scratch In-Reply-To: <200211181153.59286.tedgoodridgejr@acm.org> Message-ID: Organization: Red Hat Inc. X-Unexpected-Header: The Spanish Inquisition MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Mon, 18 Nov 2002, Ted Goodridge wrote: >Date: Mon, 18 Nov 2002 11:53:59 -0600 >From: Ted Goodridge >To: axp-list@redhat.com >Content-Type: text/plain; > charset="us-ascii" >List-Id: Linux and Red Hat on Alpha processors >Subject: Building Redhat from source/scratch > >For reasons such as bad linking etc, and the fact that I want to help out with >redhat as much as I can, how do I build the distribution from scratch? > >I have all the rawhide SRPMS, and want to do it inside a chroot enviornment. >I thought I could report any errors I found to bugzila. Is there >documentation on how to do this? I would love to be able to read a document >rather than bugging you guys. There are several different ways that you could go about this, each of which would provide useful information. Red Hat rebuilds the entire distribution every single night on all architectures, the resulting packages of which get tested for various issues. We continue to add automated tests to catch more and more errors. If you're interested in helping do automated tests also, you can use the rpm commandline options --initdb and --dbpath to specify a new database location inside a chroot area, and --dbpath and --root in order to install RPMs into the chroot area, without affecting your main system or its RPM database. You can just install all packages into the chroot, and then place all src.rpm's into the chroot as well. Warning: do not install or build multiple RPMs at the same time using the default RPM config. Any 2 RPM packages can overwrite each others files in the SOURCES dir if they both have a file of the same name. Best to just do them one at a time, saving the results. You can save the build logs from RPM as well, and then examine them either by hand afterward, or via automated perl scripts or somesuch, looking for errors, warnings and other potential problems. There is a tonne of R&D in this area that one could do to help find and fix problems before they become problems. If only there were more hours in a day. ;o) TTYL -- Mike A. Harris ftp://people.redhat.com/mharris OS Systems Engineer XFree86 maintainer Red Hat Inc.