Created
October 22, 2015 02:34
-
-
Save cunnie/6556efe79d6cea0f96b2 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
Started deploying | |
Waiting for the agent on VM 'i-b5652361'... Finished (00:00:00) | |
Stopping jobs on instance 'unknown/0'... Finished (00:00:00) | |
Deleting VM 'i-b5652361'... Finished (00:00:40) | |
Creating VM for instance 'nginx_ntp_xip/0' from stemcell 'ami-cfb7fdaa light'... Finished (00:00:48) | |
Waiting for the agent on VM 'i-5d7e3889' to be ready... Finished (00:01:27) | |
Rendering job templates... Finished (00:00:01) | |
Compiling package 'pdns-3.4.6/daa1d3f85eca4b9333885512e68339c32e61232e'... Finished (00:07:10) | |
Compiling package 'nginx/b0c04179aa4702b24cca2456be3b8605e15bfb82'... Failed (00:00:51) | |
Failed deploying (00:11:07) | |
Stopping registry... Finished (00:00:00) | |
Cleaning up rendered CPI jobs... Finished (00:00:00) | |
Command 'deploy' failed: | |
Deploying: | |
Building state for instance 'nginx_ntp_xip/0': | |
Compiling job package dependencies for instance 'nginx_ntp_xip/0': | |
Compiling job package dependencies: | |
Remotely compiling package 'nginx' with the agent: | |
Sending 'compile_package' to the agent: | |
Sending 'get_task' to the agent: | |
Agent responded with error: Action Failed get_task: Task ae2de388-63e3-4455-5744-d8cadbbf2d77 result: Compiling package nginx: Running packaging script: Command exited with 2; Truncated stdout: -o objs/src/http/ngx_http_busy_lock.o \ | |
src/http/ngx_http_busy_lock.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/ngx_http_file_cache.o \ | |
src/http/ngx_http_file_cache.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_gzip_filter_module.o \ | |
src/http/modules/ngx_http_gzip_filter_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/ngx_http_postpone_filter_module.o \ | |
src/http/ngx_http_postpone_filter_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_ssi_filter_module.o \ | |
src/http/modules/ngx_http_ssi_filter_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_charset_filter_module.o \ | |
src/http/modules/ngx_http_charset_filter_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_userid_filter_module.o \ | |
src/http/modules/ngx_http_userid_filter_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_dav_module.o \ | |
src/http/modules/ngx_http_dav_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_autoindex_module.o \ | |
src/http/modules/ngx_http_autoindex_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_auth_basic_module.o \ | |
src/http/modules/ngx_http_auth_basic_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_access_module.o \ | |
src/http/modules/ngx_http_access_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_limit_conn_module.o \ | |
src/http/modules/ngx_http_limit_conn_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_limit_req_module.o \ | |
src/http/modules/ngx_http_limit_req_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_geo_module.o \ | |
src/http/modules/ngx_http_geo_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_map_module.o \ | |
src/http/modules/ngx_http_map_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_split_clients_module.o \ | |
src/http/modules/ngx_http_split_clients_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_referer_module.o \ | |
src/http/modules/ngx_http_referer_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_rewrite_module.o \ | |
src/http/modules/ngx_http_rewrite_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_ssl_module.o \ | |
src/http/modules/ngx_http_ssl_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_proxy_module.o \ | |
src/http/modules/ngx_http_proxy_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_fastcgi_module.o \ | |
src/http/modules/ngx_http_fastcgi_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_uwsgi_module.o \ | |
src/http/modules/ngx_http_uwsgi_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_scgi_module.o \ | |
src/http/modules/ngx_http_scgi_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_memcached_module.o \ | |
src/http/modules/ngx_http_memcached_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_empty_gif_module.o \ | |
src/http/modules/ngx_http_empty_gif_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_browser_module.o \ | |
src/http/modules/ngx_http_browser_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \ | |
src/http/modules/ngx_http_upstream_ip_hash_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_upstream_least_conn_module.o \ | |
src/http/modules/ngx_http_upstream_least_conn_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules \ | |
-o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \ | |
src/http/modules/ngx_http_upstream_keepalive_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules -I src/mail \ | |
-o objs/addon/src/ngx_http_headers_more_filter_module.o \ | |
../headers-more-nginx-module-0.25/src/ngx_http_headers_more_filter_module.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules -I src/mail \ | |
-o objs/addon/src/ngx_http_headers_more_headers_out.o \ | |
../headers-more-nginx-module-0.25/src/ngx_http_headers_more_headers_out.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules -I src/mail \ | |
-o objs/addon/src/ngx_http_headers_more_headers_in.o \ | |
../headers-more-nginx-module-0.25/src/ngx_http_headers_more_headers_in.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules -I src/mail \ | |
-o objs/addon/src/ngx_http_headers_more_util.o \ | |
../headers-more-nginx-module-0.25/src/ngx_http_headers_more_util.c | |
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.37 -I objs -I src/http -I src/http/modules -I src/mail \ | |
-o objs/addon/nginx_upload_module-2.2.0/ngx_http_upload_module.o \ | |
../nginx_upload_module-2.2.0/ngx_http_upload_module.c | |
make[1]: Leaving directory `/var/vcap/data/compile/nginx/nginx-1.4.5' | |
, Stderr: + echo 'Extracting pcre...' | |
+ tar xzvf nginx/pcre-8.37.tar.gz | |
+ echo 'Extracting headers-more module...' | |
+ tar xzvf nginx/headers-more-v0.25.tgz | |
+ echo 'Extracting nginx_upload module...' | |
+ tar xzvf nginx/nginx-upload-module-2.2.tar.gz | |
+ echo 'Extracting nginx...' | |
+ tar xzvf nginx/nginx-1.4.5.tar.gz | |
+ echo 'Building nginx...' | |
+ pushd nginx-1.4.5 | |
+ ./configure --with-debug --prefix=/var/vcap/packages/nginx --with-pcre=../pcre-8.37 --add-module=../headers-more-nginx-module-0.25 --with-http_ssl_module --with-http_dav_module --add-module=../nginx_upload_module-2.2.0 | |
+ make | |
../nginx_upload_module-2.2.0/ngx_http_upload_module.c: In function 'ngx_http_upload_merge_ranges': | |
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:1681:18: error: variable 'result' set but not used [-Werror=unused-but-set-variable] | |
int result; | |
^ | |
../nginx_upload_module-2.2.0/ngx_http_upload_module.c: In function 'ngx_http_read_upload_client_request_body': | |
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2628:15: error: 'ngx_http_request_body_t' has no member named 'to_write' | |
rb->to_write = rb->bufs; | |
^ | |
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2687:7: error: 'ngx_http_request_body_t' has no member named 'to_write' | |
rb->to_write = rb->bufs; | |
^ | |
../nginx_upload_module-2.2.0/ngx_http_upload_module.c: In function 'ngx_http_do_read_upload_client_request_body': | |
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2769:57: error: 'ngx_http_request_body_t' has no member named 'to_write' | |
rc = ngx_http_process_request_body(r, rb->to_write); | |
^ | |
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2785:19: error: 'ngx_http_request_body_t' has no member named 'to_write' | |
rb->to_write = rb->bufs->next ? rb->bufs->next : rb->bufs; | |
^ | |
../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2877:45: error: 'ngx_http_request_body_t' has no member named 'to_write' | |
rc = ngx_http_process_request_body(r, rb->to_write); | |
^ | |
cc1: all warnings being treated as errors | |
make[1]: *** [objs/addon/nginx_upload_module-2.2.0/ngx_http_upload_module.o] Error 1 | |
make: *** [build] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment