Hi,

    I've been googling looking for somebody else getting compilation errors
in latest OpenBSD (6.0). I found my compilation error message is "old" or,
at least, similar to old errors reported in old versions of uwsgi. This is
the ow


# pip install uwsgi

Collecting uwsgi

  Using cached uwsgi-2.0.13.1.tar.gz

Installing collected packages: uwsgi

  Running setup.py install for uwsgi ... error

    Complete output from command /usr/local/bin/python2.7 -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-build-zY_Ei7/uwsgi/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-Xlqscy-record/install-record.txt
--single-version-externally-managed --compile:

    running install

    using profile: buildconf/default.ini

    detected include path: ['/usr/include']

    Patching "bin_name" to properly install_scripts dir

    detected CPU cores: 1

    configured CFLAGS: -O2 -I. -Wall -Werror -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -Wextra -Wno-unused-parameter
-Wno-missing-field-initializers -Wno-format -Wno-format-security
-DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_IPCSEM_ATEXIT
-DUWSGI_EVENT_USE_KQUEUE -DUWSGI_EVENT_TIMER_USE_KQUEUE
-DUWSGI_EVENT_FILEMONITOR_USE_KQUEUE -DUWSGI_VERSION="\"2.0.13.1\""
-DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0"
-DUWSGI_VERSION_MINOR="13" -DUWSGI_VERSION_REVISION="1"
-DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_YAML -DUWSGI_SSL -DUWSGI_XML
-DUWSGI_XML_EXPAT -DUWSGI_PLUGIN_DIR="\".\""
-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(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);UDEP(router_static);UDEP(sslrouter);UDEP(spooler);UDEP(cheaper_busyness);UDEP(symcall);UDEP(transformation_tofile);UDEP(transformation_gzip);UDEP(transformation_chunked);UDEP(transformation_offload);UDEP(router_memcached);UDEP(router_redis);UDEP(router_hash);UDEP(router_expires);UDEP(router_metrics);UDEP(transformation_template);UDEP(stats_pusher_socket);"
-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(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);ULEP(router_static);ULEP(sslrouter);ULEP(spooler);ULEP(cheaper_busyness);ULEP(symcall);ULEP(transformation_tofile);ULEP(transformation_gzip);ULEP(transformation_chunked);ULEP(transformation_offload);ULEP(router_memcached);ULEP(router_redis);ULEP(router_hash);ULEP(router_expires);ULEP(router_metrics);ULEP(transformation_template);ULEP(stats_pusher_socket);"

    *** uWSGI compiling server core ***

    [cc -pthread] core/utils.o

    [cc -pthread] core/protocol.o

    [cc -pthread] core/socket.o

    [cc -pthread] core/logging.o

    cc1: warnings being treated as errors

    core/logging.c: In function 'get_memusage':

    core/logging.c:824: warning: implicit declaration of function
'kvm_getproc2'

    core/logging.c:824: error: invalid application of 'sizeof' to
incomplete type 'struct kinfo_proc2'

    core/logging.c:824: warning: assignment makes pointer from integer
without a cast

    core/logging.c:827: error: dereferencing pointer to incomplete type

    core/logging.c:827: error: dereferencing pointer to incomplete type

    core/logging.c:827: error: dereferencing pointer to incomplete type

    core/logging.c:831: error: dereferencing pointer to incomplete type



    ----------------------------------------

Command "/usr/local/bin/python2.7 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-zY_Ei7/uwsgi/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-Xlqscy-record/install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
/tmp/pip-build-zY_Ei7/uwsgi/



No matters if I try to compile from source or using pip or using
easy_install. It is always the same. I already checked if some package is
being missed from previous installations (OpenBSD 5.9) but seems I have the
same system packages. Anyone knows how to fix this? Thanks so much in
advance.


      Alvaro
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to