Re: Odd mock build problem

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

 



Jason L Tibbitts III wrote:

> 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.
...
> 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']")}

It's the empty "Requires:" on line 21 causing the problem.  Fix that
(and assume that ruby may not be present on the first run through mock).

-- Rex

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux