>>> Install ruby-ferret-0.11.4 into /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/image/ category dev-ruby ERROR: Local gem file not found: /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/distdir/ruby-ferret-0.11.4*.gem ERROR: Could not install a local or remote copy of the gem: /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/distdir/ruby-ferret-0.11.4 * * ERROR: dev-ruby/ruby-ferret-0.11.4 failed. * Call stack: * ebuild.sh, line 1684: Called dyn_install * ebuild.sh, line 1119: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * ebuild.sh, line 1364: Called gems_src_install * gems.eclass, line 74: Called die * The specific snippet of code: * gem install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR} || die "gem install failed: gem-$(gem --version) install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR}" * The die message: * gem install failed: gem-0.9.4 install /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/distdir/ruby-ferret-0.11.4 -v 0.11.4 --no-ri --no-rdoc -l -i /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/image///usr/lib/ruby/gems/1.8 * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/temp/build.log'. * * Messages for package dev-ruby/ruby-ferret-0.11.4: * * ERROR: dev-ruby/ruby-ferret-0.11.4 failed. * Call stack: * ebuild.sh, line 1684: Called dyn_install * ebuild.sh, line 1119: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * ebuild.sh, line 1364: Called gems_src_install * gems.eclass, line 74: Called die * The specific snippet of code: * gem install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR} || die "gem install failed: gem-$(gem --version) install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR}" * The die message: * gem install failed: gem-0.9.4 install /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/distdir/ruby-ferret-0.11.4 -v 0.11.4 --no-ri --no-rdoc -l -i /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/image///usr/lib/ruby/gems/1.8 * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/temp/build.log'. * Reproducible: Always Steps to Reproduce: 1.emerge ruby-ferret 2. 3. Actual Results: >>> Install ruby-ferret-0.11.4 into /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/image/ category dev-ruby ERROR: Local gem file not found: /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/distdir/ruby-ferret-0.11.4*.gem ERROR: Could not install a local or remote copy of the gem: /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/distdir/ruby-ferret-0.11.4 * * ERROR: dev-ruby/ruby-ferret-0.11.4 failed. * Call stack: * ebuild.sh, line 1684: Called dyn_install * ebuild.sh, line 1119: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * ebuild.sh, line 1364: Called gems_src_install * gems.eclass, line 74: Called die * The specific snippet of code: * gem install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR} || die "gem install failed: gem-$(gem --version) install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR}" * The die message: * gem install failed: gem-0.9.4 install /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/distdir/ruby-ferret-0.11.4 -v 0.11.4 --no-ri --no-rdoc -l -i /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/image///usr/lib/ruby/gems/1.8 * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/temp/build.log'. * * Messages for package dev-ruby/ruby-ferret-0.11.4: * * ERROR: dev-ruby/ruby-ferret-0.11.4 failed. * Call stack: * ebuild.sh, line 1684: Called dyn_install * ebuild.sh, line 1119: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * ebuild.sh, line 1364: Called gems_src_install * gems.eclass, line 74: Called die * The specific snippet of code: * gem install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR} || die "gem install failed: gem-$(gem --version) install ${GEM_SRC} -v ${PV} ${myconf} -l -i ${D}/${GEMSDIR}" * The die message: * gem install failed: gem-0.9.4 install /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/distdir/ruby-ferret-0.11.4 -v 0.11.4 --no-ri --no-rdoc -l -i /var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/image///usr/lib/ruby/gems/1.8 * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-ruby/ruby-ferret-0.11.4/temp/build.log'. * Expected Results: ruby-ferret merged
Trapni, you need to define MY_P if P is wrong, as gems.eclass uses P or MY_P if it exists, to know which gem to extract. Instead of your current SRC_URI you need MY_P="${P/ruby-/}" SRC_URI="http://gems.rubyforge.org/gems/${MY_P}.gem" I'm curious to know if this worked when you committed it, which is why I haven't fixed it yet.
(In reply to comment #1) > I'm curious to know if this worked when you committed it, which is why I > haven't fixed it yet. Admittedly, so am I, but can this get fixed meanwhile?
Fixed in CVS