Summary: | media-libs/liblastfm should use ruby-ng eclass to determine its platform to build on | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bkmz <libbkmz.dev> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | creffett |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild patch |
Description
Bkmz
2012-03-25 12:31:54 UTC
Please attach build logs here rather than linking to a temporary site such as pastebin. As for the fix, I'm not terribly familiar with ruby, but the issue appears to be that the file /usr/lib64/ruby/1.9.1/rubygems.rb exists (and is installed by the package ruby), but rubygems is not installed. Created attachment 307963 [details, diff]
ebuild patch
The need for this seems pretty clearcut.
archtester media-libs # nano /usr/lib64/ruby/1.9.1/rubygems.rb
----------------------------------------------------------
require 'rubygems/defaults'
require 'rbconfig'
require "rubygems/deprecate"
-----------------------------------------------------------
archtester media-libs # qfile rbconfig
dev-lang/ruby (/usr/lib64/ruby/1.9.1/rbconfig)
dev-ruby/rubygems (/usr/lib64/ruby/site_ruby/1.9.1/rbconfig)
archtester media-libs # qlist rubygems | grep default
/usr/lib64/ruby/site_ruby/1.9.1/rubygems/defaults/operating_system.rb
/usr/lib64/ruby/site_ruby/1.9.1/rubygems/defaults.rb
archtester media-libs # qlist rubygems | grep deprecate
/usr/lib64/ruby/site_ruby/1.9.1/rubygems/deprecate.rb
AND
archtester media-libs # head -3 /mnt/gen2/TmpDir/portage/media-libs/liblastfm-0.3.3/work/mxcl-liblastfm-1c739eb/configure
#!/usr/bin/ruby
if ARGV.include? '--help'
puts "usage: ./configure [--prefix <dir>] [--release] [--no-strip] [--skip-checks]"
confgiure is a ruby script.
As we can have multiple ruby implementations the package should actually use ruby eclass to determine its deps and build. New version doesn't depend on ruby. + 23 Jun 2012; Johannes Huber <johu@gentoo.org> +liblastfm-1.0.1.ebuild, + -liblastfm-0.3.0.ebuild, metadata.xml: + Version bump, remove old. |