Mock Version: 1.2.13 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-libvirt.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-fc50629f346c00b90316fac08eff5a4568c3ee9a/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-libvirt.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php-libvirt-0.4.8-1.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/php-libvirt.spec '], chrootPath='/var/lib/mock/epel-1-armhfp-fc50629f346c00b90316fac08eff5a4568c3ee9a/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/php-libvirt.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2rhcop + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libvirt-php-0.4.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/libvirt-php-0.4.8.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libvirt-php-0.4.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Cw296I + umask 022 + cd /builddir/build/BUILD + cd libvirt-php-0.4.8 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub ++ echo /usr/share/doc/php-libvirt-0.4.8 ++ sed -e 's|^/usr/share/doc/||' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-html-dir=/usr/share/doc --with-html-subdir=php-libvirt-0.4.8/html --libdir=/usr/lib/php/modules checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for armv7hl-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking dependency style of gcc... (cached) none checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... (cached) gawk checking for armv7hl-redhat-linux-gnu-echo... no checking for echo... echo checking for armv7hl-redhat-linux-gnu-rm... no checking for rm... rm 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 LIBVIRT... yes checking for LIBXML... yes checking for xsltproc... /usr/bin/xsltproc checking for xmllint... /usr/bin/xmllint checking for xmlcatalog... /usr/bin/xmlcatalog checking for php-config... /usr/bin/php-config checking for phpize... /usr/bin/phpize configure: creating ./config.status config.status: creating Makefile config.status: creating tools/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating docs/Makefile config.status: creating libvirt-php.spec config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8' Making all in tools make[2]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/tools' gcc -Wall -o generate-api-docs generate-api-docs.c ./generate-api-docs ../src/libvirt-php.c ../docs/api-reference.html.in Documentation has been generated successfully ./generate-api-docs --private ../src/libvirt-php.c ../docs/dev-api-reference.html.in Documentation has been generated successfully make[2]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/tools' Making all in src make[2]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/src' gcc -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 -Wall -fpic -DCOMPILE_DL_LIBVIRT=1 -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 -c -o libvirt-php.o libvirt-php.c -I/usr/include/libxml2 -DHAVE_CONFIG_H libvirt-php.c: In function 'free_resource': libvirt-php.c:638:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virDomainFree( (virDomainPtr)mem ); ^ libvirt-php.c:640:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virDomainFree(%p) returned %d (%s)\n", __FUNCTION__, (virDomainPtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:644:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virDomainFree(%p) completed successfully\n", __FUNCTION__, (virDomainPtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:645:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_DOMAIN, NULL, (virDomainPtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c:650:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virNetworkFree( (virNetworkPtr)mem ); ^ libvirt-php.c:652:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virNetworkFree(%p) returned %d (%s)\n", __FUNCTION__, (virNetworkPtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:656:77: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virNetworkFree(%p) completed successfully\n", __FUNCTION__, (virNetworkPtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:657:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_NETWORK, NULL, (virNetworkPtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c:662:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virNodeDeviceFree( (virNodeDevicePtr)mem ); ^ libvirt-php.c:664:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virNodeDeviceFree(%p) returned %d (%s)\n", __FUNCTION__, (virNodeDevicePtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:668:80: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virNodeDeviceFree(%p) completed successfully\n", __FUNCTION__, (virNodeDevicePtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:669:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_NODEDEV, NULL, (virNodeDevicePtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c:674:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virStoragePoolFree( (virStoragePoolPtr)mem ); ^ libvirt-php.c:676:75: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virStoragePoolFree(%p) returned %d (%s)\n", __FUNCTION__, (virStoragePoolPtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:680:81: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virStoragePoolFree(%p) completed successfully\n", __FUNCTION__, (virStoragePoolPtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:681:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_STORAGEPOOL, NULL, (virStoragePoolPtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c:686:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virStorageVolFree( (virStorageVolPtr)mem ); ^ libvirt-php.c:688:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virStorageVolFree(%p) returned %d (%s)\n", __FUNCTION__, (virStorageVolPtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:692:80: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virStorageVolFree(%p) completed successfully\n", __FUNCTION__, (virStorageVolPtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:693:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_VOLUME, NULL, (virStorageVolPtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c:699:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virDomainSnapshotFree( (virDomainSnapshotPtr)mem ); ^ libvirt-php.c:701:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virDomainSnapshotFree(%p) returned %d (%s)\n", __FUNCTION__, (virDomainSnapshotPtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:705:84: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virDomainSnapshotFree(%p) completed successfully\n", __FUNCTION__, (virDomainSnapshotPtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:706:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_SNAPSHOT, NULL, (virDomainSnapshotPtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c: In function 'zif_libvirt_image_create': libvirt-php.c:1966:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ gcc -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 -Wall -fpic -DCOMPILE_DL_LIBVIRT=1 -c -o vncfunc.o vncfunc.c -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/libxml2 -DHAVE_CONFIG_H vncfunc.c: In function 'vnc_raw_to_bmp': vncfunc.c:638:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd2, "BM", 2); ^ vncfunc.c:669:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd2, tbuf, 4); ^ gcc -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 -Wall -fpic -DCOMPILE_DL_LIBVIRT=1 -c -o sockets.o sockets.c -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/libxml2 -DHAVE_CONFIG_H sockets.c: In function 'socket_read': sockets.c:183:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sfd, bigbuf, length); ^ sockets.c: In function 'socket_read_and_save': sockets.c:224:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, bigbuf, len); ^ sockets.c:237:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, bigbuf, len); ^ sockets.c:240:11: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, orig_len); ^ gcc -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 -Wl,-z,relro -Wall -shared -rdynamic -o libvirt-php.so vncfunc.o sockets.o libvirt-php.o -ldl -lvirt -lxml2 -lvirt echo "Extension compiled as libvirt-php.so" Extension compiled as libvirt-php.so make[2]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/src' Making all in docs make[2]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/docs' Generating api-reference.html.tmp Generating dev-api-reference.html.tmp Validating dev-api-reference.html Validating api-reference.html rm api-reference.html.tmp dev-api-reference.html.tmp make[2]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/docs' Making all in tests make[2]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/tests' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/tests' make[2]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8' make[2]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8' make[1]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cJ9mxQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm ++ dirname /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm + cd libvirt-php-0.4.8 + make install DESTDIR=/builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm Making install in tools make[1]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/tools' gcc -Wall -o generate-api-docs generate-api-docs.c ./generate-api-docs ../src/libvirt-php.c ../docs/api-reference.html.in Documentation has been generated successfully ./generate-api-docs --private ../src/libvirt-php.c ../docs/dev-api-reference.html.in Documentation has been generated successfully make[2]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/tools' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/tools' make[1]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/tools' Making install in src make[1]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/src' gcc -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 -Wall -fpic -DCOMPILE_DL_LIBVIRT=1 -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 -c -o libvirt-php.o libvirt-php.c -I/usr/include/libxml2 -DHAVE_CONFIG_H libvirt-php.c: In function 'free_resource': libvirt-php.c:638:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virDomainFree( (virDomainPtr)mem ); ^ libvirt-php.c:640:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virDomainFree(%p) returned %d (%s)\n", __FUNCTION__, (virDomainPtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:644:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virDomainFree(%p) completed successfully\n", __FUNCTION__, (virDomainPtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:645:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_DOMAIN, NULL, (virDomainPtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c:650:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virNetworkFree( (virNetworkPtr)mem ); ^ libvirt-php.c:652:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virNetworkFree(%p) returned %d (%s)\n", __FUNCTION__, (virNetworkPtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:656:77: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virNetworkFree(%p) completed successfully\n", __FUNCTION__, (virNetworkPtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:657:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_NETWORK, NULL, (virNetworkPtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c:662:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virNodeDeviceFree( (virNodeDevicePtr)mem ); ^ libvirt-php.c:664:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virNodeDeviceFree(%p) returned %d (%s)\n", __FUNCTION__, (virNodeDevicePtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:668:80: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virNodeDeviceFree(%p) completed successfully\n", __FUNCTION__, (virNodeDevicePtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:669:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_NODEDEV, NULL, (virNodeDevicePtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c:674:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virStoragePoolFree( (virStoragePoolPtr)mem ); ^ libvirt-php.c:676:75: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virStoragePoolFree(%p) returned %d (%s)\n", __FUNCTION__, (virStoragePoolPtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:680:81: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virStoragePoolFree(%p) completed successfully\n", __FUNCTION__, (virStoragePoolPtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:681:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_STORAGEPOOL, NULL, (virStoragePoolPtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c:686:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virStorageVolFree( (virStorageVolPtr)mem ); ^ libvirt-php.c:688:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virStorageVolFree(%p) returned %d (%s)\n", __FUNCTION__, (virStorageVolPtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:692:80: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virStorageVolFree(%p) completed successfully\n", __FUNCTION__, (virStorageVolPtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:693:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_VOLUME, NULL, (virStorageVolPtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c:699:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = virDomainSnapshotFree( (virDomainSnapshotPtr)mem ); ^ libvirt-php.c:701:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virDomainSnapshotFree(%p) returned %d (%s)\n", __FUNCTION__, (virDomainSnapshotPtr)mem, rv, LIBVIRT_G (last_error)); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:705:84: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DPRINTF("%s: virDomainSnapshotFree(%p) completed successfully\n", __FUNCTION__, (virDomainSnapshotPtr)mem); ^ libvirt-php.c:27:97: note: in definition of macro 'DPRINTF' do { fprintf(stderr, "[%s ", get_datetime()); fprintf(stderr, "libvirt-php/core ]: " fmt , ## __VA_ARGS__); fflush(stderr); } while (0) ^ libvirt-php.c:706:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] resource_change_counter(INT_RESOURCE_SNAPSHOT, NULL, (virDomainSnapshotPtr)mem, 0 TSRMLS_CC); ^ libvirt-php.c: In function 'zif_libvirt_image_create': libvirt-php.c:1966:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ gcc -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 -Wall -fpic -DCOMPILE_DL_LIBVIRT=1 -c -o vncfunc.o vncfunc.c -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/libxml2 -DHAVE_CONFIG_H vncfunc.c: In function 'vnc_raw_to_bmp': vncfunc.c:638:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd2, "BM", 2); ^ vncfunc.c:669:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd2, tbuf, 4); ^ gcc -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 -Wall -fpic -DCOMPILE_DL_LIBVIRT=1 -c -o sockets.o sockets.c -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/libxml2 -DHAVE_CONFIG_H sockets.c: In function 'socket_read': sockets.c:183:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sfd, bigbuf, length); ^ sockets.c: In function 'socket_read_and_save': sockets.c:224:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, bigbuf, len); ^ sockets.c:237:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, bigbuf, len); ^ sockets.c:240:11: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, orig_len); ^ gcc -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 -Wl,-z,relro -Wall -shared -rdynamic -o libvirt-php.so vncfunc.o sockets.o libvirt-php.o -ldl -lvirt -lxml2 -lvirt echo "Extension compiled as libvirt-php.so" Extension compiled as libvirt-php.so make[2]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/src' /usr/bin/install -c -m 644 -D libvirt-php.so /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/usr/lib/php/modules/libvirt-php.so /usr/bin/install -c -m 755 -d /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/etc/php.d echo "extension=libvirt-php.so" > /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/etc/php.d/libvirt-php.ini echo >> /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/etc/php.d/libvirt-php.ini echo "[libvirt]" >> /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/etc/php.d/libvirt-php.ini echo "; Path to ISO images for VM installations" >> /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/etc/php.d/libvirt-php.ini echo "libvirt.iso_path=/var/lib/libvirt/images" >> /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/etc/php.d/libvirt-php.ini echo "; Path where disk images for new VMs should be created" >> /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/etc/php.d/libvirt-php.ini echo "libvirt.image_path=/var/lib/libvirt/images" >> /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/etc/php.d/libvirt-php.ini echo "; Limit maximum number of libvirt connections" >> /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/etc/php.d/libvirt-php.ini echo "libvirt.max_connections=5" >> /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/etc/php.d/libvirt-php.ini make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/src' make[1]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/src' Making install in docs make[1]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/docs' Generating api-reference.html.tmp Validating api-reference.html Generating dev-api-reference.html.tmp Validating dev-api-reference.html make[2]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/docs' make[2]: Nothing to be done for `install-exec-am'. /bin/sh /builddir/build/BUILD/libvirt-php-0.4.8/install-sh -d /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/usr/share/doc/php-libvirt-0.4.8/html for f in generic.css libvirt.css main.css docs.html references.html examples.html contact.html downloads.html api-reference.html news.html todo.html compiling.html deployment.html index.html links.html sitemap.html distros.html contributions.html roadmap.html windows.html dev-api-reference.html graphics/32favicon.png graphics/footer_corner.png graphics/footer_pattern.png graphics/libvirt-header-bg.png graphics/libvirt-php-header-logo.png; do \ /usr/bin/install -c -m 0644 ./$f /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/usr/share/doc/php-libvirt-0.4.8/html; \ done make[2]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/docs' rm api-reference.html.tmp dev-api-reference.html.tmp make[1]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/docs' Making install in tests make[1]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/tests' make[2]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8/tests' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/tests' make[1]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8/tests' make[1]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8' make[2]: Entering directory `/builddir/build/BUILD/libvirt-php-0.4.8' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8' make[1]: Leaving directory `/builddir/build/BUILD/libvirt-php-0.4.8' + install -pm 644 COPYING /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/usr/share/doc/php-libvirt-0.4.8 + chmod +x /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/usr/lib/php/modules/libvirt-php.so + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/libvirt-php-0.4.8 extracting debug info from /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/usr/lib/php/modules/libvirt-php.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 571 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lFMR3T + umask 022 + cd /builddir/build/BUILD + cd libvirt-php-0.4.8 + : simple module load test + /usr/bin/php --no-php-ini --define extension=/builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm/usr/lib/php/modules/libvirt-php.so --modules + grep libvirt libvirt + exit 0 Processing files: php-libvirt-0.4.8-1.el7.armv7hl Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: php-libvirt = 0.4.8-1.el7 php-libvirt(armv7hl-32) = 0.4.8-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libdl.so.2 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libvirt.so.0 libvirt.so.0(LIBVIRT_0.0.3) libvirt.so.0(LIBVIRT_0.0.5) libvirt.so.0(LIBVIRT_0.1.0) libvirt.so.0(LIBVIRT_0.1.1) libvirt.so.0(LIBVIRT_0.1.5) libvirt.so.0(LIBVIRT_0.1.9) libvirt.so.0(LIBVIRT_0.2.0) libvirt.so.0(LIBVIRT_0.2.1) libvirt.so.0(LIBVIRT_0.3.0) libvirt.so.0(LIBVIRT_0.3.2) libvirt.so.0(LIBVIRT_0.4.0) libvirt.so.0(LIBVIRT_0.4.1) libvirt.so.0(LIBVIRT_0.4.2) libvirt.so.0(LIBVIRT_0.5.0) libvirt.so.0(LIBVIRT_0.6.4) libvirt.so.0(LIBVIRT_0.7.0) libvirt.so.0(LIBVIRT_0.7.1) libvirt.so.0(LIBVIRT_0.7.2) libvirt.so.0(LIBVIRT_0.7.3) libvirt.so.0(LIBVIRT_0.7.5) libvirt.so.0(LIBVIRT_0.7.7) libvirt.so.0(LIBVIRT_0.8.0) libvirt.so.0(LIBVIRT_0.8.1) libvirt.so.0(LIBVIRT_0.8.8) libvirt.so.0(LIBVIRT_0.9.2) libvirt.so.0(LIBVIRT_0.9.3) libxml2.so.2 libxml2.so.2(LIBXML2_2.4.30) libxml2.so.2(LIBXML2_2.6.0) rtld(GNU_HASH) Processing files: php-libvirt-doc-0.4.8-1.el7.noarch Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: php-libvirt-doc = 0.4.8-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Processing files: php-libvirt-debuginfo-0.4.8-1.el7.armv7hl Provides: php-libvirt-debuginfo = 0.4.8-1.el7 php-libvirt-debuginfo(armv7hl-32) = 0.4.8-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm Wrote: /builddir/build/RPMS/php-libvirt-0.4.8-1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/php-libvirt-doc-0.4.8-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/php-libvirt-debuginfo-0.4.8-1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sQc10z + umask 022 + cd /builddir/build/BUILD + cd libvirt-php-0.4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-libvirt-0.4.8-1.el7.arm + exit 0 Child return code was: 0 LEAVE do -->