Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/btkbdd.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-273358-14486/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/btkbdd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/btkbdd-1.5-16.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/btkbdd.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-273358-14486/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/btkbdd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pwPsMc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf btkbdd-1.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/btkbdd-1.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd btkbdd-1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LS33gP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd btkbdd-1.5 + make -j8 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o btkbdd/main.o btkbdd/main.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o btkbdd/keyb.o btkbdd/keyb.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o btkbdd/sdp.o btkbdd/sdp.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o btkbdd/l2cap.o btkbdd/l2cap.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o btkbdd/hci.o btkbdd/hci.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o evmuxd/main.o evmuxd/main.c pod2man --center 'System management commands' --release 1.5 btkbdd/btkbdd.pod >btkbdd/btkbdd.8 pod2man --center 'System management commands' --release 1.5 evmuxd/evmuxd.pod >evmuxd/evmuxd.8 evmuxd/main.c: In function 'open_uinput': evmuxd/main.c:42:9: warning: 'strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 42 | strncpy (dev.name, name, UINPUT_MAX_NAME_SIZE); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lbluetooth -Wl,--as-needed -o evmuxd/evmuxd evmuxd/main.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lbluetooth -Wl,--as-needed -o btkbdd/btkbdd btkbdd/main.o btkbdd/keyb.o btkbdd/sdp.o btkbdd/l2cap.o btkbdd/hci.o /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:134: undefined reference to `sdp_record_alloc' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:127: undefined reference to `sdp_uuid16_create' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:127: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:156: undefined reference to `sdp_set_uuidseq_attr' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /usr/include/bits/string_fortified.h:59: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:164: undefined reference to `sdp_set_lang_attr' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:164: undefined reference to `sdp_list_free' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:165: undefined reference to `sdp_uuid16_create' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /usr/include/bluetooth/sdp_lib.h:215: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:168: undefined reference to `sdp_set_uuidseq_attr' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:39: undefined reference to `sdp_uuid16_create' /usr/bin/ld: /builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:41: undefined reference to `sdp_list_append' /usr/bin/ld: /builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:41: undefined reference to `sdp_set_profile_descs' /usr/bin/ld: /builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:42: undefined reference to `sdp_uuid16_create' /usr/bin/ld: /builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:43: undefined reference to `sdp_list_append' /usr/bin/ld: /builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:44: undefined reference to `sdp_data_alloc' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:170: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:170: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:171: undefined reference to `sdp_uuid16_create' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.LVL48': /usr/include/bluetooth/sdp_lib.h:193: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/usr/include/bluetooth/sdp_lib.h:193: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:174: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:176: undefined reference to `sdp_set_access_protos' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:176: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:177: undefined reference to `sdp_data_alloc' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:180: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:180: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:181: undefined reference to `sdp_uuid16_create' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:181: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:182: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:182: undefined reference to `sdp_list_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:196: undefined reference to `sdp_seq_alloc' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:200: undefined reference to `sdp_seq_alloc' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:203: undefined reference to `sdp_seq_append' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:115: undefined reference to `sdp_data_alloc' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /usr/include/bluetooth/sdp_lib.h:40: undefined reference to `sdp_attr_add' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:68: undefined reference to `sdp_set_info_attr' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:68: undefined reference to `sdp_attr_add_new' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:95: undefined reference to `sdp_seq_alloc_with_length' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:61: undefined reference to `sdp_data_alloc' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:98: undefined reference to `sdp_attr_add' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:116: undefined reference to `sdp_seq_alloc' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:114: undefined reference to `sdp_data_alloc' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:118: undefined reference to `sdp_attr_add' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:206: undefined reference to `sdp_attr_add_new' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:206: undefined reference to `sdp_attr_add_new' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/sdp.c:210: undefined reference to `sdp_record_register' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /usr/include/bits/string_fortified.h:59: undefined reference to `hci_open_dev' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/btkbdd-1.5/btkbdd/l2cap.c:75: undefined reference to `hci_read_class_of_dev' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /usr/include/bits/string_fortified.h:29: undefined reference to `hci_write_class_of_dev' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /usr/include/bits/stdio2.h:79: undefined reference to `bachk' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/btkbdd-1.5/btkbdd/main.c:53: undefined reference to `str2ba' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/main.c:57: undefined reference to `bachk' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/main.c:29: undefined reference to `str2ba' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/main.c:98: undefined reference to `bachk' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/main.c:98: undefined reference to `str2ba' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /usr/include/bits/string_fortified.h:29: undefined reference to `sdp_connect' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /usr/include/bits/stdio2.h:79: undefined reference to `sdp_record_unregister' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/main.c:48: undefined reference to `sdp_close' /usr/bin/ld: RPM build errors: /tmp/ccHt8rnX.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/btkbdd-1.5/btkbdd/keyb.c:154: undefined reference to `ba2str' /usr/bin/ld: /builddir/build/BUILD/btkbdd-1.5/btkbdd/keyb.c:362: undefined reference to `ba2str' /usr/bin/ld: /tmp/ccHt8rnX.ltrans0.ltrans.o:/builddir/build/BUILD/btkbdd-1.5/btkbdd/keyb.c:364: undefined reference to `hci_devid' collect2: error: ld returned 1 exit status make: *** [Makefile:31: btkbdd/btkbdd] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.LS33gP (%build) Bad exit status from /var/tmp/rpm-tmp.LS33gP (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, 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/btkbdd.spec