Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/rubygem-qpid_proton.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-83a9e915b02cd8684573b52011f1c19afe406a4b/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/rubygem-qpid_proton.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/rubygem-qpid_proton-0.13.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/rubygem-qpid_proton.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-83a9e915b02cd8684573b52011f1c19afe406a4b/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/rubygem-qpid_proton.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FCZPi2 + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/qpid_proton-0.13.0.gem Unpacked gem: '/builddir/build/BUILD/qpid_proton-0.13.0' + cd /builddir/build/BUILD + cd qpid_proton-0.13.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/qpid_proton-0.13.0.gem -l --ruby + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5AXgoN + umask 022 + cd /builddir/build/BUILD + cd qpid_proton-0.13.0 + gem build qpid_proton.gemspec Successfully built RubyGem Name: qpid_proton Version: 0.13.0 File: qpid_proton-0.13.0.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard'\'' ' + gem install -V --local --install-dir ./usr/share/gems --bindir ./usr/bin --force --document=ri,rdoc qpid_proton-0.13.0.gem Installing gem qpid_proton-0.13.0 /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/LICENSE /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/TODO /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/ChangeLog /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/ext/cproton/extconf.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/ext/cproton/cproton.c /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/class_wrapper.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/error_handler.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/version.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/swig_helper.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/constants.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/timeout.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/uuid.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/reactor.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/condition.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/handler.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/wrapper.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/util/engine.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/types/array.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/types/described.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/types/strings.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/types/hash.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/event/collector.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/event/event.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/event/event_type.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/event/event_base.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/codec/data.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/codec/mapping.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/session_per_connection.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/link_option.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/backoff.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/ssl_config.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/urls.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/global_overrides.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/connector.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/reactor.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/container.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/task.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/reactor/acceptor.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/handler/c_flow_controller.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/handler/wrapped_handler.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/handler/c_adaptor.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/handler/messaging_handler.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/handler/acking.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/handler/endpoint_state_handler.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/handler/outgoing_message_handler.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/handler/incoming_message_handler.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/qpid_proton.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/messenger/subscription.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/messenger/tracker.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/messenger/messenger.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/messenger/tracker_status.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/exceptions.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/ssl.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/sender.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/ssl_domain.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/message.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/link.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/endpoint.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/disposition.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/url.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/session.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/selectable.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/receiver.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/sasl.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/connection.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/transport.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/ssl_details.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/terminus.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/delivery.rb /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/lib/core/base_handler.rb Building native extensions. This could take a while... /usr/bin/ruby extconf.rb checking for main() in -lqpid-proton... yes checking for proton/engine.h... yes checking for proton/message.h... yes checking for proton/sasl.h... yes checking for proton/messenger.h... yes creating Makefile make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_PROTON_ENGINE_H -DHAVE_PROTON_MESSAGE_H -DHAVE_PROTON_SASL_H -DHAVE_PROTON_MESSENGER_H -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DRUBY20 -o cproton.o -c cproton.c cproton.c: In function 'SWIG_Ruby_define_class': cproton.c:1490:9: warning: variable 'klass' set but not used [-Wunused-but-set-variable] VALUE klass; ^ cproton.c: In function 'wrap_pn_messenger_send': cproton.c:2166:7: warning: implicit declaration of function 'rb_thread_call_without_gvl' [-Wimplicit-function-declaration] rc = RB_BLOCKING_CALL(pn_messenger_send_no_gvl, ^ cproton.c: In function 'pni_ruby_add_to_registry': cproton.c:2388:11: warning: unused variable 'result' [-Wunused-variable] VALUE result = rb_funcall(pni_ruby_get_proton_module(), rb_intern("add_to_registry"), 2, key, value); ^ cproton.c: In function 'SWIG_AUX_NUM2DBL': cproton.c:2461:9: warning: unused variable 'type' [-Wunused-variable] VALUE type = TYPE(obj); ^ cproton.c: In function '_wrap_pn_messenger': cproton.c:14303:35: warning: the comparison will always evaluate as 'true' for the address of 'pn_message' will never be NULL [-Waddress] SWIG_contract_assert((pn_message!=NULL), "Contract violation: ensure: (pn_message!=NULL)"); ^ cproton.c:1783:47: note: in definition of macro 'SWIG_contract_assert' #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else ^ cproton.c: In function '_wrap_pn_io': cproton.c:16060:3: error: unknown type name 'pn_io_t' pn_io_t *result = 0 ; ^ cproton.c:16066:13: error: 'pn_io_t' undeclared (first use in this function) result = (pn_io_t *)pn_io(); ^ cproton.c:16066:13: note: each undeclared identifier is reported only once for each function it appears in cproton.c:16066:22: error: expected expression before ')' token result = (pn_io_t *)pn_io(); ^ cproton.c: In function '_wrap_pn_io_free': cproton.c:16076:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16076:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16076:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16087:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16088:3: warning: implicit declaration of function 'pn_io_free' [-Wimplicit-function-declaration] pn_io_free(arg1); ^ cproton.c: In function '_wrap_pn_io_error': cproton.c:16097:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16097:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16097:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16110:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16111:3: warning: implicit declaration of function 'pn_io_error' [-Wimplicit-function-declaration] result = (pn_error_t *)pn_io_error(arg1); ^ cproton.c: In function '_wrap_pn_connect': cproton.c:16121:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16121:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16121:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16142:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16153:3: warning: implicit declaration of function 'pn_connect' [-Wimplicit-function-declaration] result = (pn_socket_t)pn_connect(arg1,(char const *)arg2,(char const *)arg3); ^ cproton.c: In function '_wrap_pn_listen': cproton.c:16167:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16167:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16167:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16188:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16199:3: warning: implicit declaration of function 'pn_listen' [-Wimplicit-function-declaration] result = (pn_socket_t)pn_listen(arg1,(char const *)arg2,(char const *)arg3); ^ cproton.c: In function '_wrap_pn_accept': cproton.c:16213:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16213:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16213:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16236:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16252:3: warning: implicit declaration of function 'pn_accept' [-Wimplicit-function-declaration] result = (pn_socket_t)pn_accept(arg1,arg2,arg3,arg4); ^ cproton.c: In function '_wrap_pn_close': cproton.c:16264:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16264:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16264:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16278:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16284:3: warning: implicit declaration of function 'pn_close' [-Wimplicit-function-declaration] pn_close(arg1,arg2); ^ cproton.c: In function '_wrap_pn_send': cproton.c:16293:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16293:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16293:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16314:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16329:3: warning: implicit declaration of function 'pn_send' [-Wimplicit-function-declaration] result = (ssize_t)pn_send(arg1,arg2,(void const *)arg3,arg4); ^ cproton.c: In function '_wrap_pn_recv': cproton.c:16339:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16339:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16339:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16360:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16375:3: warning: implicit declaration of function 'pn_recv' [-Wimplicit-function-declaration] result = (ssize_t)pn_recv(arg1,arg2,arg3,arg4); ^ cproton.c: In function '_wrap_pn_pipe': cproton.c:16385:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16385:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16385:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16401:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16407:3: warning: implicit declaration of function 'pn_pipe' [-Wimplicit-function-declaration] result = (int)pn_pipe(arg1,arg2); ^ cproton.c: In function '_wrap_pn_read': cproton.c:16417:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16417:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16417:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16438:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16453:3: warning: implicit declaration of function 'pn_read' [-Wimplicit-function-declaration] result = (ssize_t)pn_read(arg1,arg2,arg3,arg4); ^ cproton.c: In function '_wrap_pn_write': cproton.c:16463:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16463:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16463:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16484:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16499:3: warning: implicit declaration of function 'pn_write' [-Wimplicit-function-declaration] result = (ssize_t)pn_write(arg1,arg2,(void const *)arg3,arg4); ^ cproton.c: In function '_wrap_pn_wouldblock': cproton.c:16509:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16509:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16509:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16522:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16523:3: warning: implicit declaration of function 'pn_wouldblock' [-Wimplicit-function-declaration] result = (bool)pn_wouldblock(arg1); ^ cproton.c: In function '_wrap_pn_io_selector': cproton.c:16533:3: error: unknown type name 'pn_io_t' pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16533:20: error: 'pn_io_t' undeclared (first use in this function) pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16533:29: error: expected expression before ')' token pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c:16536:3: error: unknown type name 'pn_selector_t' pn_selector_t *result = 0 ; ^ cproton.c:16546:20: error: expected expression before ')' token arg1 = (pn_io_t *)(argp1); ^ cproton.c:16547:13: error: 'pn_selector_t' undeclared (first use in this function) result = (pn_selector_t *)pn_io_selector(arg1); ^ cproton.c:16547:28: error: expected expression before ')' token result = (pn_selector_t *)pn_io_selector(arg1); ^ cproton.c:16533:12: warning: variable 'arg1' set but not used [-Wunused-but-set-variable] pn_io_t *arg1 = (pn_io_t *) 0 ; ^ cproton.c: In function '_wrap_pn_reactor_io': cproton.c:21195:3: error: unknown type name 'pn_io_t' pn_io_t *result = 0 ; ^ cproton.c:21206:13: error: 'pn_io_t' undeclared (first use in this function) result = (pn_io_t *)pn_reactor_io(arg1); ^ cproton.c:21206:22: error: expected expression before ')' token result = (pn_io_t *)pn_reactor_io(arg1); ^ cproton.c:21192:17: warning: variable 'arg1' set but not used [-Wunused-but-set-variable] pn_reactor_t *arg1 = (pn_reactor_t *) 0 ; ^ cproton.c: At top level: cproton.c:6290:12: warning: 'check_state' defined but not used [-Wunused-function] static int check_state(int x) { ^ cproton.c:6301:12: warning: 'check_disposition' defined but not used [-Wunused-function] static int check_disposition(int x) { ^ cproton.c:6312:12: warning: 'check_trace' defined but not used [-Wunused-function] static int check_trace(int x) { ^ make: *** [cproton.o] Error 1 ERROR: Error installing qpid_proton-0.13.0.gem: ERROR: Failed to build gem native extension. Building has failed. See above output for more information on the failure. Gem files will remain installed in /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0 for inspection. Results logged to /builddir/build/BUILD/qpid_proton-0.13.0/usr/share/gems/gems/qpid_proton-0.13.0/ext/cproton/gem_make.out RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.5AXgoN (%build) Bad exit status from /var/tmp/rpm-tmp.5AXgoN (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/rubygem-qpid_proton.spec