/build/BUILD/sxhkd-0.6.1/src/sxhkd.h:47: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/sxhkd.h:46: multiple definition of `root'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/sxhkd.h:46: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/sxhkd.h:45: multiple definition of `dpy'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/sxhkd.h:45: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:77: multiple definition of `Scroll_Lock'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:77: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:77: multiple definition of `Num_Lock'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:77: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:77: multiple definition of `Mode_switch'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:77: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:77: multiple definition of `Meta_R'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:77: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:77: multiple definition of `Meta_L'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:77: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: multiple definition of `Hyper_R'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: multiple definition of `Hyper_L'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: multiple definition of `Super_R'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: multiple definition of `Super_L'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: multiple definition of `Alt_R'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: first defined here /usr/bin/ld: types.o: in function `.LANCHOR0': /builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: multiple definition of `Alt_L'; sxhkd.o:/builddir/build/BUILD/sxhkd-0.6.1/src/types.h:76: first defined here collect2: error: ld returned 1 exit status make: *** [: sxhkd] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.avrNut (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.avrNut (%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: # /usr/bin/systemd-nspawn -q -M 8fd6995d7bfe48d2bc2cd0e4303d3329 -D /var/lib/mock/f33-build-221303-48451/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.y4sj39yh:/etc/resolv.conf --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sxhkd.spec