Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/PyPAM.spec'], chrootPath='/var/lib/mock/f33-build-292150-54811/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/PyPAM-0.5.0-47.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/PyPAM.spec'], chrootPath='/var/lib/mock/f33-build-292150-54811/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YOwUKu + 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 . Patch #0 (PyPAM-dlopen.patch): + echo '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 Patch #2 (PyPAM-0.5.0-nofree.patch): + echo '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 Patch #5 (PyPAM-python3-support.patch): + echo 'Patch #5 (PyPAM-python3-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .python3 --fuzz=0 patching file PAMmodule.c patching file setup.py patching file tests/PamTest.py + rm -rf build dist + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YBvxew + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + /usr/bin/python3 setup.py build running build running build_ext building 'PAM' extension creating build creating build/temp.linux-riscv64-3.9 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -fPIC -I/usr/include/python3.9 -c PAMmodule.c -o build/temp.linux-riscv64-3.9/PAMmodule.o -std=c99 PAMmodule.c: In function ‘PyPAM_conv’: PAMmodule.c:90:5: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations] 90 | respList = PyEval_CallObject(self->callback, args); | ^~~~~~~~ In file included from /usr/include/python3.9/Python.h:145, from PAMmodule.c:14: /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: PAMmodule.c:10:13: warning: ‘revision’ defined but not used [-Wunused-variable] 10 | static char revision[] = "$Id: PAMmodule.c,v 1.3 2007/04/18 03:55:11 rob Exp $"; | ^~~~~~~~ creating build/lib.linux-riscv64-3.9 gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing build/temp.linux-riscv64-3.9/PAMmodule.o -L/usr/lib64 -lpam -lpam_misc -o build/lib.linux-riscv64-3.9/PAM.cpython-39-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UHDe7w + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64 + cd PyPAM-0.5.0 + /usr/bin/python3 setup.py install --root=/builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64 running install running build running build_ext running install_lib creating /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr creating /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/lib64/python3.9/site-packages copying build/lib.linux-riscv64-3.9/PAM.cpython-39-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/lib64/python3.9/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/lib64/python3.9/site-packages/PyPAM-0.5.0-py3.9.egg-info + 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-47.fc33 --unique-debug-suffix -0.5.0-47.fc33.riscv64 --unique-debug-src-base PyPAM-0.5.0-47.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/PyPAM-0.5.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/lib64/python3.9/site-packages/PAM.cpython-39-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/lib64/python3.9/site-packages/PAM.cpython-39-riscv64-linux-gnu.so original debug info size: 148kB, size after compression: 148kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 42 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RoJ8Mv + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 ++ uname -m + PYTHONPATH=build/lib.linux-riscv64-3.9/ + /usr/bin/python3 tests/PamTest.py ...... ---------------------------------------------------------------------- Ran 6 tests in 0.038s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-PyPAM-0.5.0-47.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NK22qv + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/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-47.fc33.riscv64/usr/share/doc/python3-PyPAM + cp -pr AUTHORS /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/share/doc/python3-PyPAM + cp -pr NEWS /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/share/doc/python3-PyPAM + cp -pr README /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/share/doc/python3-PyPAM + cp -pr ChangeLog /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/share/doc/python3-PyPAM + cp -pr INSTALL /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/share/doc/python3-PyPAM + cp -pr examples /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/share/doc/python3-PyPAM + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BxLPGx + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/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-47.fc33.riscv64/usr/share/licenses/python3-PyPAM + cp -pr COPYING /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64/usr/share/licenses/python3-PyPAM + RPM_EC=0 ++ jobs -p + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python3.9/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-47.fc33 python3-PyPAM(riscv-64) = 0.5.0-47.fc33 python3.9dist(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-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(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) python(abi) = 3.9 rtld(GNU_HASH) Processing files: PyPAM-debugsource-0.5.0-47.fc33.riscv64 Provides: PyPAM-debugsource = 0.5.0-47.fc33 PyPAM-debugsource(riscv-64) = 0.5.0-47.fc33 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-47.fc33.riscv64 warning: Deprecated external dependency generator is used! warning: Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python3.9/site-packages/PAM*.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Deprecated external dependency generator is used! Provides: debuginfo(build-id) = 6f7991f2a40fa1c550d9fe887c5c58ea9bc582bd python3-PyPAM-debuginfo = 0.5.0-47.fc33 python3-PyPAM-debuginfo(riscv-64) = 0.5.0-47.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: PyPAM-debugsource(riscv-64) = 0.5.0-47.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64 Wrote: /builddir/build/RPMS/python3-PyPAM-debuginfo-0.5.0-47.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-PyPAM-0.5.0-47.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/PyPAM-debugsource-0.5.0-47.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.A8Fkmx + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-47.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0