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/python3-exiv2.spec'], chrootPath='/var/lib/mock/f31-build-47658-26905/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python3-exiv2.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=1562284800 Wrote: /builddir/build/SRPMS/python3-exiv2-0.7.1-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python3-exiv2.spec'], chrootPath='/var/lib/mock/f31-build-47658-26905/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python3-exiv2.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=1562284800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bVcgku + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf py3exiv2-0.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/py3exiv2-0.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd py3exiv2-0.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EUfYIw + umask 022 + cd /builddir/build/BUILD + cd py3exiv2-0.7.1 + sed -i 's|boost_python3|boost_python37|' setup.py + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' BUILDSTDERR: src/exiv2wrapper.cpp: In function ‘void exiv2wrapper::unregisterXmpNs(const string&)’: BUILDSTDERR: src/exiv2wrapper.cpp:1910:37: warning: unused variable ‘info’ [-Wunused-variable] BUILDSTDERR: 1910 | const Exiv2::XmpNsInfo* info = Exiv2::XmpProperties::nsInfo(prefix); BUILDSTDERR: | ^~~~ BUILDSTDERR: /usr/bin/ld: cannot find -lboost_python37 BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: error: command 'g++' failed with exit status 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.EUfYIw (%build) running build running build_py creating build creating build/lib.linux-riscv64-3.7 creating build/lib.linux-riscv64-3.7/pyexiv2 copying src/pyexiv2/exif.py -> build/lib.linux-riscv64-3.7/pyexiv2 copying src/pyexiv2/iptc.py -> build/lib.linux-riscv64-3.7/pyexiv2 copying src/pyexiv2/__init__.py -> build/lib.linux-riscv64-3.7/pyexiv2 copying src/pyexiv2/metadata.py -> build/lib.linux-riscv64-3.7/pyexiv2 copying src/pyexiv2/xmp.py -> build/lib.linux-riscv64-3.7/pyexiv2 copying src/pyexiv2/utils.py -> build/lib.linux-riscv64-3.7/pyexiv2 copying src/pyexiv2/preview.py -> build/lib.linux-riscv64-3.7/pyexiv2 running build_ext building 'libexiv2python' extension creating build/temp.linux-riscv64-3.7 creating build/temp.linux-riscv64-3.7/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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.7m -c src/exiv2wrapper.cpp -o build/temp.linux-riscv64-3.7/src/exiv2wrapper.o -g 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.7m -c src/exiv2wrapper_python.cpp -o build/temp.linux-riscv64-3.7/src/exiv2wrapper_python.o -g g++ -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.7/src/exiv2wrapper.o build/temp.linux-riscv64-3.7/src/exiv2wrapper_python.o -L/usr/lib64 -lboost_python37 -lexiv2 -lpython3.7m -o build/lib.linux-riscv64-3.7/libexiv2python.cpython-37m-riscv64-linux-gnu.so RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.EUfYIw (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/python3-exiv2.spec