[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Odd mock build problem
- From: Jason L Tibbitts III <tibbs math uh edu>
- To: fedora-extras-list redhat com
- Subject: Odd mock build problem
- Date: Tue, 28 Feb 2006 17:47:38 -0600
I'm trying to build the submitted ruby-http-access2 package in mock:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179940
http://roughbook.de/fedora/ruby-http-access2-2.0.6-4.src.rpm
http://roughbook.de/fedora/ruby-http-access2.spec
Unfortunately I can't build on i386 or x86_64, FC4 or development. A
build outside of mock works fine. The failed builds don't get as far
as completely setting up the root; the end of root.log is:
/sbin/runuser -c 'rpm -Uvh --nodeps
/builddir/build/originals/ruby-http-access2-2.0.6-4.src.rpm' mockbuild
ruby-http-access2 warning: user tibbs does not exist - using
root
##############################################warning: user tibbs does
##############################################not exist - using root
#warning: user tibbs does not exist - using root
###
sh: ruby: command not found
sh: ruby: command not found
sh: ruby: command not found
error: line 21: Empty tag: Requires:
Building target platforms: x86_64
Building for target x86_64
Cleaning up...
Done.
The full log is at http://www.math.uh.edu/~tibbs/rpms/ruby-http-access2/root.log
My guess is that mock is trying to determine the BuildRequires:, but
it can't generate the srpm because of these statements at the top of
the spec:
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts
%Config::CONFIG['sitedir']")}
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts
%Config::CONFIG['sitearchdir']")}
ruby isn't installed as part of the base environment.
I wonder if my mock setup isn't messed up somehow. Could someone else
try a quick mock build?
- J<
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]