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 ../common/dmtxread_debug-dmtxutil.o `test -f '../common/dmtxutil.c' || echo './'`../common/dmtxutil.c make[2]: Leaving directory '/builddir/build/BUILD/dmtx-utils-0.7.6/dmtxread' BUILDSTDERR: In file included from ../common/dmtxutil.c:31: BUILDSTDERR: ../common/dmtxutil.h:46:14: warning: 'symbolSizes' defined but not used [-Wunused-variable] BUILDSTDERR: static char *symbolSizes[] = { BUILDSTDERR: ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/dmtx-utils-0.7.6/dmtxread' gcc -DHAVE_CONFIG_H -I. -I.. -Wshadow -Wall -pedantic -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -D_MAGICK_CONFIG_H -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 dmtxread-dmtxread.o `test -f 'dmtxread.c' || echo './'`dmtxread.c make[2]: Leaving directory '/builddir/build/BUILD/dmtx-utils-0.7.6/dmtxread' BUILDSTDERR: dmtxread.c: In function 'SetDecodeOptions': BUILDSTDERR: dmtxread.c:525:36: error: 'DmtxPropFnc1' undeclared (first use in this function); did you mean 'DmtxProperty'? BUILDSTDERR: err = dmtxDecodeSetProp(dec, DmtxPropFnc1, opt->gs1); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: DmtxProperty BUILDSTDERR: dmtxread.c:525:36: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: make[2]: *** [Makefile:490: dmtxread-dmtxread.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: dmtxread.c: In function 'SetDecodeOptions': BUILDSTDERR: dmtxread.c:525:36: error: 'DmtxPropFnc1' undeclared (first use in this function); did you mean 'DmtxProperty'? BUILDSTDERR: err = dmtxDecodeSetProp(dec, DmtxPropFnc1, opt->gs1); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: DmtxProperty BUILDSTDERR: dmtxread.c:525:36: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: make[2]: *** [Makefile:518: dmtxread_debug-dmtxread.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/dmtx-utils-0.7.6/dmtxread' gcc -DHAVE_CONFIG_H -I. -I.. -Wshadow -Wall -pedantic -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -D_MAGICK_CONFIG_H -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 dmtxread_debug-dmtxread.o `test -f 'dmtxread.c' || echo './'`dmtxread.c make[2]: Leaving directory '/builddir/build/BUILD/dmtx-utils-0.7.6/dmtxread' RPM build errors: BUILDSTDERR: make[1]: *** [Makefile:503: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:392: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Rx9y6H (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Rx9y6H (%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/dmtx-utils.spec