^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:875:41: warning: 'nonnull' argument '__accept' compared to NULL [-Wnonnull-compare] 875 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c: In function 'strcasestr': memstomp.c:907:28: warning: 'nonnull' argument '__haystack' compared to NULL [-Wnonnull-compare] 907 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:907:48: warning: 'nonnull' argument '__needle' compared to NULL [-Wnonnull-compare] 907 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c: In function 'memmem': memstomp.c:924:28: warning: 'nonnull' argument '__haystack' compared to NULL [-Wnonnull-compare] 924 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:924:48: warning: 'nonnull' argument '__needle' compared to NULL [-Wnonnull-compare] 924 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c: In function 'strtok': memstomp.c:63:38: warning: 'nonnull' argument '__delim' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:940:7: note: in expansion of macro 'unlikely' 940 | if (unlikely (__delim == NULL)) { | ^~~~~~~~ memstomp.c: In function 'strtok_r': memstomp.c:957:25: warning: 'nonnull' argument '__delim' compared to NULL [-Wnonnull-compare] 957 | if (unlikely (__delim == NULL || __save_ptr)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:957:33: warning: 'nonnull' argument '__save_ptr' compared to NULL [-Wnonnull-compare] 957 | if (unlikely (__delim == NULL || __save_ptr)) { | ^~ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ make[1]: Leaving directory '/builddir/build/BUILD/memstomp-0.1.4-38573e7d' make: *** [Makefile:456: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.qyOZ51 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qyOZ51 (%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/memstomp.spec