.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xkb_bell.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xkb_bell.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-xrandr.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xrandr.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xrandr.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-xrecord.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xrecord.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xrecord.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here /usr/bin/ld: x11vnc-xwrappers.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: multiple definition of `pointerMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:107: first defined here /usr/bin/ld: x11vnc-xwrappers.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: multiple definition of `inputMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:106: first defined here /usr/bin/ld: x11vnc-xwrappers.o: in function `.LANCHOR0': /builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: multiple definition of `clientMutex'; x11vnc-8to24.o:/builddir/build/BUILD/x11vnc-0.9.14/x11vnc/util.h:105: first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:323: x11vnc] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc' make[2]: *** [Makefile:1061: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.14/x11vnc' make[1]: *** [Makefile:312: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.14' make: *** [Makefile:231: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.N86iaj (%build) RPM build errors: extra tokens at the end of %endif directive in line 83: %endif # EL.ppc Bad exit status from /var/tmp/rpm-tmp.N86iaj (%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/x11vnc.spec