Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/php-facedetect.spec'], False, '/var/lib/mock/dist-5E-epel-build-578085-83377/root/', None, 86400, True, 0, 101, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/php-facedetect.spec'] sh: php-config: command not found error: Macro %php_extdir has empty body warning: Could not canonicalize hostname: x86-7.fedora.phx.redhat.com Building target platforms: i386 Building for target i386 Wrote: /builddir/build/SRPMS/php-facedetect-1.0.0-2.el5.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/php-facedetect.spec'], False, '/var/lib/mock/dist-5E-epel-build-578085-83377/root/', None, 86400, True, 0, 101, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/php-facedetect.spec'] Building target platforms: i386 Building for target i386 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.70167 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf facedetect-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/facedetect-1.0.0.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd facedetect-1.0.0 ++ /usr/bin/id -u + '[' 101 = 0 ']' ++ /usr/bin/id -u + '[' 101 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + /bin/cat + sed -i 's/\r//' CREDITS + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.70167 + umask 022 + cd /builddir/build/BUILD + cd facedetect-1.0.0 + LANG=C + export LANG + unset DISPLAY + phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20050922 Zend Extension Api No: 220051025 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export FFLAGS ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /bin/rm -f ./config.sub ++ basename ./config.sub + /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub `/usr/lib/rpm/redhat/config.sub' -> `./config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /bin/rm -f ./config.guess ++ basename ./config.guess + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess `/usr/lib/rpm/redhat/config.guess' -> `./config.guess' + ./configure --build=i386-redhat-linux-gnu --host=i386-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --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=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for i386-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether gcc and cc understand -c and -o together... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i386-redhat-linux-gnu checking host system type... i386-redhat-linux-gnu checking target system type... i386-redhat-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 checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking for re2c... no configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for facedetect support... yes, shared checking for facedetect in default path... found in /usr checking how to run the C preprocessor... gcc -E 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 opencv/cv.h usability... yes checking opencv/cv.h presence... yes checking for opencv/cv.h... yes checking opencv/cvver.h usability... yes checking opencv/cvver.h presence... yes checking for opencv/cvver.h... yes checking opencv/highgui.h usability... yes checking opencv/highgui.h presence... yes checking for opencv/highgui.h... yes checking for cvLoad in -lcv... yes checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i386-redhat-linux-gnu-g++... no checking for i386-redhat-linux-gnu-c++... no checking for i386-redhat-linux-gnu-gpp... no checking for i386-redhat-linux-gnu-aCC... no checking for i386-redhat-linux-gnu-CC... no checking for i386-redhat-linux-gnu-cxx... no checking for i386-redhat-linux-gnu-cc++... no checking for i386-redhat-linux-gnu-cl... no checking for i386-redhat-linux-gnu-FCC... no checking for i386-redhat-linux-gnu-KCC... no checking for i386-redhat-linux-gnu-RCC... no checking for i386-redhat-linux-gnu-xlC_r... no checking for i386-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for i386-redhat-linux-gnu-g77... no checking for i386-redhat-linux-gnu-f77... no checking for i386-redhat-linux-gnu-xlf... no checking for i386-redhat-linux-gnu-frt... no checking for i386-redhat-linux-gnu-pgf77... no checking for i386-redhat-linux-gnu-fort77... no checking for i386-redhat-linux-gnu-fl32... no checking for i386-redhat-linux-gnu-af77... no checking for i386-redhat-linux-gnu-f90... no checking for i386-redhat-linux-gnu-xlf90... no checking for i386-redhat-linux-gnu-pgf90... no checking for i386-redhat-linux-gnu-epcf90... no checking for i386-redhat-linux-gnu-f95... no checking for i386-redhat-linux-gnu-fort... no checking for i386-redhat-linux-gnu-xlf95... no checking for i386-redhat-linux-gnu-ifc... no checking for i386-redhat-linux-gnu-efc... no checking for i386-redhat-linux-gnu-pgf95... no checking for i386-redhat-linux-gnu-lf95... no checking for i386-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for i386-redhat-linux-gnu-ar... no checking for ar... ar checking for i386-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i386-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc 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 libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool configure: creating ./config.status config.status: creating config.h + make -j4 /bin/sh /builddir/build/BUILD/facedetect-1.0.0/libtool --mode=compile gcc -I. -I/builddir/build/BUILD/facedetect-1.0.0 -DPHP_ATOM_INC -I/builddir/build/BUILD/facedetect-1.0.0/include -I/builddir/build/BUILD/facedetect-1.0.0/main -I/builddir/build/BUILD/facedetect-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -c /builddir/build/BUILD/facedetect-1.0.0/facedetect.c -o facedetect.lo mkdir .libs gcc -I. -I/builddir/build/BUILD/facedetect-1.0.0 -DPHP_ATOM_INC -I/builddir/build/BUILD/facedetect-1.0.0/include -I/builddir/build/BUILD/facedetect-1.0.0/main -I/builddir/build/BUILD/facedetect-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -c /builddir/build/BUILD/facedetect-1.0.0/facedetect.c -fPIC -DPIC -o .libs/facedetect.o /builddir/build/BUILD/facedetect-1.0.0/facedetect.c: In function 'zm_info_facedetect': /builddir/build/BUILD/facedetect-1.0.0/facedetect.c:56: warning: implicit declaration of function 'php_info_print_table_start' /builddir/build/BUILD/facedetect-1.0.0/facedetect.c:57: warning: implicit declaration of function 'php_info_print_table_row' /builddir/build/BUILD/facedetect-1.0.0/facedetect.c:60: warning: implicit declaration of function 'php_info_print_table_end' /bin/sh /builddir/build/BUILD/facedetect-1.0.0/libtool --mode=link gcc -DPHP_ATOM_INC -I/builddir/build/BUILD/facedetect-1.0.0/include -I/builddir/build/BUILD/facedetect-1.0.0/main -I/builddir/build/BUILD/facedetect-1.0.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -o facedetect.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/facedetect-1.0.0/modules facedetect.lo -lcxcore -lhighgui -lcvaux -lcv gcc -shared .libs/facedetect.o -lcxcore -lhighgui -lcvaux -lcv -m32 -march=i386 -mtune=generic -Wl,-soname -Wl,facedetect.so -o .libs/facedetect.so creating facedetect.la (cd .libs && rm -f facedetect.la && ln -s ../facedetect.la facedetect.la) /bin/sh /builddir/build/BUILD/facedetect-1.0.0/libtool --mode=install cp ./facedetect.la /builddir/build/BUILD/facedetect-1.0.0/modules cp ./.libs/facedetect.so /builddir/build/BUILD/facedetect-1.0.0/modules/facedetect.so cp ./.libs/facedetect.lai /builddir/build/BUILD/facedetect-1.0.0/modules/facedetect.la PATH="$PATH:/sbin" ldconfig -n /builddir/build/BUILD/facedetect-1.0.0/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/facedetect-1.0.0/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. (It is safe to ignore warnings about tempnam and tmpnam). + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.41763 + umask 022 + cd /builddir/build/BUILD + cd facedetect-1.0.0 + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild + make install INSTALL_ROOT=/var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild 'INSTALL=install -p' Installing shared extensions: /var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild/usr/lib/php/modules/ + install -p -D -m0644 facedetect.ini /var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild/etc/php.d/facedetect.ini + /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/facedetect-1.0.0 extracting debug info from /var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild/usr/lib/php/modules/facedetect.so 7 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/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: php-facedetect-1.0.0-2.el5 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.41763 + umask 022 + cd /builddir/build/BUILD + cd facedetect-1.0.0 + DOCDIR=/var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild/usr/share/doc/php-facedetect-1.0.0 + export DOCDIR + rm -rf /var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild/usr/share/doc/php-facedetect-1.0.0 + /bin/mkdir -p /var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild/usr/share/doc/php-facedetect-1.0.0 + cp -pr CREDITS /var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild/usr/share/doc/php-facedetect-1.0.0 + exit 0 Provides: config(php-facedetect) = 1.0.0-2.el5 facedetect.so Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: config(php-facedetect) = 1.0.0-2.el5 libc.so.6 libc.so.6(GLIBC_2.1.3) libcv.so.1 libcvaux.so.1 libcxcore.so.1 libhighgui.so.1 php-api = 20041225 rtld(GNU_HASH) Processing files: php-facedetect-debuginfo-1.0.0-2.el5 Provides: facedetect.so.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild warning: Could not canonicalize hostname: x86-7.fedora.phx.redhat.com Wrote: /builddir/build/RPMS/php-facedetect-1.0.0-2.el5.i386.rpm Wrote: /builddir/build/RPMS/php-facedetect-debuginfo-1.0.0-2.el5.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.47666 + umask 022 + cd /builddir/build/BUILD + cd facedetect-1.0.0 + rm -rf /var/tmp/php-facedetect-1.0.0-2.el5-root-mockbuild + exit 0 Child returncode was: 0 LEAVE do -->