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.D4LE9r (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.D4LE9r (%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: 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