Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-pecl-parle.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-SCLs_php74-armhfp-8ff1ab46d0d0c68adcd55b85ab27f32c2bf5d3bd/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-parle.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/php74-php-pecl-parle-0.8.2-2.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-parle.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-SCLs_php74-armhfp-8ff1ab46d0d0c68adcd55b85ab27f32c2bf5d3bd/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-parle.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.lV0KxJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php74-php-pecl-parle-0.8.2 + /usr/bin/mkdir -p php74-php-pecl-parle-0.8.2 + cd php74-php-pecl-parle-0.8.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/parle-0.8.2.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv parle-0.8.2 NTS + sed -e '/tests/s/role="test"/role="src"/' -i package.xml + sed -e '/LICENSE/s/role="doc"/role="src"/;/licence/s/role="doc"/role="src"/' -i package.xml + mv NTS/lib/lexertl14/lexertl/licence_1_0.txt NTS/LICENSE.lexert14 + mv NTS/lib/parsertl14/parsertl/licence_1_0.txt NTS/LICENSE.parsertl14 + cd NTS + echo 'Patch #0 (parle-php81.patch):' Patch #0 (parle-php81.patch): + /usr/bin/cat /builddir/build/SOURCES/parle-php81.patch + /usr/bin/patch -p1 -b --suffix .php81 --fuzz=0 patching file parle.cpp ++ sed -n '/#define PHP_PARLE_VERSION/{s/.* "//;s/".*$//;p}' php_parle.h + extver=0.8.2 + test x0.8.2 '!=' x0.8.2 + cd .. + cat + tee 40-parle.ini ; Enable 'Parsing and lexing' extension module extension=parle.so + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OnhqDn + umask 022 + cd /builddir/build/BUILD + cd php74-php-pecl-parle-0.8.2 + 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/remi/php74/root/usr/bin/phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 + peclbuild /opt/remi/php74/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/remi/php74/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/remi/php74/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 ./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=/opt/remi/php74/root/usr --exec-prefix=/opt/remi/php74/root/usr --bindir=/opt/remi/php74/root/usr/bin --sbindir=/opt/remi/php74/root/usr/sbin --sysconfdir=/etc/opt/remi/scls/php74 --datadir=/opt/remi/php74/root/usr/share --includedir=/opt/remi/php74/root/usr/include --libdir=/opt/remi/php74/root/usr/lib --libexecdir=/opt/remi/php74/root/usr/libexec --localstatedir=/var/opt/remi/scls/php74 --sharedstatedir=/var/opt/remi/scls/php74/lib --mandir=/opt/remi/php74/root/usr/share/man --infodir=/opt/remi/php74/root/usr/share/info --enable-parle --with-php-config=/opt/remi/php74/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-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... /opt/remi/php74/root/usr checking for PHP includes... -I/opt/remi/php74/root/usr/include/php -I/opt/remi/php74/root/usr/include/php/main -I/opt/remi/php74/root/usr/include/php/TSRM -I/opt/remi/php74/root/usr/include/php/Zend -I/opt/remi/php74/root/usr/include/php/ext -I/opt/remi/php74/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/remi/php74/root/usr/lib/php/modules checking for PHP installed headers prefix... /opt/remi/php74/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable parle support... yes, shared checking whether to enable internal UTF-32 support in parle... no checking for armv7hl-redhat-linux-gnu-g++... no checking for armv7hl-redhat-linux-gnu-c++... no checking for armv7hl-redhat-linux-gnu-gpp... no checking for armv7hl-redhat-linux-gnu-aCC... no checking for armv7hl-redhat-linux-gnu-CC... no checking for armv7hl-redhat-linux-gnu-cxx... no checking for armv7hl-redhat-linux-gnu-cc++... no checking for armv7hl-redhat-linux-gnu-cl.exe... no checking for armv7hl-redhat-linux-gnu-FCC... no checking for armv7hl-redhat-linux-gnu-KCC... no checking for armv7hl-redhat-linux-gnu-RCC... no checking for armv7hl-redhat-linux-gnu-xlC_r... no checking for armv7hl-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E 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 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /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 whether the g++ linker (/opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/opt/rh/devtoolset-7/root/usr/libexec/gcc/armv7hl-redhat-linux-gnueabi/7/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate 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 /bin/sh /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/libtool --mode=compile g++ -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -std=c++14 -I. -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/include -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/main -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS -I/opt/remi/php74/root/usr/include/php -I/opt/remi/php74/root/usr/include/php/main -I/opt/remi/php74/root/usr/include/php/TSRM -I/opt/remi/php74/root/usr/include/php/Zend -I/opt/remi/php74/root/usr/include/php/ext -I/opt/remi/php74/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/lexertl14 -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14 -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parle -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib -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/php74-php-pecl-parle-0.8.2/NTS/parle.cpp -o parle.lo libtool: compile: g++ -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -std=c++14 -I. -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/include -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/main -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS -I/opt/remi/php74/root/usr/include/php -I/opt/remi/php74/root/usr/include/php/main -I/opt/remi/php74/root/usr/include/php/TSRM -I/opt/remi/php74/root/usr/include/php/Zend -I/opt/remi/php74/root/usr/include/php/ext -I/opt/remi/php74/root/usr/include/php/ext/date/lib -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/lexertl14 -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14 -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parle -I/builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib -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/php74-php-pecl-parle-0.8.2/NTS/parle.cpp -fPIC -DPIC -o .libs/parle.o In file included from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:10:0, from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/generator.hpp:12, from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:46: /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/ebnf_tables.hpp:83:9: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] }; ^ /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/ebnf_tables.hpp:89:9: error: narrowing conversion of '-3' from 'int' to 'char' inside { } [-Wnarrowing] }; ^ /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/ebnf_tables.hpp:93:9: error: narrowing conversion of '-7' from 'int' to 'char' inside { } [-Wnarrowing] }; ^ /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/ebnf_tables.hpp:107:9: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] }; ^ In file included from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/generator.hpp:12:0, from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:46: /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp: In instantiation of 'id_type parsertl::basic_rules::push(const string&, const string&) [with T = char; id_type = short unsigned int; parsertl::basic_rules::string = std::basic_string]': /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:907:3: required from 'void _parser_push(zend_execute_data*, zval*, zend_class_entry*) [with parser_obj_type = ze_parle_parser_obj; zend_execute_data = _zend_execute_data; zval = _zval_struct; zend_class_entry = _zend_class_entry]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:916:84: required from here /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:293:17: warning: enumeration value 'rule_idx' not handled in switch [-Wswitch] switch (static_cast(results_.entry.param)) ^~~~~~ /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:293:17: warning: enumeration value 'rhs_or_1_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:293:17: warning: enumeration value 'rhs_list_1_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:293:17: warning: enumeration value 'prec_empty_idx' not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:49:0: /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/parse.hpp: In instantiation of 'bool parsertl::parse(const sm_type&, iterator&, parsertl::basic_match_results&) [with sm_type = parsertl::basic_state_machine; iterator = parle::lexer::iterator<__gnu_cxx::__normal_iterator >, lexertl::basic_state_machine, lexertl::match_results<__gnu_cxx::__normal_iterator > >, parle::lexer::lexer, parle::lexer::token_cb, short unsigned int>]': /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:958:3: required from 'void _parser_validate(zend_execute_data*, zval*, zend_class_entry*, zend_class_entry*) [with parser_obj_type = ze_parle_parser_obj; lexer_obj_type = ze_parle_lexer_obj; zend_execute_data = _zend_execute_data; zval = _zval_struct; zend_class_entry = _zend_class_entry]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:969:123: required from here /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/parse.hpp:21:9: warning: enumeration value 'accept' not handled in switch [-Wswitch] switch (results_.entry.action) ^~~~~~ /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/parse.hpp: In instantiation of 'bool parsertl::parse(const sm_type&, iterator&, parsertl::basic_match_results&) [with sm_type = parsertl::basic_state_machine; iterator = parle::lexer::iterator<__gnu_cxx::__normal_iterator >, lexertl::basic_state_machine, lexertl::recursive_match_results<__gnu_cxx::__normal_iterator > >, parle::lexer::rlexer, parle::lexer::token_cb, short unsigned int>]': /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:958:3: required from 'void _parser_validate(zend_execute_data*, zval*, zend_class_entry*, zend_class_entry*) [with parser_obj_type = ze_parle_rparser_obj; lexer_obj_type = ze_parle_rlexer_obj; zend_execute_data = _zend_execute_data; zval = _zval_struct; zend_class_entry = _zend_class_entry]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:976:127: required from here /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/parse.hpp:21:9: warning: enumeration value 'accept' not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/generator.hpp:12:0, from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:46: /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp: In instantiation of 'void parsertl::basic_rules::push_production(const string&, const string&) [with T = char; id_type = short unsigned int; parsertl::basic_rules::string = std::basic_string]': /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:480:24: required from 'id_type parsertl::basic_rules::push(const string&, const string&) [with T = char; id_type = short unsigned int; parsertl::basic_rules::string = std::basic_string]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:907:3: required from 'void _parser_push(zend_execute_data*, zval*, zend_class_entry*) [with parser_obj_type = ze_parle_parser_obj; zend_execute_data = _zend_execute_data; zval = _zval_struct; zend_class_entry = _zend_class_entry]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:916:84: required from here /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'rule_idx' not handled in switch [-Wswitch] switch (static_cast(results_.entry.param)) ^~~~~~ /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'rhs_or_1_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'rhs_or_2_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'opt_list_1_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'opt_list_2_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'opt_list_3_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'rhs_list_1_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'rhs_list_2_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'optional_1_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'optional_2_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'zom_1_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'zom_2_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'oom_1_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'oom_2_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'bracketed_idx' not handled in switch [-Wswitch] /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:946:17: warning: enumeration value 'prec_empty_idx' not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:46:0: /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/generator.hpp: In instantiation of 'static void parsertl::basic_generator::fill_entry(const rules&, const size_t_pair_vector&, const string_vector&, parsertl::basic_generator::entry&, std::size_t, const entry&, std::string*) [with rules = parsertl::basic_rules; id_type = short unsigned int; parsertl::size_t_pair_vector = std::vector >; parsertl::basic_generator::string_vector = std::vector, std::allocator > >; parsertl::basic_generator::entry = parsertl::basic_state_machine::entry; std::size_t = unsigned int; std::string = std::basic_string]': /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/generator.hpp:517:27: required from 'static void parsertl::basic_generator::build_table(const rules&, const dfa&, const prod_vector&, const nt_info_vector&, parsertl::basic_generator::sm&, std::string*) [with rules = parsertl::basic_rules; id_type = short unsigned int; parsertl::dfa = std::deque; parsertl::basic_generator::prod_vector = std::vector >::prod, std::allocator >::prod> >; parsertl::nt_info_vector = std::vector; parsertl::basic_generator::sm = parsertl::basic_state_machine; std::string = std::basic_string]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/generator.hpp:69:20: required from 'static void parsertl::basic_generator::build(rules&, parsertl::basic_generator::sm&, std::string*) [with rules = parsertl::basic_rules; id_type = short unsigned int; parsertl::basic_generator::sm = parsertl::basic_state_machine; std::string = std::basic_string]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:872:34: required from 'void _parser_build(zend_execute_data*, zval*, zend_class_entry*) [with parser_obj_type = ze_parle_parser_obj; zend_execute_data = _zend_execute_data; zval = _zval_struct; zend_class_entry = _zend_class_entry]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:881:85: required from here /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/generator.hpp:785:21: warning: enumeration value 'token' not handled in switch [-Wswitch] switch (lhs_assoc_) ^~~~~~ /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/generator.hpp:785:21: warning: enumeration value 'right' not handled in switch [-Wswitch] In file included from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/lexertl14/lexertl/generator.hpp:15:0, from /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:39: /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/lexertl14/lexertl/parser/parser.hpp: In instantiation of 'void lexertl::detail::basic_parser::eol(lexertl::detail::basic_parser::token_stack&, lexertl::detail::basic_parser::id_type&) [with rules_char_type = char; sm_traits = lexertl::basic_sm_traits; lexertl::detail::basic_parser::token_stack = std::stack, std::default_delete > >, std::deque, std::default_delete > >, std::allocator, std::default_delete > > > > >; typename sm_traits::input_char_type = char; lexertl::detail::basic_parser::id_type = short unsigned int]': /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/lexertl14/lexertl/parser/parser.hpp:261:16: required from 'void lexertl::detail::basic_parser::reduce(lexertl::detail::basic_parser::id_type&) [with rules_char_type = char; sm_traits = lexertl::basic_sm_traits; lexertl::detail::basic_parser::id_type = short unsigned int]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/lexertl14/lexertl/parser/parser.hpp:121:27: required from 'lexertl::detail::basic_node* lexertl::detail::basic_parser::parse(const token_vector&, lexertl::detail::basic_parser::id_type, lexertl::detail::basic_parser::id_type, lexertl::detail::basic_parser::id_type, lexertl::detail::basic_parser::id_type, bool, std::size_t, lexertl::detail::basic_parser::id_type&, bool) [with rules_char_type = char; sm_traits = lexertl::basic_sm_traits; lexertl::observer_ptr > = lexertl::detail::basic_node*; typename sm_traits::id_type = short unsigned int; lexertl::detail::basic_parser::token_vector = std::vector, std::allocator > >; typename sm_traits::input_char_type = char; lexertl::detail::basic_parser::id_type = short unsigned int; std::size_t = unsigned int]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/lexertl14/lexertl/generator.hpp:109:15: required from 'static typename lexertl::detail::basic_parser::node* lexertl::basic_generator::build_tree(const rules&, std::size_t, lexertl::basic_generator::node_ptr_vector&, lexertl::basic_generator::charset_map&, lexertl::basic_generator::id_type&) [with rules = lexertl::basic_rules; sm = lexertl::basic_state_machine; char_traits = lexertl::basic_char_traits; lexertl::observer_ptr::node> = lexertl::detail::basic_node*; typename lexertl::detail::basic_parser::node = lexertl::detail::basic_node; std::size_t = unsigned int; lexertl::basic_generator::node_ptr_vector = std::vector, std::default_delete > >, std::allocator, std::default_delete > > > >; lexertl::basic_generator::charset_map = std::map, short unsigned int, std::less >, std::allocator, short unsigned int> > >; lexertl::basic_generator::id_type = short unsigned int]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/lexertl14/lexertl/generator.hpp:65:54: required from 'static void lexertl::basic_generator::build(const rules&, sm&) [with rules = lexertl::basic_rules; sm = lexertl::basic_state_machine; char_traits = lexertl::basic_char_traits]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/parsertl14/parsertl/rules.hpp:140:31: required from 'parsertl::basic_rules::basic_rules(std::size_t) [with T = char; id_type = short unsigned int; std::size_t = unsigned int]' /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/parle.cpp:168:26: required from here /builddir/build/BUILD/php74-php-pecl-parle-0.8.2/NTS/lib/lexertl14/lexertl/parser/parser.hpp:394:25: warning: promoted ~unsigned is always non-zero [-Wsign-compare] if (temp_nl_id_ != ~static_cast(0)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:192: parle.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.OnhqDn (%build) Bad exit status from /var/tmp/rpm-tmp.OnhqDn (%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-parle.spec