iscv64/tools/include/linux/rbtree.h:20, from main.c:74: main.c: In function ‘sets_patch’: main.c:699:50: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 699 | BUILD_BUG_ON(set8->pairs != &set8->pairs[0].id); | ^~ /builddir/build/BUILD/kernel-6.10-rc6/linux-6.10.0-0.rc6.50.0.riscv64.fc41.riscv64/tools/include/linux/compiler.h:15:23: note: in definition of macro ‘__compiletime_assert’ 15 | if (!(condition)) \ | ^~~~~~~~~ /builddir/build/BUILD/kernel-6.10-rc6/linux-6.10.0-0.rc6.50.0.riscv64.fc41.riscv64/tools/include/linux/compiler.h:35:9: note: in expansion of macro ‘_compiletime_assert’ 35 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kernel-6.10-rc6/linux-6.10.0-0.rc6.50.0.riscv64.fc41.riscv64/tools/include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kernel-6.10-rc6/linux-6.10.0-0.rc6.50.0.riscv64.fc41.riscv64/tools/include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ main.c:699:25: note: in expansion of macro ‘BUILD_BUG_ON’ 699 | BUILD_BUG_ON(set8->pairs != &set8->pairs[0].id); | ^~~~~~~~~~~~ In function ‘sets_patch’, inlined from ‘symbols_patch’ at main.c:740:6, inlined from ‘main’ at main.c:815:6: main.c:163:9: warning: ‘set8’ may be used uninitialized [-Wmaybe-uninitialized] 163 | eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:721:17: note: in expansion of macro ‘pr_debug’ 721 | pr_debug("sorting addr %5lu: cnt %6d [%s]\n", | ^~~~~~~~ main.c: In function ‘main’: main.c:674:37: note: ‘set8’ was declared here 674 | struct btf_id_set8 *set8; | ^~~~ In function ‘sets_patch’, inlined from ‘symbols_patch’ at main.c:740:6, inlined from ‘main’ at main.c:815:6: main.c:163:9: warning: ‘set’ may be used uninitialized [-Wmaybe-uninitialized] 163 | eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:721:17: note: in expansion of macro ‘pr_debug’ 721 | pr_debug("sorting addr %5lu: cnt %6d [%s]\n", | ^~~~~~~~ main.c: In function ‘main’: main.c:675:36: note: ‘set’ was declared here 675 | struct btf_id_set *set; | ^~~ make: *** [Makefile:252: __sub-make] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.ASlJls (%build) Bad exit status from /var/tmp/rpm-tmp.ASlJls (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/kernel.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 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/kernel.spec