Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pyparted.spec'], chrootPath='/var/lib/mock/f33-build-123086-38409/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pyparted.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=1583712000 Wrote: /builddir/build/SRPMS/pyparted-3.11.5-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pyparted.spec'], chrootPath='/var/lib/mock/f33-build-123086-38409/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pyparted.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=1583712000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AwiNbd + umask 022 + cd /builddir/build/BUILD + gpg --no-default-keyring --keyring /builddir/build/SOURCES/keyring.gpg --trustdb-name /builddir/build/SOURCES/trustdb.gpg --verify /builddir/build/SOURCES/pyparted-3.11.5.tar.gz.asc /builddir/build/SOURCES/pyparted-3.11.5.tar.gz gpg: Signature made Mon Mar 9 12:55:56 2020 EDT gpg: using RSA key 08F7C8B3C621950C138F766162977BB9C841B965 gpg: Good signature from "David Lawrence Cantrell, Jr. " [ultimate] gpg: aka "David Lawrence Cantrell, Jr. " [ultimate] gpg: aka "David Lawrence Cantrell, Jr. " [ultimate] gpg: aka "David Lawrence Cantrell, Jr. " [ultimate] + cd /builddir/build/BUILD + rm -rf pyparted-3.11.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/pyparted-3.11.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyparted-3.11.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ ls + everything='AUTHORS COPYING HACKING MANIFEST.in Makefile NEWS PKG-INFO README RELEASE TODO include setup.py src tests' + mkdir -p py3dir + cp -a AUTHORS COPYING HACKING MANIFEST.in Makefile NEWS PKG-INFO README RELEASE TODO include setup.py src tests py3dir + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SRkuHb + umask 022 + cd /builddir/build/BUILD + cd pyparted-3.11.5 ~/build/BUILD/pyparted-3.11.5/py3dir ~/build/BUILD/pyparted-3.11.5 + pushd py3dir + PYTHON=python3 + make -j4 '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 -fcommon' running build running build_py creating build creating build/lib.linux-riscv64-3.8 creating build/lib.linux-riscv64-3.8/parted copying src/parted/geometry.py -> build/lib.linux-riscv64-3.8/parted copying src/parted/decorators.py -> build/lib.linux-riscv64-3.8/parted copying src/parted/device.py -> build/lib.linux-riscv64-3.8/parted copying src/parted/cachedlist.py -> build/lib.linux-riscv64-3.8/parted copying src/parted/filesystem.py -> build/lib.linux-riscv64-3.8/parted copying src/parted/__init__.py -> build/lib.linux-riscv64-3.8/parted copying src/parted/partition.py -> build/lib.linux-riscv64-3.8/parted copying src/parted/alignment.py -> build/lib.linux-riscv64-3.8/parted copying src/parted/disk.py -> build/lib.linux-riscv64-3.8/parted copying src/parted/constraint.py -> build/lib.linux-riscv64-3.8/parted running build_ext building '_ped' extension creating build/temp.linux-riscv64-3.8 creating build/temp.linux-riscv64-3.8/src gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -fPIC -DPYPARTED_VERSION="3.11.5" -Iinclude -I/usr/include/python3.8 -c src/_pedmodule.c -o build/temp.linux-riscv64-3.8/src/_pedmodule.o src/_pedmodule.c: In function ‘PyInit__ped’: src/_pedmodule.c:664:65: error: ‘PED_PARTITION_CHROMEOS_KERNEL’ undeclared (first use in this function) 664 | PyModule_AddIntConstant(m, "PARTITION_CHROMEOS_KERNEL", PED_PARTITION_CHROMEOS_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/_pedmodule.c:664:65: note: each undeclared identifier is reported only once for each function it appears in src/_pedmodule.c:666:58: error: ‘PED_PARTITION_BLS_BOOT’ undeclared (first use in this function); did you mean ‘PED_PARTITION_BOOT’? 666 | PyModule_AddIntConstant(m, "PARTITION_BLS_BOOT", PED_PARTITION_BLS_BOOT); | ^~~~~~~~~~~~~~~~~~~~~~ | PED_PARTITION_BOOT error: command 'gcc' failed with exit status 1 make: *** [Makefile:39: all] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.SRkuHb (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.SRkuHb (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pyparted.spec