Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/PyPAM.spec'], False, '/srv/build/7/D/mock-root/c7.00.03-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/PyPAM.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/PyPAM-0.5.0-19.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/PyPAM.spec'], False, '/srv/build/7/D/mock-root/c7.00.03-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/PyPAM.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jE2Hex + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyPAM-0.5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyPAM-0.5.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyPAM-0.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (PyPAM-dlopen.patch):' Patch #0 (PyPAM-dlopen.patch): + /usr/bin/cat /builddir/build/SOURCES/PyPAM-dlopen.patch + /usr/bin/patch -p1 -b --suffix .dlopen --fuzz=0 patching file PAMmodule.c + echo 'Patch #1 (PyPAM-0.5.0-dealloc.patch):' Patch #1 (PyPAM-0.5.0-dealloc.patch): + /usr/bin/cat /builddir/build/SOURCES/PyPAM-0.5.0-dealloc.patch + /usr/bin/patch -p1 -b --suffix .dealloc --fuzz=0 patching file PAMmodule.c + echo 'Patch #2 (PyPAM-0.5.0-nofree.patch):' Patch #2 (PyPAM-0.5.0-nofree.patch): + /usr/bin/cat /builddir/build/SOURCES/PyPAM-0.5.0-nofree.patch + /usr/bin/patch -p1 -b --suffix .nofree --fuzz=0 patching file PAMmodule.c + echo 'Patch #3 (PyPAM-0.5.0-memory-errors.patch):' Patch #3 (PyPAM-0.5.0-memory-errors.patch): + /usr/bin/cat /builddir/build/SOURCES/PyPAM-0.5.0-memory-errors.patch + /usr/bin/patch -p1 -b --suffix .memory --fuzz=0 patching file PAMmodule.c Patch #4 (PyPAM-0.5.0-return-value.patch): + echo 'Patch #4 (PyPAM-0.5.0-return-value.patch):' + /usr/bin/cat /builddir/build/SOURCES/PyPAM-0.5.0-return-value.patch + /usr/bin/patch -p1 -b --suffix .retval --fuzz=0 patching file PAMmodule.c + rm -rf build dist + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UmMOFw + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing' + /usr/bin/python setup.py build running build running build_ext building 'PAMmodule' extension creating build creating build/temp.linux-x86_64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c PAMmodule.c -o build/temp.linux-x86_64-2.7/PAMmodule.o -std=c99 In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from PAMmodule.c:14: /usr/include/python2.7/pyconfig-64.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default] #define _POSIX_C_SOURCE 200112L ^ In file included from /usr/include/unistd.h:25:0, from /usr/include/security/pam_client.h:16, from /usr/include/security/pam_misc.h:7, from PAMmodule.c:13: /usr/include/features.h:168:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L ^ In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from PAMmodule.c:14: /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] #define _XOPEN_SOURCE 600 ^ In file included from /usr/include/unistd.h:25:0, from /usr/include/security/pam_client.h:16, from /usr/include/security/pam_misc.h:7, from PAMmodule.c:13: /usr/include/features.h:170:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ PAMmodule.c:10:13: warning: 'revision' defined but not used [-Wunused-variable] static char revision[] = "$Id: PAMmodule.c,v 1.3 2007/04/18 03:55:11 rob Exp $"; ^ creating build/lib.linux-x86_64-2.7 gcc -pthread -shared -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing build/temp.linux-x86_64-2.7/PAMmodule.o -L/usr/lib64 -lpam -lpam_misc -lpython2.7 -o build/lib.linux-x86_64-2.7/PAMmodule.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XDRiVw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64 + cd PyPAM-0.5.0 + rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64 + /usr/bin/python setup.py install --root=/builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64 running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr creating /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/PAMmodule.so -> /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/lib64/python2.7/site-packages/PyPAM-0.5.0-py2.7.egg-info + chmod 644 examples/pamtest.py + rm -f examples/pamexample + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/PyPAM-0.5.0 extracting debug info from /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/lib64/python2.7/site-packages/PAMmodule.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 38 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/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/lib64/python2.7/ using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: PyPAM-0.5.0-19.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1bNULx + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/share/doc/PyPAM-0.5.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/share/doc/PyPAM-0.5.0 + cp -pr AUTHORS /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/share/doc/PyPAM-0.5.0 + cp -pr NEWS /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/share/doc/PyPAM-0.5.0 + cp -pr README /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/share/doc/PyPAM-0.5.0 + cp -pr ChangeLog /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/share/doc/PyPAM-0.5.0 + cp -pr COPYING /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/share/doc/PyPAM-0.5.0 + cp -pr INSTALL /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/share/doc/PyPAM-0.5.0 + cp -pr examples /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64/usr/share/doc/PyPAM-0.5.0 + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/PAMmodule.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: PyPAM = 0.5.0-19.el7 PyPAM(x86-64) = 0.5.0-19.el7 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.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpam_misc.so.0()(64bit) libpam_misc.so.0(LIBPAM_MISC_1.0)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: PyPAM-debuginfo-0.5.0-19.el7.x86_64 Provides: PyPAM-debuginfo = 0.5.0-19.el7 PyPAM-debuginfo(x86-64) = 0.5.0-19.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64 Wrote: /builddir/build/RPMS/PyPAM-0.5.0-19.el7.x86_64.rpm Wrote: /builddir/build/RPMS/PyPAM-debuginfo-0.5.0-19.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YON6CC + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->