Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143002 - Can't compile Ruby 1.8.5-pre1 with profiling
Summary: Can't compile Ruby 1.8.5-pre1 with profiling
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-06 11:30 UTC by M. Edward Borasky
Modified: 2006-12-18 05:50 UTC (History)
0 users

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


Attachments
Log of failed emerge (emerge.log,126.49 KB, text/plain)
2006-08-06 11:33 UTC, M. Edward Borasky
Details
emerge info (emerge-info.log,4.09 KB, text/plain)
2006-08-06 11:35 UTC, M. Edward Borasky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M. Edward Borasky 2006-08-06 11:30:16 UTC
I am attempting to build Ruby 1.8.5-pre1 with "gprof" profiling. I used the call

# CFLAGS='-g -pg' FEATURES='keeptemp keepwork' emerge -v ruby

and it got the following error:

Generating RDoc documentation
./miniruby ./runruby.rb --extout=.ext -- "./bin/rdoc" --all --ri --op "/var/tmp/portage/ruby-1.8.5_pre1/image//usr/share/ri/1.8/system" "."
make: *** [do-install-doc] Profiling timer expired

!!! ERROR: dev-lang/ruby-1.8.5_pre1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_install
  ebuild.sh, line 1013:   Called src_install
  ruby-1.8.5_pre1.ebuild, line 107:   Called die

!!! make install failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


I suspect this is upstream -- I'm going to try it outside of Portage and see if it breaks the same way. I don't consider this a very important thing to have fixed, although if it's a Ruby problem, they might. :)
Comment 1 M. Edward Borasky 2006-08-06 11:33:55 UTC
Created attachment 93608 [details]
Log of failed emerge
Comment 2 M. Edward Borasky 2006-08-06 11:35:09 UTC
Created attachment 93609 [details]
emerge info
Comment 3 M. Edward Borasky 2006-08-06 11:50:35 UTC
(In reply to comment #1)
> Created an attachment (id=93608) [edit]
> Log of failed emerge
> 
I've been able to get it to compile and install manually from the Gentoo source tarball. The option that's breaking it is "--enable-install-doc" in the "configure" step. It looks like the default from Ruby is "--disable-install-doc". It's crashing in the Rdoc step that generates the documentation. If I can track down an official Ruby source tarball, I'll see if I can reproduce this and file it on the Ruby bug repository.
Comment 4 M. Edward Borasky 2006-08-30 21:04:29 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Created an attachment (id=93608) [edit]
> > Log of failed emerge
> > 
> I've been able to get it to compile and install manually from the Gentoo source
> tarball. The option that's breaking it is "--enable-install-doc" in the
> "configure" step. It looks like the default from Ruby is
> "--disable-install-doc". It's crashing in the Rdoc step that generates the
> documentation. If I can track down an official Ruby source tarball, I'll see if
> I can reproduce this and file it on the Ruby bug repository.
> 

I filed this upstream -- pure Ruby breaks. They rejected it. So ... you might as well close it as "upstream."
Comment 5 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2006-12-18 05:50:50 UTC
Closed as UPSTREAM as per comment #4