sc0ty / subsync

Subtitle Speech Synchronizer
GNU General Public License v3.0
1.25k stars 54 forks source link

Installing as user fails #126

Open ronilaukkarinen opened 2 years ago

ronilaukkarinen commented 2 years ago

Trying to install this as user on system where I don't be able to use root/sudo. I have installed all the prequisities successfully.

Using Python 3.7.

$ export FFMPEG_DIR=/home/rolle/.local/lib/ffmpeg
$ export SPHINXBASE_DIR=/home/rolle/.local/lib/sphinxbase
$ export POCKETSPHINX_DIR=/home/rolle/.local/lib/pocketsphinx
$ export USE_PKG_CONFIG=no
$ pip install --user .
Processing /home2/rolle/apps/subsync
  Preparing metadata (setup.py) ... done
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from subsync==0.16.9) (2018.8.24)
Requirement already satisfied: pysubs2>=0.2.4 in /home2/rolle/.local/lib/python3.7/site-packages (from subsync==0.16.9) (1.3.0)
Requirement already satisfied: PyYAML in /home2/rolle/.local/lib/python3.7/site-packages (from subsync==0.16.9) (6.0)
Requirement already satisfied: pybind11>=2.4 in /home2/rolle/.local/lib/python3.7/site-packages (from subsync==0.16.9) (2.8.0)
Requirement already satisfied: requests>=2.0 in /usr/lib/python3/dist-packages (from subsync==0.16.9) (2.21.0)
Requirement already satisfied: pycryptodome>=3.9 in /home2/rolle/.local/lib/python3.7/site-packages (from subsync==0.16.9) (3.11.0)
Building wheels for collected packages: subsync
  Building wheel for subsync (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home2/rolle/apps/subsync/setup.py'"'"'; __file__='"'"'/home2/rolle/apps/subsync/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-pbbd51cw
       cwd: /home2/rolle/apps/subsync/
  Complete output (80 lines):
  running bdist_wheel
  running build
  running build_py
  writing version number 0.16-9-geee5ce6 -> subsync/version.py
  copying subsync/version.py -> build/lib.linux-x86_64-3.7/subsync
  package init file 'gizmo/__init__.py' not found (or not a regular file)
  package init file 'gizmo/__init__.py' not found (or not a regular file)
  running build_ext
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c /tmp/tmpx5z2zv2v.cpp -o tmp/tmpx5z2zv2v.o -std=c++14
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c /tmp/tmp0yip43hd.cpp -o tmp/tmp0yip43hd.o -fvisibility=hidden
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c /tmp/tmp_qbxpmcu.cpp -o tmp/tmp_qbxpmcu.o -fomit-frame-pointer
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c /tmp/tmplbtnsjrk.cpp -o tmp/tmplbtnsjrk.o -fexpensive-optimizations
  building 'gizmo' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c gizmo/extractor.cpp -o build/temp.linux-x86_64-3.7/gizmo/extractor.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c gizmo/correlator.cpp -o build/temp.linux-x86_64-3.7/gizmo/correlator.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c gizmo/synchro/synchronizer.cpp -o build/temp.linux-x86_64-3.7/gizmo/synchro/synchronizer.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c gizmo/media/demux.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/demux.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  gizmo/media/demux.cpp: In member function ‘bool Demux::step()’:
  gizmo/media/demux.cpp:142:24: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
    av_init_packet(&packet);
                          ^
  In file included from /home2/rolle/.local/lib/ffmpeg/include/libavcodec/avcodec.h:45,
                   from gizmo/media/decoder.h:9,
                   from gizmo/media/demux.h:4,
                   from gizmo/media/demux.cpp:1:
  /home2/rolle/.local/lib/ffmpeg/include/libavcodec/packet.h:503:6: note: declared here
   void av_init_packet(AVPacket *pkt);
        ^~~~~~~~~~~~~~
  gizmo/media/demux.cpp:142:24: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
    av_init_packet(&packet);
                          ^
  In file included from /home2/rolle/.local/lib/ffmpeg/include/libavcodec/avcodec.h:45,
                   from gizmo/media/decoder.h:9,
                   from gizmo/media/demux.h:4,
                   from gizmo/media/demux.cpp:1:
  /home2/rolle/.local/lib/ffmpeg/include/libavcodec/packet.h:503:6: note: declared here
   void av_init_packet(AVPacket *pkt);
        ^~~~~~~~~~~~~~
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c gizmo/media/stream.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/stream.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  gizmo/media/stream.cpp: In constructor ‘AudioFormat::AudioFormat(const AVCodecContext*)’:
  gizmo/media/stream.cpp:151:20: error: ‘av_get_default_channel_layout’ was not declared in this scope
      channelLayout = av_get_default_channel_layout(ctx->channels);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  gizmo/media/stream.cpp:151:20: note: suggested alternative: ‘av_log_default_callback’
      channelLayout = av_get_default_channel_layout(ctx->channels);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      av_log_default_callback
  gizmo/media/stream.cpp: In constructor ‘AudioFormat::AudioFormat(const AVFrame*)’:
  gizmo/media/stream.cpp:170:20: error: ‘av_get_default_channel_layout’ was not declared in this scope
      channelLayout = av_get_default_channel_layout(frame->channels);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  gizmo/media/stream.cpp:170:20: note: suggested alternative: ‘av_log_default_callback’
      channelLayout = av_get_default_channel_layout(frame->channels);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      av_log_default_callback
  gizmo/media/stream.cpp: In static member function ‘static const char* AudioFormat::getChannelName(uint64_t)’:
  gizmo/media/stream.cpp:229:9: error: ‘av_get_channel_name’ was not declared in this scope
    return av_get_channel_name(id);
           ^~~~~~~~~~~~~~~~~~~
  gizmo/media/stream.cpp:229:9: note: suggested alternative: ‘getChannelName’
    return av_get_channel_name(id);
           ^~~~~~~~~~~~~~~~~~~
           getChannelName
  gizmo/media/stream.cpp: In static member function ‘static const char* AudioFormat::getChannelDescription(uint64_t)’:
  gizmo/media/stream.cpp:234:9: error: ‘av_get_channel_description’ was not declared in this scope
    return av_get_channel_description(id);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
  gizmo/media/stream.cpp:234:9: note: suggested alternative: ‘getChannelDescription’
    return av_get_channel_description(id);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
           getChannelDescription
  gizmo/media/stream.cpp: In static member function ‘static uint64_t AudioFormat::getChannelIdByName(const char*)’:
  gizmo/media/stream.cpp:242:19: error: ‘av_get_channel_name’ was not declared in this scope
     const char *n = av_get_channel_name(id);
                     ^~~~~~~~~~~~~~~~~~~
  gizmo/media/stream.cpp:242:19: note: suggested alternative: ‘getChannelName’
     const char *n = av_get_channel_name(id);
                     ^~~~~~~~~~~~~~~~~~~
                     getChannelName
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for subsync
  Running setup.py clean for subsync
Failed to build subsync
Installing collected packages: subsync
    Running setup.py install for subsync ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home2/rolle/apps/subsync/setup.py'"'"'; __file__='"'"'/home2/rolle/apps/subsync/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6ay8v2vo/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/rolle/.local/include/python3.7m/subsync
         cwd: /home2/rolle/apps/subsync/
    Complete output (212 lines):
    running install
    running build
    running build_py
    writing version number 0.16-9-geee5ce6 -> subsync/version.py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/subsync
    copying subsync/utils.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/translations.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/loggercfg.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/cli.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/thread.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/subtitle.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/pubkey.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/config.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/error.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/__init__.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/cmdargs.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/__main__.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/img.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/version.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/settings.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/validator.py -> build/lib.linux-x86_64-3.7/subsync
    creating build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/dictionary.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/pipeline.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/encdetect.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/speech.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/wordsdump.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/controller.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/synchronizer.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/task.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/channels.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/__init__.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/output.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/input.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    creating build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/downloader.py -> build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/item.py -> build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/listupdater.py -> build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/__init__.py -> build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/mgr.py -> build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/assetlist.py -> build/lib.linux-x86_64-3.7/subsync/assets
    creating build/lib.linux-x86_64-3.7/subsync/data
    copying subsync/data/filetypes.py -> build/lib.linux-x86_64-3.7/subsync/data
    copying subsync/data/descriptions.py -> build/lib.linux-x86_64-3.7/subsync/data
    copying subsync/data/__init__.py -> build/lib.linux-x86_64-3.7/subsync/data
    copying subsync/data/languages.py -> build/lib.linux-x86_64-3.7/subsync/data
    copying subsync/data/charenc.py -> build/lib.linux-x86_64-3.7/subsync/data
    creating build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/openwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/channelswin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/fpswin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/batchwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/aboutwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/suspendlock.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/syncwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/mainwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/busydlg.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/subpanel.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/charencwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/downloadwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/__init__.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/outpatternwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/streamselwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/langwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/errorwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/settingswin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    creating build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/batchlistitem.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/openwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/channelswin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/fpswin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/batchwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/aboutwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/syncwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/mainwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/subpanel.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/downloadwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/__init__.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/outpatternwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/streamselwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/errorwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/settingswin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    creating build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/popups.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/streamlist.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/filedrop.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/choicelang.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/thread.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/update.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/notifier.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/__init__.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/combofps.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/choiceenc.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/assetsdlg.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/iconlist.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/filedlg.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    creating build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/outputcell.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/cell.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/__init__.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/drop.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/batchlist.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/inputcell.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    package init file 'gizmo/__init__.py' not found (or not a regular file)
    copying subsync/key.pub -> build/lib.linux-x86_64-3.7/subsync
    creating build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/error.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/icon.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/audio-file.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/subtitle-file.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/run.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/file-remove.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/info.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/tickmark.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/wait.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/props.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/crossmark.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/logo.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/video-file.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/dir.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/ok.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/unknown-file.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/file-add.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/new-file.png -> build/lib.linux-x86_64-3.7/subsync/img
    creating build/lib.linux-x86_64-3.7/subsync/locale
    creating build/lib.linux-x86_64-3.7/subsync/locale/pl
    creating build/lib.linux-x86_64-3.7/subsync/locale/pl/LC_MESSAGES
    copying subsync/locale/pl/LC_MESSAGES/messages.mo -> build/lib.linux-x86_64-3.7/subsync/locale/pl/LC_MESSAGES
    package init file 'gizmo/__init__.py' not found (or not a regular file)
    running build_ext
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c /tmp/tmpwn4t34ae.cpp -o tmp/tmpwn4t34ae.o -std=c++14
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c /tmp/tmpljpjqzrz.cpp -o tmp/tmpljpjqzrz.o -fvisibility=hidden
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c /tmp/tmpszz7_aos.cpp -o tmp/tmpszz7_aos.o -fomit-frame-pointer
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c /tmp/tmpskj392jm.cpp -o tmp/tmpskj392jm.o -fexpensive-optimizations
    building 'gizmo' extension
    creating build/temp.linux-x86_64-3.7
    creating build/temp.linux-x86_64-3.7/gizmo
    creating build/temp.linux-x86_64-3.7/gizmo/synchro
    creating build/temp.linux-x86_64-3.7/gizmo/media
    creating build/temp.linux-x86_64-3.7/gizmo/text
    creating build/temp.linux-x86_64-3.7/gizmo/math
    creating build/temp.linux-x86_64-3.7/gizmo/general
    creating build/temp.linux-x86_64-3.7/gizmo/python
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c gizmo/extractor.cpp -o build/temp.linux-x86_64-3.7/gizmo/extractor.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c gizmo/correlator.cpp -o build/temp.linux-x86_64-3.7/gizmo/correlator.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c gizmo/synchro/synchronizer.cpp -o build/temp.linux-x86_64-3.7/gizmo/synchro/synchronizer.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c gizmo/media/demux.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/demux.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    gizmo/media/demux.cpp: In member function ‘bool Demux::step()’:
    gizmo/media/demux.cpp:142:24: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
      av_init_packet(&packet);
                            ^
    In file included from /home2/rolle/.local/lib/ffmpeg/include/libavcodec/avcodec.h:45,
                     from gizmo/media/decoder.h:9,
                     from gizmo/media/demux.h:4,
                     from gizmo/media/demux.cpp:1:
    /home2/rolle/.local/lib/ffmpeg/include/libavcodec/packet.h:503:6: note: declared here
     void av_init_packet(AVPacket *pkt);
          ^~~~~~~~~~~~~~
    gizmo/media/demux.cpp:142:24: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
      av_init_packet(&packet);
                            ^
    In file included from /home2/rolle/.local/lib/ffmpeg/include/libavcodec/avcodec.h:45,
                     from gizmo/media/decoder.h:9,
                     from gizmo/media/demux.h:4,
                     from gizmo/media/demux.cpp:1:
    /home2/rolle/.local/lib/ffmpeg/include/libavcodec/packet.h:503:6: note: declared here
     void av_init_packet(AVPacket *pkt);
          ^~~~~~~~~~~~~~
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg -I/home2/rolle/.local/lib/ffmpeg/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx -I/home2/rolle/.local/lib/pocketsphinx/include -c gizmo/media/stream.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/stream.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    gizmo/media/stream.cpp: In constructor ‘AudioFormat::AudioFormat(const AVCodecContext*)’:
    gizmo/media/stream.cpp:151:20: error: ‘av_get_default_channel_layout’ was not declared in this scope
        channelLayout = av_get_default_channel_layout(ctx->channels);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    gizmo/media/stream.cpp:151:20: note: suggested alternative: ‘av_log_default_callback’
        channelLayout = av_get_default_channel_layout(ctx->channels);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        av_log_default_callback
    gizmo/media/stream.cpp: In constructor ‘AudioFormat::AudioFormat(const AVFrame*)’:
    gizmo/media/stream.cpp:170:20: error: ‘av_get_default_channel_layout’ was not declared in this scope
        channelLayout = av_get_default_channel_layout(frame->channels);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    gizmo/media/stream.cpp:170:20: note: suggested alternative: ‘av_log_default_callback’
        channelLayout = av_get_default_channel_layout(frame->channels);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        av_log_default_callback
    gizmo/media/stream.cpp: In static member function ‘static const char* AudioFormat::getChannelName(uint64_t)’:
    gizmo/media/stream.cpp:229:9: error: ‘av_get_channel_name’ was not declared in this scope
      return av_get_channel_name(id);
             ^~~~~~~~~~~~~~~~~~~
    gizmo/media/stream.cpp:229:9: note: suggested alternative: ‘getChannelName’
      return av_get_channel_name(id);
             ^~~~~~~~~~~~~~~~~~~
             getChannelName
    gizmo/media/stream.cpp: In static member function ‘static const char* AudioFormat::getChannelDescription(uint64_t)’:
    gizmo/media/stream.cpp:234:9: error: ‘av_get_channel_description’ was not declared in this scope
      return av_get_channel_description(id);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
    gizmo/media/stream.cpp:234:9: note: suggested alternative: ‘getChannelDescription’
      return av_get_channel_description(id);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
             getChannelDescription
    gizmo/media/stream.cpp: In static member function ‘static uint64_t AudioFormat::getChannelIdByName(const char*)’:
    gizmo/media/stream.cpp:242:19: error: ‘av_get_channel_name’ was not declared in this scope
       const char *n = av_get_channel_name(id);
                       ^~~~~~~~~~~~~~~~~~~
    gizmo/media/stream.cpp:242:19: note: suggested alternative: ‘getChannelName’
       const char *n = av_get_channel_name(id);
                       ^~~~~~~~~~~~~~~~~~~
                       getChannelName
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home2/rolle/apps/subsync/setup.py'"'"'; __file__='"'"'/home2/rolle/apps/subsync/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6ay8v2vo/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/rolle/.local/include/python3.7m/subsync Check the logs for full command output.

Any tips?

ronilaukkarinen commented 2 years ago

Tried with older ffmpeg library but now getting different errors:

$ pip install --user .
Processing /home2/rolle/apps/subsync
  Preparing metadata (setup.py) ... done
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from subsync==0.16.9) (2018.8.24)
Requirement already satisfied: pysubs2>=0.2.4 in /home2/rolle/.local/lib/python3.7/site-packages (from subsync==0.16.9) (1.3.0)
Requirement already satisfied: PyYAML in /home2/rolle/.local/lib/python3.7/site-packages (from subsync==0.16.9) (6.0)
Requirement already satisfied: pybind11>=2.4 in /home2/rolle/.local/lib/python3.7/site-packages (from subsync==0.16.9) (2.8.0)
Requirement already satisfied: requests>=2.0 in /usr/lib/python3/dist-packages (from subsync==0.16.9) (2.21.0)
Requirement already satisfied: pycryptodome>=3.9 in /home2/rolle/.local/lib/python3.7/site-packages (from subsync==0.16.9) (3.11.0)
Building wheels for collected packages: subsync
  Building wheel for subsync (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home2/rolle/apps/subsync/setup.py'"'"'; __file__='"'"'/home2/rolle/apps/subsync/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-mfclrdne
       cwd: /home2/rolle/apps/subsync/
  Complete output (31 lines):
  running bdist_wheel
  running build
  running build_py
  writing version number 0.16-9-geee5ce6 -> subsync/version.py
  copying subsync/version.py -> build/lib.linux-x86_64-3.7/subsync
  package init file 'gizmo/__init__.py' not found (or not a regular file)
  package init file 'gizmo/__init__.py' not found (or not a regular file)
  running build_ext
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c /tmp/tmpkg_0uzky.cpp -o tmp/tmpkg_0uzky.o -std=c++14
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c /tmp/tmpay4t1wfj.cpp -o tmp/tmpay4t1wfj.o -fvisibility=hidden
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c /tmp/tmpk3hjswyk.cpp -o tmp/tmpk3hjswyk.o -fomit-frame-pointer
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c /tmp/tmp3qzmi6ky.cpp -o tmp/tmp3qzmi6ky.o -fexpensive-optimizations
  building 'gizmo' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/extractor.cpp -o build/temp.linux-x86_64-3.7/gizmo/extractor.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/correlator.cpp -o build/temp.linux-x86_64-3.7/gizmo/correlator.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/synchro/synchronizer.cpp -o build/temp.linux-x86_64-3.7/gizmo/synchro/synchronizer.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/demux.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/demux.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/stream.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/stream.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/audiodec.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/audiodec.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/resampler.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/resampler.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/subdec.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/subdec.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/speechrec.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/speechrec.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
  In file included from /home2/rolle/.local/lib/sphinxbase/include/sphinxbase/cmd_ln.h:66,
                   from /home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx/pocketsphinx.h:46,
                   from gizmo/media/speechrec.h:6,
                   from gizmo/media/speechrec.cpp:1:
  /home2/rolle/.local/lib/sphinxbase/include/sphinxbase/prim_type.h:88:10: fatal error: sphinx_config.h: No such file or directory
   #include <sphinx_config.h>
            ^~~~~~~~~~~~~~~~~
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for subsync
  Running setup.py clean for subsync
Failed to build subsync
Installing collected packages: subsync
    Running setup.py install for subsync ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home2/rolle/apps/subsync/setup.py'"'"'; __file__='"'"'/home2/rolle/apps/subsync/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ku4mbkfm/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/rolle/.local/include/python3.7m/subsync
         cwd: /home2/rolle/apps/subsync/
    Complete output (163 lines):
    running install
    running build
    running build_py
    writing version number 0.16-9-geee5ce6 -> subsync/version.py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/subsync
    copying subsync/utils.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/translations.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/loggercfg.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/cli.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/thread.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/subtitle.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/pubkey.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/config.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/error.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/__init__.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/cmdargs.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/__main__.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/img.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/version.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/settings.py -> build/lib.linux-x86_64-3.7/subsync
    copying subsync/validator.py -> build/lib.linux-x86_64-3.7/subsync
    creating build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/dictionary.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/pipeline.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/encdetect.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/speech.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/wordsdump.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/controller.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/synchronizer.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/task.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/channels.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/__init__.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/output.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    copying subsync/synchro/input.py -> build/lib.linux-x86_64-3.7/subsync/synchro
    creating build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/downloader.py -> build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/item.py -> build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/listupdater.py -> build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/__init__.py -> build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/mgr.py -> build/lib.linux-x86_64-3.7/subsync/assets
    copying subsync/assets/assetlist.py -> build/lib.linux-x86_64-3.7/subsync/assets
    creating build/lib.linux-x86_64-3.7/subsync/data
    copying subsync/data/filetypes.py -> build/lib.linux-x86_64-3.7/subsync/data
    copying subsync/data/descriptions.py -> build/lib.linux-x86_64-3.7/subsync/data
    copying subsync/data/__init__.py -> build/lib.linux-x86_64-3.7/subsync/data
    copying subsync/data/languages.py -> build/lib.linux-x86_64-3.7/subsync/data
    copying subsync/data/charenc.py -> build/lib.linux-x86_64-3.7/subsync/data
    creating build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/openwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/channelswin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/fpswin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/batchwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/aboutwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/suspendlock.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/syncwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/mainwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/busydlg.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/subpanel.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/charencwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/downloadwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/__init__.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/outpatternwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/streamselwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/langwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/errorwin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    copying subsync/gui/settingswin.py -> build/lib.linux-x86_64-3.7/subsync/gui
    creating build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/batchlistitem.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/openwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/channelswin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/fpswin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/batchwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/aboutwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/syncwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/mainwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/subpanel.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/downloadwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/__init__.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/outpatternwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/streamselwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/errorwin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    copying subsync/gui/layout/settingswin.py -> build/lib.linux-x86_64-3.7/subsync/gui/layout
    creating build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/popups.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/streamlist.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/filedrop.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/choicelang.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/thread.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/update.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/notifier.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/__init__.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/combofps.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/choiceenc.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/assetsdlg.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/iconlist.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    copying subsync/gui/components/filedlg.py -> build/lib.linux-x86_64-3.7/subsync/gui/components
    creating build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/outputcell.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/cell.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/__init__.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/drop.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/batchlist.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    copying subsync/gui/components/batchlist/inputcell.py -> build/lib.linux-x86_64-3.7/subsync/gui/components/batchlist
    package init file 'gizmo/__init__.py' not found (or not a regular file)
    copying subsync/key.pub -> build/lib.linux-x86_64-3.7/subsync
    creating build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/error.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/icon.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/audio-file.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/subtitle-file.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/run.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/file-remove.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/info.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/tickmark.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/wait.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/props.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/crossmark.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/logo.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/video-file.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/dir.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/ok.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/unknown-file.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/file-add.png -> build/lib.linux-x86_64-3.7/subsync/img
    copying subsync/img/new-file.png -> build/lib.linux-x86_64-3.7/subsync/img
    creating build/lib.linux-x86_64-3.7/subsync/locale
    creating build/lib.linux-x86_64-3.7/subsync/locale/pl
    creating build/lib.linux-x86_64-3.7/subsync/locale/pl/LC_MESSAGES
    copying subsync/locale/pl/LC_MESSAGES/messages.mo -> build/lib.linux-x86_64-3.7/subsync/locale/pl/LC_MESSAGES
    package init file 'gizmo/__init__.py' not found (or not a regular file)
    running build_ext
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c /tmp/tmpe94tfsfm.cpp -o tmp/tmpe94tfsfm.o -std=c++14
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c /tmp/tmpqlsbfvqq.cpp -o tmp/tmpqlsbfvqq.o -fvisibility=hidden
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c /tmp/tmpj7egsyos.cpp -o tmp/tmpj7egsyos.o -fomit-frame-pointer
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c /tmp/tmpfbn5xdw7.cpp -o tmp/tmpfbn5xdw7.o -fexpensive-optimizations
    building 'gizmo' extension
    creating build/temp.linux-x86_64-3.7
    creating build/temp.linux-x86_64-3.7/gizmo
    creating build/temp.linux-x86_64-3.7/gizmo/synchro
    creating build/temp.linux-x86_64-3.7/gizmo/media
    creating build/temp.linux-x86_64-3.7/gizmo/text
    creating build/temp.linux-x86_64-3.7/gizmo/math
    creating build/temp.linux-x86_64-3.7/gizmo/general
    creating build/temp.linux-x86_64-3.7/gizmo/python
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/extractor.cpp -o build/temp.linux-x86_64-3.7/gizmo/extractor.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/correlator.cpp -o build/temp.linux-x86_64-3.7/gizmo/correlator.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/synchro/synchronizer.cpp -o build/temp.linux-x86_64-3.7/gizmo/synchro/synchronizer.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/demux.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/demux.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/stream.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/stream.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/audiodec.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/audiodec.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/resampler.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/resampler.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/subdec.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/subdec.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.7m -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/python3.7/site-packages/pybind11/include -I/home2/rolle/.local/lib/ffmpeg-4.1.8 -I/home2/rolle/.local/lib/ffmpeg-4.1.8/include -I/home2/rolle/.local/lib/sphinxbase -I/home2/rolle/.local/lib/sphinxbase/include -I/home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx -c gizmo/media/speechrec.cpp -o build/temp.linux-x86_64-3.7/gizmo/media/speechrec.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
    In file included from /home2/rolle/.local/lib/sphinxbase/include/sphinxbase/cmd_ln.h:66,
                     from /home2/rolle/.local/lib/pocketsphinx/include/pocketsphinx/pocketsphinx.h:46,
                     from gizmo/media/speechrec.h:6,
                     from gizmo/media/speechrec.cpp:1:
    /home2/rolle/.local/lib/sphinxbase/include/sphinxbase/prim_type.h:88:10: fatal error: sphinx_config.h: No such file or directory
     #include <sphinx_config.h>
              ^~~~~~~~~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home2/rolle/apps/subsync/setup.py'"'"'; __file__='"'"'/home2/rolle/apps/subsync/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ku4mbkfm/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/rolle/.local/include/python3.7m/subsync Check the logs for full command output.