readbeyond / aeneas

aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
http://www.readbeyond.it/aeneas/
GNU Affero General Public License v3.0
2.53k stars 233 forks source link

Building wheel for aeneas (setup.py) ... error #311

Open czydfj opened 1 month ago

czydfj commented 1 month ago

Building wheel for aeneas (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [207 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/aeneas copying aeneas/task.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/tree.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/logger.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/adjustboundaryalgorithm.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/ffprobewrapper.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/container.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/ffmpegwrapper.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/audiofile.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/configuration.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/synthesizer.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/exacttiming.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/mfcc.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/diagnostics.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/audiofilemfcc.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/globalconstants.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/executejob.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/executetask.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/language.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/analyzecontainer.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/dtw.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/sd.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/downloader.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/job.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/vad.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/textfile.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/runtimeconfiguration.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/cewsubprocess.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/globalfunctions.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/validator.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/init.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/wavfile.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/hierarchytype.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/idsortingalgorithm.py -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/plotter.py -> build/lib.linux-x86_64-3.8/aeneas creating build/lib.linux-x86_64-3.8/aeneas/cdtw copying aeneas/cdtw/cdtw_setup.py -> build/lib.linux-x86_64-3.8/aeneas/cdtw copying aeneas/cdtw/init.py -> build/lib.linux-x86_64-3.8/aeneas/cdtw creating build/lib.linux-x86_64-3.8/aeneas/cew copying aeneas/cew/cew_setup.py -> build/lib.linux-x86_64-3.8/aeneas/cew copying aeneas/cew/init.py -> build/lib.linux-x86_64-3.8/aeneas/cew creating build/lib.linux-x86_64-3.8/aeneas/cfw copying aeneas/cfw/cfw_setup.py -> build/lib.linux-x86_64-3.8/aeneas/cfw copying aeneas/cfw/init.py -> build/lib.linux-x86_64-3.8/aeneas/cfw creating build/lib.linux-x86_64-3.8/aeneas/cmfcc copying aeneas/cmfcc/cmfcc_setup.py -> build/lib.linux-x86_64-3.8/aeneas/cmfcc copying aeneas/cmfcc/init.py -> build/lib.linux-x86_64-3.8/aeneas/cmfcc creating build/lib.linux-x86_64-3.8/aeneas/cwave copying aeneas/cwave/cwave_setup.py -> build/lib.linux-x86_64-3.8/aeneas/cwave copying aeneas/cwave/init.py -> build/lib.linux-x86_64-3.8/aeneas/cwave creating build/lib.linux-x86_64-3.8/aeneas/extra copying aeneas/extra/ctw_espeak.py -> build/lib.linux-x86_64-3.8/aeneas/extra copying aeneas/extra/ctw_speect.py -> build/lib.linux-x86_64-3.8/aeneas/extra copying aeneas/extra/init.py -> build/lib.linux-x86_64-3.8/aeneas/extra creating build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfsmil.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfsub.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfbase.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smftsv.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfgxml.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfcsv.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfxml.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfrbse.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfjson.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/missingparametererror.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/fragment.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smftxt.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfvtt.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfssv.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfgtabular.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfxmllegacy.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfsrt.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/headtailformat.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smftextgrid.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfaudacity.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfeaf.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/format.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfttml.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/init.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/fragmentlist.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap copying aeneas/syncmap/smfgsubtitles.py -> build/lib.linux-x86_64-3.8/aeneas/syncmap creating build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/abstract_cli_program.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/convert_syncmap.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/run_vad.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/execute_job.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/execute_task.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/ffprobe_wrapper.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/run_sd.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/extract_mfcc.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/synthesize_text.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/plot_waveform.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/read_audio.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/ffmpeg_wrapper.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/read_text.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/hydra.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/validate.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/download.py -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/tools/init.py -> build/lib.linux-x86_64-3.8/aeneas/tools creating build/lib.linux-x86_64-3.8/aeneas/ttswrappers copying aeneas/ttswrappers/macosttswrapper.py -> build/lib.linux-x86_64-3.8/aeneas/ttswrappers copying aeneas/ttswrappers/awsttswrapper.py -> build/lib.linux-x86_64-3.8/aeneas/ttswrappers copying aeneas/ttswrappers/festivalttswrapper.py -> build/lib.linux-x86_64-3.8/aeneas/ttswrappers copying aeneas/ttswrappers/espeakngttswrapper.py -> build/lib.linux-x86_64-3.8/aeneas/ttswrappers copying aeneas/ttswrappers/basettswrapper.py -> build/lib.linux-x86_64-3.8/aeneas/ttswrappers copying aeneas/ttswrappers/espeakttswrapper.py -> build/lib.linux-x86_64-3.8/aeneas/ttswrappers copying aeneas/ttswrappers/nuancettswrapper.py -> build/lib.linux-x86_64-3.8/aeneas/ttswrappers copying aeneas/ttswrappers/init.py -> build/lib.linux-x86_64-3.8/aeneas/ttswrappers creating build/lib.linux-x86_64-3.8/aeneas/res copying aeneas/res/LiberationMono-Regular.ttf -> build/lib.linux-x86_64-3.8/aeneas/res copying aeneas/res/finetuneas.html -> build/lib.linux-x86_64-3.8/aeneas/res copying aeneas/res/init.py -> build/lib.linux-x86_64-3.8/aeneas/res copying aeneas/README.md -> build/lib.linux-x86_64-3.8/aeneas copying aeneas/cdtw/cdtw_driver.c -> build/lib.linux-x86_64-3.8/aeneas/cdtw copying aeneas/cdtw/cdtw_py.c -> build/lib.linux-x86_64-3.8/aeneas/cdtw copying aeneas/cdtw/cdtw_func.c -> build/lib.linux-x86_64-3.8/aeneas/cdtw copying aeneas/cdtw/cdtw_func.h -> build/lib.linux-x86_64-3.8/aeneas/cdtw copying aeneas/cdtw/README.md -> build/lib.linux-x86_64-3.8/aeneas/cdtw copying aeneas/cew/cew_func.h -> build/lib.linux-x86_64-3.8/aeneas/cew copying aeneas/cew/speak_lib.h -> build/lib.linux-x86_64-3.8/aeneas/cew copying aeneas/cew/README.md -> build/lib.linux-x86_64-3.8/aeneas/cew copying aeneas/cmfcc/cmfcc_func.c -> build/lib.linux-x86_64-3.8/aeneas/cmfcc copying aeneas/cmfcc/cmfcc_driver.c -> build/lib.linux-x86_64-3.8/aeneas/cmfcc copying aeneas/cmfcc/cmfcc_py.c -> build/lib.linux-x86_64-3.8/aeneas/cmfcc copying aeneas/cmfcc/cmfcc_func.h -> build/lib.linux-x86_64-3.8/aeneas/cmfcc copying aeneas/cmfcc/README.md -> build/lib.linux-x86_64-3.8/aeneas/cmfcc copying aeneas/cwave/cwave_func.c -> build/lib.linux-x86_64-3.8/aeneas/cwave copying aeneas/cwave/cwave_driver.c -> build/lib.linux-x86_64-3.8/aeneas/cwave copying aeneas/cwave/cwave_py.c -> build/lib.linux-x86_64-3.8/aeneas/cwave copying aeneas/cwave/cwave_func.h -> build/lib.linux-x86_64-3.8/aeneas/cwave copying aeneas/cwave/README.md -> build/lib.linux-x86_64-3.8/aeneas/cwave copying aeneas/extra/README.md -> build/lib.linux-x86_64-3.8/aeneas/extra creating build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/sonnet.zzz -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/page.xhtml -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/sonnet.json -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/unparsed.xhtml -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/audio.wav -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/words.txt -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/config.txt -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/audio.mp3 -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/sonnet.csv -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/config.bad.txt -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/sonnet.vad -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/config.bad.xml -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/job.bad.zip -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/plain.txt -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/job.zip -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/mplain.txt -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/config.xml -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/munparsed2.xhtml -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/subtitles.txt -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/munparsed.xhtml -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/parsed.txt -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/res/job_no_config.zip -> build/lib.linux-x86_64-3.8/aeneas/tools/res copying aeneas/tools/README.md -> build/lib.linux-x86_64-3.8/aeneas/tools copying aeneas/ttswrappers/README.md -> build/lib.linux-x86_64-3.8/aeneas/ttswrappers running build_ext building 'aeneas.cdtw.cdtw' extension Warning: Can't read registry to find the necessary compiler setting Make sure that Python modules winreg, win32api or win32con are installed. INFO: C compiler: /usr/local/gcc/bin/gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/aeneas
  creating build/temp.linux-x86_64-3.8/aeneas/cdtw
  creating build/temp.linux-x86_64-3.8/aeneas/cint
  INFO: compile options: '-I/usr/local/python/lib/python3.8/site-packages/numpy/core/include -I['/usr/local/python/lib/python3.8/site-packages/numpy/core/include'] -I/usr/local/python/include/python3.8 -c'
  INFO: gcc: aeneas/cdtw/cdtw_py.c
  INFO: gcc: aeneas/cdtw/cdtw_func.cINFO: gcc: aeneas/cint/cint.c

  INFO: /usr/local/gcc/bin/gcc -pthread -shared build/temp.linux-x86_64-3.8/aeneas/cdtw/cdtw_py.o build/temp.linux-x86_64-3.8/aeneas/cdtw/cdtw_func.o build/temp.linux-x86_64-3.8/aeneas/cint/cint.o -L/usr/local/python/lib -o build/lib.linux-x86_64-3.8/aeneas/cdtw/cdtw.cpython-38-x86_64-linux-gnu.so
  building 'aeneas.cmfcc.cmfcc' extension
  INFO: C compiler: /usr/local/gcc/bin/gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

  creating build/temp.linux-x86_64-3.8/aeneas/cmfcc
  creating build/temp.linux-x86_64-3.8/aeneas/cwave
  INFO: compile options: '-I/usr/local/python/lib/python3.8/site-packages/numpy/core/include -I['/usr/local/python/lib/python3.8/site-packages/numpy/core/include'] -I/usr/local/python/include/python3.8 -c'
  INFO: gcc: aeneas/cmfcc/cmfcc_py.c
  INFO: gcc: aeneas/cmfcc/cmfcc_func.cINFO: gcc: aeneas/cwave/cwave_func.c

  INFO: gcc: aeneas/cint/cint.c
  aeneas/cmfcc/cmfcc_func.c: In function ‘_precompute_sin_table’:
  aeneas/cmfcc/cmfcc_func.c:83:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘const unsigned int’} [-Wsign-compare]
       for (k = 1; k < size; ++k) {
                     ^
  aeneas/cmfcc/cmfcc_func.c: In function ‘fft’:
  aeneas/cmfcc/cmfcc_func.c:109:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘const unsigned int’} [-Wsign-compare]
               for (li = lix; li <= m; li += lix) {
                                 ^~
  INFO: /usr/local/gcc/bin/gcc -pthread -shared build/temp.linux-x86_64-3.8/aeneas/cmfcc/cmfcc_py.o build/temp.linux-x86_64-3.8/aeneas/cmfcc/cmfcc_func.o build/temp.linux-x86_64-3.8/aeneas/cwave/cwave_func.o build/temp.linux-x86_64-3.8/aeneas/cint/cint.o -L/usr/local/python/lib -o build/lib.linux-x86_64-3.8/aeneas/cmfcc/cmfcc.cpython-38-x86_64-linux-gnu.so
  building 'aeneas.cew.cew' extension
  INFO: C compiler: /usr/local/gcc/bin/gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC

  creating build/temp.linux-x86_64-3.8/aeneas/cew
  INFO: compile options: '-I['/usr/local/python/lib/python3.8/site-packages/numpy/core/include'] -I/usr/local/python/include/python3.8 -c'
  INFO: gcc: aeneas/cew/cew_py.cINFO: gcc: aeneas/cew/cew_func.c

  INFO: /usr/local/gcc/bin/gcc -pthread -shared build/temp.linux-x86_64-3.8/aeneas/cew/cew_py.o build/temp.linux-x86_64-3.8/aeneas/cew/cew_func.o -L/usr/local/python/lib -lespeak -o build/lib.linux-x86_64-3.8/aeneas/cew/cew.cpython-38-x86_64-linux-gnu.so
  /usr/bin/ld: cannot find -lespeak
  collect2: error: ld returned 1 exit status
  error: Command "/usr/local/gcc/bin/gcc -pthread -shared build/temp.linux-x86_64-3.8/aeneas/cew/cew_py.o build/temp.linux-x86_64-3.8/aeneas/cew/cew_func.o -L/usr/local/python/lib -lespeak -o build/lib.linux-x86_64-3.8/aeneas/cew/cew.cpython-38-x86_64-linux-gnu.so" failed with exit status 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for aeneas Running setup.py clean for aeneas Failed to build aeneas Installing collected packages: aeneas

jjolmo commented 3 hours ago

Having the same issue. Cannot find a way to just install or clone/setup this package in Linux Mint