Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/pwauth.spec'], False, '/var/lib/mock/centos5-rutgers-staging-build-3969-6076/root/', None, 86400, True, 0, 487, 498, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/pwauth.spec'] warning: Building target platforms: i386 Building for target i386 Could not canonicalize hostname: opus3 Wrote: /builddir/build/SRPMS/pwauth-2.3.11-1.ru.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/pwauth.spec'], False, '/var/lib/mock/centos5-rutgers-staging-build-3969-6076/root/', None, 86400, True, 0, 487, 498, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/pwauth.spec'] Building target platforms: i386 Building for target i386 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.97553 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf pwauth-2.3.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/pwauth-2.3.11.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pwauth-2.3.11 ++ /usr/bin/id -u + '[' 487 = 0 ']' ++ /usr/bin/id -u + '[' 487 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.97553 + umask 022 + cd /builddir/build/BUILD + cd pwauth-2.3.11 + LANG=C + export LANG + unset DISPLAY + make -j2 gcc -g -c -o main.o main.c gcc -g -c -o auth_aix.o auth_aix.c gcc -g -c -o auth_bsd.o auth_bsd.c gcc -g -c -o auth_hpux.o auth_hpux.c gcc -g -c -o auth_mdw.o auth_mdw.c gcc -g -c -o auth_openbsd.o auth_openbsd.c gcc -g -c -o auth_pam.o auth_pam.c gcc -g -c -o auth_sun.o auth_sun.c gcc -g -c -o fail_log.o fail_log.c gcc -g -c -o lastlog.o lastlog.c gcc -g -c -o nologin.o nologin.c gcc -g -c -o snooze.o snooze.c gcc -o pwauth -g main.o auth_aix.o auth_bsd.o auth_hpux.o \ auth_mdw.o auth_openbsd.o auth_pam.o auth_sun.o fail_log.o \ lastlog.o nologin.o snooze.o -lcrypt + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.97553 + umask 022 + cd /builddir/build/BUILD + cd pwauth-2.3.11 + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/pwauth-2.3.11-1.ru-R24210 + install -p -m 4755 -t /var/tmp/pwauth-2.3.11-1.ru-R24210/usr/bin pwauth install: accessing `/var/tmp/pwauth-2.3.11-1.ru-R24210/usr/bin': No such file or directory RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.97553 (%install) Bad exit status from /var/tmp/rpm-tmp.97553 (%install) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/pwauth.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/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/pwauth.spec'] LEAVE do --> EXCEPTION RAISED