On 28-Oct-2000 guanchen KHOO opined:
> I have RedHat-5.2 and upgraded rpm to rpm-3.0.5-7.5x which I think I
> got
> from rpm.org - cannot be sure though. Had a scary problem yesterday
> when I
> tried to --rebuild bison-1.27-3.src.rpm. The rebuild always fails,
> complaining that it cannot find some files (I think the info files) in
> the
> build root. Sure enough when I look at /var/tmp/bison-root/, I could
> only
> see the usr/lib directory in there. The bin, man/man1, and info
> directories were missing. I installed the src.rpm and looked at the
> bison.spec file, but cannot see anything wrong. I then checked
> /usr/bin/
> and found that the new bison had been installed! The rpm installed the
> bin/, man/man1 and info/ into /usr/bin/, /usr/man/man1/, and /usr/info/
> instead of $RPM_BUILD_ROOT/usr/ when it was making the package!!!???
>
> Is RedHat-5.2 missing some upgrade package that would cause this?
> Shouldn't rpm warn? The problematic line in the bison.spec file is :-
>
> make install prefix=$RPM_BUILD_ROOT/usr datadir=$RPM_BUILD_ROOT/usr/lib
That may be something to do with the problem I had and never had the time
to track down.
I upgraded 6.2 to the version in the updates directory. It was
rpm-3.0.5-something. I then had all sorts of problems with --rebuild and
-ta where files weren't found and failures resulted.
Before I could track it down I did a few ignorant things and messed up
some important files. After reinstalling everything worked again. But,
that happened most likely because it fell back to 3.0.4 and still hasn't
been upgraded.
--
Failure is not an option. It comes bundled with your Microsoft product.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list