Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 71757
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Ruby Team <ruby@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Kirchner <tjkirch+gentoobugzilla@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
rubygems-0.8.1.ebuild ebuild for dev-ruby/rubygems-0.8.1 text/plain Thomas Kirchner 2004-11-19 07:40 0000 635 bytes Details
rubygems-0.8.1-sandbox.diff patch to fix sandbox issues patch Thomas Kirchner 2004-11-19 07:40 0000 656 bytes Details | Diff
rubygems-0.8.1-sandbox.diff updated patch - fixes shebang patch Thomas Kirchner 2004-11-19 08:35 0000 1.05 KB Details | Diff
rubygems-0.8.1-sandbox.diff patch v3 - fixes remaining sandbox violation patch Thomas Kirchner 2004-11-19 08:41 0000 1.28 KB Details | Diff
rubygems-0.8.1-sandbox.diff patch v4 - fixes patch patch Thomas Kirchner 2004-11-19 09:19 0000 1.27 KB Details | Diff
rubygems-0.8.1-sandbox.diff patch v5 - fixes sources.gemspec patch Thomas Kirchner 2004-11-19 10:26 0000 1.52 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 71757 depends on: Show dependency tree
Bug 71757 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-19 07:37 0000
Working ebuild for rubygems 0.8.1, simpler than the ones in
http://bugs.gentoo.org/show_bug.cgi?id=52959 .  It requires a simple patch to
install.rb to make use of ${D} and avoid sandbox issues.  This installs
rubygems in the default package location, which seems good (and consistent) to
me.

------- Comment #1 From Thomas Kirchner 2004-11-19 07:40:03 0000 -------
Created an attachment (id=44283) [details]
ebuild for dev-ruby/rubygems-0.8.1

------- Comment #2 From Thomas Kirchner 2004-11-19 07:40:45 0000 -------
Created an attachment (id=44284) [details]
patch to fix sandbox issues

------- Comment #3 From Mamoru KOMACHI (RETIRED) 2004-11-19 08:09:45 0000 -------
*** Bug 52959 has been marked as a duplicate of this bug. ***

------- Comment #4 From Mamoru KOMACHI (RETIRED) 2004-11-19 08:16:41 0000 -------
The patch does not fix sandbox violation.
Does it work on your system?

------- Comment #5 From Thomas Kirchner 2004-11-19 08:35:07 0000 -------
Created an attachment (id=44290) [details]
updated patch - fixes shebang

The original patch left the workdir in a shebang, leading to unusable scripts. 
Updated patch fixes this issue.

------- Comment #6 From Thomas Kirchner 2004-11-19 08:41:28 0000 -------
Created an attachment (id=44291) [details]
patch v3 - fixes remaining sandbox violation

There was only one other spot an absolute location was used - replaced this to
use ${D}.  This should fix any remaining sandbox violations.

------- Comment #7 From Mamoru KOMACHI (RETIRED) 2004-11-19 09:04:44 0000 -------
v3 patch doesn't even apply to rubygems-0.8.1.

------- Comment #8 From Thomas Kirchner 2004-11-19 09:19:36 0000 -------
Created an attachment (id=44298) [details]
patch v4 - fixes patch

v3 was screwed up.  v4 fixes the file formatting.  In my own defense, I'm doing
this from a Windows computer (at work) and it sort of sucks.

------- Comment #9 From Mamoru KOMACHI (RETIRED) 2004-11-19 09:55:54 0000 -------
No worries, I see :)

However, your patch doesn't work if you don't have
rubygems installed. 

./sources.gemspec:2:in `require': No such file to load -- rubygems (LoadError)

The patch in bug #52959 contained a fix for this 
problem, but your patch doesn't. Will you fix this
problem with your patch?

------- Comment #10 From Thomas Kirchner 2004-11-19 10:26:57 0000 -------
Created an attachment (id=44300) [details]
patch v5 - fixes sources.gemspec

I had fixed this in my tests last night, but forgot to include the patch. 
Hopefully this should be everything.

------- Comment #11 From Mamoru KOMACHI (RETIRED) 2004-11-19 12:51:46 0000 -------
Thanks, works flawlessly  - added to CVS :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug