Mock Version: 1.1.35 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/php-pecl-gnupg.spec'], False, '/var/lib/mock/epel-6-x86_64-mockbuilder-1635/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/php-pecl-gnupg.spec'] with env {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} sh: /opt/rh/php54/root/usr/bin/php: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/php54-php-pecl-gnupg-1.3.3-3.el6.src.rpm warning: Could not canonicalize hostname: i-00004ea0 Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/php-pecl-gnupg.spec'], False, '/var/lib/mock/epel-6-x86_64-mockbuilder-1635/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/php-pecl-gnupg.spec'] with env {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Wm5Yfc + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf php54-php-pecl-gnupg-1.3.3 + /bin/mkdir -p php54-php-pecl-gnupg-1.3.3 + cd php54-php-pecl-gnupg-1.3.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/gnupg-1.3.3.tgz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + cat + mv gnupg-1.3.3 NTS + cd NTS Patch #0 (gnupg-svn.patch): + echo 'Patch #0 (gnupg-svn.patch):' + /bin/cat /builddir/build/SOURCES/gnupg-svn.patch + /usr/bin/patch -p3 -b --suffix .svn --fuzz=0 patching file php_gnupg.h patching file gnupg.c ++ sed -n '/#define PHP_GNUPG_VERSION/{s/.* "//;s/".*$//;p}' php_gnupg.h Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RMzSEs + extver=1.3.3 + test x1.3.3 '!=' x1.3.3 + cd .. + exit 0 + umask 022 + cd /builddir/build/BUILD + cd php54-php-pecl-gnupg-1.3.3 + LANG=C + export LANG + unset DISPLAY + export PHP_RPATH=no + PHP_RPATH=no + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -DGNUPG_PATH='\''"/usr/bin/gpg"'\''' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -DGNUPG_PATH='\''"/usr/bin/gpg"'\''' + cd NTS + /opt/rh/php54/root/usr/bin/phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -DGNUPG_PATH='\''"/usr/bin/gpg"'\''' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/opt/rh/php54/root/usr/lib64/gfortran/modules' + export FFLAGS + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/opt/rh/php54/root/usr --exec-prefix=/opt/rh/php54/root/usr --bindir=/opt/rh/php54/root/usr/bin --sbindir=/opt/rh/php54/root/usr/sbin --sysconfdir=/opt/rh/php54/root/etc --datadir=/opt/rh/php54/root/usr/share --includedir=/opt/rh/php54/root/usr/include --libdir=/opt/rh/php54/root/usr/lib64 --libexecdir=/opt/rh/php54/root/usr/libexec --localstatedir=/opt/rh/php54/root/var --sharedstatedir=/opt/rh/php54/root/usr/com --mandir=/opt/rh/php54/root/usr/share/man --infodir=/opt/rh/php54/root/usr/share/info --with-libdir=lib64 --with-php-config=/opt/rh/php54/root/usr/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for x86_64-redhat-linux-gnu-cc... no checking for x86_64-redhat-linux-gnu-gcc... no checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for PHP prefix... /opt/rh/php54/root/usr checking for PHP includes... -I/opt/rh/php54/root/usr/include/php -I/opt/rh/php54/root/usr/include/php/main -I/opt/rh/php54/root/usr/include/php/TSRM -I/opt/rh/php54/root/usr/include/php/Zend -I/opt/rh/php54/root/usr/include/php/ext -I/opt/rh/php54/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/php54/root/usr/lib64/php/modules checking for PHP installed headers prefix... /opt/rh/php54/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no checking for gawk... gawk checking for gnupg support... yes, shared checking for gnupg files in default path... found in /usr/include configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gpgme_check_version in -lgpgme... yes checking for gpg... /usr/bin/gpg checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /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... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok 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 (/usr/bin/ld -m elf_x86_64) 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 + make -j3 /bin/sh /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/include -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/main -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS -I/opt/rh/php54/root/usr/include/php -I/opt/rh/php54/root/usr/include/php/main -I/opt/rh/php54/root/usr/include/php/TSRM -I/opt/rh/php54/root/usr/include/php/Zend -I/opt/rh/php54/root/usr/include/php/ext -I/opt/rh/php54/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -DGNUPG_PATH='"/usr/bin/gpg"' -c /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/gnupg.c -o gnupg.lo /bin/sh /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/include -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/main -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS -I/opt/rh/php54/root/usr/include/php -I/opt/rh/php54/root/usr/include/php/main -I/opt/rh/php54/root/usr/include/php/TSRM -I/opt/rh/php54/root/usr/include/php/Zend -I/opt/rh/php54/root/usr/include/php/ext -I/opt/rh/php54/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -DGNUPG_PATH='"/usr/bin/gpg"' -c /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/gnupg_keylistiterator.c -o gnupg_keylistiterator.lo libtool: compile: cc -I. -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/include -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/main -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS -I/opt/rh/php54/root/usr/include/php -I/opt/rh/php54/root/usr/include/php/main -I/opt/rh/php54/root/usr/include/php/TSRM -I/opt/rh/php54/root/usr/include/php/Zend -I/opt/rh/php54/root/usr/include/php/ext -I/opt/rh/php54/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -DGNUPG_PATH=\"/usr/bin/gpg\" -c /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/gnupg_keylistiterator.c -fPIC -DPIC -o .libs/gnupg_keylistiterator.o libtool: compile: cc -I. -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/include -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/main -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS -I/opt/rh/php54/root/usr/include/php -I/opt/rh/php54/root/usr/include/php/main -I/opt/rh/php54/root/usr/include/php/TSRM -I/opt/rh/php54/root/usr/include/php/Zend -I/opt/rh/php54/root/usr/include/php/ext -I/opt/rh/php54/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -DGNUPG_PATH=\"/usr/bin/gpg\" -c /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/gnupg.c -fPIC -DPIC -o .libs/gnupg.o /bin/sh /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/include -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/main -I/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS -I/opt/rh/php54/root/usr/include/php -I/opt/rh/php54/root/usr/include/php/main -I/opt/rh/php54/root/usr/include/php/TSRM -I/opt/rh/php54/root/usr/include/php/Zend -I/opt/rh/php54/root/usr/include/php/ext -I/opt/rh/php54/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -DGNUPG_PATH='"/usr/bin/gpg"' -o gnupg.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/modules gnupg.lo gnupg_keylistiterator.lo -L/usr/include/lib -lgpgme libtool: link: cc -shared .libs/gnupg.o .libs/gnupg_keylistiterator.o -L/usr/include/lib -lgpgme -m64 -mtune=generic -Wl,-soname -Wl,gnupg.so -o .libs/gnupg.so libtool: link: ( cd ".libs" && rm -f "gnupg.la" && ln -s "../gnupg.la" "gnupg.la" ) /bin/sh /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/libtool --mode=install cp ./gnupg.la /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/modules libtool: install: cp ./.libs/gnupg.so /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/modules/gnupg.so libtool: install: cp ./.libs/gnupg.lai /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/modules/gnupg.la libtool: finish: PATH="/usr/lib64/ccache:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/bin:/sbin" ldconfig -n /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS/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'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ykpUaW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64 ++ dirname /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64 + cd php54-php-pecl-gnupg-1.3.3 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64 + make install -C NTS INSTALL_ROOT=/builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64 make: Entering directory `/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS' Installing shared extensions: /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/lib64/php/modules/ make: Leaving directory `/builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS' + install -D -m 644 gnupg.ini /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/etc/php.d/gnupg.ini + install -D -m 644 package.xml /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/var/lib/pear/pkgxml/php54-php-pecl-gnupg.xml ++ grep 'role="test"' package.xml ++ sed -e 's/^.*name="//;s/".*$//' + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_0001_import.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_0001_import.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_encrypt.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_encrypt.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_encryptsign.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_encryptsign.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_export.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_export.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_keyinfo.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_keyinfo.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_listsignatures.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_listsignatures.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_sign_clear.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_sign_clear.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_sign_detach.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_sign_detach.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_sign_detach_nonarmor.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_sign_detach_nonarmor.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_sign_normal.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_sign_normal.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_sign_normal_noarmor.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_sign_normal_noarmor.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_oo_zzz_deletekey.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_oo_zzz_deletekey.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_0001_import.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_0001_import.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_encrypt.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_encrypt.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_encryptsign.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_encryptsign.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_export.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_export.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_keyinfo.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_keyinfo.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_listsignatures.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_listsignatures.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_sign_clear.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_sign_clear.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_sign_detach.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_sign_detach.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_sign_detach_nonarmor.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_sign_detach_nonarmor.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_sign_normal.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_sign_normal.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_sign_normal_noarmor.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_sign_normal_noarmor.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/gnupg_res_zzz_deletekey.phpt /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/gnupg_res_zzz_deletekey.phpt + for i in '$(grep '\''role="test"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/tests/vars.inc /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/tests/pear/gnupg/tests/vars.inc ++ grep 'role="doc"' package.xml ++ sed -e 's/^.*name="//;s/".*$//' + for i in '$(grep '\''role="doc"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/EXPERIMENTAL /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/doc/pear/gnupg/EXPERIMENTAL + for i in '$(grep '\''role="doc"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/LICENSE /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/doc/pear/gnupg/LICENSE + for i in '$(grep '\''role="doc"'\'' package.xml | sed -e '\''s/^.*name="//;s/".*$//'\'')' + install -Dpm 644 NTS/README /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/share/doc/pear/gnupg/README + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3 extracting debug info from /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/lib64/php/modules/gnupg.so 119 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/php54/root + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python /opt/rh/php54/root + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.F04Z3s + umask 022 + cd /builddir/build/BUILD + cd php54-php-pecl-gnupg-1.3.3 + unset DISPLAY + sed -e 's:GnuPG v1.%d.%d (GNU/Linux):GnuPG v%s:' -i NTS/tests/gnupg_oo_export.phpt NTS/tests/gnupg_res_export.phpt + unset GPG_AGENT_INFO + status=0 + cd NTS + : Check if build NTS extension can be loaded + /opt/rh/php54/root/usr/bin/php -n -q -d extension=/builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64/opt/rh/php54/root/usr/lib64/php/modules/gnupg.so --modules + grep gnupg gnupg + : Run upstream test suite for NTS extension + TEST_PHP_EXECUTABLE=/opt/rh/php54/root/usr/bin/php + REPORT_EXIT_STATUS=0 + NO_INTERACTION=1 + /opt/rh/php54/root/usr/bin/php run-tests.php -n -q -d extension_dir=modules -d extension=gnupg.so ===================================================================== PHP : /opt/rh/php54/root/usr/bin/php PHP_SAPI : cli PHP_VERSION : 5.4.16 ZEND_VERSION: 2.4.0 PHP_OS : Linux - Linux i-00004ea0 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 INI actual : /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS More .INIs : CWD : /builddir/build/BUILD/php54-php-pecl-gnupg-1.3.3/NTS Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2014-03-26 12:13:36 ===================================================================== TEST 1/24 [tests/gnupg_oo_0001_import.phpt] PASS import a new key into the keyring [tests/gnupg_oo_0001_import.phpt] TEST 2/24 [tests/gnupg_oo_encrypt.phpt] FAIL encrypt and decrypt a text [tests/gnupg_oo_encrypt.phpt] TEST 3/24 [tests/gnupg_oo_encryptsign.phpt] FAIL encryptsign and decryptverify a text [tests/gnupg_oo_encryptsign.phpt] TEST 4/24 [tests/gnupg_oo_export.phpt] PASS export a key [tests/gnupg_oo_export.phpt] TEST 5/24 [tests/gnupg_oo_keyinfo.phpt] PASS get keyinfo [tests/gnupg_oo_keyinfo.phpt] TEST 6/24 [tests/gnupg_oo_listsignatures.phpt] PASS list signatures [tests/gnupg_oo_listsignatures.phpt] TEST 7/24 [tests/gnupg_oo_sign_clear.phpt] FAIL sign a text with sigmode SIG_MODE_CLEAR [tests/gnupg_oo_sign_clear.phpt] TEST 8/24 [tests/gnupg_oo_sign_detach.phpt] FAIL sign a text with mode SIG_MODE_DETACH [tests/gnupg_oo_sign_detach.phpt] TEST 9/24 [tests/gnupg_oo_sign_detach_nonarmor.phpt] FAIL sign a text with mode SIG_MODE_DETACH and without armored output [tests/gnupg_oo_sign_detach_nonarmor.phpt] TEST 10/24 [tests/gnupg_oo_sign_normal.phpt] FAIL sign a text with mode SIG_MODE_NORMAL [tests/gnupg_oo_sign_normal.phpt] TEST 11/24 [tests/gnupg_oo_sign_normal_noarmor.phpt] FAIL sign a text with mode SIG_MODE_NORMAL and without armored output [tests/gnupg_oo_sign_normal_noarmor.phpt] TEST 12/24 [tests/gnupg_oo_zzz_deletekey.phpt] PASS delete a key from the keyring [tests/gnupg_oo_zzz_deletekey.phpt] TEST 13/24 [tests/gnupg_res_0001_import.phpt] PASS import a new key into the keyring [tests/gnupg_res_0001_import.phpt] TEST 14/24 [tests/gnupg_res_encrypt.phpt] FAIL encrypt and decrypt a text [tests/gnupg_res_encrypt.phpt] TEST 15/24 [tests/gnupg_res_encryptsign.phpt] FAIL encryptsign and decryptverify a text [tests/gnupg_res_encryptsign.phpt] TEST 16/24 [tests/gnupg_res_export.phpt] PASS export a key [tests/gnupg_res_export.phpt] TEST 17/24 [tests/gnupg_res_keyinfo.phpt] PASS get keyinfo [tests/gnupg_res_keyinfo.phpt] TEST 18/24 [tests/gnupg_res_listsignatures.phpt] PASS list signatures [tests/gnupg_res_listsignatures.phpt] TEST 19/24 [tests/gnupg_res_sign_clear.phpt] FAIL sign a text with sigmode SIG_MODE_CLEAR [tests/gnupg_res_sign_clear.phpt] TEST 20/24 [tests/gnupg_res_sign_detach.phpt] FAIL sign a text with mode SIG_MODE_DETACH [tests/gnupg_res_sign_detach.phpt] TEST 21/24 [tests/gnupg_res_sign_detach_nonarmor.phpt] FAIL sign a text with mode SIG_MODE_DETACH and without armored output [tests/gnupg_res_sign_detach_nonarmor.phpt] TEST 22/24 [tests/gnupg_res_sign_normal.phpt] FAIL sign a text with mode SIG_MODE_NORMAL [tests/gnupg_res_sign_normal.phpt] TEST 23/24 [tests/gnupg_res_sign_normal_noarmor.phpt] FAIL sign a text with mode SIG_MODE_NORMAL and without armored output [tests/gnupg_res_sign_normal_noarmor.phpt] TEST 24/24 [tests/gnupg_res_zzz_deletekey.phpt] PASS delete a key from the keyring [tests/gnupg_res_zzz_deletekey.phpt] ===================================================================== TIME END 2014-03-26 12:13:37 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 30 --------------------------------------------------------------------- Number of tests : 24 24 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 14 ( 58.3%) ( 58.3%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 10 ( 41.7%) ( 41.7%) --------------------------------------------------------------------- Time taken : 1 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- encrypt and decrypt a text [tests/gnupg_oo_encrypt.phpt] encryptsign and decryptverify a text [tests/gnupg_oo_encryptsign.phpt] sign a text with sigmode SIG_MODE_CLEAR [tests/gnupg_oo_sign_clear.phpt] sign a text with mode SIG_MODE_DETACH [tests/gnupg_oo_sign_detach.phpt] sign a text with mode SIG_MODE_DETACH and without armored output [tests/gnupg_oo_sign_detach_nonarmor.phpt] sign a text with mode SIG_MODE_NORMAL [tests/gnupg_oo_sign_normal.phpt] sign a text with mode SIG_MODE_NORMAL and without armored output [tests/gnupg_oo_sign_normal_noarmor.phpt] encrypt and decrypt a text [tests/gnupg_res_encrypt.phpt] encryptsign and decryptverify a text [tests/gnupg_res_encryptsign.phpt] sign a text with sigmode SIG_MODE_CLEAR [tests/gnupg_res_sign_clear.phpt] sign a text with mode SIG_MODE_DETACH [tests/gnupg_res_sign_detach.phpt] sign a text with mode SIG_MODE_DETACH and without armored output [tests/gnupg_res_sign_detach_nonarmor.phpt] sign a text with mode SIG_MODE_NORMAL [tests/gnupg_res_sign_normal.phpt] sign a text with mode SIG_MODE_NORMAL and without armored output [tests/gnupg_res_sign_normal_noarmor.phpt] ===================================================================== + exit 0 Processing files: php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64 Finding Provides: /bin/sh -c " /bin/grep -v '/opt/rh/php54/root/usr/lib64/.*\.so$' | while read FILE; do /usr/lib/rpm/rpmdeps -P ${FILE}; done | /bin/sort -u " Finding Requires: /bin/sh -c " while read FILE; do /usr/lib/rpm/rpmdeps -R ${FILE}; done | /bin/sort -u " Provides: php54-php-gnupg = 1.3.3 php54-php-gnupg(x86-64) = 1.3.3 php54-php-pecl(gnupg) = 1.3.3 php54-php-pecl(gnupg)(x86-64) = 1.3.3 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(post): /opt/rh/php54/root/usr/bin/pecl /bin/sh Requires(postun): /opt/rh/php54/root/usr/bin/pecl /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgpgme.so.11()(64bit) libgpgme.so.11(GPGME_1.0)(64bit) libgpgme.so.11(GPGME_1.1)(64bit) rtld(GNU_HASH) Processing files: php54-php-pecl-gnupg-debuginfo-1.3.3-3.el6.5.4.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64 warning: Could not canonicalize hostname: i-00004ea0 Wrote: /builddir/build/RPMS/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64.rpm Wrote: /builddir/build/RPMS/php54-php-pecl-gnupg-debuginfo-1.3.3-3.el6.5.4.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.k5Z0jp + umask 022 + cd /builddir/build/BUILD + cd php54-php-pecl-gnupg-1.3.3 + rm -rf /builddir/build/BUILDROOT/php54-php-pecl-gnupg-1.3.3-3.el6.5.4.x86_64 + exit 0 Child return code was: 0 LEAVE do -->