Created
February 6, 2013 16:19
-
-
Save jortel/4723703 to your computer and use it in GitHub Desktop.
This file contains 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
[root@localhost mod_wsgi]# tito build --rpm | |
Checking for tag [mod_wsgi-3.3-4.pulp] in git repo [git://github.com/pulp/pulp.git] | |
Building package [mod_wsgi-3.3-4.pulp] | |
########## ERROR ############ | |
Error running command: LC_ALL=C rpmbuild --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" --define "_sourcedir /tmp/tito/rpmbuild-mod_wsgi-bcfa9037da81617642f710ba13cc233e04b254d1WYY0XK/SOURCES/mod_wsgi-3.3" --define "_builddir /tmp/tito/rpmbuild-mod_wsgi-bcfa9037da81617642f710ba13cc233e04b254d1WYY0XK/BUILD" --define "_srcrpmdir /tmp/tito" --define "_rpmdir /tmp/tito" --clean -ba /tmp/tito/rpmbuild-mod_wsgi-bcfa9037da81617642f710ba13cc233e04b254d1WYY0XK/SOURCES/mod_wsgi-3.3/mod_wsgi.spec | |
Status code: 256 | |
Command output: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zqvtdY | |
+ umask 022 | |
+ cd /tmp/tito/rpmbuild-mod_wsgi-bcfa9037da81617642f710ba13cc233e04b254d1WYY0XK/BUILD | |
+ cd /tmp/tito/rpmbuild-mod_wsgi-bcfa9037da81617642f710ba13cc233e04b254d1WYY0XK/BUILD | |
+ rm -rf mod_wsgi-3.3 | |
+ /usr/bin/tar -xf - | |
+ /usr/bin/gzip -dc /tmp/tito/rpmbuild-mod_wsgi-bcfa9037da81617642f710ba13cc233e04b254d1WYY0XK/SOURCES/mod_wsgi-3.3/mod_wsgi-3.3.tar.gz | |
+ STATUS=0 | |
+ '[' 0 -ne 0 ']' | |
+ cd mod_wsgi-3.3 | |
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . | |
+ echo 'Patch #0 (mod_wsgi-3.3-mod_ssl.patch):' | |
Patch #0 (mod_wsgi-3.3-mod_ssl.patch): | |
+ /usr/bin/patch -p2 --fuzz=0 | |
+ /usr/bin/cat /tmp/tito/rpmbuild-mod_wsgi-bcfa9037da81617642f710ba13cc233e04b254d1WYY0XK/SOURCES/mod_wsgi-3.3/mod_wsgi-3.3-mod_ssl.patch | |
patching file mod_wsgi.c | |
Hunk #2 succeeded at 3609 (offset -7 lines). | |
Hunk #3 succeeded at 4069 (offset -6 lines). | |
Hunk #4 succeeded at 13465 (offset -308 lines). | |
Hunk #5 succeeded at 13583 (offset -308 lines). | |
+ echo 'Patch #1 (mod_wsgi-3.3-mod_ssl-hook.patch):' | |
Patch #1 (mod_wsgi-3.3-mod_ssl-hook.patch): | |
+ /usr/bin/patch -p2 --fuzz=0 | |
+ /usr/bin/cat /tmp/tito/rpmbuild-mod_wsgi-bcfa9037da81617642f710ba13cc233e04b254d1WYY0XK/SOURCES/mod_wsgi-3.3/mod_wsgi-3.3-mod_ssl-hook.patch | |
patching file mod_wsgi.c | |
+ exit 0 | |
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Sku9Qu | |
+ umask 022 | |
+ cd /tmp/tito/rpmbuild-mod_wsgi-bcfa9037da81617642f710ba13cc233e04b254d1WYY0XK/BUILD | |
+ cd mod_wsgi-3.3 | |
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' | |
+ export CFLAGS | |
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' | |
+ export CXXFLAGS | |
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' | |
+ export FFLAGS | |
+ LDFLAGS='-Wl,-z,relro ' | |
+ export LDFLAGS | |
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared | |
checking for apxs2... no | |
checking for apxs... /usr/bin/apxs | |
checking Apache version... 2.4.3 | |
checking for python... /usr/bin/python | |
configure: creating ./config.status | |
config.status: creating Makefile | |
+ make LDFLAGS=-L/usr/lib64 | |
/usr/bin/apxs -c -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -Wc,-O2 -Wc,-g -Wc,-pipe -Wc,-Wall -Wc,-Wp,-D_FORTIFY_SOURCE=2 -Wc,-fexceptions -Wc,-fstack-protector -Wc,--param=ssp-buffer-size=4 -Wc,-m64 -Wc,-mtune=generic mod_wsgi.c -L/usr/lib64 -lpython2.7 -lpthread -ldl -lutil -lm | |
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libxml2 -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo | |
In file included from /usr/include/python2.7/pyconfig.h:6:0, | |
from /usr/include/python2.7/Python.h:8, | |
from mod_wsgi.c:141: | |
/usr/include/python2.7/pyconfig-64.h:1170:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default] | |
In file included from /usr/include/sys/types.h:25:0, | |
from /usr/include/apr-1/apr-x86_64.h:164, | |
from /usr/include/apr-1/apr.h:19, | |
from /usr/include/httpd/ap_hooks.h:39, | |
from /usr/include/httpd/ap_config.h:25, | |
from /usr/include/httpd/httpd.h:44, | |
from mod_wsgi.c:34: | |
/usr/include/features.h:168:0: note: this is the location of the previous definition | |
In file included from /usr/include/python2.7/pyconfig.h:6:0, | |
from /usr/include/python2.7/Python.h:8, | |
from mod_wsgi.c:141: | |
/usr/include/python2.7/pyconfig-64.h:1192:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] | |
In file included from /usr/include/sys/types.h:25:0, | |
from /usr/include/apr-1/apr-x86_64.h:164, | |
from /usr/include/apr-1/apr.h:19, | |
from /usr/include/httpd/ap_hooks.h:39, | |
from /usr/include/httpd/ap_config.h:25, | |
from /usr/include/httpd/httpd.h:44, | |
from mod_wsgi.c:34: | |
/usr/include/features.h:170:0: note: this is the location of the previous definition | |
mod_wsgi.c: In function 'wsgi_server_group': | |
mod_wsgi.c:955:17: warning: unused variable 'value' [-Wunused-variable] | |
mod_wsgi.c: In function 'Log_isatty': | |
mod_wsgi.c:1617:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
mod_wsgi.c:1612:15: warning: unused variable 'result' [-Wunused-variable] | |
mod_wsgi.c: In function 'Log_writelines': | |
mod_wsgi.c:1749:17: warning: unused variable 'msg' [-Wunused-variable] | |
mod_wsgi.c: In function 'Log_closed': | |
mod_wsgi.c:1820:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
mod_wsgi.c: In function 'Adapter_output': | |
mod_wsgi.c:3028:9: warning: unused variable 'n' [-Wunused-variable] | |
mod_wsgi.c: In function 'Adapter_file_wrapper': | |
mod_wsgi.c:4059:15: warning: unused variable 'result' [-Wunused-variable] | |
mod_wsgi.c: In function 'Adapter_ssl_var_lookup': | |
mod_wsgi.c:4114:9: warning: the comparison will always evaluate as 'false' for the address of '_Py_NoneStruct' will never be NULL [-Waddress] | |
mod_wsgi.c:4123:9: warning: the comparison will always evaluate as 'false' for the address of '_Py_NoneStruct' will never be NULL [-Waddress] | |
mod_wsgi.c: In function 'wsgi_python_term': | |
mod_wsgi.c:5731:20: warning: unused variable 'tstate' [-Wunused-variable] | |
mod_wsgi.c:5730:25: warning: unused variable 'interp' [-Wunused-variable] | |
mod_wsgi.c: In function 'wsgi_python_child_init': | |
mod_wsgi.c:6880:17: warning: unused variable 'l' [-Wunused-variable] | |
mod_wsgi.c:6778:25: warning: unused variable 'interp' [-Wunused-variable] | |
mod_wsgi.c: In function 'wsgi_add_import_script': | |
mod_wsgi.c:7531:17: warning: unused variable 'error' [-Wunused-variable] | |
mod_wsgi.c: In function 'wsgi_add_handler_script': | |
mod_wsgi.c:7979:26: warning: unused variable 'dconfig' [-Wunused-variable] | |
mod_wsgi.c:7978:23: warning: unused variable 'sconfig' [-Wunused-variable] | |
mod_wsgi.c: In function 'wsgi_hook_handler': | |
mod_wsgi.c:9025:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] | |
mod_wsgi.c:9027:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] | |
mod_wsgi.c:9029:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] | |
mod_wsgi.c:9033:39: warning: suggest parentheses around assignment used as truth value [-Wparentheses] | |
mod_wsgi.c:9053:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] | |
mod_wsgi.c:9055:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] | |
mod_wsgi.c:9058:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] | |
mod_wsgi.c: In function 'wsgi_process_socket': | |
mod_wsgi.c:10183:37: error: 'conn_rec' has no member named 'remote_addr' | |
mod_wsgi.c:10191:27: error: 'conn_rec' has no member named 'remote_ip' | |
mod_wsgi.c:10191:41: error: 'conn_rec' has no member named 'remote_addr' | |
mod_wsgi.c: In function 'wsgi_daemon_worker': | |
mod_wsgi.c:10367:20: warning: unused variable 'duration' [-Wunused-variable] | |
mod_wsgi.c:10366:20: warning: unused variable 'start' [-Wunused-variable] | |
mod_wsgi.c: In function 'wsgi_hook_daemon_handler': | |
mod_wsgi.c:12830:18: error: 'conn_rec' has no member named 'remote_ip' | |
mod_wsgi.c:12587:9: warning: unused variable 'i' [-Wunused-variable] | |
mod_wsgi.c:12585:30: warning: unused variable 'elts' [-Wunused-variable] | |
mod_wsgi.c:12584:31: warning: unused variable 'head' [-Wunused-variable] | |
mod_wsgi.c: In function 'Auth_environ': | |
mod_wsgi.c:13350:10: error: 'conn_rec' has no member named 'remote_ip' | |
mod_wsgi.c:13351:18: error: 'conn_rec' has no member named 'remote_ip' | |
mod_wsgi.c:13383:14: error: 'conn_rec' has no member named 'remote_addr' | |
mod_wsgi.c: In function 'Auth_ssl_var_lookup': | |
mod_wsgi.c:13530:9: warning: the comparison will always evaluate as 'false' for the address of '_Py_NoneStruct' will never be NULL [-Waddress] | |
mod_wsgi.c:13539:9: warning: the comparison will always evaluate as 'false' for the address of '_Py_NoneStruct' will never be NULL [-Waddress] | |
mod_wsgi.c: In function 'wsgi_hook_access_checker': | |
mod_wsgi.c:14569:29: error: 'conn_rec' has no member named 'remote_ip' | |
mod_wsgi.c: At top level: | |
mod_wsgi.c:14871:5: warning: initialization from incompatible pointer type [enabled by default] | |
mod_wsgi.c:14871:5: warning: (near initialization for 'wsgi_authz_provider.check_authorization') [enabled by default] | |
mod_wsgi.c:7942:20: warning: 'wsgi_set_user_authoritative' defined but not used [-Wunused-function] | |
mod_wsgi.c:14587:12: warning: 'wsgi_hook_check_user_id' defined but not used [-Wunused-function] | |
apxs:Error: Command failed with rc=65536 | |
. | |
make: *** [mod_wsgi.la] Error 1 | |
error: Bad exit status from /var/tmp/rpm-tmp.Sku9Qu (%build) | |
RPM build errors: | |
Bad exit status from /var/tmp/rpm-tmp.Sku9Qu (%build) | |
ERROR: Error running command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment