ined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: various.c,v 1.21 2010/11/12 06:16:16 gerlof Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: procdbase.c:61:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: procdbase.c,v 1.8 2010/04/23 12:19:35 gerlof Exp $"; BUILDSTDERR: ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o acctproc.o acctproc.c BUILDSTDERR: various.c: In function 'ptrverify': BUILDSTDERR: various.c:562:3: warning: 'args' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: fprintf(stderr, errormsg, args); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o photoproc.o photoproc.c BUILDSTDERR: acctproc.c:116:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: acctproc.c,v 1.28 2010/04/23 12:20:19 gerlof Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: photoproc.c:139:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: photoproc.c,v 1.33 2010/04/23 12:19:35 gerlof Exp $"; BUILDSTDERR: ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o photosyst.o photosyst.c BUILDSTDERR: photosyst.c: In function 'lvmmapname': BUILDSTDERR: photosyst.c:1465:19: error: called object 'major' is not a function or function pointer BUILDSTDERR: dmp->major = major(statbuf.st_rdev); BUILDSTDERR: ^~~~~ BUILDSTDERR: photosyst.c:1420:25: note: declared here BUILDSTDERR: lvmmapname(unsigned int major, unsigned int minor, BUILDSTDERR: ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: photosyst.c:1466:19: error: called object 'minor' is not a function or function pointer BUILDSTDERR: dmp->minor = minor(statbuf.st_rdev); BUILDSTDERR: ^~~~~ BUILDSTDERR: photosyst.c:1420:45: note: declared here BUILDSTDERR: lvmmapname(unsigned int major, unsigned int minor, BUILDSTDERR: ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: At top level: BUILDSTDERR: photosyst.c:152:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = "$Id: photosyst.c,v 1.38 2010/11/19 07:40:40 gerlof Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: make: *** [: photosyst.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.iOfFnn (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.iOfFnn (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/atop.spec