#5257: Rubygems rebuild failed due to wrong expansion of %{_libdir} macro

Fedora Release Engineering rel-eng at fedoraproject.org
Fri Jul 27 11:35:47 UTC 2012


#5257: Rubygems rebuild failed due to wrong expansion of %{_libdir} macro
-----------------------------+------------------------
 Reporter:  vondruch         |       Owner:  rel-eng@…
     Type:  defect           |      Status:  new
Milestone:  Fedora 18 Alpha  |   Component:  koji
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------
 The RubyGems build failed during the mass rebuild [1]. Part of the
 rubygem.spec are following lines:

 {{{
 RUBYOPT="-Itest -Ilib"
 RUBYOPT="$RUBYOPT -I%{_libdir}/gems/exts/io-console-0.3/lib/"
 # In case that rubygem-json is installed
 RUBYOPT="$RUBYOPT -I%{gem_dir}/gems/json-1.6.5/lib
 -I%{_libdir}/gems/exts/json-1.6.5/ext/json/ext"
 export RUBYOPT

 testrb test
 }}}

 The problem is that although the build is done on x86_64, the macros are
 expanded to '/usr/lib/' instead of '/usr/lib64/'. The same build in mock
 on my local machine works just fine.

 May be these two error lines might be somehow related?

 {{{
 error: Macro %__isa_name has empty body
 error: Macro %__isa_bits has empty body
 }}}

 Or am I doing something wrong?


 [1] http://koji.fedoraproject.org/koji/taskinfo?taskID=4304533

-- 
Ticket URL: <https://fedorahosted.org/rel-eng/ticket/5257>
Fedora Release Engineering <http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project


More information about the rel-eng mailing list