[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: check-buildroot failure



Tom "spot" Callaway wrote:
On Sun, 2007-07-29 at 11:14 -0400, Steve Dickson wrote:
I'm getting the following build error:

/usr/lib/rpm/check-buildroot
/var/tmp/libgssapi-0.11-root/usr/lib64/pkgconfig/libgssapi.pc:prefix=/var/tmp/libgssapi-0.11-root
Found '/var/tmp/libgssapi-0.11-root' in installed files; aborting
error: Bad exit status from /var/tmp/rpm-tmp.75914 (%install)

Steve,

Look closely at what you've pasted:

The file (/var/tmp/libgssapi-0.11-root/usr/lib64/pkgconfig/libgssapi.pc)
contains the rpm buildroot inside of it.

The script printed the line where the buildroot appears:

prefix=/var/tmp/libgssapi-0.11-root
Thanks for the context... because now it makes sense...

The problem was  I was trying to decipher the
'Found '/var/tmp/libgssapi-0.11-root' in installed files; aborting'
line because I thought that was the error...

Would it be much clear if the error message was something like:
/usr/lib/rpm/check-buildroot
Failed do the follow problem(s): Bad prefix setting
/var/tmp/libgssapi-0.11-root/usr/lib64/pkgconfig/libgssapi.pc:prefix=/var/tmp/libgssapi-0.11-root

At least that would draw my attention to correct line of output....

steved.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]