Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623178 - media-video/avidemux-2.6.20 fails to build: "Qt requires a C++11 compiler"
Summary: media-video/avidemux-2.6.20 fails to build: "Qt requires a C++11 compiler"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 625252 (view as bug list)
Depends on:
Blocks: qt5-c++11
  Show dependency tree
 
Reported: 2017-06-30 18:07 UTC by Scott Alfter
Modified: 2017-10-29 11:02 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_623178.txt,6.32 KB, text/plain)
2017-06-30 18:07 UTC, Scott Alfter
Details
build log (build.log,600.47 KB, text/plain)
2017-06-30 18:09 UTC, Scott Alfter
Details
emerge --info (emerge.info,6.37 KB, text/plain)
2017-07-02 11:11 UTC, Konrad Wojtoń
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Alfter 2017-06-30 18:07:15 UTC
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.
      ^
Comment 1 Scott Alfter 2017-06-30 18:09:02 UTC
Created attachment 478504 [details]
build log
Comment 2 Juergen Rose 2017-06-30 22:29:13 UTC
I have the same issue.
Comment 3 Mircea Sava 2017-07-01 17:51:24 UTC
Are you still using gcc4?
If so, you should update to gcc5.
Comment 4 Konrad Wojtoń 2017-07-02 11:11:14 UTC
Created attachment 479884 [details]
emerge --info

I have exactly the same problem. I have only gcc 5.4.0 installed.
Comment 5 Scott Alfter 2017-07-03 17:59:13 UTC
(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.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2017-07-04 14:04:28 UTC
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.
Comment 7 Pavel Goran 2017-07-15 23:03:45 UTC
*** Bug 625252 has been marked as a duplicate of this bug. ***
Comment 8 Martin Gebert 2017-09-02 12:38:47 UTC
Same problem here; #625766 provides a valid workaround.
Why is the status still UNCONFIRMED?
Comment 9 Andreas Sturmlechner gentoo-dev 2017-10-29 11:02:16 UTC
This should be fixed by git commit 94d0465a437d2bc1e54a7e93da4b1b6eda354d31.