Closed sashka closed 11 years ago
% HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install uwsgi ==> Downloading http://projects.unbit.it/downloads/uwsgi-1.4.8.tar.gz Already downloaded: /Library/Caches/Homebrew/uwsgi-1.4.8.tar.gz /usr/bin/tar xf /Library/Caches/Homebrew/uwsgi-1.4.8.tar.gz ==> python uwsgiconfig.py --build python uwsgiconfig.py --build using profile: buildconf/default.ini detected include path: ['/usr/include', '/usr/local/include'] detected CPU cores: 8 configured CFLAGS: -O2 -I. -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -arch i386 -arch x86_64 -fno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_HAS_IFADDRS -mmacosx-version-min=10.5 -DUWSGI_LOCK_USE_OSX_SPINLOCK -DUWSGI_EVENT_USE_KQUEUE -DUWSGI_EVENT_TIMER_USE_KQUEUE -DUWSGI_EVENT_FILEMONITOR_USE_KQUEUE -DUWSGI_EMBEDDED -DUWSGI_UDP -I/usr/local/Cellar/pcre/8.32/include -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_ALARM -DUWSGI_UUID -DUWSGI_VERSION="\"1.4.8\"" -DUWSGI_VERSION_BASE="1" -DUWSGI_VERSION_MAJOR="4" -DUWSGI_VERSION_MINOR="8" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_ASYNC -DUWSGI_MULTICAST -DUWSGI_MINTERPRETERS -DUWSGI_INI -DUWSGI_YAML -DUWSGI_LIBYAML -DUWSGI_LDAP -DUWSGI_SSL -DUWSGI_SNMP -DUWSGI_THREADING -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_SQLITE3 -DUWSGI_PLUGIN_DIR=\".\" -DUWSGI_SPOOLER -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(gevent);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(carbon);UDEP(rpc);UDEP(corerouter);UDEP(fastrouter);UDEP(http);UDEP(ugreen);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);UDEP(router_uwsgi);UDEP(router_redirect);UDEP(router_basicauth);UDEP(zergpool);UDEP(redislog);UDEP(mongodblog);UDEP(router_rewrite);UDEP(router_http);UDEP(logfile);UDEP(router_cache);UDEP(rawrouter);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(gevent);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);ULEP(corerouter);ULEP(fastrouter);ULEP(http);ULEP(ugreen);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);ULEP(router_uwsgi);ULEP(router_redirect);ULEP(router_basicauth);ULEP(zergpool);ULEP(redislog);ULEP(mongodblog);ULEP(router_rewrite);ULEP(router_http);ULEP(logfile);ULEP(router_cache);ULEP(rawrouter);" *** uWSGI compiling server core *** [thread 1][cc] core/utils.o [thread 2][cc] core/protocol.o [thread 3][cc] core/socket.o [thread 4][cc] core/logging.o [thread 6][cc] core/master.o [thread 7][cc] core/master_utils.o [thread 5][cc] core/emperor.o [thread 0][cc] core/notify.o [thread 1][cc] core/mule.o [thread 2][cc] core/subscription.o [thread 3][cc] core/stats.o [thread 4][cc] core/sendfile.o [thread 6][cc] core/offload.o [thread 7][cc] core/setup_utils.o [thread 5][cc] core/clock.o [thread 0][cc] core/init.o [thread 1][cc] core/buffer.o [thread 2][cc] core/plugins.o [thread 3][cc] core/lock.o [thread 4][cc] core/cache.o [thread 6][cc] core/daemons.o [thread 7][cc] core/queue.o [thread 5][cc] core/event.o [thread 0][cc] core/signal.o [thread 1][cc] core/cluster.o [thread 2][cc] core/rpc.o [thread 3][cc] core/gateway.o [thread 4][cc] core/loop.o [thread 6][cc] core/rb_timers.o [thread 7][cc] core/uwsgi.o [thread 5][cc] proto/base.o [thread 0][cc] proto/uwsgi.o [thread 1][cc] proto/http.o [thread 2][cc] proto/fastcgi.o [thread 3][cc] core/regexp.o [thread 4][cc] core/routing.o [thread 6][cc] core/alarm.o [thread 7][cc] core/async.o [thread 5][cc] core/ini.o [thread 0][cc] core/yaml.o [thread 1][cc] core/ldap.o [thread 2][cc] core/snmp.o [thread 3][cc] core/xmlconf.o [thread 4][cc] core/sqlite3.o [thread 6][cc] core/spooler.o *** uWSGI compiling embedded plugins *** [thread 7][cc] plugins/python/python_plugin.o [thread 5][cc] plugins/python/pyutils.o [thread 0][cc] plugins/python/pyloader.o [thread 1][cc] plugins/python/wsgi_handlers.o [thread 2][cc] plugins/python/wsgi_headers.o [thread 3][cc] plugins/python/wsgi_subhandler.o [thread 4][cc] plugins/python/web3_subhandler.o [thread 6][cc] plugins/python/pump_subhandler.o [thread 7][cc] plugins/python/gil.o [thread 5][cc] plugins/python/uwsgi_pymodule.o [thread 0][cc] plugins/python/profiler.o [thread 1][cc] plugins/python/symimporter.o [thread 2][cc] plugins/python/tracebacker.o [thread 3][cc] plugins/gevent/gevent.o [thread 4][cc] plugins/ping/ping_plugin.o [thread 6][cc] plugins/cache/cache.o [thread 7][cc] plugins/nagios/nagios.o [thread 5][cc] plugins/rrdtool/rrdtool.o [thread 0][cc] plugins/carbon/carbon.o [thread 1][cc] plugins/rpc/rpc_plugin.o [thread 2][cc] plugins/corerouter/cr_common.o [thread 3][cc] plugins/corerouter/cr_map.o [thread 4][cc] plugins/corerouter/corerouter.o [thread 6][cc] plugins/fastrouter/fastrouter.o [thread 7][cc] plugins/http/http.o [thread 5][cc] plugins/ugreen/ugreen.o [thread 0][cc] plugins/signal/signal_plugin.o [thread 1][cc] plugins/syslog/syslog_plugin.o [thread 2][cc] plugins/rsyslog/rsyslog_plugin.o [thread 3][cc] plugins/logsocket/logsocket_plugin.o [thread 4][cc] plugins/router_uwsgi/router_uwsgi.o [thread 6][cc] plugins/router_redirect/router_redirect.o [thread 7][cc] plugins/router_basicauth/router_basicauth.o [thread 5][cc] plugins/zergpool/zergpool.o [thread 0][cc] plugins/redislog/redislog_plugin.o [thread 1][cc] plugins/mongodblog/mongodblog_plugin.o [thread 2][cc] plugins/router_rewrite/router_rewrite.o [thread 3][cc] plugins/router_http/router_http.o [thread 4][cc] plugins/logfile/logfile.o [thread 6][cc] plugins/router_cache/router_cache.o [thread 7][cc] plugins/rawrouter/rawrouter.o *** uWSGI linking *** cc -o uwsgi -arch i386 -arch x86_64 core/utils.o core/protocol.o core/socket.o core/logging.o core/master.o core/master_utils.o core/emperor.o core/notify.o core/mule.o core/subscription.o core/stats.o core/sendfile.o core/offload.o core/setup_utils.o core/clock.o core/init.o core/buffer.o core/plugins.o core/lock.o core/cache.o core/daemons.o core/queue.o core/event.o core/signal.o core/cluster.o core/rpc.o core/gateway.o core/loop.o core/rb_timers.o core/uwsgi.o proto/base.o proto/uwsgi.o proto/http.o proto/fastcgi.o core/regexp.o core/routing.o core/alarm.o core/async.o core/ini.o core/yaml.o core/ldap.o core/snmp.o core/xmlconf.o core/sqlite3.o core/spooler.o plugins/python/python_plugin.o plugins/python/pyutils.o plugins/python/pyloader.o plugins/python/wsgi_handlers.o plugins/python/wsgi_headers.o plugins/python/wsgi_subhandler.o plugins/python/web3_subhandler.o plugins/python/pump_subhandler.o plugins/python/gil.o plugins/python/uwsgi_pymodule.o plugins/python/profiler.o plugins/python/symimporter.o plugins/python/tracebacker.o plugins/gevent/gevent.o plugins/ping/ping_plugin.o plugins/cache/cache.o plugins/nagios/nagios.o plugins/rrdtool/rrdtool.o plugins/carbon/carbon.o plugins/rpc/rpc_plugin.o plugins/corerouter/cr_common.o plugins/corerouter/cr_map.o plugins/corerouter/corerouter.o plugins/fastrouter/fastrouter.o plugins/http/http.o plugins/ugreen/ugreen.o plugins/signal/signal_plugin.o plugins/syslog/syslog_plugin.o plugins/rsyslog/rsyslog_plugin.o plugins/logsocket/logsocket_plugin.o plugins/router_uwsgi/router_uwsgi.o plugins/router_redirect/router_redirect.o plugins/router_basicauth/router_basicauth.o plugins/zergpool/zergpool.o plugins/redislog/redislog_plugin.o plugins/mongodblog/mongodblog_plugin.o plugins/router_rewrite/router_rewrite.o plugins/router_http/router_http.o plugins/logfile/logfile.o plugins/router_cache/router_cache.o plugins/rawrouter/rawrouter.o -lpthread -lm -rdynamic -L/usr/local/Cellar/pcre/8.32/lib -lpcre -lyaml -lldap -lssl -lcrypto -lxml2 -lsqlite3 -ldl -framework CoreFoundation /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.a clang: warning: argument unused during compilation: '-rdynamic' ld: warning: ignoring file /usr/local/lib/libyaml.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/local/lib/libyaml.dylib Undefined symbols for architecture i386: "_yaml_parser_initialize", referenced from: _uwsgi_yaml_config in yaml.o "_yaml_parser_scan", referenced from: _uwsgi_yaml_config in yaml.o "_yaml_parser_set_input_string", referenced from: _uwsgi_yaml_config in yaml.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** error linking uWSGI *** ==> Configuration HOMEBREW_VERSION: 0.9.4 HEAD: f0a674369bc420ac7dc5ace7ad3e09e3bac3bccc CPU: 8-core 64-bit ivybridge OS X: 10.8.2-x86_64 Xcode: 4.6 CLT: 4.6.0.0.1.1358221012 X11: N/A ==> ENV CC: cc CXX: c++ CFLAGS: -arch i386 -arch x86_64 LDFLAGS: -arch i386 -arch x86_64 MAKEFLAGS: -j1 CMAKE_PREFIX_PATH: /usr/local CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/ CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/mountain_lion HOMEBREW_MAKE_JOBS: 1 ACLOCAL_PATH: /usr/local/share/aclocal OBJC: cc PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/pcre/bin:/usr/bin:/bin:/usr/sbin:/sbin Error: uwsgi did not build
Brew doctor said: "Your system is raring to brew."
https://github.com/mxcl/homebrew/wiki/troubleshooting
Updated with brew doctor and verbose build logs.
brew doctor
Does this work if you brew rm libyaml && brew install --universal libyaml?
brew rm libyaml && brew install --universal libyaml
Yes, the problem is that. I've fired pull request #18341.
Brew doctor said: "Your system is raring to brew."