Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252948 - ebuild installing gems install two copies of shared objects
Summary: ebuild installing gems install two copies of shared objects
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-29 02:16 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-12-18 18:13 UTC (History)
0 users

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


Attachments
ebuild fixing double so files (thin-1.0.0.ebuild,1.39 KB, text/plain)
2009-01-03 22:58 UTC, Wim Muskee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-29 02:16:51 UTC
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/ext/http11/http11.so
  /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/http11.so
  /usr/lib/ruby/gems/1.8/gems/thin-0.8.1/ext/thin_parser/thin_parser.so
  /usr/lib/ruby/gems/1.8/gems/thin-0.8.1/lib/thin_parser.so

I noticed this today, it seems to be valid for a lot of gems. One more reason to get rid of them for sure.
Comment 1 Wim Muskee 2009-01-03 22:58:46 UTC
Created attachment 177284 [details]
ebuild fixing double so files

Completely rewritten the ebuild, which is now built from git source instead of gem. I haven't tested the package in use.
Also this strip warning at the end of the installation:

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib/ruby/site_ruby/1.8/thin/ext/thin_parser/parser.o
   usr/lib/ruby/site_ruby/1.8/thin/ext/thin_parser/thin.o
   usr/lib/ruby/site_ruby/1.8/thin/ext/thin_parser/thin_parser.so
Comment 2 Wim Muskee 2009-01-26 10:37:28 UTC
(In reply to comment #1)
> Created an attachment (id=177284) [edit]
> ebuild fixing double so files
> 
> Completely rewritten the ebuild, which is now built from git source instead of
> gem.

Okay, don't install from git sources. Will change on the next Gentoo Bugday.
Comment 3 Hans de Graaff gentoo-dev Security 2009-12-18 18:13:22 UTC
I'm closing this as WONTFIX since we won't be fixing this for gems.eclass-based ebuilds. Instead please use ruby-fakegem which makes it a lot easier to install the right .so file once.