Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-systemd.spec'], chrootPath='/var/lib/mock/inferit-8_8-build-17141-23083/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=86400uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r4r05khk:/etc/resolv.conf', '--bind=/dev/mapper/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.r4r05khk:/etc/resolv.conf', '--bind=/dev/mapper/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', '7cef9182861b4226a2a198a2772db97d', '-D', '/var/lib/mock/inferit-8_8-build-17141-23083/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r4r05khk:/etc/resolv.conf', '--bind=/dev/mapper/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 --noclean --target x86_64 --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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-systemd-234-8.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-systemd.spec'], chrootPath='/var/lib/mock/inferit-8_8-build-17141-23083/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=86400uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r4r05khk:/etc/resolv.conf', '--bind=/dev/mapper/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.r4r05khk:/etc/resolv.conf', '--bind=/dev/mapper/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', '81a957c72d0540978d22190cf65a1f01', '-D', '/var/lib/mock/inferit-8_8-build-17141-23083/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r4r05khk:/etc/resolv.conf', '--bind=/dev/mapper/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 --noclean --target x86_64 --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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LnjLWD + 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 . + sed -i 's/py\.test/pytest/' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.khf2rG + umask 022 + cd /builddir/build/BUILD + cd python-systemd-234 + make PYTHON=/usr/libexec/platform-python build fatal: not a git repository (or any of the parent directories): .git /usr/libexec/platform-python setup.py build_ext running build_ext building 'systemd/_journal' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/systemd gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/_journal.c -o build/temp.linux-x86_64-3.6/systemd/_journal.o -Werror=implicit-function-declaration gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/pyutil.c -o build/temp.linux-x86_64-3.6/systemd/pyutil.o -Werror=implicit-function-declaration creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/systemd gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g build/temp.linux-x86_64-3.6/systemd/_journal.o build/temp.linux-x86_64-3.6/systemd/pyutil.o -L/usr/lib64 -lsystemd -lpython3.6m -o build/lib.linux-x86_64-3.6/systemd/_journal.cpython-36m-x86_64-linux-gnu.so building 'systemd/_reader' extension gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/_reader.c -o build/temp.linux-x86_64-3.6/systemd/_reader.o -Werror=implicit-function-declaration gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/pyutil.c -o build/temp.linux-x86_64-3.6/systemd/pyutil.o -Werror=implicit-function-declaration gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/strv.c -o build/temp.linux-x86_64-3.6/systemd/strv.o -Werror=implicit-function-declaration gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g build/temp.linux-x86_64-3.6/systemd/_reader.o build/temp.linux-x86_64-3.6/systemd/pyutil.o build/temp.linux-x86_64-3.6/systemd/strv.o -L/usr/lib64 -lsystemd -lpython3.6m -o build/lib.linux-x86_64-3.6/systemd/_reader.cpython-36m-x86_64-linux-gnu.so building 'systemd/_daemon' extension gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/_daemon.c -o build/temp.linux-x86_64-3.6/systemd/_daemon.o -Werror=implicit-function-declaration gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/pyutil.c -o build/temp.linux-x86_64-3.6/systemd/pyutil.o -Werror=implicit-function-declaration gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/util.c -o build/temp.linux-x86_64-3.6/systemd/util.o -Werror=implicit-function-declaration gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g build/temp.linux-x86_64-3.6/systemd/_daemon.o build/temp.linux-x86_64-3.6/systemd/pyutil.o build/temp.linux-x86_64-3.6/systemd/util.o -L/usr/lib64 -lsystemd -lpython3.6m -o build/lib.linux-x86_64-3.6/systemd/_daemon.cpython-36m-x86_64-linux-gnu.so building 'systemd/id128' extension gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/id128.c -o build/temp.linux-x86_64-3.6/systemd/id128.o -Werror=implicit-function-declaration gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/pyutil.c -o build/temp.linux-x86_64-3.6/systemd/pyutil.o -Werror=implicit-function-declaration gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g build/temp.linux-x86_64-3.6/systemd/id128.o build/temp.linux-x86_64-3.6/systemd/pyutil.o -L/usr/lib64 -lsystemd -lpython3.6m -o build/lib.linux-x86_64-3.6/systemd/id128.cpython-36m-x86_64-linux-gnu.so building 'systemd/login' extension gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/login.c -o build/temp.linux-x86_64-3.6/systemd/login.o -Werror=implicit-function-declaration gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/pyutil.c -o build/temp.linux-x86_64-3.6/systemd/pyutil.o -Werror=implicit-function-declaration gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPACKAGE_VERSION="234" -DLIBSYSTEMD_VERSION=239 -I/usr/include/python3.6m -c systemd/strv.c -o build/temp.linux-x86_64-3.6/systemd/strv.o -Werror=implicit-function-declaration gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g build/temp.linux-x86_64-3.6/systemd/login.o build/temp.linux-x86_64-3.6/systemd/pyutil.o build/temp.linux-x86_64-3.6/systemd/strv.o -L/usr/lib64 -lsystemd -lpython3.6m -o build/lib.linux-x86_64-3.6/systemd/login.cpython-36m-x86_64-linux-gnu.so /usr/libexec/platform-python 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-x86_64-3.6/systemd copying systemd/journal.py -> build/lib.linux-x86_64-3.6/systemd copying systemd/daemon.py -> build/lib.linux-x86_64-3.6/systemd creating build/lib.linux-x86_64-3.6/systemd/test copying systemd/test/test_daemon.py -> build/lib.linux-x86_64-3.6/systemd/test copying systemd/test/test_journal.py -> build/lib.linux-x86_64-3.6/systemd/test copying systemd/test/test_login.py -> build/lib.linux-x86_64-3.6/systemd/test package init file 'systemd/test/__init__.py' not found (or not a regular file) running build_ext + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lPkutF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64 + cd python-systemd-234 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64 'INSTALL=/usr/bin/install -p' PYTHON=/usr/libexec/platform-python fatal: not a git repository (or any of the parent directories): .git /usr/libexec/platform-python setup.py install --skip-build --root /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages creating /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd copying build/lib.linux-x86_64-3.6/systemd/_journal.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd copying build/lib.linux-x86_64-3.6/systemd/_reader.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd copying build/lib.linux-x86_64-3.6/systemd/_daemon.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd copying build/lib.linux-x86_64-3.6/systemd/id128.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd copying build/lib.linux-x86_64-3.6/systemd/login.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd copying build/lib.linux-x86_64-3.6/systemd/__init__.py -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd copying build/lib.linux-x86_64-3.6/systemd/journal.py -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd copying build/lib.linux-x86_64-3.6/systemd/daemon.py -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd creating /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/test copying build/lib.linux-x86_64-3.6/systemd/test/test_daemon.py -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/test copying build/lib.linux-x86_64-3.6/systemd/test/test_journal.py -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/test copying build/lib.linux-x86_64-3.6/systemd/test/test_login.py -> /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/test byte-compiling /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/journal.py to journal.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/daemon.py to daemon.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/test/test_daemon.py to test_daemon.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/test/test_journal.py to test_journal.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/test/test_login.py to test_login.cpython-36.pyc running install_egg_info Writing /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd_python-234-py3.6.egg-info + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 234-8.el8 --unique-debug-suffix -234-8.el8.x86_64 --unique-debug-src-base python-systemd-234-8.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/python-systemd-234 extracting debug info from /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/_daemon.cpython-36m-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/_journal.cpython-36m-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/id128.cpython-36m-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/_reader.cpython-36m-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6/site-packages/systemd/login.cpython-36m-x86_64-linux-gnu.so /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 202 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib64/python3.6 using /usr/libexec/platform-python Bytecompiling .py files below /builddir/build/BUILDROOT/python-systemd-234-8.el8.x86_64/usr/lib/debug/usr/lib64/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.X17Gg7 + 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/libexec/platform-python check fatal: not a git repository (or any of the parent directories): .git /usr/libexec/platform-python setup.py build_ext running build_ext /usr/libexec/platform-python setup.py build running build running build_py package init file 'systemd/test/__init__.py' not found (or not a regular file) package init file 'systemd/test/__init__.py' not found (or not a regular file) running build_ext (cd build/lib.linux-x86_64-3.6 && /usr/libexec/platform-python -m pytest . ../../docs -v) ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 -- /usr/libexec/platform-python cachedir: ../../.pytest_cache rootdir: /builddir/build/BUILD/python-systemd-234, inifile: 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 FAILED [ 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%] =================================== FAILURES =================================== ____________________________ test_notify_no_socket _____________________________ def test_notify_no_socket(): > assert notify('READY=1') is False E PermissionError: [Errno 13] Permission denied systemd/test/test_daemon.py:260: PermissionError ================ 1 failed, 48 passed, 2 skipped in 0.21 seconds ================ make: *** [Makefile:60: check] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.X17Gg7 (%check) Bad exit status from /var/tmp/rpm-tmp.X17Gg7 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 81a957c72d0540978d22190cf65a1f01 -D /var/lib/mock/inferit-8_8-build-17141-23083/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.r4r05khk:/etc/resolv.conf --bind=/dev/mapper/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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-systemd.spec\n', 1)] 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 597, 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 81a957c72d0540978d22190cf65a1f01 -D /var/lib/mock/inferit-8_8-build-17141-23083/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.r4r05khk:/etc/resolv.conf --bind=/dev/mapper/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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-systemd.spec