Error rebuilding Arjan's 422 kenrel

Tom Diehl tdiehl at rogueind.com
Mon Jun 7 20:35:21 UTC 2004


On Mon, 7 Jun 2004, David Kewley wrote:

> On Monday 07 June 2004 11:25, Tom Diehl wrote:
> > On Mon, 7 Jun 2004, Chris Kloiber wrote:
> > > On Mon, 2004-06-07 at 20:48, Arjan van de Ven wrote:
> > > > On Mon, 2004-06-07 at 04:22, Chris Kloiber wrote:
> > > > > I don't have it on my screen anymore to copy, but having rebuilt the
> > > > > 422 kernel, I am getting errors for unpackaged debug files like
> > > > > /usr/lib/debug/<kernel-ver>/System.Map and others. I see that most of
> > > > > the logic for building the kernel-debuginfo rpm has vanished, perhaps
> > > > > this is just a holdover?
> > > >
> > > > eh no nothing changed here in a looong time...
> > > > is your rpm setup sane ??
> > >
> > > I guess that depends. I was, for the first time in a long time, trying a
> > > non-root build using Mike Harris' rpmbuild-nonroot-1.0.tar.gz.
> >
> > As much as I like his way of setting up a non-root rpm build I have been
> > unable to get it to do things like rpmbuild --rebuild somerpm.src.rpm. It
> > does not expand some of the variables. If you find a way to keep his
> > directory structure and get the above working please let me know how you
> > did it. It is a pita to have to install a src.rpm just to rebuild it. Other
> > than that it works great for me.
> 
> rpmbuild --rebuild works fine here (just tried it using rawhide 
> ed-0.2-35.i386.rpm), under  FC2 with MH's ~/rpmbuild structure & macros.  But 
> even if it didn't work for me, personally I don't find it a pita to do

Actually I had a brain fart. What I was thinking of was rpmbuild -ta tarball.
I agree --rebuild works just fine.

>   rpm -i foo-1.0-1.src.rpm
>   cd ~/rpmbuild/foo-1.0
>   rpmbuild -ba foo.spec
> 
> compared to
> 
>   rpmbuild --rebuild foo-1.0-1.src.rpm
> 
> Pretty minor extra typing in my typical workday. :)

True but if a feature is there I would like to be able to use it. I will
take anything I can to save time. That way I can spend more time putting out
other fires. :-)

Tom





More information about the fedora-devel-list mailing list