8000 Build Failure on #include <mpv/client.h> in 3.9.3 · Issue #251 · flaviotordini/minitube · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Build Failure on #include <mpv/client.h> in 3.9.3 #251
Copy link
Open
@sfalken

Description

@sfalken

I'm attempting to put together an update for minitube, for the flatpak version on flathub, both to update minitube and it's dependencies, and build minitube against a current runtime.

https://github.com/sfalken/org.tordini.flavio.Minitube/tree/Update

The Software versions I'm working with are as follows:
Minitube Dependencies:
libmpv: 0.37.0
libass: 0.17.1
fribidi: 1.0.13
ffmpeg: 4.4.4
Qt: 5.15-23.08

Minitube is failing with the following error during complilation:

g++ -c -pipe -g -O3 -std=gnu++1z -fno-rtti -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DAPP_VERSION=3.9.3 -DAPP_NAME=Minitube -DAPP_UNIX_NAME=minitube -DAPP_SNAPSHOT -DQT_NO_DEBUG_OUTPUT -DQT_USE_QSTRINGBUILDER -DQT_STRICT_ITERATORS -DQT_DEPRECATED_WARNINGS -DHTTP -DMEDIA_MPV -DAPP_LINUX -DDATADIR=\"/app/share\" -DPKGDATADIR=\"/app/share/minitube\" -DQT_NO_DYNAMIC_CAST -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Ilib/http/src -Ilib/idle/src -Ilib/js -Ilib/promises -Ilib/media/src -Ilib/media/src/mpv -Isrc/qtsingleapplication -Isrc/yt -Isrc/yt/invidious -Isrc/yt/ytjs -Isrc -Ilocale -I/usr/include/QtWidgets -I/usr/include/QtX11Extras -I/usr/include/QtGui -I/usr/include/QtQml -I/usr/include/QtNetwork -I/usr/include/QtSql -I/usr/include/QtDBus -I/usr/include/QtCore -Ibuild/moc -I/usr/lib/mkspecs/linux-g++ -o build/obj/lib/media/src/mpv/mediampv.o lib/media/src/mpv/mediampv.cpp
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 342 translation(s) (342 finished and 0 unfinished)
    Ignored 2 untranslated source text(s)
    Generated 344 translation(s) (344 finished and 0 unfinished)
g++ -c -pipe -g -O3 -std=gnu++1z -fno-rtti -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DAPP_VERSION=3.9.3 -DAPP_NAME=Minitube -DAPP_UNIX_NAME=minitube -DAPP_SNAPSHOT -DQT_NO_DEBUG_OUTPUT -DQT_USE_QSTRINGBUILDER -DQT_STRICT_ITERATORS -DQT_DEPRECATED_WARNINGS -DHTTP -DMEDIA_MPV -DAPP_LINUX -DDATADIR=\"/app/share\" -DPKGDATADIR=\"/app/share/minitube\" -DQT_NO_DYNAMIC_CAST -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Ilib/http/src -Ilib/idle/src -Ilib/js -Ilib/promises -Ilib/media/src -Ilib/media/src/mpv -Isrc/qtsingleapplication -Isrc/yt -Isrc/yt/invidious -Isrc/yt/ytjs -Isrc -Ilocale -I/usr/include/QtWidgets -I/usr/include/QtX11Extras -I/usr/include/QtGui -I/usr/include/QtQml -I/usr/include/QtNetwork -I/usr/include/QtSql -I/usr/include/QtDBus -I/usr/include/QtCore -Ibuild/moc -I/usr/lib/mkspecs/linux-g++ -o build/obj/lib/media/src/mpv/mpvwidget.o lib/media/src/mpv/mpvwidget.cpp

...

In file included from lib/media/src/mpv/mpvwidget.cpp:1:
lib/media/src/mpv/mpvwidget.h:5:10: fatal error: mpv/client.h: No such file or directory
    5 | #include <mpv/client.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:3003: build/obj/lib/media/src/mpv/mpvwidget.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from lib/media/src/mpv/mediampv.cpp:1:
lib/media/src/mpv/mediampv.h:7:10: fatal error: mpv/client.h: No such file or directory
    7 | #include <mpv/client.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:3000: build/obj/lib/media/src/mpv/mediampv.o] Error 1
Error: module minitube: Child process exited with code 2

Am I running into an issue with an incompatible version of one of the dependencies, or is this something that needs to be fixed in minitube?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0