Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-skywalking.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-php74-armhfp-8c71077630d88a634df6a0e268d311f0746a680d/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-skywalking.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False sh: line 0: fg: no job control sh: line 0: fg: no job control Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php-pecl-skywalking-5.0.1-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-skywalking.spec"], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-php74-armhfp-8c71077630d88a634df6a0e268d311f0746a680d/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-skywalking.spec"] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G6dtwx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-skywalking-5.0.1 + /usr/bin/mkdir -p php-pecl-skywalking-5.0.1 + cd php-pecl-skywalking-5.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/skywalking-5.0.1.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /builddir/build/SOURCES/skywalking-deps-5.0.1.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv skywalking-5.0.1 NTS + sed -e 's/role="test"/role="src"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + pushd NTS ~/build/BUILD/php-pecl-skywalking-5.0.1/NTS ~/build/BUILD/php-pecl-skywalking-5.0.1 + : Check version ++ sed -n '/#define PHP_SKYWALKING_VERSION /{s/.* "//;s/".*$//;p}' php_skywalking.h + extver=5.0.1 ~/build/BUILD/php-pecl-skywalking-5.0.1 + test x5.0.1 '!=' x5.0.1 + popd + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QtdVuu + umask 022 + cd /builddir/build/BUILD + cd php-pecl-skywalking-5.0.1 + source /opt/rh/devtoolset-7/enable ++ export PATH=/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ PATH=/opt/rh/devtoolset-7/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ export MANPATH=/opt/rh/devtoolset-7/root/usr/share/man: ++ MANPATH=/opt/rh/devtoolset-7/root/usr/share/man: ++ export INFOPATH=/opt/rh/devtoolset-7/root/usr/share/info ++ INFOPATH=/opt/rh/devtoolset-7/root/usr/share/info ++ export PCP_DIR=/opt/rh/devtoolset-7/root ++ PCP_DIR=/opt/rh/devtoolset-7/root ++ export PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl ++ PERL5LIB=/opt/rh/devtoolset-7/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-7/root/usr/lib/perl5:/opt/rh/devtoolset-7/root//usr/share/perl5/vendor_perl +++ rpm --eval '%{_libdir}' ++ rpmlibdir=/usr/lib ++ '[' /usr/lib '!=' /usr/lib ']' ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-7/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib:/opt/rh/devtoolset-7/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-7/root/usr/lib ++ pythonvers=2.7 ++ export PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python2.7/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python2.7/site-packages ++ PYTHONPATH=/opt/rh/devtoolset-7/root/usr/lib64/python2.7/site-packages:/opt/rh/devtoolset-7/root/usr/lib/python2.7/site-packages + export CARGO_HOME=/builddir/build/BUILD/php-pecl-skywalking-5.0.1/mycargo + CARGO_HOME=/builddir/build/BUILD/php-pecl-skywalking-5.0.1/mycargo + cd NTS + /usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build/config.sub' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-skywalking --with-php-config=/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for armv7hl-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable skywalking support... yes, shared checking for cargo... /usr/bin/cargo checking for rustfmt... /usr/bin/rustfmt checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld checking if the linker (/opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /opt/rh/devtoolset-7/root/usr/bin/nm -B checking the name lister (/opt/rh/devtoolset-7/root/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /opt/rh/devtoolset-7/root/usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 cargo build --release --manifest-path=./Cargo.toml /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/skywalking.c -o skywalking.lo /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_cross_process.c -o src/sky_core_cross_process.lo /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_log.c -o src/sky_core_log.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/skywalking.c -fPIC -DPIC -o .libs/skywalking.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_cross_process.c -fPIC -DPIC -o src/.libs/sky_core_cross_process.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_log.c -fPIC -DPIC -o src/.libs/sky_core_log.o Updating crates.io index /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_log.c: In function 'sky_core_log_to_json': /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_log.c:69:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&data_json, "{\"key\":\"%s\",\"value\":\"%s\"}", log_data->key, log_data->value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_log.c:80:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&json, "{\"time\":%ld,\"data\":%s}", log->time, data.c); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_cross_process.c: In function 'sky_core_cross_process_new': /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_cross_process.c:36:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&bag[i], "%s", p); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:26:0, from /usr/include/php/main/php.h:37, from /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/skywalking.c:37: /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_module.h:34:28: warning: 'skywalking_dtor' declared 'static' but never defined [-Wunused-function] static ZEND_RSRC_DTOR_FUNC(skywalking_dtor); ^ /usr/include/php/Zend/zend_list.h:29:40: note: in definition of macro 'ZEND_RSRC_DTOR_FUNC' #define ZEND_RSRC_DTOR_FUNC(name) void name(zend_resource *res) ^~~~ /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_module.c -o src/sky_core_module.lo /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_segment.c -o src/sky_core_segment.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_module.c -fPIC -DPIC -o src/.libs/sky_core_module.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_segment.c -fPIC -DPIC -o src/.libs/sky_core_segment.o /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_segment_reference.c -o src/sky_core_segment_reference.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_segment_reference.c -fPIC -DPIC -o src/.libs/sky_core_segment_reference.o /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_module.c: In function 'thread_sky_core_report_new': /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_module.c:44:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_module.c: In function 'sky_core_request_init': /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_module.c:132:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&peer, "%s:%s", Z_STRVAL_P(http_host), Z_STRVAL_P(server_port)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:26:0, from /usr/include/php/main/php.h:37, from /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_module.h:21, from /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_module.c:18: At top level: /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_module.c:83:28: warning: 'skywalking_dtor' defined but not used [-Wunused-function] static ZEND_RSRC_DTOR_FUNC(skywalking_dtor) { ^ /usr/include/php/Zend/zend_list.h:29:40: note: in definition of macro 'ZEND_RSRC_DTOR_FUNC' #define ZEND_RSRC_DTOR_FUNC(name) void name(zend_resource *res) ^~~~ /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_span.c -o src/sky_core_span.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_span.c -fPIC -DPIC -o src/.libs/sky_core_span.o /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_tag.c -o src/sky_core_tag.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_core_tag.c -fPIC -DPIC -o src/.libs/sky_core_tag.o /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_plugin_curl.c -o src/sky_plugin_curl.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_plugin_curl.c -fPIC -DPIC -o src/.libs/sky_plugin_curl.o /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_plugin_redis.c -o src/sky_plugin_redis.lo /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_plugin_curl.c: In function 'sky_curl_exec_handler': /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_plugin_curl.c:237:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'zend_long {aka int}' [-Wformat=] sprintf(code, "%ld", Z_LVAL_P(response_http_code)); ~~^ %d libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_plugin_redis.c -fPIC -DPIC -o src/.libs/sky_plugin_redis.o /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_util_base64.c -o src/sky_util_base64.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_util_base64.c -fPIC -DPIC -o src/.libs/sky_util_base64.o /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_util_base64.c: In function 'sky_util_base64_decode': /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_util_base64.c:35:45: warning: array subscript has type 'char' [-Wchar-subscripts] for (k = 0; k < 64 && sky_base64_map[k] != cipher[i]; k++); ^ /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_util_base64.c:36:15: warning: array subscript has type 'char' [-Wchar-subscripts] buffer[counts++] = k; ^ /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_util_php.c -o src/sky_util_php.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_util_php.c -fPIC -DPIC -o src/.libs/sky_util_php.o /bin/sh /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_utils.c -o src/sky_utils.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/include -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/main -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src -DHAVE_CONFIG_H -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 -c /builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/src/sky_utils.c -fPIC -DPIC -o src/.libs/sky_utils.o Downloading crates ... Downloaded which v4.2.5 Downloaded tracing-attributes v0.1.21 Downloaded uuid v0.8.2 Downloaded tracing-core v0.1.26 Downloaded uuid v1.0.0 Downloaded unicode-segmentation v1.9.0 Downloaded tower v0.4.12 Downloaded rand v0.7.3 Downloaded itertools v0.10.3 Downloaded serde_json v1.0.81 Downloaded petgraph v0.5.1 Downloaded ipc-channel v0.16.0 Downloaded hyper v0.14.18 Downloaded clap v3.1.15 Downloaded syn v1.0.92 Downloaded cbindgen v0.23.0 Downloaded h2 v0.3.13 Downloaded futures-util v0.3.21 Downloaded neli v0.5.3 Downloaded mio v0.6.23 Downloaded http v0.2.7 Downloaded rand v0.8.5 Downloaded mio v0.8.2 Downloaded hashbrown v0.11.2 Downloaded crossbeam-channel v0.4.4 Downloaded tonic v0.5.2 Downloaded tokio-util v0.7.1 Downloaded time v0.3.9 Downloaded serde v1.0.137 Downloaded memchr v2.4.1 Downloaded tracing v0.1.34 Downloaded tokio-util v0.6.9 Downloaded serde_derive v1.0.137 Downloaded ryu v1.0.9 Downloaded pin-project v1.0.10 Downloaded indexmap v1.8.1 Downloaded tokio v1.18.0 Downloaded libc v0.2.124 Downloaded bytes v1.1.0 Downloaded base64 v0.13.0 Downloaded toml v0.5.9 Downloaded textwrap v0.15.0 Downloaded simplelog v0.12.0 Downloaded proc-macro2 v1.0.37 Downloaded parking_lot_core v0.9.3 Downloaded parking_lot v0.12.0 Downloaded log v0.4.16 Downloaded crossbeam-utils v0.7.2 Downloaded anyhow v1.0.57 Downloaded socket2 v0.4.4 Downloaded smallvec v1.8.0 Downloaded slab v0.4.6 Downloaded signal-hook-registry v1.4.0 Downloaded rand_core v0.6.3 Downloaded rand_core v0.5.1 Downloaded quote v1.0.18 Downloaded prost-types v0.8.0 Downloaded prost v0.8.0 Downloaded ppv-lite86 v0.2.16 Downloaded pin-project-lite v0.2.9 Downloaded pin-project-internal v1.0.10 Downloaded os_str_bytes v6.0.0 Downloaded once_cell v1.10.0 Downloaded net2 v0.2.37 Downloaded lock_api v0.4.7 Downloaded local-ip-address v0.4.4 Downloaded httparse v1.7.1 Downloaded getrandom v0.2.6 Downloaded getrandom v0.1.16 Downloaded futures-channel v0.3.21 Downloaded byteorder v1.4.3 Downloaded bitflags v1.3.2 Downloaded bincode v1.3.3 Downloaded async-trait v0.1.53 Downloaded tokio-stream v0.1.8 Downloaded time-macros v0.2.4 Downloaded thiserror v1.0.31 Downloaded termcolor v1.1.3 Downloaded tempfile v3.3.0 Downloaded scopeguard v1.1.0 Downloaded remove_dir_all v0.5.3 Downloaded rand_chacha v0.3.1 Downloaded rand_chacha v0.2.2 Downloaded prost-derive v0.8.0 Downloaded pin-utils v0.1.0 Downloaded percent-encoding v2.1.0 Downloaded num_threads v0.1.6 Downloaded num_cpus v1.13.1 Downloaded multimap v0.8.3 Downloaded maybe-uninit v2.0.0 Downloaded lazy_static v1.4.0 Downloaded itoa v1.0.1 Downloaded iovec v0.1.4 Downloaded hyper-timeout v0.4.1 Downloaded httpdate v1.0.2 Downloaded http-body v0.4.4 Downloaded heck v0.4.0 Downloaded heck v0.3.3 Downloaded gethostname v0.2.3 Downloaded futures-task v0.3.21 Downloaded futures-sink v0.3.21 Downloaded futures-macro v0.3.21 Downloaded futures-core v0.3.21 Downloaded fnv v1.0.7 Downloaded fixedbitset v0.2.0 Downloaded fastrand v1.7.0 Downloaded either v1.6.1 Downloaded clap_lex v0.2.0 Downloaded cfg-if v1.0.0 Downloaded cfg-if v0.1.10 Downloaded autocfg v1.1.0 Downloaded atty v0.2.14 Downloaded async-stream-impl v0.3.3 Downloaded async-stream v0.3.3 Downloaded want v0.3.0 Downloaded unicode-xid v0.2.2 Downloaded try-lock v0.2.3 Downloaded tracing-futures v0.2.5 Downloaded tower-service v0.3.1 Downloaded tower-layer v0.3.1 Downloaded tonic-build v0.5.2 Downloaded tokio-macros v1.7.0 Downloaded tokio-io-timeout v1.2.0 Downloaded thiserror-impl v1.0.31 Downloaded strsim v0.10.0 Downloaded prost-build v0.8.0 Compiling libc v0.2.124 Compiling proc-macro2 v1.0.37 Compiling unicode-xid v0.2.2 Compiling syn v1.0.92 Compiling cfg-if v1.0.0 Compiling autocfg v1.1.0 Compiling log v0.4.16 Compiling pin-project-lite v0.2.9 Compiling bytes v1.1.0 Compiling either v1.6.1 Compiling futures-core v0.3.21 Compiling anyhow v1.0.57 Compiling parking_lot_core v0.9.3 Compiling scopeguard v1.1.0 Compiling lazy_static v1.4.0 Compiling memchr v2.4.1 Compiling smallvec v1.8.0 Compiling serde_derive v1.0.137 Compiling once_cell v1.10.0 Compiling itoa v1.0.1 Compiling hashbrown v0.11.2 Compiling futures-task v0.3.21 Compiling slab v0.4.6 Compiling futures-sink v0.3.21 Compiling futures-util v0.3.21 Compiling serde v1.0.137 Compiling ppv-lite86 v0.2.16 Compiling fnv v1.0.7 Compiling serde_json v1.0.81 Compiling fastrand v1.7.0 Compiling remove_dir_all v0.5.3 Compiling getrandom v0.1.16 Compiling pin-utils v0.1.0 Compiling httparse v1.7.1 Compiling fixedbitset v0.2.0 Compiling cfg-if v0.1.10 Compiling unicode-segmentation v1.9.0 Compiling os_str_bytes v6.0.0 Compiling futures-channel v0.3.21 Compiling termcolor v1.1.3 Compiling ryu v1.0.9 Compiling try-lock v0.2.3 Compiling tower-service v0.3.1 Compiling maybe-uninit v2.0.0 Compiling multimap v0.8.3 Compiling bitflags v1.3.2 Compiling strsim v0.10.0 Compiling cbindgen v0.23.0 Compiling textwrap v0.15.0 Compiling heck v0.4.0 Compiling httpdate v1.0.2 Compiling async-trait v0.1.53 Compiling byteorder v1.4.3 Compiling local-ip-address v0.4.4 Compiling tower-layer v0.3.1 Compiling time-macros v0.2.4 Compiling num_threads v0.1.6 Compiling percent-encoding v2.1.0 Compiling base64 v0.13.0 Compiling itertools v0.10.3 Compiling indexmap v1.8.1 Compiling lock_api v0.4.7 Compiling crossbeam-utils v0.7.2 Compiling tracing-core v0.1.26 Compiling http v0.2.7 Compiling clap_lex v0.2.0 Compiling heck v0.3.3 Compiling http-body v0.4.4 Compiling quote v1.0.18 Compiling which v4.2.5 Compiling tempfile v3.3.0 Compiling atty v0.2.14 Compiling signal-hook-registry v1.4.0 Compiling num_cpus v1.13.1 Compiling socket2 v0.4.4 Compiling getrandom v0.2.6 Compiling iovec v0.1.4 Compiling net2 v0.2.37 Compiling time v0.3.9 Compiling neli v0.5.3 Compiling gethostname v0.2.3 Compiling mio v0.8.2 Compiling want v0.3.0 Compiling prost-build v0.8.0 Compiling rand_core v0.6.3 Compiling uuid v0.8.2 Compiling uuid v1.0.0 Compiling rand_core v0.5.1 Compiling mio v0.6.23 Compiling simplelog v0.12.0 Compiling petgraph v0.5.1 Compiling clap v3.1.15 Compiling parking_lot v0.12.0 Compiling crossbeam-channel v0.4.4 error: failed to run custom build command for `prost-build v0.8.0` Caused by: process didn't exit successfully: `/builddir/build/BUILD/php-pecl-skywalking-5.0.1/NTS/target/release/build/prost-build-880c1bfd7e524b44/build-script-build` (exit status: 101) --- stderr thread 'main' panicked at 'Failed to find the protoc binary. The PROTOC environment variable is not set, there is no bundled protoc for this platform, and protoc is not in the PATH', /builddir/build/BUILD/php-pecl-skywalking-5.0.1/mycargo/registry/src/github.com-1285ae84e5963aae/prost-build-0.8.0/build.rs:105:10 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... make: *** [Makefile:224: target/release/libsky_core_report.a] Error 101 error: Bad exit status from /var/tmp/rpm-tmp.QtdVuu (%build) Bad exit status from /var/tmp/rpm-tmp.QtdVuu (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, 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 --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-pecl-skywalking.spec