[KLUG Members] building from rpm source

Orien Vandenbergh members@kalamazoolinux.org
Thu, 6 Jun 2002 14:33:52 -0400


Actually the problem that you are having, is a problem with your version
of tar.  Through the various tar versions the maintainers had a hard
time deciding which letter to use to bzip archives.  Some versions use
'I' and others use 'j', it looks like your tar is the 'j' variety, but
your rpm version is expecting the 'I' variety.  You might want to try
upgrading your tar and if that doesn't fix it see if upgrading your rpm,
(careful there) fixes the problem.

Good luck and happy hunting.

Orien

PS.  The reason your second --rebuild attempt succeeded, is because the
archive inside the rpm was a gzip not a bzip.

On Sun, 02 Jun 2002, Tony Gettig wrote:

> One final note on this thread: I downloaded a different source package
> and rpm --rebuild worked perfectly. Dropped the app and the devel rpm's
> in the right place and I installed it no problem. I think maybe there
> was something wrong with the first src.rpm  I tried. 
> 
> Tony
> 
> 
> On Sat, 2002-06-01 at 14:00, Tony Gettig wrote:
> > On Sat, 2002-06-01 at 13:30, Adam Williams wrote:
> > > >Yep, sorry about that. I'm actually doing this (as root):
> > > >rpm -ivh mypackage.src.rpm
> > > >rpm --rebuild mypackage.src.rpm
> > > 
> > > This (the second one) should have caused a rebuild and dumped the
> > > resulting RPM in /usr/src/redhat/RPMS/i386/
> > 
> > That's what I thought, but that darned error about tar and the -I option
> > kept popping up.
> ...
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>