Skip to content

Instantly share code, notes, and snippets.

@bcg
Created March 9, 2012 13:16
Show Gist options
  • Save bcg/2006471 to your computer and use it in GitHub Desktop.
Save bcg/2006471 to your computer and use it in GitHub Desktop.
bash_bench build error
$ make distclean
==> basho_stats (clean)
==> ibrowse (clean)
==> casbench (clean)
==> protobuffs (clean)
==> riakc (clean)
==> basho_bench (clean)
$ make all
./rebar get-deps
==> basho_bench (get-deps)
Pulling basho_stats from {git,"git://github.com/basho/basho_stats.git","HEAD"}
Initialized empty Git repository in /home/telluride/basho_bench/deps/basho_stats/.git/
Pulling ibrowse from {git,"git://github.com/cmullaparthi/ibrowse.git","HEAD"}
Initialized empty Git repository in /home/telluride/basho_bench/deps/ibrowse/.git/
Pulling casbench from {git,"git://github.com/basho/casbench","HEAD"}
Initialized empty Git repository in /home/telluride/basho_bench/deps/casbench/.git/
Pulling riakc from {git,"git://github.com/basho/riak-erlang-client","HEAD"}
Initialized empty Git repository in /home/telluride/basho_bench/deps/riakc/.git/
==> basho_stats (get-deps)
==> ibrowse (get-deps)
==> casbench (get-deps)
==> riakc (get-deps)
Pulling protobuffs from {git,"git://github.com/basho/erlang_protobuffs",
{tag,"protobuffs-0.6.0"}}
Initialized empty Git repository in /home/telluride/basho_bench/deps/protobuffs/.git/
==> protobuffs (get-deps)
./rebar compile
==> basho_stats (compile)
Compiled src/basho_stats_rv.erl
Compiled src/basho_stats_utils.erl
Compiled src/basho_stats_sample.erl
Compiled src/basho_stats_histogram.erl
==> ibrowse (compile)
Compiled src/ibrowse_lib.erl
Compiled src/ibrowse_app.erl
Compiled src/ibrowse_sup.erl
Compiled src/ibrowse.erl
Compiled src/ibrowse_lb.erl
Compiled src/ibrowse_test.erl
Compiled src/ibrowse_http_client.erl
==> casbench (compile)
Compiled src/thrift_service.erl
Compiled src/thrift_transport.erl
src/thrift_protocol.erl:123: Warning: variable 'EType' is unused
src/thrift_protocol.erl:154: Warning: variable 'Name' is unused
src/thrift_protocol.erl:287: Warning: variable 'StructType' is unused
Compiled src/thrift_protocol.erl
src/thrift_base64_transport.erl:44: Warning: variable 'Data' is unused
src/thrift_base64_transport.erl:44: Warning: variable 'Wrapped' is unused
Compiled src/thrift_base64_transport.erl
Compiled src/cassandra_thrift.erl
Compiled src/test_service.erl
Compiled src/cassandra_types.erl
Compiled src/test_handler.erl
src/thrift_memory_buffer.erl:130: Warning: variable 'Msg' is unused
Compiled src/thrift_memory_buffer.erl
src/thrift_disk_log_transport.erl:60: Warning: variable 'Rest' is unused
src/thrift_disk_log_transport.erl:62: Warning: variable 'Rest' is unused
src/thrift_disk_log_transport.erl:69: Warning: variable 'Len' is unused
src/thrift_disk_log_transport.erl:110: Warning: variable 'Log' exported from 'case' (line 111)
Compiled src/thrift_disk_log_transport.erl
src/thrift_socket_server.erl:169: Warning: variable 'OldPid' is unused
src/thrift_socket_server.erl:191: Warning: variable 'IProt' is unused
src/thrift_socket_server.erl:191: Warning: variable 'OProt' is unused
Compiled src/thrift_socket_server.erl
Compiled src/thrift_socket_transport.erl
Compiled src/thrift_http_transport.erl
src/thrift_buffered_transport.erl:141: Warning: variable 'Msg' is unused
src/thrift_buffered_transport.erl:160: Warning: variable 'State' is unused
Compiled src/thrift_buffered_transport.erl
Compiled src/thrift_file_transport.erl
src/thrift_framed_transport.erl:157: Warning: variable 'State1' is unused
src/thrift_framed_transport.erl:161: Warning: variable 'Msg' is unused
src/thrift_framed_transport.erl:180: Warning: variable 'State' is unused
Compiled src/thrift_framed_transport.erl
src/thrift_processor.erl:29: Warning: variable 'Server' is unused
src/thrift_processor.erl:98: Warning: variable 'State' is unused
Compiled src/thrift_processor.erl
src/thrift_server.erl:129: Warning: variable 'ListenSocket' is unused
src/thrift_server.erl:129: Warning: variable 'Ref' is unused
Compiled src/thrift_server.erl
src/thrift_binary_protocol.erl:87: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:101: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:112: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:121: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:130: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:132: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:133: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:182: Warning: variable 'Sz' is unused
src/thrift_binary_protocol.erl:200: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:202: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:203: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:215: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:224: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:231: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:238: Warning: variable 'This' is unused
src/thrift_binary_protocol.erl:294: Warning: variable 'Bin' is unused
src/thrift_binary_protocol.erl:296: Warning: variable 'This' is unused
Compiled src/thrift_binary_protocol.erl
src/thrift_client.erl:151: Warning: function cast/3 is unused
src/thrift_client.erl:195: Warning: variable 'Service' is unused
src/thrift_client.erl:247: Warning: variable 'Service' is unused
src/thrift_client.erl:248: Warning: variable 'Protocol' is unused
src/thrift_client.erl:249: Warning: variable 'SeqId' is unused
src/thrift_client.erl:261: Warning: variable 'Protocol' is unused
src/thrift_client.erl:288: Warning: variable 'Reason' is unused
src/thrift_client.erl:288: Warning: variable 'State' is unused
src/thrift_client.erl:290: Warning: variable 'Reason' is unused
src/thrift_client.erl:290: Warning: variable 'State' is unused
src/thrift_client.erl:326: Warning: variable 'Proto' is unused
src/thrift_client.erl:352: Warning: variable 'State' is unused
src/thrift_client.erl:376: Warning: variable 'State' is unused
Compiled src/thrift_client.erl
==> protobuffs (compile)
make: *** [compile] Error 1
~/basho_bench/deps/protobuffs$ cat Makefile
all: compile
clean:
./rebar clean
compile:
./rebar compile
~/basho_bench/deps/protobuffs$ ./rebar compile
==> protobuffs (compile)
=~/basho_bench/deps/protobuffs$ make
./rebar compile
==> protobuffs (compile)
make: *** [compile] Error 1
~/basho_bench/deps/protobuffs$
~/basho_bench/deps/protobuffs$ ./rebar -v compile
DEBUG: Rebar location: "/home/telluride/basho_bench/deps/protobuffs/rebar"
DEBUG: Entering /home/telluride/basho_bench/deps/protobuffs
DEBUG: Available deps: []
DEBUG: Missing deps : []
DEBUG: Predirs: []
==> protobuffs (compile)
DEBUG: Matched required ERTS version: 5.7.4 -> .*
DEBUG: Matched required OTP release: R13B03 -> .*
DEBUG: Starting 3 compile worker(s)
DEBUG: Worker exited cleanly
DEBUG: Worker exited cleanly
DEBUG: Worker compilation failed: [{error,
{'EXIT',
{undef,
[{leex,file,
["src/protobuffs_scanner.xrl",
[{scannerfile,
"src/protobuffs_scanner.erl"},
{return,true}]]},
{rebar_erlc_compiler,compile_xrl_yrl,4},
{rebar_base_compiler,compile,3},
{rebar_base_compiler,compile_worker,
3}]}}},
{source,"src/protobuffs_scanner.xrl"}]
sudo apt-get install erlang-parsetools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment