Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329659 - >=media-libs/liblastfm-0.3.0 fails to emerge with dev-lang/ruby:1.9
Summary: >=media-libs/liblastfm-0.3.0 fails to emerge with dev-lang/ruby:1.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2010-07-24 03:58 UTC by Amit Prakash Ambasta
Modified: 2010-12-14 16:41 UTC (History)
1 user (show)

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


Attachments
Updated ebuild for liblastfm (liblastfm-0.3.0-r1.ebuild,1.33 KB, text/plain)
2010-07-24 03:59 UTC, Amit Prakash Ambasta
Details
Patch to existing cwd being used (ruby-cwd-platform.patch,631 bytes, patch)
2010-07-24 04:00 UTC, Amit Prakash Ambasta
Details | Diff
Unified Diff for ebuild (liblastfm-0.3.0-r1.diff,567 bytes, text/plain)
2010-07-30 10:43 UTC, Amit Prakash Ambasta
Details
liblastfm-0.3.3-ruby-cwd-platform.patch (liblastfm-0.3.3-ruby-cwd-platform.patch,1.18 KB, patch)
2010-09-27 23:38 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Prakash Ambasta 2010-07-24 03:58:20 UTC
emerging liblastfm-0.3.0 w/ ruby 1.9.2-r2 installed results in the following error(s):

during configure:
admin/Makefile.rb:10:in `require': no such file to load -- admin/platform.rb (LoadError)
	from admin/Makefile.rb:10:in `<main>'

during Make:
make -j3 
make: *** No targets.  Stop.




Reproducible: Always

Steps to Reproduce:
1.emerge ruby 1.9.2-r2
2.emerge -av liblastfm
3.Voila
Comment 1 Amit Prakash Ambasta 2010-07-24 03:59:16 UTC
I took the liberty of modifying the ebuild to patch the source Makefile correctly. Attaching the working ebuild and patch.
Comment 2 Amit Prakash Ambasta 2010-07-24 03:59:55 UTC
Created attachment 239973 [details]
Updated ebuild for liblastfm
Comment 3 Amit Prakash Ambasta 2010-07-24 04:00:47 UTC
Created attachment 239975 [details, diff]
Patch to existing cwd being used
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-24 17:18:16 UTC
Please attach unified diffs (diff -u) when you did changes to an ebuild. That would be much more handy for our devs.
Comment 5 Amit Prakash Ambasta 2010-07-30 10:43:30 UTC
Created attachment 240665 [details]
Unified Diff for ebuild

Replacing ebuild with unified diff
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-08-04 09:18:08 UTC
(In reply to comment #5)
> Created an attachment (id=240665) [details]
> Unified Diff for ebuild
> 
> Replacing ebuild with unified diff
> 

The ebuild is using EAPI-2 so all patches belong to src_prepare(), not src_unpack().
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-09-27 23:38:05 UTC
Created attachment 248847 [details, diff]
liblastfm-0.3.3-ruby-cwd-platform.patch

New patch needed for liblastfm-0.3.3
Comment 8 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-09-28 00:49:37 UTC
There is a fix in kde overlay in media-libs/liblastfm-0.3.3 (taken from amarok-packager ml) but upstream said that he'll provide a patch as well, we will wait one more week for it and if there won't be any progress we'll move this one in tree
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2010-12-14 16:41:39 UTC
Moved to tree