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


All comments welcome.


--
Cheers
Richard KHOO Guan Chen





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to