Skip to content

Instantly share code, notes, and snippets.

@iizukak
Last active May 5, 2020 13:47
Show Gist options
  • Save iizukak/f60f4329328dc52c1c50a9e9f3fdad6d to your computer and use it in GitHub Desktop.
Save iizukak/f60f4329328dc52c1c50a9e9f3fdad6d to your computer and use it in GitHub Desktop.
mruby 84aad399 rake -v error on macOS
$ rake -v [~/projects/mruby]
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/object.o" -c "/Users/kentaro/projects/mruby/src/object.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/kernel.o" -c "/Users/kentaro/projects/mruby/src/kernel.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/print.o" -c "/Users/kentaro/projects/mruby/src/print.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/class.o" -c "/Users/kentaro/projects/mruby/src/class.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/array.o" -c "/Users/kentaro/projects/mruby/src/array.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/etc.o" -c "/Users/kentaro/projects/mruby/src/etc.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/state.o" -c "/Users/kentaro/projects/mruby/src/state.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/init.o" -c "/Users/kentaro/projects/mruby/src/init.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/vm.o" -c "/Users/kentaro/projects/mruby/src/vm.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/string.o" -c "/Users/kentaro/projects/mruby/src/string.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/hash.o" -c "/Users/kentaro/projects/mruby/src/hash.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/codedump.o" -c "/Users/kentaro/projects/mruby/src/codedump.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/debug.o" -c "/Users/kentaro/projects/mruby/src/debug.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/range.o" -c "/Users/kentaro/projects/mruby/src/range.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/fmt_fp.o" -c "/Users/kentaro/projects/mruby/src/fmt_fp.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/dump.o" -c "/Users/kentaro/projects/mruby/src/dump.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/error.o" -c "/Users/kentaro/projects/mruby/src/error.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/backtrace.o" -c "/Users/kentaro/projects/mruby/src/backtrace.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/numeric.o" -c "/Users/kentaro/projects/mruby/src/numeric.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/enum.o" -c "/Users/kentaro/projects/mruby/src/enum.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/symbol.o" -c "/Users/kentaro/projects/mruby/src/symbol.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/proc.o" -c "/Users/kentaro/projects/mruby/src/proc.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/pool.o" -c "/Users/kentaro/projects/mruby/src/pool.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/compar.o" -c "/Users/kentaro/projects/mruby/src/compar.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/version.o" -c "/Users/kentaro/projects/mruby/src/version.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/crc.o" -c "/Users/kentaro/projects/mruby/src/crc.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/load.o" -c "/Users/kentaro/projects/mruby/src/load.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/variable.o" -c "/Users/kentaro/projects/mruby/src/variable.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/src
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/src/gc.o" -c "/Users/kentaro/projects/mruby/src/gc.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/mrbgems/mruby-bin-mrbc/tools/mrbc
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -DMRBGEM_MRUBY_BIN_MRBC_VERSION=0.0.0 -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.o" -c "/Users/kentaro/projects/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/mrbgems/mruby-compiler/core
gcc -std=gnu99 -g -O3 -Wall -Wundef -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wwrite-strings -DMRBGEM_MRUBY_COMPILER_VERSION=0.0.0 -I"/Users/kentaro/projects/mruby/include" -MMD -o "/Users/kentaro/projects/mruby/build/host/mrbgems/mruby-compiler/core/codegen.o" -c "/Users/kentaro/projects/mruby/mrbgems/mruby-compiler/core/codegen.c"
mkdir -p /Users/kentaro/projects/mruby/build/host/mrbgems/mruby-compiler/core
mkdir -p /Users/kentaro/projects/mruby/build/host/mrbgems/mruby-compiler/core
bison -o "/Users/kentaro/projects/mruby/build/host/mrbgems/mruby-compiler/core/y.tab.c" "/Users/kentaro/projects/mruby/mrbgems/mruby-compiler/core/parse.y"
/Users/kentaro/projects/mruby/mrbgems/mruby-compiler/core/parse.y:1333.9-16: syntax error, unexpected identifier, expecting string
bison -o "/Users/kentaro/projects/mruby/build/host/mrbgems/mruby-compiler/core/y.tab.c" "/Users/kentaro/projects/mruby/mrbgems/mruby-compiler/core/parse.y"
/Users/kentaro/projects/mruby/mrbgems/mruby-compiler/core/parse.y:1333.9-16: syntax error, unexpected identifier, expecting string
rake aborted!
Command failed with status (1): [bison -o "/Users/kentaro/projects/mruby/bu...]
/Users/kentaro/projects/mruby/lib/mruby/build/command.rb:39:in `_run'
/Users/kentaro/projects/mruby/lib/mruby/build/command.rb:44:in `rescue in _run'
/Users/kentaro/projects/mruby/lib/mruby/build/command.rb:40:in `_run'
/Users/kentaro/projects/mruby/lib/mruby/build/command.rb:235:in `run'
/Users/kentaro/projects/mruby/mrbgems/mruby-compiler/mrbgem.rake:30:in `block (2 levels) in <top (required)>'
/Library/Ruby/Gems/2.6.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
Caused by:
Command failed with status (1): [bison -o "/Users/kentaro/projects/mruby/bu...]
/Users/kentaro/projects/mruby/lib/mruby/build/command.rb:41:in `_run'
/Users/kentaro/projects/mruby/lib/mruby/build/command.rb:235:in `run'
/Users/kentaro/projects/mruby/mrbgems/mruby-compiler/mrbgem.rake:30:in `block (2 levels) in <top (required)>'
/Library/Ruby/Gems/2.6.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
Tasks: TOP => default => all => /Users/kentaro/projects/mruby/build/host/lib/libmruby.flags.mak => /Users/kentaro/projects/mruby/build/host/lib/libmruby.a => /Users/kentaro/projects/mruby/build/host/mrblib/mrblib.o => /Users/kentaro/projects/mruby/build/host/mrblib/mrblib.c => /Users/kentaro/projects/mruby/build/host/bin/mrbc => /Users/kentaro/projects/mruby/build/host/lib/libmruby_core.a => /Users/kentaro/projects/mruby/build/host/mrbgems/mruby-compiler/core/y.tab.o => /Users/kentaro/projects/mruby/build/host/mrbgems/mruby-compiler/core/y.tab.c
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment