Created
September 4, 2012 13:54
-
-
Save tomfuertes/3621370 to your computer and use it in GitHub Desktop.
uwsgi upgrade error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ brew doctor | |
| Your system is raring to brew. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tfuertes at ha001921 in ~ | |
| $ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install uwsgi | |
| ==> Downloading http://projects.unbit.it/downloads/uwsgi-1.2.5.tar.gz | |
| Already downloaded: /Library/Caches/Homebrew/uwsgi-1.2.5.tar.gz | |
| /usr/bin/tar xf /Library/Caches/Homebrew/uwsgi-1.2.5.tar.gz | |
| ==> python uwsgiconfig.py --build | |
| python uwsgiconfig.py --build | |
| using profile: buildconf/default.ini | |
| detected include path: ['/usr/local/include', '/usr/include/libxml2', '/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/', '/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include', '/usr/include', '/System/Library/Frameworks', '/Library/Frameworks'] | |
| configured CFLAGS: -O2 -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -arch x86_64 -fno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_BUILD_DATE="\"04 September 2012 08:52:26\"" -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.31/include -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_UUID -DUWSGI_VERSION="\"1.2.5\"" -DUWSGI_VERSION_BASE="1" -DUWSGI_VERSION_MAJOR="2" -DUWSGI_VERSION_MINOR="5" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_ASYNC -DUWSGI_MULTICAST -DUWSGI_MINTERPRETERS -DUWSGI_INI -DUWSGI_YAML -DUWSGI_LIBYAML -DUWSGI_LDAP -DUWSGI_SNMP -DUWSGI_THREADING -DUWSGI_SENDFILE -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_SQLITE3 -DUWSGI_PLUGIN_DIR=\".\" -DUWSGI_SPOOLER -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(carbon);UDEP(rpc);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);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);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);" | |
| *** uWSGI compiling server core *** | |
| [cc] utils.o | |
| [cc] protocol.o | |
| [cc] socket.o | |
| [cc] logging.o | |
| [cc] master.o | |
| [cc] master_utils.o | |
| [cc] emperor.o | |
| [cc] notify.o | |
| [cc] mule.o | |
| [cc] subscription.o | |
| [cc] plugins.o | |
| [cc] lock.o | |
| [cc] cache.o | |
| [cc] queue.o | |
| [cc] event.o | |
| [cc] signal.o | |
| [cc] cluster.o | |
| [cc] rpc.o | |
| [cc] gateway.o | |
| [cc] loop.o | |
| [cc] lib/rbtree.o | |
| [cc] lib/amqp.o | |
| [cc] rb_timers.o | |
| [cc] main.o | |
| [cc] proto/base.o | |
| [cc] proto/uwsgi.o | |
| [cc] proto/http.o | |
| [cc] proto/fastcgi.o | |
| [cc] regexp.o | |
| [cc] routing.o | |
| [cc] async.o | |
| [cc] ini.o | |
| [cc] yaml.o | |
| [cc] ldap.o | |
| [cc] snmp.o | |
| [cc] sendfile.o | |
| [cc] xmlconf.o | |
| [cc] sqlite3.o | |
| [cc] spooler.o | |
| *** uWSGI compiling embedded plugins *** | |
| [cc] plugins/python/python_plugin.o | |
| In file included from plugins/python/python_plugin.c:1: | |
| In file included from plugins/python/uwsgi_python.h:2: | |
| In file included from /usr/local/Cellar/python/2.7.3/include/python2.7/Python.h:126: | |
| /usr/local/Cellar/python/2.7.3/include/python2.7/modsupport.h:27:65: error: 'format' attribute argument not supported: PyArg_ParseTuple [-Werror] | |
| PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3); | |
| ^ | |
| /usr/local/Cellar/python/2.7.3/include/python2.7/pyport.h:871:57: note: expanded from macro 'Py_FORMAT_PARSETUPLE' | |
| #define Py_FORMAT_PARSETUPLE(func,p1,p2) __attribute__((format(func,p1,p2))) | |
| ^ | |
| 1 error generated. | |
| ==> Exit Status: 1 | |
| https://github.com/mxcl/master/blob/master/Library/Formula/uwsgi.rb#L20 | |
| ==> Build Environment | |
| HOMEBREW_VERSION: 0.9.3 | |
| HEAD: 25aa338cc7769fb03196197f7e9eb02f59ad6b80 | |
| CPU: 8-core 64-bit sandybridge | |
| OS X: 10.7.4-x86_64 | |
| Xcode: 4.4.1 | |
| CLT: 4.4.0.0.1.1249367152 | |
| X11: 2.6.4 in /usr/X11 | |
| CC: cc | |
| CXX: c++ | |
| LD: cc | |
| CFLAGS: -arch x86_64 | |
| LDFLAGS: -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 | |
| HOMEBREW_MAKE_JOBS: 1 | |
| ACLOCAL_PATH: /usr/local/share/aclocal | |
| PATH: /usr/local/Library/ENV/4.3:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
| Error: Failed executing: python uwsgiconfig.py --build (uwsgi.rb:20) | |
| These existing issues may help you: | |
| https://github.com/mxcl/homebrew/issues/14641 | |
| Otherwise, this may help you fix or report the issue: | |
| https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment