Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/php.spec'], False, '/var/lib/mock/centos5-rutgers-build-1309-1700/root/', None, 86400, True, 0, 73, 203, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/php.spec'] cat: /usr/include/httpd/.mmn: No such file or directory cat: /usr/include/httpd/.mmn: No such file or directory warning: Could not canonicalize hostname: omachi.rutgers.edu Building target platforms: i386 Building for target i386 Wrote: /builddir/build/SRPMS/php-5.2.13-1.ru.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/php.spec'], False, '/var/lib/mock/centos5-rutgers-build-1309-1700/root/', None, 86400, True, 0, 73, 203, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/php.spec'] Building target platforms: i386 Building for target i386 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.38833 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf php-5.2.13 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/php-5.2.13.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd php-5.2.13 ++ /usr/bin/id -u + '[' 73 = 0 ']' ++ /usr/bin/id -u + '[' 73 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (php-5.2.11-gnusrc.patch):' + patch -p1 -b --suffix .gnusrc -s Patch #1 (php-5.2.11-gnusrc.patch): + echo 'Patch #2 (php-5.2.8-install.patch):' Patch #2 (php-5.2.8-install.patch): + patch -p1 -b --suffix .install -s Patch #3 (php-5.2.4-norpath.patch): + echo 'Patch #3 (php-5.2.4-norpath.patch):' + patch -p1 -b --suffix .norpath -s + echo 'Patch #4 (php-5.2.8-phpize64.patch):' Patch #4 (php-5.2.8-phpize64.patch): + patch -p1 -b --suffix .phpize64 -s Patch #5 (php-5.2.0-includedir.patch): + echo 'Patch #5 (php-5.2.0-includedir.patch):' + patch -p1 -b --suffix .includedir -s + echo 'Patch #6 (php-5.2.4-embed.patch):' Patch #6 (php-5.2.4-embed.patch): + patch -p1 -b --suffix .embed -s Patch #7 (php-5.2.8-recode.patch): + echo 'Patch #7 (php-5.2.8-recode.patch):' + patch -p1 -b --suffix .recode -s + echo 'Patch #8 (php-5.3.0-libedit.patch):' Patch #8 (php-5.3.0-libedit.patch): + patch -p1 -b --suffix .libedit -s Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] 1 out of 1 hunk ignored -- saving rejects to file ext/readline/config.m4.rej Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] 1 out of 1 hunk ignored -- saving rejects to file ext/readline/readline.c.rej Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] 1 out of 1 hunk ignored -- saving rejects to file sapi/cli/php_cli.c.rej Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] 1 out of 1 hunk ignored -- saving rejects to file sapi/cli/php_cli_readline.c.rej error: Bad exit status from /var/tmp/rpm-tmp.38833 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.38833 (%prep) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/php.spec'] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 324, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/php.spec'] LEAVE do --> EXCEPTION RAISED