Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 234161
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
rubyripper-0.5.3.ebuild rubyripper-0.5.3 ebuild modified from rubyripper-0.5.2.ebuild text/plain flacvest 2008-09-04 22:01 0000 1.68 KB Details
rubyripper-0.5.3-require-rubygems.patch patch necessary to get rubyripper-0.5.3 to emerge. patch flacvest 2008-09-04 22:03 0000 274 bytes Details | Diff
rubyripper-0.5.2-configure.patch Patch to get configure working in non-X emerge patch Fredric Johansson 2008-09-06 14:01 0000 963 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 234161 depends on: Show dependency tree
Bug 234161 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: 2008-08-07 09:20 0000
>>> Compiling source in /var/tmp/portage/media-sound/rubyripper-0.5.2/work/rubyripper-0.5.2 ...
Checking the NEEDED dependencies....
cdparanoia found...

Checking the OPTIONAL dependencies...
Testing support for the graphical frontend...
No protocol specified
/usr/lib64/ruby/site_ruby/1.8/gtk2.rb:13:in `init': Cannot open display: :0.0
(RuntimeError)
        from /usr/lib64/ruby/site_ruby/1.8/gtk2.rb:13
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from ./configure:81:in `check_deps'
        from ./configure:164
 * ERROR: media-sound/rubyripper-0.5.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2360:  Called die
 * The specific snippet of code:
 *       ./configure ${myconf} || die "./configure failed";
 *  The die message:
 *   ./configure failed
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/media-sound:rubyripper-0.5.2:20080807-091714.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-sound/rubyripper-0.5.2/temp/environment'.

Thanks,
Diego

------- Comment #1 From flacvest 2008-09-04 22:01:05 0000 -------
Created an attachment (id=164623) [details]
rubyripper-0.5.3 ebuild modified from rubyripper-0.5.2.ebuild

I will attach the patch as the next attachment

------- Comment #2 From flacvest 2008-09-04 22:03:46 0000 -------
Created an attachment (id=164624) [details]
patch necessary to get rubyripper-0.5.3 to emerge.

I created a local portage overlay and modified the ebuild and patch to allow
rubyripper-0.5.3 ebuild to be emerged.

Please test, and if I botched it, please explain to me why it is in error so I
can learn to help build ebuilds for the community.

------- Comment #3 From Fredric Johansson 2008-09-06 13:49:32 0000 -------
The problem lies in how the check for gtk2 is done. Currently the
configure-script use a "require 'gtk2'". gtk2.rb makes a call to the function
GTK.init when loaded which fails if it cannot connect to a running X or if
DISPLAY is unset.

One solution here is to just remove the check since that line in configure have
no impact on if the gtk-gui is getting installed or not.

------- Comment #4 From Fredric Johansson 2008-09-06 14:01:03 0000 -------
Created an attachment (id=164725) [details]
Patch to get configure working in non-X emerge

Proposed patch to get rubyripper to install in non-X emerge.Checks for gtk2 is
removed.

------- Comment #5 From Alexis Ballier 2008-09-21 21:56:11 0000 -------
fixed in 0.5.3 by using Xeconf

------- Comment #6 From Hopeless 2008-10-02 23:16:42 0000 -------
I've just hit this now, with rubyripper-0.5.3

I'm building within a chroot (/chroot), using "mount --bind /tmp/ /chroot/tmp/"
allowed it to compile.

The error message was identical to that in the original bug report, except "No
protocol specified" was omitted.

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