Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-swoole.spec'], nspawn_args=[]shell=Falseuid=995env={'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-SCLs_php73-armhfp-ae8bf2617e23fe24a31e7f279765cd1954fbb9a6/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-swoole.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 Wrote: /builddir/build/SRPMS/php73-php-pecl-swoole-1.10.5-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-swoole.spec"], nspawn_args=[]shell=Falseuid=995env={'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-SCLs_php73-armhfp-ae8bf2617e23fe24a31e7f279765cd1954fbb9a6/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-swoole.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.dw8zjc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php73-php-pecl-swoole-1.10.5 + /usr/bin/mkdir -p php73-php-pecl-swoole-1.10.5 + cd php73-php-pecl-swoole-1.10.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/swoole-1.10.5.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv swoole-1.10.5 NTS + sed -e '/examples/s/role="src"/role="doc"/' -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml + cd NTS ++ sed -n '/#define PHP_SWOOLE_VERSION/{s/.* "//;s/".*$//;p}' php_swoole.h + extver=1.10.5 + test x1.10.5 '!=' x1.10.5 + cd .. + cat + tee 40-swoole.ini ; Enable php73-php-pecl-swoole developer files (header) extension module extension=swoole.so ; Configuration ;swoole.aio_thread_num = 2 ;swoole.display_errors = On ;swoole.use_namespace = Off ;swoole.fast_serialize = Off ;swoole.unixsock_buffer_size = 8388608 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MI3QTH + exit 0 + umask 022 + cd /builddir/build/BUILD + cd php73-php-pecl-swoole-1.10.5 + 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 + cd NTS + /opt/rh/php73/root/usr/bin/phpize Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 + peclbuild /opt/rh/php73/root/usr/bin/php-config + 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/opt/rh/php73/root/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/opt/rh/php73/root/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 ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/php73/root/usr --exec-prefix=/opt/rh/php73/root/usr --bindir=/opt/rh/php73/root/usr/bin --sbindir=/opt/rh/php73/root/usr/sbin --sysconfdir=/etc/opt/rh/php73 --datadir=/opt/rh/php73/root/usr/share --includedir=/opt/rh/php73/root/usr/include --libdir=/opt/rh/php73/root/usr/lib --libexecdir=/opt/rh/php73/root/usr/libexec --localstatedir=/var/opt/rh/php73 --sharedstatedir=/var/opt/rh/php73/lib --mandir=/opt/rh/php73/root/usr/share/man --infodir=/opt/rh/php73/root/usr/share/info --with-swoole --enable-sockets --enable-async-redis --enable-openssl --enable-http2 --enable-thread --enable-mysqlnd --with-php-config=/opt/rh/php73/root/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-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 whether cc understands -c and -o together... yes 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... /opt/rh/php73/root/usr checking for PHP includes... -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php73/root/usr/lib/php/modules checking for PHP installed headers prefix... /opt/rh/php73/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable swoole debug... no checking enable sockets support... yes checking enable async_redis support... yes checking enable openssl support... yes checking enable http2.0 support... yes checking enable thread support... yes checking enable hugepage support... no checking swoole support... yes, shared checking swoole static compile support... no checking swoole support... yes, shared checking for OpenSSL support... no checking for jemalloc support... no checking enable mysqlnd support... yes checking enable picohttpparser support... no checking enable timewheel support... no checking if compiling with clang... no checking for cpu affinity... yes checking for socket REUSEPORT... yes checking for futex... yes checking for linux aio... yes checking for clock_gettime in -lrt... yes checking for SSL_connect in -lssl... yes checking for accept4 in -lc... yes checking for signalfd in -lc... yes checking for timerfd_create in -lc... yes checking for eventfd in -lc... yes checking for epoll_create in -lc... yes checking for poll in -lc... yes checking for sendfile in -lc... yes checking for kqueue in -lc... no checking for backtrace in -lc... yes checking for daemon in -lc... yes checking for mkostemp in -lc... yes checking for inotify_init in -lc... yes checking for malloc_trim in -lc... yes checking for inotify_init1 in -lc... yes checking for gethostbyname2_r in -lc... yes checking for ptrace in -lc... yes checking for pthread_rwlock_init in -lpthread... yes checking for pthread_spin_lock in -lpthread... yes checking for pthread_mutex_timedlock in -lpthread... yes checking for pthread_barrier_init in -lpthread... yes checking for pcre_compile in -lpcre... yes checking for redisConnect in -lhiredis... yes checking for nghttp2_hd_inflate_new in -lnghttp2... yes checking for gzgets in -lz... yes 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: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/main -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -DHAVE_CONFIG_H -Wall -pthread -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/php73-php-pecl-swoole-1.10.5/NTS/swoole.c -o swoole.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/main -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -DHAVE_CONFIG_H -Wall -pthread -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/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c -o swoole_server.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/main -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -DHAVE_CONFIG_H -Wall -pthread -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/php73-php-pecl-swoole-1.10.5/NTS/swoole_server_port.c -o swoole_server_port.lo /bin/sh /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/main -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -DHAVE_CONFIG_H -Wall -pthread -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/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c -o swoole_atomic.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/main -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -DHAVE_CONFIG_H -Wall -pthread -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/php73-php-pecl-swoole-1.10.5/NTS/swoole.c -fPIC -DPIC -o .libs/swoole.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/main -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -DHAVE_CONFIG_H -Wall -pthread -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/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c -fPIC -DPIC -o .libs/swoole_server.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/main -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -DHAVE_CONFIG_H -Wall -pthread -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/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c -fPIC -DPIC -o .libs/swoole_atomic.o libtool: compile: cc -I. -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/main -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/opt/rh/php73/root/usr/include/php -I/opt/rh/php73/root/usr/include/php/main -I/opt/rh/php73/root/usr/include/php/TSRM -I/opt/rh/php73/root/usr/include/php/Zend -I/opt/rh/php73/root/usr/include/php/ext -I/opt/rh/php73/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS -I/builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/include -DHAVE_CONFIG_H -Wall -pthread -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/php73-php-pecl-swoole-1.10.5/NTS/swoole_server_port.c -fPIC -DPIC -o .libs/swoole_server_port.o In file included from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:145:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole.c:16: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h: In function 'sw_zend_register_class_alias': /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h:459:12: error: too few arguments to function 'zend_register_class_alias_ex' return zend_register_class_alias_ex(_interned_name->val, _interned_name->len, ce); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole.c:16: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:289:14: note: declared here ZEND_API int zend_register_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce, int persistent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:145:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h: In function 'sw_zend_register_class_alias': /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h:459:12: error: too few arguments to function 'zend_register_class_alias_ex' return zend_register_class_alias_ex(_interned_name->val, _interned_name->len, ce); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:289:14: note: declared here ZEND_API int zend_register_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce, int persistent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:145:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server_port.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h: In function 'sw_zend_register_class_alias': /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h:459:12: error: too few arguments to function 'zend_register_class_alias_ex' return zend_register_class_alias_ex(_interned_name->val, _interned_name->len, ce); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server_port.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:289:14: note: declared here ZEND_API int zend_register_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce, int persistent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:145:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h: In function 'sw_zend_register_class_alias': /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h:459:12: error: too few arguments to function 'zend_register_class_alias_ex' return zend_register_class_alias_ex(_interned_name->val, _interned_name->len, ce); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:289:14: note: declared here ZEND_API int zend_register_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce, int persistent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic___construct': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:164:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic_add': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:193:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(add_value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic_sub': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:212:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(sub_value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c: In function 'zim_swoole_server___construct': /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:1558:122: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] zend_throw_exception_ex(swoole_exception_class_entry_ptr, errno TSRMLS_CC, "failed to listen server port[%s:%d]. Error: %s[%d].", ~^ %ld In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic_set': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:236:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(set_value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:145:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server_port.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h:460:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic_cmpset': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:254:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(cmp_value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:198: swoole_server_port.lo] Error 1 make: *** Waiting for unfinished jobs.... In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:255:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(set_value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic_wakeup': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:311:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(n) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic_long___construct': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:334:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic_long_add': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:363:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(add_value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic_long_sub': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:383:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(sub_value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic_long_set': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:408:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(set_value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c: In function 'zim_swoole_atomic_long_cmpset': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:426:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(cmp_value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:427:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(set_value) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c: In function 'zim_swoole_server_send': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:2300:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(server_socket) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c: In function 'zim_swoole_server_sendto': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:2401:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(port) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:145:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole.c:16: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h:460:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:2404:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(server_socket) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c: In function 'zim_swoole_server_close': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:2505:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(fd) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:194: swoole.lo] Error 1 In file included from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:145:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_atomic.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h: In function 'sw_zend_register_class_alias': /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php7_wrapper.h:460:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [Makefile:200: swoole_atomic.lo] Error 1 In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c: In function 'zim_swoole_server_task': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:2976:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(dst_worker_id) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c: In function 'zim_swoole_server_connection_info': /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:3193:65: warning: passing argument 3 of 'is_numeric_string' from incompatible pointer type [-Wincompatible-pointer-types] if (is_numeric_string(Z_STRVAL_P(zfd), Z_STRLEN_P(zfd), &fd, NULL, 0)) ^ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend.h:335:0, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_operators.h:144:38: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline zend_uchar is_numeric_string(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors) { ^~~~~~~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/Zend/zend_types.h:25:0, from /opt/rh/php73/root/usr/include/php/Zend/zend.h:27, from /opt/rh/php73/root/usr/include/php/main/php.h:33, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c: In function 'zim_swoole_server_exist': /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:945:45: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, 0))) { \ ^ /opt/rh/php73/root/usr/include/php/Zend/zend_portability.h:323:52: note: in definition of macro 'UNEXPECTED' # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) ^~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:952:2: note: in expansion of macro 'Z_PARAM_LONG_EX2' Z_PARAM_LONG_EX2(dest, is_null, check_null, separate, separate) ^~~~~~~~~~~~~~~~ /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:955:2: note: in expansion of macro 'Z_PARAM_LONG_EX' Z_PARAM_LONG_EX(dest, _dummy, 0, 0) ^~~~~~~~~~~~~~~ /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:3444:9: note: in expansion of macro 'Z_PARAM_LONG' Z_PARAM_LONG(fd) ^~~~~~~~~~~~ In file included from /opt/rh/php73/root/usr/include/php/main/php.h:37:0, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/php_swoole.h:22, from /builddir/build/BUILD/php73-php-pecl-swoole-1.10.5/NTS/swoole_server.c:17: /opt/rh/php73/root/usr/include/php/Zend/zend_API.h:1153:31: note: expected 'zend_long * {aka int *}' but argument is of type 'long int *' static zend_always_inline int zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int cap) ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:196: swoole_server.lo] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.MI3QTH (%build) Bad exit status from /var/tmp/rpm-tmp.MI3QTH (%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 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-swoole.spec