Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/PyPAM.spec'], chrootPath='/var/lib/mock/f31-build-49452-27274/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=345600uid=986gid=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=1563148800 Wrote: /builddir/build/SRPMS/PyPAM-0.5.0-42.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/PyPAM.spec'], chrootPath='/var/lib/mock/f31-build-49452-27274/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=345600uid=986gid=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=1563148800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MoKmkN + 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.Is2xoQ + 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-riscv64-3.7 gcc -pthread -Wno-unused-result -Wsign-compare -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-riscv64-3.7/PAMmodule.o -std=c99 creating build/lib.linux-riscv64-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-riscv64-3.7/PAMmodule.o -L/usr/lib64 -lpam -lpam_misc -lpython3.7m -o build/lib.linux-riscv64-3.7/PAM.cpython-37m-riscv64-linux-gnu.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ewRWwQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64 + cd PyPAM-0.5.0 + /usr/bin/python3 setup.py install --root=/builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64 + 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-42.fc31 --unique-debug-suffix -0.5.0-42.fc31.riscv64 --unique-debug-src-base PyPAM-0.5.0-42.fc31.riscv64 --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/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-42.fc31.riscv64/usr creating /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/PAM.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/lib64/python3.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/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-42.fc31.riscv64/usr/lib64/python3.7/site-packages/PAM.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/lib64/python3.7/site-packages/PAM.cpython-37m-riscv64-linux-gnu.so original debug info size: 92kB, size after compression: 92kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.SDydQM Processing files: python3-PyPAM-0.5.0-42.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xK7krQ + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.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-42.fc31.riscv64/usr/share/doc/python3-PyPAM + cp -pr AUTHORS /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/share/doc/python3-PyPAM + cp -pr NEWS /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/share/doc/python3-PyPAM + cp -pr README /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/share/doc/python3-PyPAM + cp -pr ChangeLog /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/share/doc/python3-PyPAM + cp -pr INSTALL /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/share/doc/python3-PyPAM + cp -pr examples /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/usr/share/doc/python3-PyPAM + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oFcHBO + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.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-42.fc31.riscv64/usr/share/licenses/python3-PyPAM + cp -pr COPYING /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64/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-42.fc31 python3-PyPAM(riscv-64) = 0.5.0-42.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-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) libpython3.7m.so.1.0()(64bit) python(abi) = 3.7 rtld(GNU_HASH) Processing files: PyPAM-debugsource-0.5.0-42.fc31.riscv64 BUILDSTDERR: warning: Deprecated external dependency generator is used! Provides: PyPAM-debugsource = 0.5.0-42.fc31 PyPAM-debugsource(riscv-64) = 0.5.0-42.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-42.fc31.riscv64 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) = d64d73a49af631dd3ef3ea3defa22dd3c891430b python3-PyPAM-debuginfo = 0.5.0-42.fc31 python3-PyPAM-debuginfo(riscv-64) = 0.5.0-42.fc31 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-42.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64 Wrote: /builddir/build/RPMS/PyPAM-debugsource-0.5.0-42.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-PyPAM-0.5.0-42.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-PyPAM-debuginfo-0.5.0-42.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WVspxN + umask 022 + cd /builddir/build/BUILD + cd PyPAM-0.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/PyPAM-0.5.0-42.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0