=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for ap2-py27-wsgi-3.4 /usr/pkg/sbin/apxs -c -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/apr-0 -I/usr/pkg/include/python2.7 -DHAVE_DB_185_H -DNDEBUG -DHAVE_DB_185_H -Wc,-O2 -Wc,-march=i586 -Wc,-I/usr/pkg/include -Wc,-I/usr/include -Wc,-I/usr/pkg/include/apr-0 mod_wsgi.c -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib/python2.7/config -lpython2.7 -lutil -lm Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86. libtool --silent --mode=compile cc -O2 -march=i586 -I/usr/pkg/include/apr-0 -I/usr/include -I/usr/pkg/include -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/pkg/include/httpd -I/usr/pkg/include/apr-0 -I/usr/pkg/include/apr-0 -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/apr-0 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/apr-0 -I/usr/pkg/include/python2.7 -DHAVE_DB_185_H -DNDEBUG -DHAVE_DB_185_H -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo In file included from mod_wsgi.c:142: In file included from /usr/pkgsrc/work/www/ap2-wsgi/work/.buildlink/include/python2.7/Python.h:8: /usr/pkgsrc/work/www/ap2-wsgi/work/.buildlink/include/python2.7/pyconfig.h:1179:9: warning: '_POSIX_C_SOURCE' macro redefined #define _POSIX_C_SOURCE 200112L ^ /usr/include/sys/featuretest.h:65:9: note: previous definition is here #define _POSIX_C_SOURCE 1L ^ mod_wsgi.c:157:2: error: Sorry, mod_wsgi requires that Python supporting thread. #error Sorry, mod_wsgi requires that Python supporting thread. ^ mod_wsgi.c:5864:5: warning: implicit declaration of function 'PyEval_AcquireThread' is invalid in C99 [-Wimplicit-function-declaration] PyEval_AcquireThread(wsgi_main_tstate); ^ mod_wsgi.c:6054:9: warning: implicit declaration of function 'PyEval_InitThreads' is invalid in C99 [-Wimplicit-function-declaration] PyEval_InitThreads(); ^ mod_wsgi.c:6065:9: warning: implicit declaration of function 'PyEval_ReleaseThread' is invalid in C99 [-Wimplicit-function-declaration] PyEval_ReleaseThread(wsgi_main_tstate); ^ mod_wsgi.c:9375:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = apr_table_get(r->notes, "mod_wsgi.process_group")) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mod_wsgi.c:9375:23: note: place parentheses around the assignment to silence this warning if (value = apr_table_get(r->notes, "mod_wsgi.process_group")) ^ ( ) mod_wsgi.c:9375:23: note: use '==' to turn this assignment into an equality comparison if (value = apr_table_get(r->notes, "mod_wsgi.process_group")) ^ == mod_wsgi.c:9377:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = apr_table_get(r->notes, "mod_wsgi.application_group")) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mod_wsgi.c:9377:23: note: place parentheses around the assignment to silence this warning if (value = apr_table_get(r->notes, "mod_wsgi.application_group")) ^ ( ) mod_wsgi.c:9377:23: note: use '==' to turn this assignment into an equality comparison if (value = apr_table_get(r->notes, "mod_wsgi.application_group")) ^ == mod_wsgi.c:9379:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = apr_table_get(r->notes, "mod_wsgi.callable_object")) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mod_wsgi.c:9379:23: note: place parentheses around the assignment to silence this warning if (value = apr_table_get(r->notes, "mod_wsgi.callable_object")) ^ ( ) mod_wsgi.c:9379:23: note: use '==' to turn this assignment into an equality comparison if (value = apr_table_get(r->notes, "mod_wsgi.callable_object")) ^ == mod_wsgi.c:9382:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = apr_table_get(r->notes, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ mod_wsgi.c:9382:23: note: place parentheses around the assignment to silence this warning if (value = apr_table_get(r->notes, ^ mod_wsgi.c:9382:23: note: use '==' to turn this assignment into an equality comparison if (value = apr_table_get(r->notes, ^ == mod_wsgi.c:9403:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = entry->process_group) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ mod_wsgi.c:9403:23: note: place parentheses around the assignment to silence this warning if (value = entry->process_group) ^ ( ) mod_wsgi.c:9403:23: note: use '==' to turn this assignment into an equality comparison if (value = entry->process_group) ^ == mod_wsgi.c:9405:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = entry->application_group) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ mod_wsgi.c:9405:23: note: place parentheses around the assignment to silence this warning if (value = entry->application_group) ^ ( ) mod_wsgi.c:9405:23: note: use '==' to turn this assignment into an equality comparison if (value = entry->application_group) ^ == mod_wsgi.c:9408:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (value = entry->pass_authorization) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mod_wsgi.c:9408:23: note: place parentheses around the assignment to silence this warning if (value = entry->pass_authorization) { ^ ( ) mod_wsgi.c:9408:23: note: use '==' to turn this assignment into an equality comparison if (value = entry->pass_authorization) { ^ == 11 warnings and 1 error generated. apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/www/ap2-wsgi/work/mod_wsgi-3.4 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/www/ap2-wsgi *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/www/ap2-wsgi