If cross-compiling, ext/extmk.rb have error. I wrote patch files/ruby18-cross.patch: --- ./ext/extmk.rb 2009-04-26 03:44:04.000000000 +0400 +++ ./ext/extmk.rb 2009-04-26 03:44:45.000000000 +0400 @@ -356,4 +354,5 @@ end +$ruby="" if $ruby == nil $ruby << " -I'$(topdir)'" unless CROSS_COMPILING $ruby << " -I'$(top_srcdir)/lib'" and patch for ebuild: *** ruby-1.8.7_p72-r11.ebuild.old 2009-04-26 05:01:40.000000000 +0400 --- ruby-1.8.7_p72-r11.ebuild 2009-04-26 05:01:05.000000000 +0400 *************** *** 73,73 **** --- 73,74 ---- epatch "${FILESDIR}/${PN}-ossl_ocsp-verification.patch" + epatch "${FILESDIR}/${PN}${MY_SUFFIX}-cross.patch" Reproducible: Always Steps to Reproduce: 1. cross-emerge ruby
Created attachment 189441 [details] Ebuild patch
Created attachment 189442 [details, diff] Cross-compil patch for ext/extmk.rb
Please add a build log, emerge --info, and tell us for what arch you are cross-compiling.