Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 342208 Details for
Bug 423589
dev-ruby/rdoc-3.12: fails to build (racc fails to load properly)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fixing the racc loading path
file_423589.txt (text/plain), 7.39 KB, created by
Aldric Giacomoni
on 2013-03-16 04:07:19 UTC
(
hide
)
Description:
Fixing the racc loading path
Filename:
MIME Type:
Creator:
Aldric Giacomoni
Created:
2013-03-16 04:07:19 UTC
Size:
7.39 KB
patch
obsolete
>(sorry, I don't know how to create a patch file, and I'm doing a knowledge dump right now) >racc_gem/bin/racc.rb >Line 13: >From: >require 'racc/static' >To: >racc_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'racc')) >require racc_path > >racc_gem/lib/racc.rb >Insert before line 1: >$: << File.dirname(__FILE__) > >---- > > >And now sudo dtruss racc... Well, it's still not very helpful, but at least when you run racc, you get the helpful "no input". >Now, if you do this for ruby18 and ruby19, and you run emerge rdoc (I know, we're finally back to that!), we get this: > >emerge rdoc >Calculating dependencies... done! > >>>> Verifying ebuild manifests > >>>> Emerging (1 of 1) dev-ruby/rdoc-3.12.1 > * rdoc-3.12.1.gem SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>>> Unpacking source... > * Running unpack phase for all ... > * Unpacking .gem file... ... [ ok ] > * Uncompressing metadata ... [ ok ] > * Unpacking data.tar.gz ... [ ok ] >>>> Source unpacked in /Users/alg/Gentoo/var/tmp/portage/dev-ruby/rdoc-3.12.1/work >>>> Preparing source in /Users/alg/Gentoo/var/tmp/portage/dev-ruby/rdoc-3.12.1/work ... > * Running prepare phase for all ... > * Applying rdoc-3.0.1-bin-require.patch ... [ ok ] > * Applying rdoc-fix-hash-ordering-tests.patch ... [ ok ] > * Running source copy phase for ruby18 ... > * Running source copy phase for ruby19 ... >>>> Source prepared. >>>> Configuring source in /Users/alg/Gentoo/var/tmp/portage/dev-ruby/rdoc-3.12.1/work ... >>>> Source configured. >>>> Compiling source in /Users/alg/Gentoo/var/tmp/portage/dev-ruby/rdoc-3.12.1/work ... > * Running compile phase for ruby18 ... >/Users/alg/Gentoo/usr/lib/ruby/gems/1.8/gems/racc-1.4.9/bin/racc:143:in `main': uninitialized constant Racc::GrammarFileParser (NameError) > from /Users/alg/Gentoo/usr/lib/ruby/gems/1.8/gems/racc-1.4.9/bin/racc:278:in `section' > from /Users/alg/Gentoo/usr/lib/ruby/gems/1.8/gems/racc-1.4.9/bin/racc:142:in `main' > from /Users/alg/Gentoo/usr/lib/ruby/gems/1.8/gems/racc-1.4.9/bin/racc:309 > from /Users/alg/Gentoo/usr/bin/racc:8:in `load' > from /Users/alg/Gentoo/usr/bin/racc:8 > * ERROR: dev-ruby/rdoc-3.12.1 failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 93: Called call-ebuildshell 'src_compile' > * environment, line 796: Called src_compile > * environment, line 4647: Called ruby-ng_src_compile > * environment, line 4311: Called _ruby_each_implementation 'each_ruby_compile' > * environment, line 529: Called _ruby_invoke_environment 'ruby18' 'each_ruby_compile' > * environment, line 581: Called each_ruby_compile > * environment, line 917: Called die > * The specific snippet of code: > * ${RUBY} -S racc -l -o ${file}.rb ${file}.ry || die; > * > * If you need support, post the output of `emerge --info '=dev-ruby/rdoc-3.12.1'`, > * the complete build log and the output of `emerge -pqv '=dev-ruby/rdoc-3.12.1'`. >!!! When you file a bug report, please include the following information: >GENTOO_VM= CLASSPATH="" JAVA_HOME="" >JAVACFLAGS="" COMPILER="" >and of course, the output of emerge --info > * The complete build log is located at '/Users/alg/Gentoo/var/tmp/portage/dev-ruby/rdoc-3.12.1/temp/build.log'. > * The ebuild environment file is located at '/Users/alg/Gentoo/var/tmp/portage/dev-ruby/rdoc-3.12.1/temp/environment'. > * Working directory: '/Users/alg/Gentoo/var/tmp/portage/dev-ruby/rdoc-3.12.1/work/ruby18/rdoc-3.12.1' > * S: '/Users/alg/Gentoo/var/tmp/portage/dev-ruby/rdoc-3.12.1/work/ruby18/rdoc-3.12.1' > >>>> Failed to emerge dev-ruby/rdoc-3.12.1, Log file: > >>>> '/Users/alg/Gentoo/var/tmp/portage/dev-ruby/rdoc-3.12.1/temp/build.log' > > * Messages for package dev-ruby/rdoc-3.12.1: > > * ERROR: dev-ruby/rdoc-3.12.1 failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 93: Called call-ebuildshell 'src_compile' > * environment, line 796: Called src_compile > * environment, line 4647: Called ruby-ng_src_compile > * environment, line 4311: Called _ruby_each_implementation 'each_ruby_compile' > * environment, line 529: Called _ruby_invoke_environment 'ruby18' 'each_ruby_compile' > * environment, line 581: Called each_ruby_compile > * environment, line 917: Called die > > * Messages for package dev-ruby/rdoc-3.12.1: > > * ERROR: dev-ruby/rdoc-3.12.1 failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 93: Called call-ebuildshell 'src_compile' > * environment, line 796: Called src_compile > * environment, line 4647: Called ruby-ng_src_compile > * environment, line 4311: Called _ruby_each_implementation 'each_ruby_compile' > * environment, line 529: Called _ruby_invoke_environment 'ruby18' 'each_ruby_compile' > * environment, line 581: Called each_ruby_compile > * environment, line 917: Called die > * The specific snippet of code: > * ${RUBY} -S racc -l -o ${file}.rb ${file}.ry || die; > * > * If you need support, post the output of `emerge --info '=dev-ruby/rdoc-3.12.1' >==================================== >Error in portage.process.run_exitfuncs > > File "/Users/alg/Gentoo/usr/lib/portage/pym/portage/process.py", line 145, in run_exitfuncs > func(*targs, **kargs) > File "/Users/alg/Gentoo/usr/lib/portage/pym/portage/elog/mod_echo.py", line 22, in finalize > sys.stdout.flush() >[Errno 35] Resource temporarily unavailable >==================================== > >Error in atexit._run_exitfuncs: >Traceback (most recent call last): > File "/Users/alg/Gentoo/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs > func(*targs, **kargs) > File "/Users/alg/Gentoo/usr/lib/portage/pym/portage/process.py", line 156, in run_exitfuncs > exec("raise exc_info[0], exc_info[1], exc_info[2]") > File "/Users/alg/Gentoo/usr/lib/portage/pym/portage/process.py", line 145, in run_exitfuncs > func(*targs, **kargs) > File "/Users/alg/Gentoo/usr/lib/portage/pym/portage/elog/mod_echo.py", line 22, in finalize > sys.stdout.flush() >IOError: [Errno 35] Resource temporarily unavailable >Error in sys.exitfunc: >`, >Traceback (most recent call last): > File "/Users/alg/Gentoo/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs > func(*targs, **kargs) > File "/Users/alg/Gentoo/usr/lib/portage/pym/portage/process.py", line 156, in run_exitfuncs > exec("raise exc_info[0], exc_info[1], exc_info[2]") > File "/Users/alg/Gentoo/usr/lib/portage/pym/portage/process.py", line 145, in run_exitfuncs > funcclose failed in file object destructor: >sys.excepthook is missing >lost sys.stderr > > >Next comment from me... Down the racc rabbit-hole, examining this line: >/Users/alg/Gentoo/usr/lib/ruby/gems/1.8/gems/racc-1.4.9/bin/racc:143:in `main': uninitialized constant Racc::GrammarFileParser (NameError)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 423589
:
341944
|
342124
|
342204
|
342206
|
342208
|
342214