Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625252 - media-video/avidemux-2.6.20[qt4,qt5]: #error Qt requires a C++11 compiler and yours does not seem to be that
Summary: media-video/avidemux-2.6.20[qt4,qt5]: #error Qt requires a C++11 compiler and...
Status: RESOLVED DUPLICATE of bug 623178
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-15 22:30 UTC by Pavel Goran
Modified: 2017-07-15 23:03 UTC (History)
0 users

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


Attachments
build.log (build.log,610.40 KB, text/x-log)
2017-07-15 22:30 UTC, Pavel Goran
Details
emerge --info (emerge.info,8.21 KB, text/plain)
2017-07-15 22:34 UTC, Pavel Goran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Goran 2017-07-15 22:30:07 UTC
Created attachment 484936 [details]
build.log

I'm trying to compile with gcc-5.4.0-r3. If I remove *either* qt4 or qt5 from USE, the package builds and installs fine.

[  1%] Building CXX object ADM_userInterfacesQT5/ADM_shell/CMakeFiles/ADM_shellQT5.dir/moc_Q_shell.cpp.o
cd /volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux-2.6.20_build/buildQt4/ADM_userInterfacesQT5/ADM_shell && /usr/bin/x86_64-pc-linux-gnu-g++  -DADM_UI_TYPE_BUILD=ADM_UI_QT4 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_WIDGETS_LIB -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux-2.6.20_build/buildQt4/config/qt5 -I/usr/include/avidemux/2.6 -I/usr/include/avidemux/2.6/ADM_core -I/usr/include/avidemux/2.6/ADM_coreAudioFilter -I/usr/include/avidemux/2.6/ADM_coreAudioParser -I/usr/include/avidemux/2.6/ADM_coreAudio -I/usr/include/avidemux/2.6/ADM_coreAudioDevice -I/usr/include/avidemux/2.6/ADM_coreAudioEncoder -I/usr/include/avidemux/2.6/ADM_coreDemuxer -I/usr/include/avidemux/2.6/ADM_coreDemuxer/unix -I/usr/include/avidemux/2.6/ADM_coreDemuxerMpeg -I/usr/include/avidemux/2.6/ADM_coreImage -I/usr/include/avidemux/2.6/ADM_coreMuxer -I/usr/include/avidemux/2.6/ADM_coreScript -I/usr/include/avidemux/2.6/ADM_coreUI -I/usr/include/avidemux/2.6/ADM_coreUtils -I/usr/include/avidemux/2.6/ADM_coreVideoEncoder -I/usr/include/avidemux/2.6/ADM_coreVideoFilter -I/usr/include/avidemux/2.6/ADM_coreVideoCodec -I/usr/include/avidemux/2.6/ADM_coreImageLoader -I/usr/include/avidemux/2.6/ADM_coreJobs -I/usr/include/avidemux/2.6/ADM_coreSocket -I/usr/include/avidemux/2.6/ADM_coreAudioCodec -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/ADM_muxerGate/include -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/../common -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/../common/ADM_audioFilter/include -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/../common/ADM_commonUI -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/../common/ADM_videoFilter2/include -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/../common/ADM_videoEncoder/include -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/../common/ADM_editor/include -I/usr/include/avidemux/2.6/ffmpeg -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/../common/ADM_audioCodec/include -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/QtWidgets -I/usr/include/qt5/QtNetwork -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/ADM_UIs/include -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/ADM_userInterfaces/../../ADM_UIs/ADM_QT4/include -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/ADM_userInterfaces/ADM_UIs/include -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux-2.6.20_build/buildQt4/ADM_userInterfacesQT5/ADM_shell -I/volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux_2.6.20/avidemux/qt4/avidemux/ADM_UIs/ADM_QT4/include   -DNDEBUG -Os -finline-functions -frename-registers -pipe -march=nocona -fmessage-length=0 -fPIC   -Werror=attributes -o CMakeFiles/ADM_shellQT5.dir/moc_Q_shell.cpp.o -c /volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux-2.6.20_build/buildQt4/ADM_userInterfacesQT5/ADM_shell/moc_Q_shell.cpp
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/QtWidgets/qabstractitemdelegate.h:43,
                 from /usr/include/qt5/QtWidgets/qitemdelegate.h:43,
                 from /usr/include/qt5/QtWidgets/QItemDelegate:1,
                 from /volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux-2.6.20_build/buildQt4/ADM_userInterfacesQT5/ADM_shell/../../../../avidemux_2.6.20/avidemux/qt4/ADM_userInterfaces/ADM_shell/Q_shell.h:7,
                 from /volumes/temp-fs/vartmp/portage/media-video/avidemux-2.6.20/work/avidemux-2.6.20_build/buildQt4/ADM_userInterfacesQT5/ADM_shell/moc_Q_shell.cpp:9:
/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 Pavel Goran 2017-07-15 22:34:57 UTC
Created attachment 484942 [details]
emerge --info
Comment 2 Pavel Goran 2017-07-15 22:48:37 UTC
If I change the ebuild like it was done for the same error for media-sound/mixxx (https://bugs.gentoo.org/show_bug.cgi?id=590690 , https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf05fe4fe0741874905961f5ff6a4da5b4d77b1), then it compiles and runs fine.
Comment 3 Pavel Goran 2017-07-15 23:03:45 UTC
I found out it's actually a duplicate for https://bugs.gentoo.org/show_bug.cgi?id=623178 . Sorry about that. (#623178 would better mention qt4 and qt5 in its description.)

*** This bug has been marked as a duplicate of bug 623178 ***