From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 05A2C2F00A for ; Sat, 25 Nov 2000 22:23:16 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eAQ3NFj03586 for axp-list@listman.redhat.com; Sat, 25 Nov 2000 22:23:15 -0500 Received: from firbolg.bravegnuworld.com (IDENT:root@[63.86.29.164]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eAQ3NDD03578 for ; Sat, 25 Nov 2000 22:23:14 -0500 Received: from firbolg.bravegnuworld.com (IDENT:rjune@firbolg.bravegnuworld.com [63.86.29.164]) by firbolg.bravegnuworld.com (8.9.3/8.8.7) with ESMTP id WAA13556 for ; Sat, 25 Nov 2000 22:27:56 -0500 Date: Sat, 25 Nov 2000 22:27:56 -0500 (EST) From: Richard June To: "'axp-list@redhat.com'" Subject: Re: Rebuilding rpms from source In-Reply-To: Message-ID: 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.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Fri, 24 Nov 2000, Rich Payne wrote: > On Fri, 24 Nov 2000, David Rhodes wrote: > > > Apologies for being a clueless newbie... > > > > I am trying to upgrade the version of cdrecord I have on my pws to something > > post-v1.9. I couldn't find an alpha rpm for it so I thought it would be a > > good opportunity to get to grips with rebuilding from a source rpm, so I got > > hold of cdrecord-1.9-2.src.rpm and used rpm with the --rebuild flag to try > > to create an alpha rpm. From reading up on rpm I thought this should appear > > after the rebuild somewhere under /usr/src/redhat/RPMS, but it didn't. I > > got what looks to be the package contents in /BUILD and a tarball plus some > > patches in /SOURCES, but no rpm. > > It should be in /usr/src/redhat/RPMS/alpha when it's done. Look at the > output from RPM, it will tell you if it failed, though it's not always > obvious. I've found that sometimes the package will compile just fine, but > in actually packaging the RPM it fails because a pre-requisite is missing. > Read the output carefully and look for the requires line and check that > you have everything installed. > > Also, are you sure the build was successful? If I remember correctly > cdrecord can be rather difficult to build. > I don't know about it being difficult, but if he did rpm --rebuild and he's got a build in /usr/src/redhat/BUILD, then it didn't complete, so somethings not right. rpm --rebuild will remove that stuff when it's built the package.