Mock Version: 2.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/PyPAM.spec'], chrootPath='/var/lib/mock/1303930-epel-8-x86_64-1584044406.603809/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4tlg_0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4tlg_0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd2a5a0f12d8544528009630fa3c09fbf', '-D', '/var/lib/mock/1303930-epel-8-x86_64-1584044406.603809/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4tlg_0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/PyPAM.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/PyPAM-0.5.0-19.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/PyPAM.spec'], chrootPath='/var/lib/mock/1303930-epel-8-x86_64-1584044406.603809/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4tlg_0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4tlg_0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b23b5b343a7440308b5990efdbc85399', '-D', '/var/lib/mock/1303930-epel-8-x86_64-1584044406.603809/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vp4tlg_0:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/PyPAM.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0j8hMQ + 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 -xof - + 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/patch --no-backup-if-mismatch -p1 -b --suffix .dlopen --fuzz=0 patching file PAMmodule.c Patch #1 (PyPAM-0.5.0-dealloc.patch): + echo 'Patch #1 (PyPAM-0.5.0-dealloc.patch):' + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 -b --suffix .nofree --fuzz=0 patching file PAMmodule.c Patch #3 (PyPAM-0.5.0-memory-errors.patch): + echo 'Patch #3 (PyPAM-0.5.0-memory-errors.patch):' + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -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.X6QeuO + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing' + /usr/bin/python2 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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, from /usr/include/python2.7/Python.h:8, from PAMmodule.c:14: /usr/include/python2.7/pyconfig-64.h:1229: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/unistd.h:25, from /usr/include/security/pam_client.h:16, from /usr/include/security/pam_misc.h:7, from PAMmodule.c:13: /usr/include/features.h:265: 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, from /usr/include/python2.7/Python.h:8, from PAMmodule.c:14: /usr/include/python2.7/pyconfig-64.h:1251: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/unistd.h:25, from /usr/include/security/pam_client.h:16, from /usr/include/security/pam_misc.h:7, from PAMmodule.c:13: /usr/include/features.h:202: 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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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.AN8sXM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64 + cd PyPAM-0.5.0 + rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64 + /usr/bin/python2 setup.py install --root=/builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64 running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr creating /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.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.el8.x86_64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.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 -j2 --strict-build-id -m -i --build-id-seed 0.5.0-19.el8 --unique-debug-suffix -0.5.0-19.el8.x86_64 --unique-debug-src-base PyPAM-0.5.0-19.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/PyPAM-0.5.0 extracting debug info from /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/lib64/python2.7/site-packages/PAMmodule.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 38 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 Bytecompiling .py files below /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: PyPAM-0.5.0-19.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eayRfM + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/share/doc/PyPAM + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/share/doc/PyPAM + cp -pr AUTHORS /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/share/doc/PyPAM + cp -pr NEWS /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/share/doc/PyPAM + cp -pr README /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/share/doc/PyPAM + cp -pr ChangeLog /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/share/doc/PyPAM + cp -pr COPYING /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/share/doc/PyPAM + cp -pr INSTALL /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/share/doc/PyPAM + cp -pr examples /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64/usr/share/doc/PyPAM + 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 " warning: Deprecated external dependency generator is used! 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 " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: PyPAM = 0.5.0-19.el8 PyPAM(x86-64) = 0.5.0-19.el8 python2.7dist(pypam) = 0.5.0 python2dist(pypam) = 0.5.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-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.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam_misc.so.0()(64bit) libpam_misc.so.0(LIBPAM_MISC_1.0)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: PyPAM-debugsource-0.5.0-19.el8.x86_64 warning: Deprecated external dependency generator is used! Provides: PyPAM-debugsource = 0.5.0-19.el8 PyPAM-debugsource(x86-64) = 0.5.0-19.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: PyPAM-debuginfo-0.5.0-19.el8.x86_64 warning: Deprecated external dependency generator is used! 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 " Provides: PyPAM-debuginfo = 0.5.0-19.el8 PyPAM-debuginfo(x86-64) = 0.5.0-19.el8 debuginfo(build-id) = ad73b45f50b0ddfb999a03fbfe7d876372a58081 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: PyPAM-debugsource(x86-64) = 0.5.0-19.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64 Wrote: /builddir/build/RPMS/PyPAM-0.5.0-19.el8.x86_64.rpm Wrote: /builddir/build/RPMS/PyPAM-debugsource-0.5.0-19.el8.x86_64.rpm Wrote: /builddir/build/RPMS/PyPAM-debuginfo-0.5.0-19.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ei5grP + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-19.el8.x86_64 + exit 0 Child return code was: 0