Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-systemd.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-115436-45891/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=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w2enaehx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w2enaehx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '35eced85e8ca445e903c3d04e76ae2e9', '-D', '/var/lib/mock/dist-an23-riscv64-build-115436-45891/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w2enaehx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-systemd.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-systemd-234-1.an23.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-systemd.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-115436-45891/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=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w2enaehx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w2enaehx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0b536d20ed4a4fe6b1fa973f0c6467e9', '-D', '/var/lib/mock/dist-an23-riscv64-build-115436-45891/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w2enaehx:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-systemd.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c9ji7F + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-systemd-234 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-systemd-234.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-systemd-234 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-journal-avoid-warning-about-deprecated-constant.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/0002-reader-make-PY_SSIZE_T_CLEAN.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/0003-test-make-sure-NOTIFY_SOCKET-is-unset-in-test.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/0004-python-systemd-namespaces.patch + sed -i 's/py\.test/pytest/' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QF0Sf3 + umask 022 + cd /builddir/build/BUILD + cd python-systemd-234 + make PYTHON=/usr/bin/python3 build /bin/sh: line 1: git: command not found /usr/bin/python3 setup.py build_ext running build_ext building 'systemd/_journal' extension creating build creating build/temp.linux-riscv64-3.10 creating build/temp.linux-riscv64-3.10/systemd gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/_journal.c -o build/temp.linux-riscv64-3.10/systemd/_journal.o -Werror=implicit-function-declaration gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/pyutil.c -o build/temp.linux-riscv64-3.10/systemd/pyutil.o -Werror=implicit-function-declaration creating build/lib.linux-riscv64-3.10 creating build/lib.linux-riscv64-3.10/systemd gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g build/temp.linux-riscv64-3.10/systemd/_journal.o build/temp.linux-riscv64-3.10/systemd/pyutil.o -L/usr/lib64 -lsystemd -o build/lib.linux-riscv64-3.10/systemd/_journal.cpython-310-riscv64-linux-gnu.so building 'systemd/_reader' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/_reader.c -o build/temp.linux-riscv64-3.10/systemd/_reader.o -Werror=implicit-function-declaration gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/pyutil.c -o build/temp.linux-riscv64-3.10/systemd/pyutil.o -Werror=implicit-function-declaration gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/strv.c -o build/temp.linux-riscv64-3.10/systemd/strv.o -Werror=implicit-function-declaration gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g build/temp.linux-riscv64-3.10/systemd/_reader.o build/temp.linux-riscv64-3.10/systemd/pyutil.o build/temp.linux-riscv64-3.10/systemd/strv.o -L/usr/lib64 -lsystemd -o build/lib.linux-riscv64-3.10/systemd/_reader.cpython-310-riscv64-linux-gnu.so building 'systemd/_daemon' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/_daemon.c -o build/temp.linux-riscv64-3.10/systemd/_daemon.o -Werror=implicit-function-declaration gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/pyutil.c -o build/temp.linux-riscv64-3.10/systemd/pyutil.o -Werror=implicit-function-declaration gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/util.c -o build/temp.linux-riscv64-3.10/systemd/util.o -Werror=implicit-function-declaration gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g build/temp.linux-riscv64-3.10/systemd/_daemon.o build/temp.linux-riscv64-3.10/systemd/pyutil.o build/temp.linux-riscv64-3.10/systemd/util.o -L/usr/lib64 -lsystemd -o build/lib.linux-riscv64-3.10/systemd/_daemon.cpython-310-riscv64-linux-gnu.so building 'systemd/id128' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/id128.c -o build/temp.linux-riscv64-3.10/systemd/id128.o -Werror=implicit-function-declaration gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/pyutil.c -o build/temp.linux-riscv64-3.10/systemd/pyutil.o -Werror=implicit-function-declaration gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g build/temp.linux-riscv64-3.10/systemd/id128.o build/temp.linux-riscv64-3.10/systemd/pyutil.o -L/usr/lib64 -lsystemd -o build/lib.linux-riscv64-3.10/systemd/id128.cpython-310-riscv64-linux-gnu.so building 'systemd/login' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/login.c -o build/temp.linux-riscv64-3.10/systemd/login.o -Werror=implicit-function-declaration gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/pyutil.c -o build/temp.linux-riscv64-3.10/systemd/pyutil.o -Werror=implicit-function-declaration gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 -fPIC -DPACKAGE_VERSION=\"234\" -DLIBSYSTEMD_VERSION=250 -I/usr/include/python3.10 -c systemd/strv.c -o build/temp.linux-riscv64-3.10/systemd/strv.o -Werror=implicit-function-declaration gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g build/temp.linux-riscv64-3.10/systemd/login.o build/temp.linux-riscv64-3.10/systemd/pyutil.o build/temp.linux-riscv64-3.10/systemd/strv.o -L/usr/lib64 -lsystemd -o build/lib.linux-riscv64-3.10/systemd/login.cpython-310-riscv64-linux-gnu.so /usr/bin/python3 setup.py build running build running build_py package init file 'systemd/test/__init__.py' not found (or not a regular file) copying systemd/__init__.py -> build/lib.linux-riscv64-3.10/systemd copying systemd/journal.py -> build/lib.linux-riscv64-3.10/systemd copying systemd/daemon.py -> build/lib.linux-riscv64-3.10/systemd creating build/lib.linux-riscv64-3.10/systemd/test copying systemd/test/test_daemon.py -> build/lib.linux-riscv64-3.10/systemd/test copying systemd/test/test_journal.py -> build/lib.linux-riscv64-3.10/systemd/test copying systemd/test/test_login.py -> build/lib.linux-riscv64-3.10/systemd/test running build_ext + make PYTHON=/usr/bin/python3 SPHINX_BUILD=sphinx-build-3 sphinx-html /bin/sh: line 1: git: command not found /usr/bin/python3 setup.py build_ext running build_ext /usr/bin/python3 setup.py build running build running build_py package init file 'systemd/test/__init__.py' not found (or not a regular file) running build_ext PYTHONPATH=build/lib.linux-riscv64-3.10 sphinx-build-3 -b html -D version=234 -D release=234 docs build/html Running Sphinx v4.4.0 making output directory... done loading intersphinx inventory from http://docs.python.org/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due to : HTTPConnectionPool(host='docs.python.org', port=80): Max retries exceeded with url: /objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) building [mo]: targets for 0 po files that are out of date building [html]: targets for 5 source files that are out of date updating environment: [new config] 5 added, 0 changed, 0 removed reading sources... [ 20%] daemon reading sources... [ 40%] id128 reading sources... [ 60%] index reading sources... [ 80%] journal reading sources... [100%] login looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 20%] daemon writing output... [ 40%] id128 writing output... [ 60%] index writing output... [ 80%] journal writing output... [100%] login generating indices... genindex py-modindex done highlighting module code... [ 10%] _reader highlighting module code... [ 20%] journal highlighting module code... [ 30%] login highlighting module code... [ 40%] systemd._daemon highlighting module code... [ 50%] systemd._journal highlighting module code... [ 60%] systemd._reader highlighting module code... [ 70%] systemd.daemon highlighting module code... [ 80%] systemd.id128 highlighting module code... [ 90%] systemd.journal highlighting module code... [100%] systemd.login writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 1 warning. The HTML pages are in build/html. Output has been generated in build/html + rm -r build/html/.buildinfo build/html/.doctrees + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3a9ZSF + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64 + cd python-systemd-234 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64 'INSTALL=/usr/bin/install -p' PYTHON=/usr/bin/python3 /bin/sh: line 1: git: command not found /usr/bin/python3 setup.py install --skip-build --root /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64 running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr creating /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages creating /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd copying build/lib.linux-riscv64-3.10/systemd/login.cpython-310-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd creating /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/__pycache__ copying build/lib.linux-riscv64-3.10/systemd/__pycache__/journal.cpython-310.pyc -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/__pycache__ copying build/lib.linux-riscv64-3.10/systemd/__pycache__/daemon.cpython-310.pyc -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/__pycache__ copying build/lib.linux-riscv64-3.10/systemd/__pycache__/__init__.cpython-310.pyc -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/__pycache__ copying build/lib.linux-riscv64-3.10/systemd/daemon.py -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd copying build/lib.linux-riscv64-3.10/systemd/_journal.cpython-310-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd creating /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/test copying build/lib.linux-riscv64-3.10/systemd/test/test_daemon.py -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/test copying build/lib.linux-riscv64-3.10/systemd/test/test_login.py -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/test copying build/lib.linux-riscv64-3.10/systemd/test/test_journal.py -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/test copying build/lib.linux-riscv64-3.10/systemd/_reader.cpython-310-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd copying build/lib.linux-riscv64-3.10/systemd/__init__.py -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd copying build/lib.linux-riscv64-3.10/systemd/journal.py -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd copying build/lib.linux-riscv64-3.10/systemd/_daemon.cpython-310-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd copying build/lib.linux-riscv64-3.10/systemd/id128.cpython-310-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd byte-compiling /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/test/test_daemon.py to test_daemon.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/test/test_login.py to test_login.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd/test/test_journal.py to test_journal.cpython-310.pyc running install_egg_info running egg_info creating systemd_python.egg-info writing systemd_python.egg-info/PKG-INFO writing dependency_links to systemd_python.egg-info/dependency_links.txt writing top-level names to systemd_python.egg-info/top_level.txt writing manifest file 'systemd_python.egg-info/SOURCES.txt' package init file 'systemd/test/__init__.py' not found (or not a regular file) reading manifest file 'systemd_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'docs/__pycache__/*' adding license file 'LICENSE.txt' writing manifest file 'systemd_python.egg-info/SOURCES.txt' Copying systemd_python.egg-info to /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/lib64/python3.10/site-packages/systemd_python-234-py3.10.egg-info running install_scripts + mkdir -p '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}' + cp -rv build/html '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/' 'build/html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html' 'build/html/daemon.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/daemon.html' 'build/html/_sources' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_sources' 'build/html/_sources/daemon.rst.txt' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_sources/daemon.rst.txt' 'build/html/_sources/id128.rst.txt' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_sources/id128.rst.txt' 'build/html/_sources/index.rst.txt' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_sources/index.rst.txt' 'build/html/_sources/journal.rst.txt' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_sources/journal.rst.txt' 'build/html/_sources/login.rst.txt' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_sources/login.rst.txt' 'build/html/id128.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/id128.html' 'build/html/index.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/index.html' 'build/html/journal.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/journal.html' 'build/html/login.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/login.html' 'build/html/genindex.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/genindex.html' 'build/html/py-modindex.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/py-modindex.html' 'build/html/_modules' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_modules' 'build/html/_modules/systemd' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_modules/systemd' 'build/html/_modules/systemd/daemon.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_modules/systemd/daemon.html' 'build/html/_modules/systemd/journal.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_modules/systemd/journal.html' 'build/html/_modules/index.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_modules/index.html' 'build/html/search.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/search.html' 'build/html/_static' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static' 'build/html/_static/pygments.css' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/pygments.css' 'build/html/_static/plus.png' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/plus.png' 'build/html/_static/searchtools.js' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/searchtools.js' 'build/html/_static/documentation_options.js' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/documentation_options.js' 'build/html/_static/jquery.js' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/jquery.js' 'build/html/_static/doctools.js' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/doctools.js' 'build/html/_static/underscore-1.13.1.js' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/underscore-1.13.1.js' 'build/html/_static/file.png' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/file.png' 'build/html/_static/language_data.js' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/language_data.js' 'build/html/_static/basic.css' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/basic.css' 'build/html/_static/jquery-3.5.1.js' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/jquery-3.5.1.js' 'build/html/_static/underscore.js' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/underscore.js' 'build/html/_static/minus.png' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/minus.png' 'build/html/_static/sidebar.js' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/sidebar.js' 'build/html/_static/classic.css' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/classic.css' 'build/html/_static/default.css' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/default.css' 'build/html/_static/conf.py' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/conf.py' 'build/html/_static/login.rst' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/login.rst' 'build/html/_static/journal.rst' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/journal.rst' 'build/html/_static/layout.html' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/layout.html' 'build/html/_static/id128.rst' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/id128.rst' 'build/html/_static/index.rst' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/index.rst' 'build/html/_static/daemon.rst' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/daemon.rst' 'build/html/searchindex.js' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/searchindex.js' 'build/html/objects.inv' -> '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/objects.inv' + ln -vsf /usr/share/javascript/jquery/latest/jquery.min.js '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/jquery.js' '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/html/_static/jquery.js' -> '/usr/share/javascript/jquery/latest/jquery.min.js' + cp -p README.md NEWS '/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64%{_pkgdocdir}/' + /usr/lib/rpm/brp-compress /usr + /usr/lib/rpm/brp-elfperms + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-remove-la-files Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zSGLeR + umask 022 + cd /builddir/build/BUILD + cd python-systemd-234 + test -f /run/systemd/journal/stdout + sed -i 's/--doctest[^ ]*//g' pytest.ini + make PYTHON=/usr/bin/python3 check /bin/sh: line 1: git: command not found /usr/bin/python3 setup.py build_ext running build_ext /usr/bin/python3 setup.py build running build running build_py package init file 'systemd/test/__init__.py' not found (or not a regular file) running build_ext (cd build/lib.linux-riscv64-3.10 && /usr/bin/python3 -m pytest . ../../docs -v) ============================= test session starts ============================== platform linux -- Python 3.10.2, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-systemd-234, configfile: pytest.ini collecting ... collected 51 items systemd/test/test_daemon.py::test_booted PASSED [ 1%] systemd/test/test_daemon.py::test__is_fifo PASSED [ 3%] systemd/test/test_daemon.py::test__is_fifo_file PASSED [ 5%] systemd/test/test_daemon.py::test__is_fifo_bad_fd PASSED [ 7%] systemd/test/test_daemon.py::test_is_fifo PASSED [ 9%] systemd/test/test_daemon.py::test_is_fifo_file PASSED [ 11%] systemd/test/test_daemon.py::test_is_fifo_bad_fd PASSED [ 13%] systemd/test/test_daemon.py::test_no_mismatch PASSED [ 15%] systemd/test/test_daemon.py::test_is_socket PASSED [ 17%] systemd/test/test_daemon.py::test_is_socket_sockaddr PASSED [ 19%] systemd/test/test_daemon.py::test__is_socket PASSED [ 21%] systemd/test/test_daemon.py::test_is_socket_unix PASSED [ 23%] systemd/test/test_daemon.py::test__is_socket_unix PASSED [ 25%] systemd/test/test_daemon.py::test_listen_fds_no_fds PASSED [ 27%] systemd/test/test_daemon.py::test_listen_fds PASSED [ 29%] systemd/test/test_daemon.py::test_listen_fds_default_unset PASSED [ 31%] systemd/test/test_daemon.py::test_notify_no_socket PASSED [ 33%] systemd/test/test_daemon.py::test_notify_bad_socket PASSED [ 35%] systemd/test/test_daemon.py::test_notify_with_socket PASSED [ 37%] systemd/test/test_journal.py::test_priorities PASSED [ 39%] systemd/test/test_journal.py::test_journalhandler_init_exception PASSED [ 41%] systemd/test/test_journal.py::test_journalhandler_init PASSED [ 43%] systemd/test/test_journal.py::test_journalhandler_info PASSED [ 45%] systemd/test/test_journal.py::test_journalhandler_no_message_id PASSED [ 47%] systemd/test/test_journal.py::test_journalhandler_message_id_on_handler PASSED [ 49%] systemd/test/test_journal.py::test_journalhandler_message_id_on_handler_hex PASSED [ 50%] systemd/test/test_journal.py::test_journalhandler_message_id_on_message PASSED [ 52%] systemd/test/test_journal.py::test_journalhandler_message_id_on_message_hex PASSED [ 54%] systemd/test/test_journal.py::test_reader_init_flags PASSED [ 56%] systemd/test/test_journal.py::test_reader_os_root PASSED [ 58%] systemd/test/test_journal.py::test_reader_init_path PASSED [ 60%] systemd/test/test_journal.py::test_reader_init_path_invalid_fd PASSED [ 62%] systemd/test/test_journal.py::test_reader_init_path_nondirectory_fd PASSED [ 64%] systemd/test/test_journal.py::test_reader_init_path_fd PASSED [ 66%] systemd/test/test_journal.py::test_reader_as_cm PASSED [ 68%] systemd/test/test_journal.py::test_reader_messageid_match PASSED [ 70%] systemd/test/test_journal.py::test_reader_this_boot PASSED [ 72%] systemd/test/test_journal.py::test_reader_this_machine PASSED [ 74%] systemd/test/test_journal.py::test_reader_query_unique PASSED [ 76%] systemd/test/test_journal.py::test_reader_enumerate_fields PASSED [ 78%] systemd/test/test_journal.py::test_reader_has_runtime_files PASSED [ 80%] systemd/test/test_journal.py::test_reader_has_persistent_files PASSED [ 82%] systemd/test/test_journal.py::test_reader_converters PASSED [ 84%] systemd/test/test_journal.py::test_reader_convert_entry PASSED [ 86%] systemd/test/test_journal.py::test_seek_realtime PASSED [ 88%] systemd/test/test_journal.py::test_journal_stream SKIPPED [ 90%] systemd/test/test_login.py::test_seats PASSED [ 92%] systemd/test/test_login.py::test_sessions PASSED [ 94%] systemd/test/test_login.py::test_machine_names PASSED [ 96%] systemd/test/test_login.py::test_uids PASSED [ 98%] systemd/test/test_login.py::test_monitor SKIPPED [100%] ======================== 49 passed, 2 skipped in 4.00s ========================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-systemd-234-1.an23.riscv64 error: File must begin with "/": %{_pkgdocdir}/html Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iZcusl + umask 022 + cd /builddir/build/BUILD + cd python-systemd-234 + DOCDIR=/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/share/doc/python3-systemd-234 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/share/doc/python3-systemd-234 + cp -pr '%{_pkgdocdir}' /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/share/doc/python3-systemd-234 cp: cannot stat '%{_pkgdocdir}': No such file or directory + : + RPM_EC=0 ++ jobs -p + exit 0 error: File not found by glob: /builddir/build/BUILD/python-systemd-234/%{_pkgdocdir} Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.IXBqgC + umask 022 + cd /builddir/build/BUILD + cd python-systemd-234 + LICENSEDIR=/builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/share/licenses/python3-systemd-234 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/share/licenses/python3-systemd-234 + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-systemd-234-1.an23.riscv64/usr/share/licenses/python3-systemd-234 + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: File must begin with "/": %{_pkgdocdir}/html File not found by glob: /builddir/build/BUILD/python-systemd-234/%{_pkgdocdir} Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 0b536d20ed4a4fe6b1fa973f0c6467e9 -D /var/lib/mock/dist-an23-riscv64-build-115436-45891/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.w2enaehx:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-systemd.spec