Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -g -O2 -fdebug-prefix-map=/usr/local/src/nginx-1.13.10=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC -I src/c
ore -I src/event -I src/event/modules -I src/os/unix -I /usr/local/src/ngx_mruby/mruby/src -I /usr/local/src/ngx_mruby/mruby/include -I -g -I -std=gnu99 -I -O3 -I -Wall -I -Werror-implicit-function-declaration -I -Wdeclaration-after-statement -I -Wwrite-strings -I -fPIE -
I -I/usr/local/src/ngx_mruby/mruby/include -I -I/usr/local/src/ngx_mruby/mruby/build/mrbgems/mruby-pointer/include -I -I/usr/local/include -I /usr/local/src/ngx_mruby/dependence/ngx_devel_kit/objs -I objs/addon/ndk -I objs -I src/http -I src/http/modules -I src/http/v2 -I
/usr/local/src/ngx_mruby/dependence/ngx_devel_kit/src -I src/mail -I src/stream \
-o objs/addon/stream/ngx_stream_mruby_init.o \
/usr/local/src/ngx_mruby/src/stream/ngx_stream_mruby_init.c
/usr/local/src/ngx_mruby/src/http/ngx_http_mruby_async.c:36:35: error: 'ngx_mrb_async_http_ctx_type' defined but not used [-Werror=unused-const-variable=]
static const struct mrb_data_type ngx_mrb_async_http_ctx_type = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -g -O2 -fdebug-prefix-map=/usr/local/src/nginx-1.13.10=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC -I src/c
ore -I src/event -I src/event/modules -I src/os/unix -I /usr/local/src/ngx_mruby/mruby/src -I /usr/local/src/ngx_mruby/mruby/include -I -g -I -std=gnu99 -I -O3 -I -Wall -I -Werror-implicit-function-declaration -I -Wdeclaration-after-statement -I -Wwrite-strings -I -fPIE -
I -I/usr/local/src/ngx_mruby/mruby/include -I -I/usr/local/src/ngx_mruby/mruby/build/mrbgems/mruby-pointer/include -I -I/usr/local/include -I /usr/local/src/ngx_mruby/dependence/ngx_devel_kit/objs -I objs/addon/ndk -I objs -I src/http -I src/http/modules -I src/http/v2 -I
/usr/local/src/ngx_mruby/dependence/ngx_devel_kit/src -I src/mail -I src/stream \
-o objs/addon/stream/ngx_stream_mruby_core.o \
/usr/local/src/ngx_mruby/src/stream/ngx_stream_mruby_core.c
cc1: all warnings being treated as errors
make[2]: *** [objs/addon/http/ngx_http_mruby_async.o] Error 1
make[2]: *** Waiting for unfinished jobs....
objs/Makefile:1924: recipe for target 'objs/addon/http/ngx_http_mruby_async.o' failed
make[2]: Leaving directory '/usr/local/src/nginx-1.13.10/debian/build-nginx'
Makefile:8: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/usr/local/src/nginx-1.13.10/debian/build-nginx'
debian/rules:50: recipe for target 'build-arch.nginx' failed
make: *** [build-arch.nginx] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
ERROR: Service 'debian9' failed to build: The command '/bin/sh -c dpkg-buildpackage -r -uc -b' returned a non-zero code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment