/usr/lib/python3.14/site-packages/setuptools/_distutils/dist.py:318: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: BSD License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
Deprecated command line option: -modern. Ignored, this option is now always on.
jsgf_parser.c: In function ‘yyparse’:
jsgf_parser.c:313:21: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
jsgf_parser.c:299:25: note: in expansion of macro ‘YYMALLOC’
jsgf_parser.c:1625:23: note: in expansion of macro ‘YYSTACK_ALLOC’
In file included from deps/sphinxbase/include/sphinxbase/glist.h:85,
from deps/sphinxbase/include/sphinxbase/hash_table.h:130,
from jsgf_parser.y:43:
/usr/include/stdlib.h:672:14: note: in a call to allocation function ‘malloc’ declared here
672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
| ^~~~~~
deps/sphinxbase/swig/sphinxbase_wrap.c:14:13: error: ‘bool’ cannot be defined via ‘typedef’
14 | typedef int bool;
| ^~~~
deps/sphinxbase/swig/sphinxbase_wrap.c:14:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
deps/sphinxbase/swig/sphinxbase_wrap.c:14:1: warning: useless type name in empty declaration
14 | typedef int bool;
| ^~~~~~~
deps/sphinxbase/swig/sphinxbase_wrap.c: In function ‘_wrap_NGramModel_prob’:
deps/sphinxbase/swig/sphinxbase_wrap.c:5799:19: error: implicit declaration of function ‘SWIG_Python_str_AsChar’ [-Wimplicit-function-declaration]
5799 | arg3[i] = SWIG_Python_str_AsChar(o);
| ^~~~~~~~~~~~~~~~~~~~~~
deps/sphinxbase/swig/sphinxbase_wrap.c:5799:17: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
5799 | arg3[i] = SWIG_Python_str_AsChar(o);
| ^
deps/sphinxbase/swig/sphinxbase_wrap.c:5816:9: error: implicit declaration of function ‘SWIG_Python_str_DelForPy3’ [-Wimplicit-function-declaration]
5816 | SWIG_Python_str_DelForPy3(arg3[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
error: Command '['x86_64-pc-linux-gnu-gcc', '-mtune=generic', '-march=x86-64', '-O2', '-pipe', '-fstack-protector', '-D_FORTIFY_SOURCE=2', '-g', '-fPIC', '-fPIC', '-DSPHINXBASE_EXPORTS', '-DPOCKETSPHINX_EXPORTS', '-DSPHINX_DLL', '-DHAVE_CONFIG_H', '-Ideps/sphinxbase/include', '-Ideps/sphinxbase/include/sphinxbase', '-Ideps/sphinxbase/include/android', '-I/usr/include/python3.14', '-c', 'deps/sphinxbase/swig/sphinxbase_wrap.c', '-o', 'build/temp.linux-x86_64-cpython-314/deps/sphinxbase/swig/sphinxbase_wrap.o', '-Wno-unused-label', '-Wno-strict-prototypes', '-Wno-parentheses', '-Wno-unused-but-set-variable', '-Wno-unused-variable', '-Wno-unused-result', '-Wno-sign-compare', '-Wno-misleading-indentation']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/var/pisi/python3-pocketsphinx/actions.py", line 12, in build
pythonmodules.compile(pyVer="3")
File "/usr/lib/pisilinux/pisi/actionsapi/pythonmodules.py", line 61, in compile
if system('python%s setup.py build %s' % (pyVer, parameters)):
File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system
error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error
raise Error(msg)
pisi.actionsapi.Error: Command "python3 setup.py build" failed, return value was 1.
[01;31mAction script error caught.
[0m[01;33m*** 1 error(s), 0 warning(s)
[0m[01;31mProgram terminated.
[0m