Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created November 16, 2010 02:39
Show Gist options
  • Save goyox86/701342 to your computer and use it in GitHub Desktop.
Save goyox86/701342 to your computer and use it in GitHub Desktop.
rake bootstrap
(in /Users/goyox86/Desktop/code/fancy)
flex --outfile /Users/goyox86/Desktop/code/fancy/boot/parser/lexer.c --header-file=lexer.h /Users/goyox86/Desktop/code/fancy/boot/parser/lexer.lex
bison --output /Users/goyox86/Desktop/code/fancy/boot/parser/parser.c -d -v /Users/goyox86/Desktop/code/fancy/boot/parser/parser.y
/Users/goyox86/Desktop/code/fancy/boot/parser/parser.y:177.17-25: warning: type clash on default action: <object> != <>
/Users/goyox86/Desktop/code/fancy/boot/parser/parser.y: conflicts: 261 shift/reduce, 40 reduce/reduce
rbx /Users/goyox86/Desktop/code/fancy/boot/parser/extconf.rb
checking for main() in -lfl... yes
creating Makefile
make -C /Users/goyox86/Desktop/code/fancy/boot/parser
gcc -I. -I. -I/Users/goyox86/.rvm/rubies/rbx-head/include -I/Users/goyox86/Desktop/code/fancy/boot/parser -ggdb3 -O2 -fPIC -c ext.c
gcc -I. -I. -I/Users/goyox86/.rvm/rubies/rbx-head/include -I/Users/goyox86/Desktop/code/fancy/boot/parser -ggdb3 -O2 -fPIC -c lexer.c
gcc -I. -I. -I/Users/goyox86/.rvm/rubies/rbx-head/include -I/Users/goyox86/Desktop/code/fancy/boot/parser -ggdb3 -O2 -fPIC -c parser.c
cc -dynamic -bundle -undefined suppress -flat_namespace -o fancy_parser_ext.bundle ext.o lexer.o parser.o -L. -L/Users/goyox86/.rvm/rubies/rbx-head/lib -lfl
cp /Users/goyox86/Desktop/code/fancy/boot/parser/fancy_parser_ext.bundle /Users/goyox86/Desktop/code/fancy/boot/.compiled/parser
rbx /Users/goyox86/Desktop/code/fancy/boot/load.rb /Users/goyox86/Desktop/code/fancy/boot/.compiled/compile.fyc --batch --source-path /Users/goyox86/Desktop/code/fancy/lib --output-path /Users/goyox86/Desktop/code/fancy/boot/.compiled /Users/goyox86/Desktop/code/fancy/lib/argv.fy /Users/goyox86/Desktop/code/fancy/lib/array.fy /Users/goyox86/Desktop/code/fancy/lib/block.fy /Users/goyox86/Desktop/code/fancy/lib/boot.fy /Users/goyox86/Desktop/code/fancy/lib/class.fy /Users/goyox86/Desktop/code/fancy/lib/compiler.fy /Users/goyox86/Desktop/code/fancy/lib/directory.fy /Users/goyox86/Desktop/code/fancy/lib/documentation.fy /Users/goyox86/Desktop/code/fancy/lib/enumerable.fy /Users/goyox86/Desktop/code/fancy/lib/fancy_spec.fy /Users/goyox86/Desktop/code/fancy/lib/fdoc.fy /Users/goyox86/Desktop/code/fancy/lib/fdoc_hook.fy /Users/goyox86/Desktop/code/fancy/lib/file.fy /Users/goyox86/Desktop/code/fancy/lib/hash.fy /Users/goyox86/Desktop/code/fancy/lib/main.fy /Users/goyox86/Desktop/code/fancy/lib/method.fy /Users/goyox86/Desktop/code/fancy/lib/nil_class.fy /Users/goyox86/Desktop/code/fancy/lib/number.fy /Users/goyox86/Desktop/code/fancy/lib/object.fy /Users/goyox86/Desktop/code/fancy/lib/package.fy /Users/goyox86/Desktop/code/fancy/lib/parser.fy /Users/goyox86/Desktop/code/fancy/lib/rbx.fy /Users/goyox86/Desktop/code/fancy/lib/set.fy /Users/goyox86/Desktop/code/fancy/lib/stack.fy /Users/goyox86/Desktop/code/fancy/lib/string.fy /Users/goyox86/Desktop/code/fancy/lib/symbol.fy /Users/goyox86/Desktop/code/fancy/lib/true_class.fy /Users/goyox86/Desktop/code/fancy/lib/version.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/command.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/compiler.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/stages.fy /Users/goyox86/Desktop/code/fancy/lib/package/dependency.fy /Users/goyox86/Desktop/code/fancy/lib/package/installer.fy /Users/goyox86/Desktop/code/fancy/lib/package/specification.fy /Users/goyox86/Desktop/code/fancy/lib/package/uninstaller.fy /Users/goyox86/Desktop/code/fancy/lib/parser/methods.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/array.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/bignum.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/block.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/class.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/code_loader.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/console.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/directory.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/documentation.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/environment_variables.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/exception.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/false_class.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/file.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/fixnum.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/float.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/hash.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/io.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/method.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/name_error.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/no_method_error.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/object.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/range.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/regexp.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/string.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/symbol.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/system.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/tcp_server.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/tcp_socket.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/thread.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/tuple.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/assign.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/block.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/class_def.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/expression_list.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/identifier.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/literals.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/match.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/message_send.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/method_def.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/node.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/range.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/require.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/return.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/script.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/singleton_method_def.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/super.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/try_catch.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/tuple_literal.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/argv.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/array.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/block.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/boot.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/class.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/compiler.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/directory.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/documentation.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/enumerable.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/fancy_spec.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/fdoc.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/fdoc_hook.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/file.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/hash.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/main.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/method.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/nil_class.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/number.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/object.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/package.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/parser.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/rbx.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/set.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/stack.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/string.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/symbol.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/true_class.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/version.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/compiler/ast.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/compiler/command.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/compiler/compiler.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/compiler/stages.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/package/dependency.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/package/installer.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/package/specification.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/package/uninstaller.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/parser/methods.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/rbx/array.fy
An exception occurred running /Users/goyox86/Desktop/code/fancy/boot/load.rb
Error trying to compile /Users/goyox86/Desktop/code/fancy/lib/rbx/array.fy (Rubinius::CompileError)
Backtrace:
Rubinius::Compiler.compiler_error at /Users/goyox86/.rvm/rubies/rbx-head/lib
/compiler/compiler.rbc:11
Fancy::Compiler.compile_file:to:line:print: at boot/.compiled/compiler
/compiler.fy:35
Fancy::Compiler::Command.compile:to:info:print: at boot/.compiled/compiler
/command.fy:36
Fancy::Compiler::Command.run: {} at boot/.compiled/compiler/command.fy:29
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Array#each: {} at boot/.compiled/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:163
Array#each: at boot/.compiled/rbx/array.fy:50
Fancy::Compiler::Command.run: at boot/.compiled/compiler/command.fy:30
main.__script__ at boot/.compiled/compile.fy:5
Fancy::BootstrapCodeLoader.load_compiled_file at boot/load.rb:48
main.__script__ at boot/load.rb:67
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:429
Rubinius::Loader#main at kernel/loader.rb:521
Rubinius::Loader.main at kernel/loader.rb:558
Object#__script__ at kernel/loader.rb:570
Caused by: no method 'call:' on nil:NilClass. (NoMethodError)
Backtrace:
Kernel(NilClass)#call: (method_missing) at kernel/delta/kernel.rb:85
Array#each: {} at boot/.compiled/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:163
Array#each: at boot/.compiled/rbx/array.fy:50
Fancy::AST::MessageArgs#bytecode: at boot/.compiled/compiler/ast
/message_send.fy:37
Fancy::AST::MessageSend#bytecode: {} at boot/.compiled/compiler/ast
/message_send.fy:11
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Object(FalseClass)#if_do:else: at boot/.compiled/object.fy:70
Fancy::AST::MessageSend#bytecode: at boot/.compiled/compiler/ast
/message_send.fy:21
Fancy::AST::ExpressionList#bytecode: {} at boot/.compiled/compiler/ast
/expression_list.fy:25
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Array#each: {} at boot/.compiled/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:163
Array#each: at boot/.compiled/rbx/array.fy:50
Fancy::AST::ExpressionList#bytecode: at boot/.compiled/compiler/ast
/expression_list.fy:27
Fancy::AST::Node(Fancy::AST::ExpressionList)#Node {} at boot/.compiled/compiler
/ast/node.fy:4
Rubinius::AST::ClosedScope(Rubinius::AST::ClassScope)#attach_and_call at \
/Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:154
Rubinius::AST::ClassScope#bytecode at /Users/goyox86/.rvm/rubies/rbx-head/lib
/compiler/ast/definitions.rbc:493
Rubinius::AST::Class(Fancy::AST::ClassDef)#bytecode at /Users/goyox86/.rvm
/rubies/rbx-head/lib
/compiler/ast
/definitions.rbc:470
Fancy::AST::ClassDef#bytecode: at boot/.compiled/compiler/ast
/class_def.fy:21
Fancy::AST::ExpressionList#bytecode: {} at boot/.compiled/compiler/ast
/expression_list.fy:25
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Array#each: {} at boot/.compiled/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:163
Array#each: at boot/.compiled/rbx/array.fy:50
Fancy::AST::ExpressionList#bytecode: at boot/.compiled/compiler/ast
/expression_list.fy:27
Fancy::AST::Script#bytecode: at boot/.compiled/compiler/ast/script.fy:9
Fancy::AST::Node(Fancy::AST::Script)#Node {} at boot/.compiled/compiler/ast
/node.fy:4
Rubinius::AST::Script#bytecode {} at /Users/goyox86/.rvm/rubies/rbx-head/lib
/compiler/ast/definitions.rbc:864
Rubinius::AST::Container(Rubinius::AST::Script)#container_bytecode at \
/Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:757
Rubinius::AST::Script#bytecode at /Users/goyox86/.rvm/rubies/rbx-head/lib
/compiler/ast/definitions.rbc:862
Fancy::Compiler::Stages::FancyGenerator#:run at boot/.compiled/compiler
/stages.fy:37
Fancy::Compiler::Stages::Stage(Fancy::Compiler::Stages::FancyGenerator)#Stage {} at \
boot/.compiled/compiler/stages.fy:17
Rubinius::Compiler::Stage(Fancy::Compiler::Stages::FancyFileParser)#run_next at \
/Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/stages.rbc:51
Fancy::Compiler::Stages::Stage(Fancy::Compiler::Stages::FancyFileParser)#Stage {} at \
boot/.compiled/compiler/stages.fy:17
Rubinius::Compiler(Fancy::Compiler)#run at /Users/goyox86/.rvm/rubies/rbx-head
/lib/compiler/compiler.rbc:115
Fancy::Compiler.compile_file:to:line:print: at boot/.compiled/compiler
/compiler.fy:33
Fancy::Compiler::Command.compile:to:info:print: at boot/.compiled/compiler
/command.fy:36
Fancy::Compiler::Command.run: {} at boot/.compiled/compiler/command.fy:29
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Array#each: {} at boot/.compiled/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:163
Array#each: at boot/.compiled/rbx/array.fy:50
Fancy::Compiler::Command.run: at boot/.compiled/compiler/command.fy:30
main.__script__ at boot/.compiled/compile.fy:5
Fancy::BootstrapCodeLoader.load_compiled_file at boot/load.rb:48
main.__script__ at boot/load.rb:67
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:429
Rubinius::Loader#main at kernel/loader.rb:521
Rubinius::Loader.main at kernel/loader.rb:558
Object#__script__ at kernel/loader.rb:570
rake aborted!
Command failed with status (1): [rbx /Users/goyox86/Desktop/code/fancy/boot...]
/Users/goyox86/Desktop/code/fancy/Rakefile:20:in `__script__ {}'
(See full trace by running task with --trace)
Goyox86s-MacBook:fancy goyox86$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment