': BUILDSTDERR: diagmatrix.c:155:8: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: 155 | char res; BUILDSTDERR: | ^~~ BUILDSTDERR: diagmatrix.c:154:19: warning: unused variable 'loc' [-Wunused-variable] BUILDSTDERR: 154 | int dn = x+y-1, loc; BUILDSTDERR: | ^~~ BUILDSTDERR: skiplist.c: In function 'printSLE': BUILDSTDERR: skiplist.c:12:19: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: 12 | printf(" %d %x\n", tbp->index, tbp->myelem); BUILDSTDERR: | ~^ ~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int void * BUILDSTDERR: | %p BUILDSTDERR: skiplist.c: In function 'makeSkLst': BUILDSTDERR: skiplist.c:33:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 33 | int i; BUILDSTDERR: | ^ BUILDSTDERR: skiplist.c: In function 'SLinsert': BUILDSTDERR: skiplist.c:100:37: warning: unused variable 'tbe' [-Wunused-variable] BUILDSTDERR: 100 | sle* prev = SLfind(trgt, index), *tbe; BUILDSTDERR: | ^~~ BUILDSTDERR: diagmatrix.c: In function 'DMsetPtr': BUILDSTDERR: diagmatrix.c:155:8: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: 155 | char res; BUILDSTDERR: | ^~~ BUILDSTDERR: diagmatrix.c:154:19: warning: unused variable 'loc' [-Wunused-variable] BUILDSTDERR: 154 | int dn = x+y-1, loc; BUILDSTDERR: | ^~~ BUILDSTDERR: filebuffer.c: In function 'FileRead': BUILDSTDERR: filebuffer.c:123:34: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: 123 | temp[i] = (strchr (alphabet, toupper ((char) i)) != 0) ? BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: skiplist.c: In function 'printSLE': BUILDSTDERR: skiplist.c:12:19: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: 12 | printf(" %d %x\n", tbp->index, tbp->myelem); BUILDSTDERR: | ~^ ~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int void * BUILDSTDERR: | %p BUILDSTDERR: skiplist.c: In function 'makeSkLst': BUILDSTDERR: skiplist.c:33:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 33 | int i; BUILDSTDERR: | ^ BUILDSTDERR: skiplist.c: In function 'SLinsert': BUILDSTDERR: skiplist.c:100:37: warning: unused variable 'tbe' [-Wunused-variable] BUILDSTDERR: 100 | sle* prev = SLfind(trgt, index), *tbe; BUILDSTDERR: | ^~~ BUILDSTDERR: filebuffer.c: In function 'FileRead': BUILDSTDERR: filebuffer.c:123:34: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: 123 | temp[i] = (strchr (alphabet, toupper ((char) i)) != 0) ? BUILDSTDERR: | ^~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/lagan20/src' BUILDSTDERR: make: *** [Makefile:2: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.BzldMu (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.BzldMu (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/lagan.spec