cd /var/tmp/portage/media-libs/qtav-1.12.0/work/qtav-1.12.0_build/qml && /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_QMLAV_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQmlAV_EXPORTS -I/var/tmp/portage/media-libs/qtav-1.12.0/work/qtav-1.12.0_build/qml -I/var/tmp/portage/media-libs/qtav-1.12.0/work/QtAV-1.12.0/qml -I/var/tmp/portage/media-libs/qtav-1.12.0/work/qtav-1.12.0_build/qml/QmlAV_autogen/include -I/var/tmp/portage/media-libs/qtav-1.12.0/work/QtAV-1.12.0/qml/QmlAV -I/var/tmp/portage/media-libs/qtav-1.12.0/work/QtAV-1.12.0/src -I/var/tmp/portage/media-libs/qtav-1.12.0/work/QtAV-1.12.0/src/QtAV -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtQmlModels -DNDEBUG -O2 -pipe -march=native -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -o CMakeFiles/QmlAV.dir/SGVideoNode.cpp.o -c /var/tmp/portage/media-libs/qtav-1.12.0/work/QtAV-1.12.0/qml/SGVideoNode.cpp /var/tmp/portage/media-libs/qtav-1.12.0/work/QtAV-1.12.0/qml/SGVideoNode.cpp:56:32: error: invalid use of incomplete type ‘class QSGMaterial’ 56 | class SGVideoMaterial : public QSGMaterial | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtQuick/QSGGeometryNode:1, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-libressl_test-20191218-224550 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.1 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) [4] pypy3 (fallback) Available Rust versions: [1] rust-1.40.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sun, 22 Dec 2019 20:05:51 +0000 emerge -qpvO media-libs/qtav [ebuild N ] media-libs/qtav-1.12.0 USE="opengl -gui -libav -portaudio -pulseaudio -vaapi"
Created attachment 600408 [details] emerge-info.txt
Created attachment 600410 [details] emerge-history.txt
Created attachment 600412 [details] environment
Created attachment 600414 [details] etc.portage.tbz2
Created attachment 600416 [details] logs.tbz2
Created attachment 600418 [details] media-libs:qtav-1.12.0:20191222-203107.log
Created attachment 600420 [details] temp.tbz2
Created attachment 602704 [details, diff] Proposed patch (not sure if both headers are needed) I just ran into this too, and adding these two headers (with the patch applied via the eapply_user mechanism) worked. No idea which one or if both headers are needed, I'm too tired to care, which explains the patches filename, too ;) HTH...
(In reply to David Haller from comment #8) > Created attachment 602704 [details, diff] [details, diff] > Proposed patch (not sure if both headers are needed) > > I just ran into this too, and adding these two headers (with the patch > applied via the eapply_user mechanism) worked. No idea which one or if both > headers are needed, I'm too tired to care, which explains the patches > filename, too ;) HTH... Thank you for the patch. I will add it as soon I have upgraded my Qt to 5.14. Would be nice if you send it upstream.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc58ee0973adc018239f499f2715ef87de4a7857 commit fc58ee0973adc018239f499f2715ef87de4a7857 Author: Johannes Huber <johu@gentoo.org> AuthorDate: 2020-01-07 21:52:50 +0000 Commit: Johannes Huber <johu@gentoo.org> CommitDate: 2020-01-07 21:53:55 +0000 media-libs/qtav: Fix build w/ Qt 5.14 Thanks-to: David Haller <gentoo@dhaller.de> Closes: https://bugs.gentoo.org/703560 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Johannes Huber <johu@gentoo.org> media-libs/qtav/files/qtav-1.12.0-qt5.14.patch | 12 ++++++++++++ media-libs/qtav/qtav-1.12.0-r1.ebuild | 1 + 2 files changed, 13 insertions(+)
No need to upstream, it seems that adding QSGMaterial suffices, see: https://github.com/wang-bin/QtAV/commit/5abba7f0505e75fceabd4dd8992a7e02bb149d64 And no, I did not see that before ;)