Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409629 - media-libs/liblastfm should use ruby-ng eclass to determine its platform to build on
Summary: media-libs/liblastfm should use ruby-ng eclass to determine its platform to b...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-25 12:31 UTC by Bkmz
Modified: 2012-06-23 13:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch (liblastfm.patch,372 bytes, patch)
2012-04-06 06:10 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bkmz 2012-03-25 12:31:54 UTC
liblastfm need to emerge dev-ruby/rubygems. I'm installing clementine player, with lastfm supports, it's need liblastfm, but not want to compiling. http://pastebin.com/3xYYkBDj
After installing dev-ruby/rubygems the problem have been solved, please add to ebuild this dependency

Reproducible: Always
Comment 1 Chris Reffett (RETIRED) gentoo-dev Security 2012-03-25 16:14:04 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.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-04-06 06:10:42 UTC
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.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2012-04-06 09:34:37 UTC
As we can have multiple ruby implementations the package should actually use ruby eclass to determine its deps and build.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2012-06-23 13:11:26 UTC
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.