obin.so") libtool: link: ( cd ".libs" && rm -f "annobin.la" && ln -s "../annobin.la" "annobin.la" ) make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.51/gcc-plugin' Making all in clang-plugin make[1]: Entering directory '/builddir/build/BUILD/annobin-12.51/clang-plugin' clang++ -flto `llvm-config --cxxflags` -D_GLIBCXX_ASSERTIONS -fPIC -Wall -O2 -g -grecord-gcc-switches -D_FORTIFY_SOURCE=3 -I .. -I./.. ../annobin-common.cc -c -o annobin-common.o make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.51/clang-plugin' make[1]: Entering directory '/builddir/build/BUILD/annobin-12.51/clang-plugin' clang++ -flto `llvm-config --cxxflags` -D_GLIBCXX_ASSERTIONS -fPIC -Wall -O2 -g -grecord-gcc-switches -D_FORTIFY_SOURCE=3 -I .. -I./.. annobin.cpp -c -o annobin.o make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.51/clang-plugin' make[1]: Entering directory '/builddir/build/BUILD/annobin-12.51/clang-plugin' clang++ -flto `llvm-config --cxxflags` -shared -Wl,--build-id=md5 -Wl,-z,now `llvm-config --ldflags` `llvm-config --system-libs` -lLLVM annobin.o annobin-common.o -o annobin-for-clang.so make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.51/clang-plugin' /usr/bin/ld: /usr/bin/../lib64/LLVMgold.so: error loading plugin: /usr/bin/../lib64/LLVMgold.so: cannot open shared object file: No such file or directory clang++: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:46: annobin-for-clang.so] Error 1 make: *** [Makefile:429: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.eo7yqb (%build) Bad exit status from /var/tmp/rpm-tmp.eo7yqb (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M d6a55ab21c00493e9c8e8869782fb424 -D /var/lib/mock/f40-build-807865-145338/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9cg6gudu:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --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=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/annobin.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 d6a55ab21c00493e9c8e8869782fb424 -D /var/lib/mock/f40-build-807865-145338/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9cg6gudu:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --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=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/annobin.spec