Skip to content

Instantly share code, notes, and snippets.

@eykd
Created June 24, 2011 22:47
Show Gist options
  • Save eykd/1045836 to your computer and use it in GitHub Desktop.
Save eykd/1045836 to your computer and use it in GitHub Desktop.
Error building rabbitmq
Your system is raring to brew.
==> Downloading http://www.rabbitmq.com/releases/rabbitmq-server/v2.6.0/rabbitmq-server-2.6.0.tar.gz
File already downloaded in /Users/deyk/Library/Caches/Homebrew
/usr/bin/tar xf /Users/deyk/Library/Caches/Homebrew/rabbitmq-2.6.0.tar.gz
==> make
make
python codegen.py body codegen/amqp-rabbitmq-0.9.1.json src/rabbit_framing_amqp_0_9_1.erl
python codegen.py body codegen/amqp-rabbitmq-0.8.json src/rabbit_framing_amqp_0_8.erl
xsltproc --novalid --stringparam modulename "`basename src/rabbit_ctl_usage.erl .erl`" \
docs/usage.xsl docs/rabbitmqctl.1.xml > src/rabbit_ctl_usage.erl.tmp
python codegen.py --ignore-conflicts header codegen/amqp-rabbitmq-0.9.1.json codegen/amqp-rabbitmq-0.8.json include/rabbit_framing.hrl
sed -e 's/"/\\"/g' -e 's/%QUOTE%/"/g' src/rabbit_ctl_usage.erl.tmp > src/rabbit_ctl_usage.erl.tmp2
fold -s src/rabbit_ctl_usage.erl.tmp2 > src/rabbit_ctl_usage.erl.tmp3
mv src/rabbit_ctl_usage.erl.tmp3 src/rabbit_ctl_usage.erl
rm src/rabbit_ctl_usage.erl.tmp src/rabbit_ctl_usage.erl.tmp2
rm -f deps.mk
echo src/bpqueue.erl:src/delegate.erl:src/delegate_sup.erl:src/file_handle_cache.erl:src/gatherer.erl:src/gen_server2.erl:src/gm.erl:src/gm_soak_test.erl:src/gm_speed_test.erl:src/gm_tests.erl:src/mirrored_supervisor.erl:src/mirrored_supervisor_tests.erl:src/pg2_fixed.erl:src/pg_local.erl:src/priority_queue.erl:src/rabbit.erl:src/rabbit_access_control.erl:src/rabbit_alarm.erl:src/rabbit_amqqueue.erl:src/rabbit_amqqueue_process.erl:src/rabbit_amqqueue_sup.erl:src/rabbit_auth_backend.erl:src/rabbit_auth_backend_internal.erl:src/rabbit_auth_mechanism.erl:src/rabbit_auth_mechanism_amqplain.erl:src/rabbit_auth_mechanism_cr_demo.erl:src/rabbit_auth_mechanism_plain.erl:src/rabbit_backing_queue.erl:src/rabbit_backing_queue_qc.erl:src/rabbit_basic.erl:src/rabbit_binary_generator.erl:src/rabbit_binary_parser.erl:src/rabbit_binding.erl:src/rabbit_channel.erl:src/rabbit_channel_sup.erl:src/rabbit_channel_sup_sup.erl:src/rabbit_client_sup.erl:src/rabbit_command_assembler.erl:src/rabbit_connection_sup.erl:src/rabbit_control.erl:src/rabbit_direct.erl:src/rabbit_error_logger.erl:src/rabbit_error_logger_file_h.erl:src/rabbit_event.erl:src/rabbit_exchange.erl:src/rabbit_exchange_type.erl:src/rabbit_exchange_type_direct.erl:src/rabbit_exchange_type_fanout.erl:src/rabbit_exchange_type_headers.erl:src/rabbit_exchange_type_topic.erl:src/rabbit_framing.erl:src/rabbit_guid.erl:src/rabbit_heartbeat.erl:src/rabbit_limiter.erl:src/rabbit_log.erl:src/rabbit_memory_monitor.erl:src/rabbit_mirror_queue_coordinator.erl:src/rabbit_mirror_queue_master.erl:src/rabbit_mirror_queue_misc.erl:src/rabbit_mirror_queue_slave.erl:src/rabbit_mirror_queue_slave_sup.erl:src/rabbit_misc.erl:src/rabbit_mnesia.erl:src/rabbit_msg_file.erl:src/rabbit_msg_store.erl:src/rabbit_msg_store_ets_index.erl:src/rabbit_msg_store_gc.erl:src/rabbit_msg_store_index.erl:src/rabbit_net.erl:src/rabbit_networking.erl:src/rabbit_node_monitor.erl:src/rabbit_prelaunch.erl:src/rabbit_queue_collector.erl:src/rabbit_queue_index.erl:src/rabbit_reader.erl:src/rabbit_registry.erl:src/rabbit_restartable_sup.erl:src/rabbit_router.erl:src/rabbit_sasl_report_file_h.erl:src/rabbit_ssl.erl:src/rabbit_sup.erl:src/rabbit_tests.erl:src/rabbit_tests_event_receiver.erl:src/rabbit_trace.erl:src/rabbit_types.erl:src/rabbit_upgrade.erl:src/rabbit_upgrade_functions.erl:src/rabbit_variable_queue.erl:src/rabbit_version.erl:src/rabbit_vhost.erl:src/rabbit_writer.erl:src/supervisor2.erl:src/tcp_acceptor.erl:src/tcp_acceptor_sup.erl:src/tcp_listener.erl:src/tcp_listener_sup.erl:src/test_sup.erl:src/vm_memory_monitor.erl:src/worker_pool.erl:src/worker_pool_sup.erl:src/worker_pool_worker.erl:src/rabbit_framing_amqp_0_9_1.erl:src/rabbit_framing_amqp_0_8.erl:src/rabbit_ctl_usage.erl:include/gm_specs.hrl:include/rabbit.hrl:include/rabbit_auth_backend_spec.hrl:include/rabbit_auth_mechanism_spec.hrl:include/rabbit_backing_queue_spec.hrl:include/rabbit_exchange_type_spec.hrl:include/rabbit_msg_store.hrl:include/rabbit_msg_store_index.hrl:include/rabbit_framing.hrl: | escript generate_deps deps.mk ebin
escript generate_app ebin/rabbit_app.in ebin/rabbit.app src
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/bpqueue.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/gen_server2.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/delegate_sup.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/file_handle_cache.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/supervisor2.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/pg2_fixed.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/pg_local.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/priority_queue.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_access_control.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_alarm.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_amqqueue.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_amqqueue_process.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_amqqueue_sup.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_auth_backend.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_auth_mechanism.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_backing_queue.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_backing_queue_qc.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_basic.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_binary_generator.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_binary_parser.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_binding.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_channel.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_channel_sup.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_channel_sup_sup.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_client_sup.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_command_assembler.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_connection_sup.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_control.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_ctl_usage.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_direct.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_error_logger.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_error_logger_file_h.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_event.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_exchange.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_exchange_type.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_framing.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_framing_amqp_0_8.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_framing_amqp_0_9_1.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_guid.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_heartbeat.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_limiter.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_log.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_memory_monitor.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_mirror_queue_master.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_mirror_queue_misc.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_mirror_queue_slave_sup.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_misc.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_mnesia.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_msg_file.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_msg_store.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_msg_store_index.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_msg_store_gc.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_net.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_networking.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_node_monitor.erl
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin src/rabbit_prelaunch.erl
src/rabbit_networking.erl:49: type hostname() already defined
src/rabbit_networking.erl:50: type ip_port() already defined
make: *** [ebin/rabbit_networking.beam] Error 1
make: *** Waiting for unfinished jobs....
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/rabbitmq.rb#L16
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: c189b5b21ed59fa765984d0dc521a86cfad5057f
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit sandybridge
OS X: 10.6.8
Kernel Architecture: x86_64
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.2.6
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -w -pipe
CXXFLAGS: -O3 -w -pipe
MAKEFLAGS: -j4
Error: Failed executing: make
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment