e.h:83:13: note: declared here BUILDSTDERR: const char *path2basename(const char *path); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: misc.c:161:9: error: too many arguments to function 'path2basename' BUILDSTDERR: path2basename(ctlspec, base); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from misc.c:98: BUILDSTDERR: /usr/include/sphinxbase/filename.h:83:13: note: declared here BUILDSTDERR: const char *path2basename(const char *path); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: make[3]: *** [Makefile:403: corpus.lo] Error 1 BUILDSTDERR: make[3]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[3]: *** [Makefile:403: misc.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 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 vector.c -fPIC -DPIC -o .libs/vector.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.Q23kMO (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Q23kMO (%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/cmusphinx3.spec