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/python-pysctp.spec'], chrootPath='/var/lib/mock/f33-build-130656-40893/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/python-pysctp.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=1580342400 Wrote: /builddir/build/SRPMS/python-pysctp-0.6-23.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/python-pysctp.spec'], chrootPath='/var/lib/mock/f33-build-130656-40893/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/python-pysctp.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=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DNRcTz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pysctp-0.6 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/0.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pysctp-0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir ./pysctp + cp /builddir/build/SOURCES/__init__.py . + echo 'Patch #1 (pysctp-python3-update.patch):' Patch #1 (pysctp-python3-update.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file _sctp.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VyXFjC + umask 022 + cd /builddir/build/BUILD + cd pysctp-0.6 + 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' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-riscv64-3.8 copying sctp.py -> build/lib.linux-riscv64-3.8 running build_ext building '_sctp' extension creating build/temp.linux-riscv64-3.8 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 -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 -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 -fPIC -I. -I/usr/include -I/usr/include/python3.8 -c _sctp.c -o build/temp.linux-riscv64-3.8/_sctp.o _sctp.c: In function ‘get_events’: _sctp.c:846:8: warning: unused variable ‘padding’ [-Wunused-variable] 846 | char padding[4]; // Happily overflowing here... | ^~~~~~~ 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 -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 build/temp.linux-riscv64-3.8/_sctp.o -L/usr/lib/ -L/usr/local/lib/ -L/usr/lib64 -lsctp -o build/lib.linux-riscv64-3.8/_sctp.cpython-38-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iRdT9z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64 + cd pysctp-0.6 + 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' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib64/python3.8 creating /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib64/python3.8/site-packages copying build/lib.linux-riscv64-3.8/sctp.py -> /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib64/python3.8/site-packages copying build/lib.linux-riscv64-3.8/_sctp.cpython-38-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib64/python3.8/site-packages byte-compiling /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib64/python3.8/site-packages/sctp.py to sctp.cpython-38.pyc writing byte-compilation script '/tmp/tmpum9a_re2.py' /usr/bin/python3 /tmp/tmpum9a_re2.py removing /tmp/tmpum9a_re2.py running install_data warning: install_data: setup script did not provide a directory for '_sctp.h' -- installing right in '/builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr' copying _sctp.h -> /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr running install_egg_info Writing /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib64/python3.8/site-packages/pysctp-0.6-py3.8.egg-info + rm -rfv /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/bin/__pycache__ + rm -f /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/_sctp.h + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.6-23.fc33 --unique-debug-suffix -0.6-23.fc33.riscv64 --unique-debug-src-base python-pysctp-0.6-23.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pysctp-0.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib64/python3.8/site-packages/_sctp.cpython-38-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib64/python3.8/site-packages/_sctp.cpython-38-riscv64-linux-gnu.so original debug info size: 124kB, size after compression: 124kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 94 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 /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib/debug/usr/lib64/python3.8 using /usr/bin/python3.8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/lib64/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python3-pysctp-0.6-23.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pcLP0C + umask 022 + cd /builddir/build/BUILD + cd pysctp-0.6 + DOCDIR=/builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/share/doc/python3-pysctp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/share/doc/python3-pysctp + cp -pr README /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64/usr/share/doc/python3-pysctp + RPM_EC=0 ++ jobs -p + exit 0 Provides: python3-pysctp = 0.6-23.fc33 python3-pysctp(riscv-64) = 0.6-23.fc33 python3.8dist(pysctp) = 0.6 python3dist(pysctp) = 0.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-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) libpthread.so.0()(64bit) libsctp.so.1()(64bit) libsctp.so.1(VERS_1)(64bit) python(abi) = 3.8 rtld(GNU_HASH) Processing files: python-pysctp-debugsource-0.6-23.fc33.riscv64 Provides: python-pysctp-debugsource = 0.6-23.fc33 python-pysctp-debugsource(riscv-64) = 0.6-23.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-pysctp-debuginfo-0.6-23.fc33.riscv64 Provides: debuginfo(build-id) = e03c4151bf51c3249a1497246d4186577ec70c42 python3-pysctp-debuginfo = 0.6-23.fc33 python3-pysctp-debuginfo(riscv-64) = 0.6-23.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-pysctp-debugsource(riscv-64) = 0.6-23.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64 Wrote: /builddir/build/RPMS/python-pysctp-debugsource-0.6-23.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pysctp-debuginfo-0.6-23.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pysctp-0.6-23.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6mW2Oz + umask 022 + cd /builddir/build/BUILD + cd pysctp-0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pysctp-0.6-23.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0