Skip to content

Instantly share code, notes, and snippets.

@bakkdoor
Created November 17, 2010 01:09
Show Gist options
  • Save bakkdoor/702828 to your computer and use it in GitHub Desktop.
Save bakkdoor/702828 to your computer and use it in GitHub Desktop.
bakkdoor:~/Desktop/fancy[bootstrap*]> rake bootstrap -v
(in /home/bakkdoor/Desktop/fancy)
make -C /home/bakkdoor/Desktop/fancy/lib/parser/ext
make: Gehe in Verzeichnis '/home/bakkdoor/Desktop/fancy/lib/parser/ext'
gcc -I. -I. -I/home/bakkdoor/projekte/ruby/rubinius/vm/capi/include -I/home/bakkdoor/Desktop/fancy/lib/parser/ext -fPIC -ggdb3 -O2 -fPIC -c ext.c
gcc -I. -I. -I/home/bakkdoor/projekte/ruby/rubinius/vm/capi/include -I/home/bakkdoor/Desktop/fancy/lib/parser/ext -fPIC -ggdb3 -O2 -fPIC -c parser.c
gcc -I. -I. -I/home/bakkdoor/projekte/ruby/rubinius/vm/capi/include -I/home/bakkdoor/Desktop/fancy/lib/parser/ext -fPIC -ggdb3 -O2 -fPIC -c lexer.c
cc -shared -o fancy_parser.so ext.o parser.o lexer.o -L. -L/home/bakkdoor/projekte/ruby/rubinius/lib -lfl
make: Verlasse Verzeichnis '/home/bakkdoor/Desktop/fancy/lib/parser/ext'
mkdir -p /home/bakkdoor/Desktop/fancy/boot/compiler/parser/ext
cp /home/bakkdoor/Desktop/fancy/lib/parser/ext/fancy_parser.so /home/bakkdoor/Desktop/fancy/boot/compiler/parser/ext/fancy_parser.so
Compiling lib/argv.fy
Compiling lib/array.fy
Compiling lib/block.fy
Compiling lib/boot.fy
Compiling lib/class.fy
Compiling lib/compiler.fy
Compiling lib/directory.fy
Compiling lib/documentation.fy
Compiling lib/enumerable.fy
Compiling lib/eval.fy
Compiling lib/fancy_spec.fy
Compiling lib/fdoc.fy
Compiling lib/fdoc_hook.fy
Compiling lib/file.fy
Compiling lib/hash.fy
Compiling lib/main.fy
Compiling lib/method.fy
Compiling lib/nil_class.fy
Compiling lib/number.fy
Compiling lib/object.fy
Compiling lib/package.fy
Compiling lib/parser.fy
Compiling lib/rbx.fy
Compiling lib/set.fy
Compiling lib/stack.fy
Compiling lib/string.fy
Compiling lib/symbol.fy
Compiling lib/true_class.fy
Compiling lib/version.fy
Compiled 29 files.
Compiling lib/parser/methods.fy
Compiled 1 files.
Compiling lib/compiler/ast.fy
Compiling lib/compiler/command.fy
Compiling lib/compiler/compiler.fy
Compiling lib/compiler/stages.fy
Compiled 4 files.
Compiling lib/compiler/ast/assign.fy
Compiling lib/compiler/ast/block.fy
Compiling lib/compiler/ast/class_def.fy
Compiling lib/compiler/ast/expression_list.fy
Compiling lib/compiler/ast/identifier.fy
Compiling lib/compiler/ast/literals.fy
Compiling lib/compiler/ast/match.fy
Compiling lib/compiler/ast/message_send.fy
Compiling lib/compiler/ast/method_def.fy
Compiling lib/compiler/ast/node.fy
Compiling lib/compiler/ast/range.fy
Compiling lib/compiler/ast/require.fy
Compiling lib/compiler/ast/return.fy
Compiling lib/compiler/ast/script.fy
Compiling lib/compiler/ast/singleton_method_def.fy
Compiling lib/compiler/ast/super.fy
Compiling lib/compiler/ast/try_catch.fy
Compiling lib/compiler/ast/tuple_literal.fy
Compiled 18 files.
Compiling lib/rbx/array.fy
Compiling lib/rbx/bignum.fy
Compiling lib/rbx/block.fy
Compiling lib/rbx/class.fy
Compiling lib/rbx/code_loader.fy
Compiling lib/rbx/console.fy
Compiling lib/rbx/directory.fy
Compiling lib/rbx/documentation.fy
Compiling lib/rbx/environment_variables.fy
Compiling lib/rbx/exception.fy
Compiling lib/rbx/false_class.fy
Compiling lib/rbx/file.fy
Compiling lib/package/dependency.fy
Compiling lib/package/installer.fy
Compiling lib/package/specification.fy
Compiling lib/package/uninstaller.fy
Compiled 4 files.
Compiling boot/compile.fy
Compiled 1 files.
rbx /home/bakkdoor/Desktop/fancy/boot/load.rb /home/bakkdoor/Desktop/fancy/lib/boot.fyc /home/bakkdoor/Desktop/fancy/lib/compiler.fyc /home/bakkdoor/Desktop/fancy/lib/compiler/command.fyc /home/bakkdoor/Desktop/fancy/boot/compile.fyc -- --batch --output-path /home/bakkdoor/Desktop/fancy/boot/.wootstrap --source-path /home/bakkdoor/Desktop/fancy/lib /home/bakkdoor/Desktop/fancy/lib/object.fy /home/bakkdoor/Desktop/fancy/lib/boot.fy /home/bakkdoor/Desktop/fancy/lib/array.fy /home/bakkdoor/Desktop/fancy/lib/directory.fy /home/bakkdoor/Desktop/fancy/lib/true_class.fy /home/bakkdoor/Desktop/fancy/lib/symbol.fy /home/bakkdoor/Desktop/fancy/lib/block.fy /home/bakkdoor/Desktop/fancy/lib/fancy_spec.fy /home/bakkdoor/Desktop/fancy/lib/string.fy /home/bakkdoor/Desktop/fancy/lib/hash.fy /home/bakkdoor/Desktop/fancy/lib/parser.fy /home/bakkdoor/Desktop/fancy/lib/class.fy /home/bakkdoor/Desktop/fancy/lib/version.fy /home/bakkdoor/Desktop/fancy/lib/file.fy /home/bakkdoor/Desktop/fancy/lib/set.fy /home/bakkdoor/Desktop/fancy/lib/eval.fy /home/bakkdoor/Desktop/fancy/lib/method.fy /home/bakkdoor/Desktop/fancy/lib/enumerable.fy /home/bakkdoor/Desktop/fancy/lib/compiler.fy /home/bakkdoor/Desktop/fancy/lib/fdoc_hook.fy /home/bakkdoor/Desktop/fancy/lib/rbx.fy /home/bakkdoor/Desktop/fancy/lib/fdoc.fy /home/bakkdoor/Desktop/fancy/lib/main.fy /home/bakkdoor/Desktop/fancy/lib/nil_class.fy /home/bakkdoor/Desktop/fancy/lib/package.fy /home/bakkdoor/Desktop/fancy/lib/argv.fy /home/bakkdoor/Desktop/fancy/lib/stack.fy /home/bakkdoor/Desktop/fancy/lib/number.fy /home/bakkdoor/Desktop/fancy/lib/documentation.fy
An exception occurred running /home/bakkdoor/Desktop/fancy/boot/load.rb
File not found /home/bakkdoor/Desktop/fancy/lib/rbx/object.fyc (RuntimeError)
Backtrace:
Fancy::BootstrapCodeLoader.require: (load_compiled_file) at boot/load.rb:36
main.__script__ at lib/rbx.fy:9
Fancy::BootstrapCodeLoader.require: (load_compiled_file) at boot/load.rb:48
main.__script__ at lib/boot.fy:14
Fancy::BootstrapCodeLoader.load_compiled_file at boot/load.rb:48
{ } in main.__script__ at boot/load.rb:71
Array#each at kernel/bootstrap/array.rb:66
main.__script__ at boot/load.rb:71
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:494
Rubinius::Loader#main at kernel/loader.rb:591
Rubinius::Loader.main at kernel/loader.rb:630
Object#__script__ at kernel/loader.rb:641
rake aborted!
Command failed with status (1): [rbx /home/bakkdoor/Desktop/fancy/boot/load...]
/home/bakkdoor/Desktop/fancy/Rakefile:112
(See full trace by running task with --trace)
iff --git a/Rakefile b/Rakefile
index 1585537..99c4ec7 100644
--- a/Rakefile
+++ b/Rakefile
@@ -84,8 +84,9 @@ namespace :compiler do
"lib/rbx", "lib/package", "boot"]
source_dirs.each do |dir|
- sources = Dir.glob(_("*.fy", dir))
- sh *(cmd + sources)
+ # sources = Dir.glob(_("*.fy", dir))
+ # sh *(cmd + sources)
+ system("#{cmd.join(" ")} #{dir}/*.fy")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment