Summary: | media-video/avidemux-2.6.20 fails to build: "Qt requires a C++11 compiler" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Scott Alfter <scott> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, kensington, sir_tuam, via-gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 589412 | ||
Attachments: |
emerge --info
build log emerge --info |
Created attachment 478504 [details]
build log
I have the same issue. Are you still using gcc4? If so, you should update to gcc5. Created attachment 479884 [details]
emerge --info
I have exactly the same problem. I have only gcc 5.4.0 installed.
(In reply to Mircea Sava from comment #3) > Are you still using gcc4? > If so, you should update to gcc5. I'm running gcc 5.4.0. avidemux[qt5] needs to be built with -std=c++11. Before adding this to the ebuild, we'll have to check that this does not affect revdeps. *** Bug 625252 has been marked as a duplicate of this bug. *** Same problem here; #625766 provides a valid workaround. Why is the status still UNCONFIRMED? This should be fixed by git commit 94d0465a437d2bc1e54a7e93da4b1b6eda354d31. |
Created attachment 478502 [details] emerge --info This is just the first error of many: In file included from /usr/include/qt5/QtCore/qglobal.h:83:0, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:43, from /usr/include/qt5/QtNetwork/QNetworkAccessManager:1, from /var/tmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/ADM_update/src/../private_inc/ADM_updateImpl.h:17, from /var/tmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/ADM_update/src/ADM_update.cpp:16: /usr/include/qt5/QtCore/qcompilerdetection.h:562:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. # error Qt requires a C++11 compiler and yours does not seem to be that. ^