ALT Linux Bugzilla
– Attachment 20263 Details for
Bug 57134
неполная упаковка исходников (отсутствует fst/types.h) и ошибки компиляции с GCC 14
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
лог сборки с пересобранным пакетом из исходников
vosk-api-build_with_rebuilded_github.txt (text/plain), 20.82 KB, created by
Pavel Shilov
on 2025-12-05 09:13:13 MSK
(
hide
)
Description:
лог сборки с пересобранным пакетом из исходников
Filename:
MIME Type:
Creator:
Pavel Shilov
Created:
2025-12-05 09:13:13 MSK
Size:
20.82 KB
patch
obsolete
>$ gear --hasher --commit --verbose -- hsh-rebuild -v >mkdir: Ñоздан каÑалог '/tmp/.private/shilovps/gear.HaQ4zrfq/out' >gear: Temporarily committed local changes. >gear: Extracted archive: python3-module-vosk-0.3.50.tar >gear: Extracted diff: python3-module-vosk-0.3.50-alt.patch >gear: Extracted file by pattern ".gear/*.patch": fix-src-recognizer-alt.patch >gear: Extracted specfile: python3-module-vosk-api.spec >gear: Executing: gear-command-hasher hsh-rebuild -v >gear-command-tar: Created output tarball: /tmp/.private/shilovps/gear.HaQ4zrfq/work/pkg.tar >gear-command-hasher: Executing: hsh-rebuild -v /tmp/.private/shilovps/gear.HaQ4zrfq/work/pkg.tar >hsh-rebuild: Executing wrapper: systemd-run --user --scope --same-dir --property=Delegate=yes --send-sighup --collect >Running as unit: run-p600842-i34152331.scope; invocation ID: 4470044e24744978b3d875f4f4f190e7 >hsh-rebuild: changed working directory to `/tmp/.private/shilovps/hasher' >hsh-rebuild: Locked working directory `/tmp/.private/shilovps/hasher' >hsh-rebuild: Acquiring lock for config file `/etc/hasher-priv/user.d/709000257'... >hsh-rebuild: Locked config file `/etc/hasher-priv/user.d/709000257' >'/tmp/.private/shilovps/gear.HaQ4zrfq/work/pkg.tar' -> 'chroot/.in/pkg.tar' >mkdir: created directory '/usr/src/in' >mkdir: created directory '/usr/src/in/spec' >mkdir: created directory '/usr/src/in/source' >python3-module-vosk-api.spec >./ >./python3-module-vosk-api.spec >./fix-src-recognizer-alt.patch >./python3-module-vosk-0.3.50-alt.patch >./python3-module-vosk-0.3.50.tar >renamed '/usr/src/in/source/python3-module-vosk-api.spec' -> '/usr/src/in/spec/python3-module-vosk-api.spec' >hsh-rebuild: pkg.tar: installed source file. >hsh-rebuild: pkg.tar: fetched build dependencies. >hsh-rebuild: pkg.tar: calculated build dependencies: rpm-build-cmake rpm-build-pyproject >hsh-install: changed working directory to `/tmp/.private/shilovps/hasher' >ЧÑение ÑпиÑков пакеÑов... >ÐоÑÑÑоение деÑева завиÑимоÑÑей... >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ rpm-build-cmake Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ rpm-build-pyproject Ñже ÑÑÑановлена. >0 бÑÐ´ÐµÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¾, 0 новÑÑ ÑÑÑановлено, 0 пакеÑов бÑÐ´ÐµÑ Ñдалено и 0 не бÑÐ´ÐµÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¾. >hsh-install: Calculated package file list. >hsh-install: Nothing to install. >ÑдалÑн 'chroot/.host/hsh-buildreq-filter' >'/usr/bin/hsh-buildreq-filter' -> 'chroot/.host/hsh-buildreq-filter' >hsh-rebuild: pkg.tar: fetched build dependencies. >hsh-rebuild: pkg.tar: calculated build dependencies: rpm-build-cmake rpm-build-pyproject cmake libkaldi-devel libopenfst-devel libopenblas-devel gcc-c++ clang python3(setuptools) python3(cffi) python3(requests) python3(websockets) python3(wheel) python3(srt) python3(pytest) >hsh-install: changed working directory to `/tmp/.private/shilovps/hasher' >ЧÑение ÑпиÑков пакеÑов... >ÐоÑÑÑоение деÑева завиÑимоÑÑей... >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ rpm-build-cmake Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ rpm-build-pyproject Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ cmake Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ libkaldi-devel Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ libopenfst-devel Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ libopenblas-devel Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ gcc-c++ Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ clang Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-setuptools Ð´Ð»Ñ 'python3(setuptools)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-setuptools Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-cffi Ð´Ð»Ñ 'python3(cffi)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-cffi Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-requests Ð´Ð»Ñ 'python3(requests)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-requests Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-websockets Ð´Ð»Ñ 'python3(websockets)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-websockets Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-wheel Ð´Ð»Ñ 'python3(wheel)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-wheel Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-srt Ð´Ð»Ñ 'python3(srt)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-srt Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-pytest Ð´Ð»Ñ 'python3(pytest)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-pytest Ñже ÑÑÑановлена. >0 бÑÐ´ÐµÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¾, 0 новÑÑ ÑÑÑановлено, 0 пакеÑов бÑÐ´ÐµÑ Ñдалено и 0 не бÑÐ´ÐµÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¾. >hsh-install: Calculated package file list. >hsh-install: Nothing to install. >mkdir: created directory '/usr/src/in/srpm' >Building target platforms: x86_64 >Building for target x86_64 >Wrote: /usr/src/in/srpm/python3-module-vosk-0.3.50-alt3.src.rpm (w1.gzdio) >hsh-rebuild: pkg.tar: created src.rpm file. >hsh-rebuild: pkg.tar: sisyphus_check passed. >hsh-rebuild: pkg.tar: fetched build dependencies. >hsh-rebuild: pkg.tar: calculated build dependencies: rpm-build-cmake rpm-build-pyproject cmake libkaldi-devel libopenfst-devel libopenblas-devel gcc-c++ clang python3(setuptools) python3(cffi) python3(requests) python3(websockets) python3(wheel) python3(srt) python3(pytest) python3-module-pyproject-installer>=0.4.0 >hsh-install: changed working directory to `/tmp/.private/shilovps/hasher' >ЧÑение ÑпиÑков пакеÑов... >ÐоÑÑÑоение деÑева завиÑимоÑÑей... >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ rpm-build-cmake Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ rpm-build-pyproject Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ cmake Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ libkaldi-devel Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ libopenfst-devel Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ libopenblas-devel Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ gcc-c++ Ñже ÑÑÑановлена. >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ clang Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-setuptools Ð´Ð»Ñ 'python3(setuptools)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-setuptools Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-cffi Ð´Ð»Ñ 'python3(cffi)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-cffi Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-requests Ð´Ð»Ñ 'python3(requests)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-requests Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-websockets Ð´Ð»Ñ 'python3(websockets)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-websockets Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-wheel Ð´Ð»Ñ 'python3(wheel)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-wheel Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-srt Ð´Ð»Ñ 'python3(srt)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-srt Ñже ÑÑÑановлена. >ÐÑбÑано python3-module-pytest Ð´Ð»Ñ 'python3(pytest)' >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-pytest Ñже ÑÑÑановлена. >Version python3-module-pyproject-installer#0.5.6-alt1:sisyphus+399940.100.1.1@1763030788 for python3-module-pyproject-installer>=0.4.0 is already installed >ÐоÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ python3-module-pyproject-installer Ñже ÑÑÑановлена. >0 бÑÐ´ÐµÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¾, 0 новÑÑ ÑÑÑановлено, 0 пакеÑов бÑÐ´ÐµÑ Ñдалено и 0 не бÑÐ´ÐµÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¾. >hsh-install: Calculated package file list. >hsh-install: Nothing to install. >hsh-rebuild: calculated mount points: >hsh-rebuild: fetched installed file dependencies. >hsh-rebuild: calculated mount points: >hsh-rebuild: Created rebuild script. >+ export -n target >++ cat -- /usr/src/in/SOURCE_DATE_EPOCH >+ SOURCE_DATE_EPOCH=1764771947 >+ export SOURCE_DATE_EPOCH >+ exec time rpmbuild --rebuild --target=x86_64 python3-module-vosk-0.3.50-alt3.src.rpm >Installing python3-module-vosk-0.3.50-alt3.src.rpm >Building target platforms: x86_64 >Building for target x86_64 >Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.42976 >+ umask 022 >+ /bin/mkdir -p /usr/src/RPM/BUILD >+ cd /usr/src/RPM/BUILD >+ cd /usr/src/RPM/BUILD >+ rm -rf python3-module-vosk-0.3.50 >+ echo 'Source #0 (python3-module-vosk-0.3.50.tar):' >Source #0 (python3-module-vosk-0.3.50.tar): >+ /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-vosk-0.3.50.tar >+ cd python3-module-vosk-0.3.50 >+ /bin/chmod -c -Rf u+rwX,go-w . >+ echo 'Patch #0 (python3-module-vosk-0.3.50-alt.patch):' >Patch #0 (python3-module-vosk-0.3.50-alt.patch): >+ /usr/bin/patch -p1 >patching file android/lib/src/main/java/org/vosk/TextProcessor.java >patching file kotlin/src/commonMain/kotlin/org/vosk/EndPointerMode.kt >patching file kotlin/src/commonMain/kotlin/org/vosk/TextProcessor.kt >patching file kotlin/src/jvmMain/kotlin/org/vosk/TextProcessor.kt >patching file travis/Dockerfile.winaarch64 >patching file travis/build-docker-winaarch64.sh >patching file travis/build-wheels-winaarch64.sh >+ echo 'Patch #1 (fix-src-recognizer-alt.patch):' >Patch #1 (fix-src-recognizer-alt.patch): >+ /usr/bin/patch -p1 >patching file src/recognizer.cc >+ sed -i 's|^KALDI_ROOT\?=.*$|KALDI_ROOT?=/usr|' src/Makefile >+ sed -i 's|^OPENFST_ROOT\?=.*$|OPENFST_ROOT?=/usr|' src/Makefile >+ sed -i 's|^OPENBLAS_ROOT\?=.*$|OPENBLAS_ROOT?=/usr|' src/Makefile >+ sed -i 's|-I$(KALDI_ROOT)/src -I$(OPENFST_ROOT)/include|-I/usr/include/kaldi -I/usr/include/fst|' src/Makefile >+ sed -i 's|-I$(OPENBLAS_ROOT)/include|-I/usr/include|' src/Makefile >+ sed -i '/ifeq ($(USE_SHARED), 1)/,/endif/ { s|-L$(KALDI_ROOT)/libs|-L/usr/lib64|g }' src/Makefile >+ exit 0 >Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.42976 >+ umask 022 >+ /bin/mkdir -p /usr/src/RPM/BUILD >+ cd /usr/src/RPM/BUILD >+ cd python3-module-vosk-0.3.50 >+ export 'CXXFLAGS=-O2 -g -std=c++17 -fpermissive -Wno-error' >+ CXXFLAGS='-O2 -g -std=c++17 -fpermissive -Wno-error' >+ cd src >+ make >make: Entering directory '/usr/src/RPM/BUILD/python3-module-vosk-0.3.50/src' >g++ -g -O3 -std=c++17 -Wno-deprecated-declarations -fPIC -DFST_NO_DYNAMIC_LINKING -I. -I/usr/include/kaldi -I/usr/include/fst -I/usr/include -c -o recognizer.o recognizer.cc >In file included from /usr/include/fst/compat.h:21, > from /usr/include/fst/fst.h:35, > from /usr/include/fst/expanded-fst.h:33, > from /usr/include/fst/mutable-fst.h:37, > from /usr/include/fst/vector-fst.h:33, > from /usr/include/fst/cache.h:32, > from /usr/include/fst/compact-fst.h:34, > from /usr/include/fst/string.h:33, > from /usr/include/c++/14/cstring:43, > from recognizer.cc:14: >/usr/include/c++/14/cstring:78:11: error: 'memchr' has not been declared in '::' > 78 | using ::memchr; > | ^~~~~~ >/usr/include/c++/14/cstring:79:11: error: 'memcmp' has not been declared in '::' > 79 | using ::memcmp; > | ^~~~~~ >/usr/include/c++/14/cstring:80:11: error: 'memcpy' has not been declared in '::' > 80 | using ::memcpy; > | ^~~~~~ >/usr/include/c++/14/cstring:81:11: error: 'memmove' has not been declared in '::' > 81 | using ::memmove; > | ^~~~~~~ >/usr/include/c++/14/cstring:82:11: error: 'memset' has not been declared in '::' > 82 | using ::memset; > | ^~~~~~ >/usr/include/c++/14/cstring:83:11: error: 'strcat' has not been declared in '::' > 83 | using ::strcat; > | ^~~~~~ >/usr/include/c++/14/cstring:84:11: error: 'strcmp' has not been declared in '::' > 84 | using ::strcmp; > | ^~~~~~ >/usr/include/c++/14/cstring:85:11: error: 'strcoll' has not been declared in '::' > 85 | using ::strcoll; > | ^~~~~~~ >/usr/include/c++/14/cstring:86:11: error: 'strcpy' has not been declared in '::' > 86 | using ::strcpy; > | ^~~~~~ >/usr/include/c++/14/cstring:87:11: error: 'strcspn' has not been declared in '::' > 87 | using ::strcspn; > | ^~~~~~~ >/usr/include/c++/14/cstring:88:11: error: 'strerror' has not been declared in '::' > 88 | using ::strerror; > | ^~~~~~~~ >/usr/include/c++/14/cstring:89:11: error: 'strlen' has not been declared in '::' > 89 | using ::strlen; > | ^~~~~~ >/usr/include/c++/14/cstring:90:11: error: 'strncat' has not been declared in '::' > 90 | using ::strncat; > | ^~~~~~~ >/usr/include/c++/14/cstring:91:11: error: 'strncmp' has not been declared in '::' > 91 | using ::strncmp; > | ^~~~~~~ >/usr/include/c++/14/cstring:92:11: error: 'strncpy' has not been declared in '::' > 92 | using ::strncpy; > | ^~~~~~~ >/usr/include/c++/14/cstring:93:11: error: 'strspn' has not been declared in '::' > 93 | using ::strspn; > | ^~~~~~ >/usr/include/c++/14/cstring:95:11: error: 'strtok' has not been declared in '::' > 95 | using ::strtok; > | ^~~~~~ >/usr/include/c++/14/cstring:97:11: error: 'strxfrm' has not been declared in '::' > 97 | using ::strxfrm; > | ^~~~~~~ >/usr/include/c++/14/cstring:98:11: error: 'strchr' has not been declared in '::' > 98 | using ::strchr; > | ^~~~~~ >/usr/include/c++/14/cstring:99:11: error: 'strpbrk' has not been declared in '::' > 99 | using ::strpbrk; > | ^~~~~~~ >/usr/include/c++/14/cstring:100:11: error: 'strrchr' has not been declared in '::' > 100 | using ::strrchr; > | ^~~~~~~ >/usr/include/c++/14/cstring:101:11: error: 'strstr' has not been declared in '::' > 101 | using ::strstr; > | ^~~~~~ >In file included from /usr/include/fst/arc.h:31, > from /usr/include/fst/fst.h:41: >/usr/include/fst/float-weight.h: In member function 'size_t fst::FloatWeightTpl<T>::Hash() const': >/usr/include/fst/float-weight.h:83:10: error: 'memcpy' is not a member of 'std'; did you mean 'wmemcpy'? > 83 | std::memcpy(&hash, &value_, std::min(sizeof(hash), sizeof(value_))); > | ^~~~~~ > | wmemcpy >In file included from /usr/include/fst/string.h:31: >/usr/include/kaldi/fstext/lattice-weight.h: In function 'std::ostream& fst::operator<<(std::ostream&, const LatticeWeightTpl<FloatType>&)': >/usr/include/kaldi/fstext/lattice-weight.h:400:9: error: 'FLAGS_fst_weight_separator' was not declared in this scope; did you mean 'FST_FLAGS_fst_weight_separator'? > 400 | CHECK(FST_FLAGS_fst_weight_separator.size() == 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/kaldi/fstext/lattice-weight.h: In function 'std::istream& fst::operator>>(std::istream&, LatticeWeightTpl<FloatType>&)': >/usr/include/kaldi/fstext/lattice-weight.h:409:9: error: 'FLAGS_fst_weight_separator' was not declared in this scope; did you mean 'FST_FLAGS_fst_weight_separator'? > 409 | CHECK(FST_FLAGS_fst_weight_separator.size() == 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/kaldi/fstext/lattice-weight.h: In function 'std::ostream& fst::operator<<(std::ostream&, const CompactLatticeWeightTpl<WeightType, IntType>&)': >/usr/include/kaldi/fstext/lattice-weight.h:730:9: error: 'FLAGS_fst_weight_separator' was not declared in this scope; did you mean 'FST_FLAGS_fst_weight_separator'? > 730 | CHECK(FST_FLAGS_fst_weight_separator.size() == 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/kaldi/fstext/lattice-weight.h: In function 'std::istream& fst::operator>>(std::istream&, CompactLatticeWeightTpl<WeightType, IntType>&)': >/usr/include/kaldi/fstext/lattice-weight.h:747:9: error: 'FLAGS_fst_weight_separator' was not declared in this scope; did you mean 'FST_FLAGS_fst_weight_separator'? > 747 | CHECK(FST_FLAGS_fst_weight_separator.size() == 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/kaldi/fstext/lattice-utils.h:25, > from recognizer.cc:16: >/usr/include/kaldi/fstext/lattice-weight.h:767:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] > 767 | if (*c == kStringSeparator) // '_' > | ~~~^~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/kaldi/util/kaldi-table.h:469, > from /usr/include/kaldi/util/common-utils.h:27, > from recognizer.h:19, > from recognizer.cc:17: >/usr/include/kaldi/util/kaldi-table-inl.h: In constructor 'kaldi::TableWriter<Holder>::TableWriter(const std::string&)': >/usr/include/kaldi/util/kaldi-table-inl.h:1470:60: error: there are no arguments to 'strerror' that depend on a template parameter, so a declaration of 'strerror' must be available [-fpermissive] > 1470 | << ": errno (in case it's relevant) is: " << strerror(errno); > | ^~~~~~~~ >/usr/include/kaldi/util/kaldi-table-inl.h:1470:60: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) >In file included from /usr/include/kaldi/fstext/pre-determinize.h:94, > from /usr/include/kaldi/fstext/fstext-utils-inl.h:29, > from /usr/include/kaldi/fstext/fstext-utils.h:425, > from /usr/include/kaldi/fstext/deterministic-fst-inl.h:25, > from /usr/include/kaldi/fstext/deterministic-fst.h:333, > from /usr/include/kaldi/fstext/context-fst.h:62, > from /usr/include/kaldi/fstext/fstext-lib.h:26, > from recognizer.h:20: >/usr/include/kaldi/fstext/pre-determinize-inl.h: In function 'bool fst::pre_determinize_helpers::HasBannedPrefixPlusDigits(fst::SymbolTable*, std::string, std::string*)': >/usr/include/kaldi/fstext/pre-determinize-inl.h:237:23: error: 'strlen' was not declared in this scope > 237 | size_t prefix_len = strlen(prefix_ptr); // allowed to be zero but not encouraged. > | ^~~~~~ >/usr/include/kaldi/fstext/pre-determinize-inl.h:1:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>' > +++ |+#include <cstring> > 1 | // fstext/pre-determinize-inl.h >/usr/include/kaldi/fstext/pre-determinize-inl.h:245:10: error: 'strncmp' was not declared in this scope > 245 | if (!strncmp(prefix_ptr, sym.c_str(), prefix_len)) { // has prefix. > | ^~~~~~~ >/usr/include/kaldi/fstext/pre-determinize-inl.h:245:10: note: 'strncmp' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>' >In file included from /usr/include/kaldi/fstext/lattice-weight.h:26: >/usr/include/kaldi/fstext/kaldi-fst-io-inl.h: In function 'void fst::ReadFstKaldi(std::istream&, bool, VectorFst<Arc>*)': >/usr/include/kaldi/fstext/kaldi-fst-io-inl.h:105:24: error: 'FLAGS_fst_field_separator' was not declared in this scope; did you mean 'FST_FLAGS_fst_field_separator'? > 105 | string separator = FST_FLAGS_fst_field_separator + "\r\n"; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/kaldi/cudamatrix/cu-array.h:202, > from /usr/include/kaldi/cudamatrix/cu-math.h:26, > from /usr/include/kaldi/cudamatrix/cu-vector.h:34, > from /usr/include/kaldi/cudamatrix/cu-matrix-lib.h:25, > from /usr/include/kaldi/nnet3/nnet-common.h:28, > from /usr/include/kaldi/nnet3/nnet-nnet.h:26, > from /usr/include/kaldi/nnet3/am-nnet-simple.h:25, > from recognizer.h:27: >/usr/include/kaldi/cudamatrix/cu-array-inl.h: In member function 'void kaldi::CuArrayBase<T>::SetZero()': >/usr/include/kaldi/cudamatrix/cu-array-inl.h:234:5: error: there are no arguments to 'memset' that depend on a template parameter, so a declaration of 'memset' must be available [-fpermissive] > 234 | memset(static_cast<void*>(this->data_), 0, this->dim_ * sizeof(T)); > | ^~~~~~ >recognizer.cc: In member function 'void Recognizer::SetGrm(const char*)': >recognizer.cc:291:15: error: 'strcmp' is not a member of 'std'; did you mean 'strchr'? > 291 | if (!std::strcmp(grammar, "[]")) { > | ^~~~~~ > | strchr >recognizer.cc: In member function 'const char* Recognizer::PartialResult()': >recognizer.cc:849:13: error: 'WordAlignLatticePartial' was not declared in this scope > 849 | WordAlignLatticePartial(clat, *model_->trans_model_, *model_->winfo_, 0, &aligned_lat); > | ^~~~~~~~~~~~~~~~~~~~~~~ >make: *** [Makefile:113: recognizer.o] Error 1 >make: Leaving directory '/usr/src/RPM/BUILD/python3-module-vosk-0.3.50/src' >error: Bad exit status from /usr/src/tmp/rpm-tmp.42976 (%build) > > >RPM build errors: > Bad exit status from /usr/src/tmp/rpm-tmp.42976 (%build) >Command exited with non-zero status 1 >10.66user 0.47system 0:11.14elapsed 100%CPU (0avgtext+0avgdata 1019912maxresident)k >0inputs+0outputs (0major+37173minor)pagefaults 0swaps >hsh-rebuild: rebuild of `pkg.tar' failed. >[shilovps@shell python3-module-vosk-api]$ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 57134
:
20262
| 20263