Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/php-libsmbclient.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-6851/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/php-libsmbclient.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False sh: /opt/rh/rh-php56/root/usr/bin/php: No such file or directory sh: /opt/rh/rh-php56/root/usr/bin/php: No such file or directory warning: Could not canonicalize hostname: copr-builder-221366987 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/more-php56-php-libsmbclient-0.7.0-1.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/php-libsmbclient.spec '], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-6851/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/php-libsmbclient.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jfMWLG + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf more-php56-php-libsmbclient-0.7.0 + /bin/mkdir -p more-php56-php-libsmbclient-0.7.0 + cd more-php56-php-libsmbclient-0.7.0 + /bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/php-libsmbclient-0.7.0-e3763f1.tgz + STATUS=0 + '[' 0 -ne 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv libsmbclient-php-e3763f178d49ba2b65260dbeba3b0453add64136 NTS + cd NTS ++ sed -n '/define LIBSMBCLIENT_VERSION/{s/.*\t"//;s/".*$//;p}' libsmbclient.c + ver=0.7.0 + test 0.7.0 '!=' 0.7.0 + cd .. + tee 40-libsmbclient.ini + cat ; Enable PHP wrapper for libsmbclient extension module extension=libsmbclient.so + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bDu5wR + umask 022 + cd /builddir/build/BUILD + cd more-php56-php-libsmbclient-0.7.0 + LANG=C + export LANG + unset DISPLAY + cd NTS + /opt/rh/rh-php56/root/usr/bin/phpize Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + 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/rh-php56/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/rh-php56/root/usr --exec-prefix=/opt/rh/rh-php56/root/usr --bindir=/opt/rh/rh-php56/root/usr/bin --sbindir=/opt/rh/rh-php56/root/usr/sbin --sysconfdir=/etc/opt/rh/rh-php56 --datadir=/opt/rh/rh-php56/root/usr/share --includedir=/opt/rh/rh-php56/root/usr/include --libdir=/opt/rh/rh-php56/root/usr/lib64 --libexecdir=/opt/rh/rh-php56/root/usr/libexec --localstatedir=/var/opt/rh/rh-php56 --sharedstatedir=/var/opt/rh/rh-php56/lib --mandir=/opt/rh/rh-php56/root/usr/share/man --infodir=/opt/rh/rh-php56/root/usr/share/info --with-php-config=/opt/rh/rh-php56/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... lib 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/rh-php56/root/usr checking for PHP includes... -I/opt/rh/rh-php56/root/usr/include/php -I/opt/rh/rh-php56/root/usr/include/php/main -I/opt/rh/rh-php56/root/usr/include/php/TSRM -I/opt/rh/rh-php56/root/usr/include/php/Zend -I/opt/rh/rh-php56/root/usr/include/php/ext -I/opt/rh/rh-php56/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/rh/rh-php56/root/usr/lib64/php/modules checking for PHP installed headers prefix... /opt/rh/rh-php56/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for libsmbclient support... yes, shared checking for libsmbclient.h in default paths... found in /usr/include checking for smbc_open in -lsmbclient... yes checking for smbc_setOptionUseNTHash in -lsmbclient... no checking for smbc_setPort in -lsmbclient... no 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... 1572864 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 -j2 /bin/sh /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/libtool --mode=compile cc -I. -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/include -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/main -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS -I/opt/rh/rh-php56/root/usr/include/php -I/opt/rh/rh-php56/root/usr/include/php/main -I/opt/rh/rh-php56/root/usr/include/php/TSRM -I/opt/rh/rh-php56/root/usr/include/php/Zend -I/opt/rh/rh-php56/root/usr/include/php/ext -I/opt/rh/rh-php56/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 -c /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/libsmbclient.c -o libsmbclient.lo libtool: compile: cc -I. -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS -DPHP_ATOM_INC -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/include -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/main -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS -I/opt/rh/rh-php56/root/usr/include/php -I/opt/rh/rh-php56/root/usr/include/php/main -I/opt/rh/rh-php56/root/usr/include/php/TSRM -I/opt/rh/rh-php56/root/usr/include/php/Zend -I/opt/rh/rh-php56/root/usr/include/php/ext -I/opt/rh/rh-php56/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 -c /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/libsmbclient.c -fPIC -DPIC -o .libs/libsmbclient.o /bin/sh /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/libtool --mode=link cc -DPHP_ATOM_INC -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/include -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/main -I/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS -I/opt/rh/rh-php56/root/usr/include/php -I/opt/rh/rh-php56/root/usr/include/php/main -I/opt/rh/rh-php56/root/usr/include/php/TSRM -I/opt/rh/rh-php56/root/usr/include/php/Zend -I/opt/rh/rh-php56/root/usr/include/php/ext -I/opt/rh/rh-php56/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 -o libsmbclient.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/modules libsmbclient.lo -lsmbclient libtool: link: cc -shared .libs/libsmbclient.o -lsmbclient -m64 -mtune=generic -Wl,-soname -Wl,libsmbclient.so -o .libs/libsmbclient.so libtool: link: ( cd ".libs" && rm -f "libsmbclient.la" && ln -s "../libsmbclient.la" "libsmbclient.la" ) /bin/sh /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/libtool --mode=install cp ./libsmbclient.la /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/modules libtool: install: cp ./.libs/libsmbclient.so /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/modules/libsmbclient.so libtool: install: cp ./.libs/libsmbclient.lai /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/modules/libsmbclient.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/bin:/sbin" ldconfig -n /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/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'. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Wnb9ri make: Entering directory `/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS' + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64 ++ dirname /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64 + cd more-php56-php-libsmbclient-0.7.0 + LANG=C + export LANG + unset DISPLAY + make -C NTS install INSTALL_ROOT=/builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64 Installing shared extensions: /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64/opt/rh/rh-php56/root/usr/lib64/php/modules/ make: Leaving directory `/builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0/NTS' + install -Dpm 644 40-libsmbclient.ini /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64/etc/opt/rh/rh-php56/php.d/40-libsmbclient.ini + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/more-php56-php-libsmbclient-0.7.0 extracting debug info from /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64/opt/rh/rh-php56/root/usr/lib64/php/modules/libsmbclient.so 128 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/rh-php56/root + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python /opt/rh/rh-php56/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.vKpP4J + umask 022 + cd /builddir/build/BUILD + cd more-php56-php-libsmbclient-0.7.0 + unset DISPLAY + : Minimal load test for NTS extension + grep libsmbclient + /opt/rh/rh-php56/root/usr/bin/php --no-php-ini --define extension=/builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64/opt/rh/rh-php56/root/usr/lib64/php/modules/libsmbclient.so --modules libsmbclient + exit 0 Processing files: more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HW57Jb + umask 022 + cd /builddir/build/BUILD + cd more-php56-php-libsmbclient-0.7.0 + DOCDIR=/builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64/opt/rh/rh-php56/root/usr/share/doc/more-php56-php-libsmbclient-0.7.0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64/opt/rh/rh-php56/root/usr/share/doc/more-php56-php-libsmbclient-0.7.0 + /bin/mkdir -p /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64/opt/rh/rh-php56/root/usr/share/doc/more-php56-php-libsmbclient-0.7.0 + cp -pr NTS/LICENSE /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64/opt/rh/rh-php56/root/usr/share/doc/more-php56-php-libsmbclient-0.7.0 + cp -pr NTS/README.md /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64/opt/rh/rh-php56/root/usr/share/doc/more-php56-php-libsmbclient-0.7.0 + exit 0 Finding Provides: /bin/sh -c " /bin/grep -v '/opt/rh/rh-php56/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 " Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libsmbclient.so.0()(64bit) rtld(GNU_HASH) Processing files: more-php56-php-libsmbclient-debuginfo-0.7.0-1.el6.5.6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64 warning: Could not canonicalize hostname: copr-builder-221366987 Wrote: /builddir/build/RPMS/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64.rpm Wrote: /builddir/build/RPMS/more-php56-php-libsmbclient-debuginfo-0.7.0-1.el6.5.6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.08XLgC + umask 022 + cd /builddir/build/BUILD + cd more-php56-php-libsmbclient-0.7.0 + /bin/rm -rf /builddir/build/BUILDROOT/more-php56-php-libsmbclient-0.7.0-1.el6.5.6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->