Weird Build Errors -- FIXED

Michael Stahnke mastahnke at gmail.com
Mon Sep 13 20:00:38 UTC 2010


If you're building a package for EPEL4/5 and get an error something
along the lines of:

find invalid predicate '' /usr/bin/debug-info.sh

 this is due to an import from F-13/F-14/Rawhide spec file that does
not contain a BuildRoot: in the spec file.

The simple solution is to redefine BuiltRoot in the spec file, and the
error should be gone.

    BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


I decided to notify people here about it because it cost a few
maintainers quite a bit of time.


stahnma




More information about the epel-devel mailing list