Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-gmagick.spec'], chrootPath='/var/lib/mock/f31-build-69582-30317/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-gmagick.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: line 16: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} BUILDSTDERR: warning: line 17: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-gmagick.spec'], chrootPath='/var/lib/mock/f31-build-69582-30317/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/php-pecl-gmagick.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eeXC1I + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-pecl-gmagick-2.0.4 + /usr/bin/mkdir -p php-pecl-gmagick-2.0.4 + cd php-pecl-gmagick-2.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/gmagick-2.0.4RC1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e7qiOI + umask 022 + cd /builddir/build/BUILD + cd php-pecl-gmagick-2.0.4 + cd gmagick-2.0.4RC1 + phpize + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-gmagick BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking BUILDSTDERR: configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' 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 riscv64-koji-linux-gnu-cc... no checking for riscv64-koji-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... no checking if compiler supports -Wl,-rpath,... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib64/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no checking for gawk... gawk checking whether to enable the gmagick extension... yes, shared checking GraphicsMagick configuration program... found in /usr/bin/GraphicsMagick-config checking GraphicsMagick version... found version 1.3.32 checking GraphicsMagick version mask... found version 1003032 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... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-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 BUILDSTDERR: checking if cc sconfigure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 upports -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 (/usr/bin/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 /bin/sh /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick_helpers.c -o gmagick_helpers.lo /bin/sh /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick_methods.c -o gmagick_methods.lo /bin/sh /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick.c -o gmagick.lo /bin/sh /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagickdraw_methods.c -o gmagickdraw_methods.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick_helpers.c -fPIC -DPIC -o .libs/gmagick_helpers.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick_methods.c -fPIC -DPIC -o .libs/gmagick_methods.o libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick.c -fPIC -DPIC -o .libs/gmagick.o BUILDSTDERR: libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-sIn file included from /usr/include/php/main/php.h:37, BUILDSTDERR: from /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/php_gmagick.h:52, BUILDSTDERR: from /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick.c:20: BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick.c:695:24: warning: 'gmagick_writeimages_args' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 695 | ZEND_BEGIN_ARG_INFO_EX(gmagick_writeimages_args, 0, 0, 2) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/php/Zend/zend_API.h:121:38: note: in definition of macro 'ZEND_BEGIN_ARG_INFO_EX' BUILDSTDERR: 121 | static const zend_internal_arg_info name[] = { \ BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick.c:594:24: warning: 'gmagick_queryfonts_args' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 594 | ZEND_BEGIN_ARG_INFO_EX(gmagick_queryfonts_args, 0, 0, 1) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/php/Zend/zend_API.h:121:38: note: in definition of macro 'ZEND_BEGIN_ARG_INFO_EX' BUILDSTDERR: 121 | static const zend_internal_arg_info name[] = { \ BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick.c:569:24: warning: 'gmagick_previewimages_args' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 569 | ZEND_BEGIN_ARG_INFO_EX(gmagick_previewimages_args, 0, 0, 1) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/php/Zend/zend_API.h:121:38: note: in definition of macro 'ZEND_BEGIN_ARG_INFO_EX' BUILDSTDERR: 121 | static const zend_internal_arg_info name[] = { \ BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick.c:565:24: warning: 'gmagick_oilpaintimage_args' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 565 | ZEND_BEGIN_ARG_INFO_EX(gmagick_oilpaintimage_args, 0, 0, 1) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/php/Zend/zend_API.h:121:38: note: in definition of macro 'ZEND_BEGIN_ARG_INFO_EX' BUILDSTDERR: 121 | static const zend_internal_arg_info name[] = { \ BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick.c:546:24: warning: 'gmagick_newpseudoimage_args' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 546 | ZEND_BEGIN_ARG_INFO_EX(gmagick_newpseudoimage_args, 0, 0, 3) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/php/Zend/zend_API.h:121:38: note: in definition of macro 'ZEND_BEGIN_ARG_INFO_EX' BUILDSTDERR: 121 | static const zend_internal_arg_info name[] = { \ BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick_methods.c: In function 'zim_gmagick_unsharpmaskimage': BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick_methods.c:4550:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4550 | if (php_gmagick_ensure_not_empty (intern->magick_wand) == 0) BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagick_methods.c:4553:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 4553 | status = MagickUnsharpMaskImage(intern->magick_wand, radius, sigma, amount, threshold); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagickpixel_methods.c: In function 'zim_gmagickpixel_getcolorvaluequantum': BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagickpixel_methods.c:333:103: warning: format '%d' expects argument of type 'int', but argument 4 has type 'zend_long' {aka 'long int'} [-Wformat=] BUILDSTDERR: 333 | zend_throw_exception_ex(php_gmagickpixel_exception_class_entry, 2 TSRMLS_CC, "Unknown color type: %d", color_quantum); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int zend_long {aka long int} BUILDSTDERR: | %ld BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagickpixel_methods.c: In function 'zim_gmagickpixel_setcolorvaluequantum': BUILDSTDERR: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagickpixel_methods.c:394:103: warning: format '%d' expects argument of type 'int', but argument 4 has type 'zend_long' {aka 'long int'} [-Wformat=] BUILDSTDERR: 394 | zend_throw_exception_ex(php_gmagickpixel_exception_class_entry, 2 TSRMLS_CC, "Unknown color type: %d", color_quantum); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int zend_long {aka long int} BUILDSTDERR: | %ld trong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagickdraw_methods.c -fPIC -DPIC -o .libs/gmagickdraw_methods.o /bin/sh /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagickpixel_methods.c -o gmagickpixel_methods.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/gmagickpixel_methods.c -fPIC -DPIC -o .libs/gmagickpixel_methods.o /bin/sh /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/include -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/main -I/builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gmagick.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/modules gmagick_helpers.lo gmagick_methods.lo gmagick.lo gmagickdraw_methods.lo gmagickpixel_methods.lo -lGraphicsMagickWand -lGraphicsMagick libtool: link: cc -shared -fPIC -DPIC .libs/gmagick_helpers.o .libs/gmagick_methods.o .libs/gmagick.o .libs/gmagickdraw_methods.o .libs/gmagickpixel_methods.o -lGraphicsMagickWand -lGraphicsMagick -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,gmagick.so -o .libs/gmagick.so libtool: link: ( cd ".libs" && rm -f "gmagick.la" && ln -s "../gmagick.la" "gmagick.la" ) BUILDSTDERR: /bin/sh /builddir/build/BUILD/php-pecl-gmagick-2+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 .0.4/gmagick-2.0.4RC1/libtool --mode=install cp ./gmagick.la /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/modules libtool: install: cp ./.libs/gmagick.so /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/modules/gmagick.so libtool: install: cp ./.libs/gmagick.lai /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/modules/gmagick.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php-pecl-gmagick-2.0.4/gmagick-2.0.4RC1/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GI2pBH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64 + cd php-pecl-gmagick-2.0.4 + cd gmagick-2.0.4RC1 + make install INSTALL_ROOT=/builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64 + install -m 0755 -d /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/var/lib/php/peclxml + install -m 0664 ../package.xml /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/var/lib/php/peclxml/gmagick.xml + install -d /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/etc/php.d/ + install -m 0664 /builddir/build/SOURCES/gmagick.ini /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/etc/php.d/40-gmagick.ini + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.0.4-0.11.RC1.fc31 --unique-debug-suffix -2.0.4-0.11.RC1.fc31.riscv64 --unique-debug-src-base php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/php-pecl-gmagick-2.0.4 BUILDSTDERR: 713 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Installing shared extensions: /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/usr/lib64/php/modules/ explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/usr/lib64/php/modules/gmagick.so extracting debug info from /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/usr/lib64/php/modules/gmagick.so original debug info size: 1020kB, size after compression: 920kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OaNyjG Processing files: php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BrfYAG + umask 022 + cd /builddir/build/BUILD + cd php-pecl-gmagick-2.0.4 + DOCDIR=/builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/usr/share/doc/php-pecl-gmagick + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/usr/share/doc/php-pecl-gmagick + cp -pr gmagick-2.0.4RC1/CONTRIBUTORS.md gmagick-2.0.4RC1/README.md /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/usr/share/doc/php-pecl-gmagick + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.F7cuLH + umask 022 + cd /builddir/build/BUILD + cd php-pecl-gmagick-2.0.4 + LICENSEDIR=/builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/usr/share/licenses/php-pecl-gmagick + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/usr/share/licenses/php-pecl-gmagick + cp -pr gmagick-2.0.4RC1/LICENSE /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64/usr/share/licenses/php-pecl-gmagick + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(php-pecl-gmagick) = 2.0.4-0.11.RC1.fc31 php-pecl(gmagick) = 2.0.4 php-pecl-gmagick = 2.0.4-0.11.RC1.fc31 php-pecl-gmagick(riscv-64) = 2.0.4-0.11.RC1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGraphicsMagick-Q16.so.3()(64bit) libGraphicsMagickWand-Q16.so.2()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Conflicts: php-magickwand php-pecl-imagick Processing files: php-pecl-gmagick-debugsource-2.0.4-0.11.RC1.fc31.riscv64 Provides: php-pecl-gmagick-debugsource = 2.0.4-0.11.RC1.fc31 php-pecl-gmagick-debugsource(riscv-64) = 2.0.4-0.11.RC1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: php-pecl-gmagick-debuginfo-2.0.4-0.11.RC1.fc31.riscv64 Provides: debuginfo(build-id) = 618570f667466d4e59038025b5b93e712ca50963 php-pecl-gmagick-debuginfo = 2.0.4-0.11.RC1.fc31 php-pecl-gmagick-debuginfo(riscv-64) = 2.0.4-0.11.RC1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: php-pecl-gmagick-debugsource(riscv-64) = 2.0.4-0.11.RC1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64 Wrote: /builddir/build/RPMS/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/php-pecl-gmagick-debugsource-2.0.4-0.11.RC1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/php-pecl-gmagick-debuginfo-2.0.4-0.11.RC1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VljFUJ + umask 022 + cd /builddir/build/BUILD + cd php-pecl-gmagick-2.0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-pecl-gmagick-2.0.4-0.11.RC1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0