Mock Version: 1.4.16 Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/PyPAM.spec'], chrootPath='/var/lib/mock/f31-build-16966546-1222948/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': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/PyPAM-0.5.0-43.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/PyPAM.spec'], chrootPath='/var/lib/mock/f31-build-16966546-1222948/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': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hDB1ER + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dlopen --fuzz=0 + echo 'Patch #1 (PyPAM-0.5.0-dealloc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dealloc --fuzz=0 + echo 'Patch #2 (PyPAM-0.5.0-nofree.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nofree --fuzz=0 + echo 'Patch #3 (PyPAM-0.5.0-memory-errors.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .memory --fuzz=0 + echo 'Patch #4 (PyPAM-0.5.0-return-value.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .retval --fuzz=0 + echo 'Patch #5 (PyPAM-python3-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .python3 --fuzz=0 + rm -rf build dist + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (PyPAM-dlopen.patch): patching file PAMmodule.c Patch #1 (PyPAM-0.5.0-dealloc.patch): patching file PAMmodule.c Patch #2 (PyPAM-0.5.0-nofree.patch): patching file PAMmodule.c Patch #3 (PyPAM-0.5.0-memory-errors.patch): patching file PAMmodule.c Patch #4 (PyPAM-0.5.0-return-value.patch): patching file PAMmodule.c Patch #5 (PyPAM-python3-support.patch): patching file PAMmodule.c patching file setup.py patching file tests/PamTest.py Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ObEh2T + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + /usr/bin/python3 setup.py build BUILDSTDERR: PAMmodule.c:10:13: warning: ‘revision’ defined but not used [-Wunused-variable] BUILDSTDERR: 10 | static char revision[] = "$Id: PAMmodule.c,v 1.3 2007/04/18 03:55:11 rob Exp $"; BUILDSTDERR: | ^~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running build running build_ext building 'PAM' extension creating build creating build/temp.linux-aarch64-3.7 gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fPIC -I/usr/include/python3.7m -c PAMmodule.c -o build/temp.linux-aarch64-3.7/PAMmodule.o -std=c99 creating build/lib.linux-aarch64-3.7 gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing build/temp.linux-aarch64-3.7/PAMmodule.o -L/usr/lib64 -lpam -lpam_misc -lpython3.7m -o build/lib.linux-aarch64-3.7/PAM.cpython-37m-aarch64-linux-gnu.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KxonTU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64 + cd PyPAM-0.5.0 + /usr/bin/python3 setup.py install --root=/builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64 + chmod 644 examples/pamtest.py + rm -f examples/pamexample + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.5.0-43.fc31 --unique-debug-suffix -0.5.0-43.fc31.aarch64 --unique-debug-src-base PyPAM-0.5.0-43.fc31.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/PyPAM-0.5.0 BUILDSTDERR: 42 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr creating /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/lib64 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/lib64/python3.7/site-packages copying build/lib.linux-aarch64-3.7/PAM.cpython-37m-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/lib64/python3.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/lib64/python3.7/site-packages/PyPAM-0.5.0-py3.7.egg-info explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/lib64/python3.7/site-packages/PAM.cpython-37m-aarch64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/lib64/python3.7/site-packages/PAM.cpython-37m-aarch64-linux-gnu.so original debug info size: 96kB, size after compression: 96kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/lib64/python3.7 using /usr/bin/python3.7 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mS928U + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 BUILDSTDERR: ++ uname -m + PYTHONPATH=build/lib.linux-aarch64-3.7/ + /usr/bin/python3 tests/PamTest.py BUILDSTDERR: ...... BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 6 tests in 0.015s BUILDSTDERR: OK + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Processing files: python3-PyPAM-0.5.0-43.fc31.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DmmxoT + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/doc/python3-PyPAM + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/doc/python3-PyPAM + cp -pr AUTHORS /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/doc/python3-PyPAM + cp -pr NEWS /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/doc/python3-PyPAM + cp -pr README /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/doc/python3-PyPAM + cp -pr ChangeLog /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/doc/python3-PyPAM + cp -pr INSTALL /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/doc/python3-PyPAM + cp -pr examples /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/doc/python3-PyPAM + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.P3H08S + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/licenses/python3-PyPAM + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/licenses/python3-PyPAM + cp -pr COPYING /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64/usr/share/licenses/python3-PyPAM + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python3.7/site-packages/PAM*.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 " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: python3-PyPAM = 0.5.0-43.fc31 python3-PyPAM(aarch-64) = 0.5.0-43.fc31 python3.7dist(pypam) = 0.5 python3dist(pypam) = 0.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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) libpython3.7m.so.1.0()(64bit) python(abi) = 3.7 rtld(GNU_HASH) Processing files: PyPAM-debugsource-0.5.0-43.fc31.aarch64 Provides: PyPAM-debugsource = 0.5.0-43.fc31 PyPAM-debugsource(aarch-64) = 0.5.0-43.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-PyPAM-debuginfo-0.5.0-43.fc31.aarch64 BUILDSTDERR: warning: Deprecated external dependency generator is used! BUILDSTDERR: warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python3.7/site-packages/PAM*.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Provides: debuginfo(build-id) = 11228a31d2aa7d5d4bc5119e30d32eca14f778f3 python3-PyPAM-debuginfo = 0.5.0-43.fc31 python3-PyPAM-debuginfo(aarch-64) = 0.5.0-43.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: PyPAM-debugsource(aarch-64) = 0.5.0-43.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64 Wrote: /builddir/build/RPMS/python3-PyPAM-0.5.0-43.fc31.aarch64.rpm Wrote: /builddir/build/RPMS/PyPAM-debugsource-0.5.0-43.fc31.aarch64.rpm Wrote: /builddir/build/RPMS/python3-PyPAM-debuginfo-0.5.0-43.fc31.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WWrFgV + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-43.fc31.aarch64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0