^~~~~~~~~~~~~ BUILDSTDERR: make[3]: *** [Makefile:403: misc.lo] Error 1 BUILDSTDERR: make[3]: *** Waiting for unfinished jobs.... BUILDSTDERR: corpus.c: In function 'ctl_read_entry': BUILDSTDERR: corpus.c:421:9: error: too many arguments to function 'path2basename' BUILDSTDERR: path2basename(uttfile, base); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from corpus.c:99: BUILDSTDERR: /usr/include/sphinxbase/filename.h:83:13: note: declared here BUILDSTDERR: const char *path2basename(const char *path); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: corpus.c: In function 'ctl_process': BUILDSTDERR: corpus.c:551:11: warning: variable 'k' set but not used [-Wunused-but-set-variable] BUILDSTDERR: kb_t *k; BUILDSTDERR: ^ BUILDSTDERR: corpus.c: In function 'ctl_process_utt': BUILDSTDERR: corpus.c:699:5: error: too many arguments to function 'path2basename' BUILDSTDERR: path2basename(uttfile, base); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from corpus.c:99: BUILDSTDERR: /usr/include/sphinxbase/filename.h:83:13: note: declared here BUILDSTDERR: const char *path2basename(const char *path); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from corpus.c:101: BUILDSTDERR: ../../../include/corpus.h:141:49: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: #define utt_res_set_uttfile(ur,name) ur->uttfile=name BUILDSTDERR: ^ BUILDSTDERR: corpus.c:729:13: note: in expansion of macro 'utt_res_set_uttfile' BUILDSTDERR: utt_res_set_uttfile(ur, uttfile); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: make[3]: *** [Makefile:403: corpus.lo] Error 1 libtool: compile: gcc -DPACKAGE_NAME=\"sphinx3\" -DPACKAGE_TARNAME=\"sphinx3\" -DPACKAGE_VERSION=\"0.8\" "-DPACKAGE_STRING=\"sphinx3 0.8\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sphinx3\" -DVERSION=\"0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DHAVE_FSEEKO=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DSIZEOF_LONG=8 -DSIZEOF_INT=4 -DSIZEOF_OFF_T=8 -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../../include -I../../../include -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -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 -fvisibility=hidden -c stat.c -fPIC -DPIC -o .libs/stat.o make[3]: Leaving directory '/builddir/build/BUILD/sphinx3-0.8/src/libs3decoder/libcommon' make[2]: Leaving directory '/builddir/build/BUILD/sphinx3-0.8/src/libs3decoder' BUILDSTDERR: make[2]: *** [Makefile:475: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/sphinx3-0.8/src' BUILDSTDERR: make[1]: *** [Makefile:357: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:480: all-recursive] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.DsFHuP (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.DsFHuP (%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 636, 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/cmusphinx3.spec