ffsubsync (https://github.com/smacke/ffsubsync) is an interesting tool
for synchronizing subtitle files for videos in a variety of languages.
It's written in Python but there doesn't appear to be an RPM anywhere I
can find, and my attempts to install it using pip in Fedora trip up on
a missing component:
poc@Bree:~/ffsubsync$ python3 -m venv myenv
poc@Bree:~/ffsubsync$ source myenv/bin/activate
(myenv) poc@Bree:~/ffsubsync$ pip install ffsubsync
[...]
Building wheels for collected packages: faust-cchardet
Building wheel for faust-cchardet (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for faust-cchardet (pyproject.toml) did not run
successfully.
│ exit code: 1
╰─> [28 lines of output]
/tmp/pip-build-env-6vjlksvu/overlay/lib/python3.13/site-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of
a SPDX license expression:
License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
License :: OSI Approved :: GNU General Public License (GPL)
License :: OSI Approved :: GNU Library or Lesser General
Public License (LGPL)
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-313/cchardet
copying src/cchardet/version.py ->
build/lib.linux-x86_64-cpython-313/cchardet
copying src/cchardet/__init__.py ->
build/lib.linux-x86_64-cpython-313/cchardet
running build_ext
building 'cchardet._cchardet' extension
creating build/temp.linux-x86_64-cpython-313/src/cchardet
creating build/temp.linux-x86_64-cpython-313/src/ext/uchardet/src
creating
build/temp.linux-x86_64-cpython-313/src/ext/uchardet/src/LangModels
g++ -fno-strict-overflow -Wsign-compare
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection
-fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC
-Isrc/ext/uchardet/src -I/home/poc/ffsubsync/myenv/include
-I/usr/include/python3.13 -c src/cchardet/_cchardet.cpp -o
build/temp.linux-x86_64-cpython-313/src/cchardet/_cchardet.o
error: command 'g++' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem
with pip.
ERROR: Failed building wheel for faust-cchardet
Failed to build faust-cchardet
[notice] A new release of pip is available: 24.3.1 -> 25.2
[notice] To update, run: pip install --upgrade pip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml
based projects (faust-cchardet)
I'd appreciate any insights.
poc
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue