• Bug#1064673: pocketsphinx-python: FTBFS: ImportError: /usr/lib/python3/

    From Lucas Nussbaum@21:1/5 to All on Sun Feb 25 21:00:15 2024
    Source: pocketsphinx-python
    Version: 1:0.1.15-3
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240224 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    debian/rules binary
    dh binary --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    I: pybuild base:305: python3.12 setup.py config
    running config
    I: pybuild base:305: python3.11 setup.py config
    running config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:305: /usr/bin/python3.12 setup.py build
    running build
    running build_ext
    building 'pocketsphinx._pocketsphinx' extension
    swigging deps/pocketsphinx/swig/pocketsphinx.i to deps/pocketsphinx/swig/pocketsphinx_wrap.c
    swig -python -modern -threads -I/usr/include/sphinxbase -I/usr/share/sphinxbase/swig -Ideps/sphinxbase/include/android -I/usr/include/pocketsphinx -I/usr/share/pocketsphinx/swig -Ideps/sphinxbase/swig -outdir pocketsphinx -o deps/pocketsphinx/swig/
    pocketsphinx_wrap.c deps/pocketsphinx/swig/pocketsphinx.i
    Deprecated command line option: -modern. Ignored, this option is now always on.
    creating build
    creating build/temp.linux-x86_64-cpython-312
    creating build/temp.linux-x86_64-cpython-312/deps
    creating build/temp.linux-x86_64-cpython-312/deps/pocketsphinx
    creating build/temp.linux-x86_64-cpython-312/deps/pocketsphinx/swig x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
    protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -I/usr/include/sphinxbase -I/usr/share/sphinxbase/
    swig -Ideps/sphinxbase/include/android -I/usr/include/pocketsphinx -I/usr/share/pocketsphinx/swig -I/usr/include/python3.12 -c deps/pocketsphinx/swig/pocketsphinx_wrap.c -o build/temp.linux-x86_64-cpython-312/deps/pocketsphinx/swig/pocketsphinx_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
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pocketsphinx/build/pocketsphinx
    x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_
    FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-312/deps/pocketsphinx/swig/pocketsphinx_wrap.o -L/usr/lib/x86_64-linux-gnu -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pocketsphinx/build/pocketsphinx/_pocketsphinx.cpython-312-x86_64-linux-gnu.so -
    lpocketsphinx
    copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pocketsphinx/build/pocketsphinx/_pocketsphinx.cpython-312-x86_64-linux-gnu.so -> pocketsphinx
    running build_py
    copying pocketsphinx/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pocketsphinx/build/pocketsphinx
    copying pocketsphinx/pocketsphinx.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pocketsphinx/build/pocketsphinx
    running egg_info
    creating pocketsphinx.egg-info
    writing pocketsphinx.egg-info/PKG-INFO
    writing dependency_links to pocketsphinx.egg-info/dependency_links.txt writing top-level names to pocketsphinx.egg-info/top_level.txt
    writing manifest file 'pocketsphinx.egg-info/SOURCES.txt'
    reading manifest file 'pocketsphinx.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.h' under directory 'deps/sphinxbase/include'
    no previously-included directories found matching 'deps/sphinxbase/include/wince'
    warning: no files found matching '*.c' under directory 'deps/sphinxbase/src/libsphinxad'
    warning: no files found matching '*.c' under directory 'deps/sphinxbase/src/libsphinxbase'
    warning: no files found matching '*.h' under directory 'deps/sphinxbase/src/libsphinxbase'
    warning: no files found matching '*.h' under directory 'deps/pocketsphinx/include'
    warning: no files found matching '*.c' under directory 'deps/pocketsphinx/src/libpocketsphinx'
    warning: no files found matching '*.h' under directory 'deps/pocketsphinx/src/libpocketsphinx'
    warning: no directories found matching 'pocketsphinx/model'
    warning: no directories found matching 'pocketsphinx/data'
    adding license file 'LICENSE'
    writing manifest file 'pocketsphinx.egg-info/SOURCES.txt'
    I: pybuild base:305: /usr/bin/python3 setup.py build
    running build
    running build_ext
    building 'pocketsphinx._pocketsphinx' extension
    swigging deps/pocketsphinx/swig/pocketsphinx.i to deps/pocketsphinx/swig/pocketsphinx_wrap.c
    swig -python -modern -threads -I/usr/include/sphinxbase -I/usr/share/sphinxbase/swig -Ideps/sphinxbase/include/android -I/usr/include/pocketsphinx -I/usr/share/pocketsphinx/swig -Ideps/sphinxbase/swig -outdir pocketsphinx -o deps/pocketsphinx/swig/
    pocketsphinx_wrap.c deps/pocketsphinx/swig/pocketsphinx.i
    Deprecated command line option: -modern. Ignored, this option is now always on.
    creating build/temp.linux-x86_64-cpython-311
    creating build/temp.linux-x86_64-cpython-311/deps
    creating build/temp.linux-x86_64-cpython-311/deps/pocketsphinx
    creating build/temp.linux-x86_64-cpython-311/deps/pocketsphinx/swig x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -
    fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -I/usr/include/sphinxbase -I/usr/share/sphinxbase/swig -Ideps/
    sphinxbase/include/android -I/usr/include/pocketsphinx -I/usr/share/pocketsphinx/swig -I/usr/include/python3.11 -c deps/pocketsphinx/swig/pocketsphinx_wrap.c -o build/temp.linux-x86_64-cpython-311/deps/pocketsphinx/swig/pocketsphinx_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
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pocketsphinx/build/pocketsphinx
    x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_
    FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-311/deps/pocketsphinx/swig/pocketsphinx_wrap.o -L/usr/lib/x86_64-linux-gnu -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pocketsphinx/build/pocketsphinx/_pocketsphinx.cpython-311-x86_64-linux-gnu.so -
    lpocketsphinx
    copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pocketsphinx/build/pocketsphinx/_pocketsphinx.cpython-311-x86_64-linux-gnu.so -> pocketsphinx
    running build_py
    copying pocketsphinx/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pocketsphinx/build/pocketsphinx
    copying pocketsphinx/pocketsphinx.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pocketsphinx/build/pocketsphinx
    running egg_info
    writing pocketsphinx.egg-info/PKG-INFO
    writing dependency_links to pocketsphinx.egg-info/dependency_links.txt writing top-level names to pocketsphinx.egg-info/top_level.txt
    reading manifest file 'pocketsphinx.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.h' under directory 'deps/sphinxbase/include'
    no previously-included directories found matching 'deps/sphinxbase/include/wince'
    warning: no files found matching '*.c' under directory 'deps/sphinxbase/src/libsphinxad'
    warning: no files found matching '*.c' under directory 'deps/sphinxbase/src/libsphinxbase'
    warning: no files found matching '*.h' under directory 'deps/sphinxbase/src/libsphinxbase'
    warning: no files found matching '*.h' under directory 'deps/pocketsphinx/include'
    warning: no files found matching '*.c' under directory 'deps/pocketsphinx/src/libpocketsphinx'
    warning: no files found matching '*.h' under directory 'deps/pocketsphinx/src/libpocketsphinx'
    warning: no directories found matching 'pocketsphinx/model'
    warning: no directories found matching 'pocketsphinx/data'
    adding license file 'LICENSE'
    writing manifest file 'pocketsphinx.egg-info/SOURCES.txt'
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:305: python3.12 setup.py test
    running test
    WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
    /usr/lib/python3/dist-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    ir_d = dist.fetch_build_eggs(dist.install_requires)
    WARNING: The wheel package is not available. /usr/lib/python3/dist-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    tr_d = dist.fetch_build_eggs(dist.tests_require or [])
    WARNING: The wheel package is not available. /usr/lib/python3/dist-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    er_d = dist.fetch_build_eggs(
    WARNING: The wheel package is not available.
    running egg_info
    writing pocketsphinx.egg-info/PKG-INFO
    writing dependency_links to pocketsphinx.egg-info/dependency_links.txt writing top-level names to pocketsphinx.egg-info/top_level.txt
    reading manifest file 'pocketsphinx.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.h' under directory 'deps/sphinxbase/include'
    no previously-included directories found matching 'deps/sphinxbase/include/wince'
    warning: no files found matching '*.c' under directory 'deps/sphinxbase/src/libsphinxad'
    warning: no files found matching '*.c' under directory 'deps/sphinxbase/src/libsphinxbase'
    warning: no files found matching '*.h' under directory 'deps/sphinxbase/src/libsphinxbase'
    warning: no files found matching '*.h' under directory 'deps/pocketsphinx/include'
    warning: no files found matching '*.c' under directory 'deps/pocketsphinx/src/libpocketsphinx'
    warning: no files found matching '*.h' under directory 'deps/pocketsphinx/src/libpocketsphinx'
    warning: no directories found matching 'pocketsphinx/model'
    warning: no directories found matching 'pocketsphinx/data'
    adding license file 'LICENSE'
    writing manifest file 'pocketsphinx.egg-info/SOURCES.txt'
    running build_ext
    test_jsgf (unittest.loader._FailedTest.test_jsgf) ... ERROR
    test_fsg (unittest.loader._FailedTest.test_fsg) ... ERROR
    test_lm (unittest.loader._FailedTest.test_lm) ... ERROR
    test_config (unittest.loader._FailedTest.test_config) ... ERROR
    test_decoder (unittest.loader._FailedTest.test_decoder) ... ERROR test_lattice (unittest.loader._FailedTest.test_lattice) ... ERROR
    test_kws (unittest.loader._FailedTest.test_kws) ... ERROR
    test_phoneme (unittest.loader._FailedTest.test_phoneme) ... ERROR test_audiofile (unittest.loader._FailedTest.test_audiofile) ... ERROR

    ======================================================================
    ERROR: test_jsgf (unittest.loader._FailedTest.test_jsgf) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_jsgf
    Traceback (most recent call last):
    File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_jsgf.py", line 32, in <module>
    from pocketsphinx import Pocketsphinx, Jsgf
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-312-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_fsg (unittest.loader._FailedTest.test_fsg) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_fsg
    Traceback (most recent call last):
    File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_fsg.py", line 32, in <module>
    from pocketsphinx import LogMath, FsgModel
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-312-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_lm (unittest.loader._FailedTest.test_lm) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_lm
    Traceback (most recent call last):
    File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_lm.py", line 32, in <module>
    from pocketsphinx import Pocketsphinx, NGramModel
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-312-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_config (unittest.loader._FailedTest.test_config) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_config
    Traceback (most recent call last):
    File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_config.py", line 32, in <module>
    from pocketsphinx import DefaultConfig
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-312-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_decoder (unittest.loader._FailedTest.test_decoder) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_decoder
    Traceback (most recent call last):
    File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_decoder.py", line 32, in <module>
    from pocketsphinx import Pocketsphinx
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-312-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_lattice (unittest.loader._FailedTest.test_lattice) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_lattice
    Traceback (most recent call last):
    File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_lattice.py", line 32, in <module>
    from pocketsphinx import Pocketsphinx
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-312-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_kws (unittest.loader._FailedTest.test_kws) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_kws
    Traceback (most recent call last):
    File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_kws.py", line 32, in <module>
    from pocketsphinx import AudioFile
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-312-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_phoneme (unittest.loader._FailedTest.test_phoneme) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_phoneme
    Traceback (most recent call last):
    File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_phoneme.py", line 32, in <module>
    from pocketsphinx import Pocketsphinx
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-312-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_audiofile (unittest.loader._FailedTest.test_audiofile) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_audiofile
    Traceback (most recent call last):
    File "/usr/lib/python3.12/unittest/loader.py", line 137, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_audiofile.py", line 32, in <module>
    from pocketsphinx import AudioFile
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-312-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ----------------------------------------------------------------------
    Ran 9 tests in 0.001s

    FAILED (errors=9)
    Test failed: <unittest.runner.TextTestResult run=9 errors=9 failures=0> error: Test failed: <unittest.runner.TextTestResult run=9 errors=9 failures=0>
    E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: python3.12 setup.py test
    I: pybuild base:305: python3.11 setup.py test
    running test
    WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
    /usr/lib/python3/dist-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    ir_d = dist.fetch_build_eggs(dist.install_requires)
    WARNING: The wheel package is not available. /usr/lib/python3/dist-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    tr_d = dist.fetch_build_eggs(dist.tests_require or [])
    WARNING: The wheel package is not available. /usr/lib/python3/dist-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

    !!
    er_d = dist.fetch_build_eggs(
    WARNING: The wheel package is not available.
    running egg_info
    writing pocketsphinx.egg-info/PKG-INFO
    writing dependency_links to pocketsphinx.egg-info/dependency_links.txt writing top-level names to pocketsphinx.egg-info/top_level.txt
    reading manifest file 'pocketsphinx.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.h' under directory 'deps/sphinxbase/include'
    no previously-included directories found matching 'deps/sphinxbase/include/wince'
    warning: no files found matching '*.c' under directory 'deps/sphinxbase/src/libsphinxad'
    warning: no files found matching '*.c' under directory 'deps/sphinxbase/src/libsphinxbase'
    warning: no files found matching '*.h' under directory 'deps/sphinxbase/src/libsphinxbase'
    warning: no files found matching '*.h' under directory 'deps/pocketsphinx/include'
    warning: no files found matching '*.c' under directory 'deps/pocketsphinx/src/libpocketsphinx'
    warning: no files found matching '*.h' under directory 'deps/pocketsphinx/src/libpocketsphinx'
    warning: no directories found matching 'pocketsphinx/model'
    warning: no directories found matching 'pocketsphinx/data'
    adding license file 'LICENSE'
    writing manifest file 'pocketsphinx.egg-info/SOURCES.txt'
    running build_ext
    test_jsgf (unittest.loader._FailedTest.test_jsgf) ... ERROR
    test_fsg (unittest.loader._FailedTest.test_fsg) ... ERROR
    test_lm (unittest.loader._FailedTest.test_lm) ... ERROR
    test_config (unittest.loader._FailedTest.test_config) ... ERROR
    test_decoder (unittest.loader._FailedTest.test_decoder) ... ERROR test_lattice (unittest.loader._FailedTest.test_lattice) ... ERROR
    test_kws (unittest.loader._FailedTest.test_kws) ... ERROR
    test_phoneme (unittest.loader._FailedTest.test_phoneme) ... ERROR test_audiofile (unittest.loader._FailedTest.test_audiofile) ... ERROR

    ======================================================================
    ERROR: test_jsgf (unittest.loader._FailedTest.test_jsgf) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_jsgf
    Traceback (most recent call last):
    File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_jsgf.py", line 32, in <module>
    from pocketsphinx import Pocketsphinx, Jsgf
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-311-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_fsg (unittest.loader._FailedTest.test_fsg) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_fsg
    Traceback (most recent call last):
    File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_fsg.py", line 32, in <module>
    from pocketsphinx import LogMath, FsgModel
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-311-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_lm (unittest.loader._FailedTest.test_lm) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_lm
    Traceback (most recent call last):
    File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_lm.py", line 32, in <module>
    from pocketsphinx import Pocketsphinx, NGramModel
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-311-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_config (unittest.loader._FailedTest.test_config) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_config
    Traceback (most recent call last):
    File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_config.py", line 32, in <module>
    from pocketsphinx import DefaultConfig
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-311-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_decoder (unittest.loader._FailedTest.test_decoder) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_decoder
    Traceback (most recent call last):
    File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_decoder.py", line 32, in <module>
    from pocketsphinx import Pocketsphinx
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-311-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_lattice (unittest.loader._FailedTest.test_lattice) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_lattice
    Traceback (most recent call last):
    File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_lattice.py", line 32, in <module>
    from pocketsphinx import Pocketsphinx
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *
    File "/usr/lib/python3/dist-packages/sphinxbase/sphinxbase.py", line 24, in <module>
    from . import _sphinxbase
    ImportError: /usr/lib/python3/dist-packages/sphinxbase/_sphinxbase.cpython-311-x86_64-linux-gnu.so: undefined symbol: SWIG_Python_str_AsChar


    ======================================================================
    ERROR: test_kws (unittest.loader._FailedTest.test_kws) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_kws
    Traceback (most recent call last):
    File "/usr/lib/python3.11/unittest/loader.py", line 162, in loadTestsFromName
    module = __import__(module_name)
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "/<<PKGBUILDDIR>>/tests/test_kws.py", line 32, in <module>
    from pocketsphinx import AudioFile
    File "/<<PKGBUILDDIR>>/pocketsphinx/__init__.py", line 35, in <module>
    from sphinxbase.sphinxbase import *

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)