narx-python.h:64: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:52: multiple definition of `_PyThunarxMenuItem_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:52: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:73: multiple definition of `_PyThunarxRenamer_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:73: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:67: multiple definition of `_PyThunarxPropertyPageProvider_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:67: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:58: multiple definition of `_PyThunarxMenuProvider_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:58: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:76: multiple definition of `_PyThunarxRenamerProvider_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:76: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:61: multiple definition of `_PyThunarxPreferencesProvider_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:61: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:70: multiple definition of `_PyThunarxProviderPlugin_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:70: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:55: multiple definition of `_PyThunarxMenu_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:55: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:49: multiple definition of `_PyThunarxFileInfo_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:49: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:46: multiple definition of `_PyGtkWidget_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:46: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:476: thunarx-python.la] Error 1 RPM build errors: make[1]: *** [Makefile:441: all-recursive] Error 1 make: *** [Makefile:371: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.VFvNsv (%build) Bad exit status from /var/tmp/rpm-tmp.VFvNsv (%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/thunarx-python.spec