d to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strchrnul': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strcspn': memstomp.c:843:21: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 843 | if (unlikely (__s == NULL || __reject == NULL)) { | ^ memstomp.c:843:41: warning: 'nonnull' argument '__reject' compared to NULL [-Wnonnull-compare] 843 | if (unlikely (__s == NULL || __reject == NULL)) { | ^ memstomp.c: In function 'strspn': memstomp.c:859:21: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 859 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ memstomp.c:859:41: warning: 'nonnull' argument '__accept' compared to NULL [-Wnonnull-compare] 859 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ memstomp.c: In function 'strpbrk': memstomp.c:875:21: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 875 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ memstomp.c:875:41: warning: 'nonnull' argument '__accept' compared to NULL [-Wnonnull-compare] 875 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ 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:907:48: warning: 'nonnull' argument '__needle' compared to NULL [-Wnonnull-compare] 907 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ 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:924:48: warning: 'nonnull' argument '__needle' compared to NULL [-Wnonnull-compare] 924 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c: In function 'strtok': memstomp.c:63:42: warning: 'nonnull' argument '__delim' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ 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:957:33: warning: 'nonnull' argument '__save_ptr' compared to NULL [-Wnonnull-compare] 957 | if (unlikely (__delim == NULL || __save_ptr)) { | ^~ make[1]: Leaving directory '/builddir/build/BUILD/memstomp-0.1.4-38573e7d' make: *** [Makefile:459: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.0OTiQx (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.0OTiQx (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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