ple definition of `interface_auto_up'; ./Port-linux/libLowLevel.a(libLowLevel_a-lowlevel-linux-link-state.o):/builddir/build/BUILD/dibbler-1.0.1/Port-linux/interface.h:26: first defined here /bin/sh ./libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o dibbler-requestor dibbler_requestor-Requestor.o -L./Requestor -lRequestor -L./Messages -lMessages -L./IfaceMgr -lIfaceMgr -L./Misc -lMisc -L./Options -lOptions -L./Port-linux -lLowLevel /bin/sh ./libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o dibbler-relay dibbler_relay-dibbler-relay.o dibbler_relay-DHCPRelay.o -L./RelTransMgr -lRelTransMgr -L./RelIfaceMgr -lRelIfaceMgr -L./RelCfgMgr -lRelCfgMgr -lRelIfaceMgr -L./RelMessages -lRelMessages -lRelCfgMgr -L./CfgMgr -lCfgMgr -L./RelOptions -lRelOptions -L./IfaceMgr -lIfaceMgr -L./poslib -lPoslib -L./Messages -lMessages -L./Options -lOptions -L./Port-linux -lLowLevel -L./Misc -lMisc libtool: link: g++ -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dibbler-requestor dibbler_requestor-Requestor.o -lpthread -L./Requestor -lRequestor -L./Messages -lMessages -L./IfaceMgr -lIfaceMgr -L./Misc -lMisc -L./Options -lOptions -L./Port-linux -lLowLevel libtool: link: g++ -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dibbler-relay dibbler_relay-dibbler-relay.o dibbler_relay-DHCPRelay.o -lpthread -L./RelTransMgr -lRelTransMgr -L./RelIfaceMgr -L./RelCfgMgr -lRelIfaceMgr -L./RelMessages -lRelMessages -lRelCfgMgr -L./CfgMgr -lCfgMgr -L./RelOptions -lRelOptions -L./IfaceMgr -lIfaceMgr -L./poslib -lPoslib -L./Messages -lMessages -L./Options -lOptions -L./Port-linux -lLowLevel -L./Misc -lMisc collect2: error: ld returned 1 exit status make[1]: *** [Makefile:629: dibbler-client] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/builddir/build/BUILD/dibbler-1.0.1' make: *** [Makefile:816: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.KHzID3 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.KHzID3 (%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/dibbler.spec