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/python-utmp.spec'], chrootPath='/var/lib/mock/f32-build-118362-35482/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-utmp.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=1572480000 Wrote: /builddir/build/SRPMS/python-utmp-0.8.2-11.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-utmp.spec'], chrootPath='/var/lib/mock/f32-build-118362-35482/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-utmp.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=1572480000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jFAeUg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-utmp + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/python-utmp_0.8.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-utmp + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/patch-make.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kBdzsi + umask 022 + cd /builddir/build/BUILD + cd python-utmp + 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 + make -f Makefile.glibc 'DEFINES= -D_HAVE_UT_SESSION -D_HAVE_UT_ADDR_V6 -D_HAVE_UT_EXIT -D_HAVE_UT_HOST -D_HAVE_UT_ID -D_HAVE_UT_TV -D_HAVE_UT_USER -D_HAVE_UTMPNAME -D_HAVE_SETUTENT -D_HAVE_GETUTENT -D_HAVE_ENDUTENT -D_HAVE_GETUTID -D_HAVE_GETUTLINE -D_HAVE_PUTUTLINE -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' PYTHONPKGVER=3 PYTHONVER=3.8 PYTHONINCLUDE=/usr/include/python3.8/ gcc -g -Wall -I/usr/include/python3.8 -D_HAVE_UT_SESSION -D_HAVE_UT_ADDR_V6 -D_HAVE_UT_EXIT -D_HAVE_UT_HOST -D_HAVE_UT_ID -D_HAVE_UT_TV -D_HAVE_UT_USER -D_HAVE_UTMPNAME -D_HAVE_SETUTENT -D_HAVE_GETUTENT -D_HAVE_ENDUTENT -D_HAVE_GETUTID -D_HAVE_GETUTLINE -D_HAVE_PUTUTLINE -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 -c utmpaccessmodule.c BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/python3.8/Python.h:30, BUILDSTDERR: from utmpaccessmodule.c:1: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'my2system' at utmpaccessmodule.c:157:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -Wall -I/usr/include/python3.8 -D_HAVE_UT_SESSION -D_HAVE_UT_ADDR_V6 -D_HAVE_UT_EXIT -D_HAVE_UT_HOST -D_HAVE_UT_ID -D_HAVE_UT_TV -D_HAVE_UT_USER -D_HAVE_UTMPNAME -D_HAVE_SETUTENT -D_HAVE_GETUTENT -D_HAVE_ENDUTENT -D_HAVE_GETUTID -D_HAVE_GETUTLINE -D_HAVE_PUTUTLINE -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 -shared utmpaccessmodule.o -o utmpaccess.so ./makeconst.sh -g -Wall -I/usr/include/python3.8 -D_HAVE_UT_SESSION -D_HAVE_UT_ADDR_V6 -D_HAVE_UT_EXIT -D_HAVE_UT_HOST -D_HAVE_UT_ID -D_HAVE_UT_TV -D_HAVE_UT_USER -D_HAVE_UTMPNAME -D_HAVE_SETUTENT -D_HAVE_GETUTENT -D_HAVE_ENDUTENT -D_HAVE_GETUTID -D_HAVE_GETUTLINE -D_HAVE_PUTUTLINE -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 BUILDSTDERR: makeconst.c: In function 'main': BUILDSTDERR: makeconst.c:28:18: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: 28 | PRL(UT_IDSIZE); BUILDSTDERR: | ^ BUILDSTDERR: makeconst.c:6:24: note: in definition of macro 'PRL' BUILDSTDERR: 6 | #define PRL(s) printf(#s" = %i\n", s); BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iHnPCg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64 + cd python-utmp + make PYTHONDIR=/builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64//usr/lib64/python3.8/site-packages/ PYTHONVER=3.8 install mkdir -p /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64//usr/lib64/python3.8/site-packages/ cp -f utmpaccess.so utmp.py UTMPCONST.py /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64//usr/lib64/python3.8/site-packages/ + rm -f COPYING + install -D -p -m644 debian/copyright COPYING + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.8.2-11.fc32 --unique-debug-suffix -0.8.2-11.fc32.riscv64 --unique-debug-src-base python-utmp-0.8.2-11.fc32.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-utmp explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64/usr/lib64/python3.8/site-packages/utmpaccess.so extracting debug info from /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64/usr/lib64/python3.8/site-packages/utmpaccess.so original debug info size: 72kB, size after compression: 72kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 28 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 Bytecompiling .py files below /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64/usr/lib/debug/usr/lib64/python3.8 using /usr/bin/python3.8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.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-utmp-0.8.2-11.fc32.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BJS8Ig + umask 022 + cd /builddir/build/BUILD + cd python-utmp + DOCDIR=/builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64/usr/share/doc/python3-utmp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64/usr/share/doc/python3-utmp + cp -pr README /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64/usr/share/doc/python3-utmp + cp -pr TODO /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64/usr/share/doc/python3-utmp + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.I2gO1k + umask 022 + cd /builddir/build/BUILD + cd python-utmp + LICENSEDIR=/builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64/usr/share/licenses/python3-utmp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64/usr/share/licenses/python3-utmp + cp -pr COPYING /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64/usr/share/licenses/python3-utmp + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: python-utmp = 0.8.2-11.fc32 python3-utmp = 0.8.2-11.fc32 python3-utmp(riscv-64) = 0.8.2-11.fc32 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) python(abi) = 3.8 rtld(GNU_HASH) Obsoletes: python-utmp < 0.8.2-11.fc32 Processing files: python-utmp-debugsource-0.8.2-11.fc32.riscv64 Provides: python-utmp-debugsource = 0.8.2-11.fc32 python-utmp-debugsource(riscv-64) = 0.8.2-11.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-utmp-debuginfo-0.8.2-11.fc32.riscv64 Provides: debuginfo(build-id) = e07746e367a01f3b911307d56cc013ae598edb7b python3-utmp-debuginfo = 0.8.2-11.fc32 python3-utmp-debuginfo(riscv-64) = 0.8.2-11.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-utmp-debugsource(riscv-64) = 0.8.2-11.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64 Wrote: /builddir/build/RPMS/python-utmp-debugsource-0.8.2-11.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/python3-utmp-0.8.2-11.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/python3-utmp-debuginfo-0.8.2-11.fc32.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jzmXuk + umask 022 + cd /builddir/build/BUILD + cd python-utmp + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-utmp-0.8.2-11.fc32.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0