Created attachment 429640 [details] build.log phonon doe not build with qt5 use flag CMake Error at cmake/FindPhononInternal.cmake:416 (message): Qt compiled without support for -fvisibility=hidden. This will break plugins and linking of some applications. Please fix your Qt installation (try passing --reduce-exports to configure).
Created attachment 429642 [details] emerge --info
Created attachment 429644 [details] emerge -pqv
Building CXX object CMakeFiles/cmTC_e936b.dir/check_qt_visibility.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -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 -DNDEBUG -march=bdver2 -mbmi -mtbm -mf16c -mfma -mfma4 -mxop -maes -mpclmul -mcx16 -mmmx -mabm -m3dnow -mprefer-avx128 -mvzeroupper -O2 -pipe -fomit-frame-pointer -fPIC -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fvisibility=hidden -o CMakeFiles/cmTC_e936b.dir/check_qt_visibility.cpp.o -c /var/tmp/portage/media-libs/phonon-4.8.3-r1/work/phonon-4.8.3-qt5/CMakeTmp/check_qt_visibility.cpp In file included from /usr/include/qt5/QtCore/qatomic.h:46:0, from /usr/include/qt5/QtCore/qglobal.h:1135, from /usr/include/qt5/QtCore/QtGlobal:1, from /var/tmp/portage/media-libs/phonon-4.8.3-r1/work/phonon-4.8.3-qt5/CMakeTmp/check_qt_visibility.cpp:1: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" # error "Qt requires C++11 support" ^
Since you're using Qt overlay, what version of Qt is that?
(In reply to Andreas Sturmlechner from comment #4) > Since you're using Qt overlay, what version of Qt is that? 5.7.0_alpha
It would be interesting to know if 9999 builds OK or not.
(In reply to Michael Palimaka (kensington) from comment #6) > It would be interesting to know if 9999 builds OK or not. I had no problems building media-libs/phonon-9999 since I switched from phonon-4.8.3-r1 to that live version. ================================================================= Package Settings ================================================================= media-libs/phonon-9999::gentoo was built with the following: USE="gstreamer pulseaudio qt5 vlc (-aqua) -debug -designer -qt4 (-zeitgeist)" ABI_X86="64 -32 -x32" dev-qt/qtcore-4.8.7-r1::poly-c was built with the following: USE="exceptions glib iconv icu libressl ssl (-aqua) -debug -pch -qt3support" ABI_X86="64 -32 -x32" dev-qt/qtcore-5.7.9999::qt was built with the following: USE="icu -debug -systemd -test" ABI_X86="64" sys-devel/gcc-5.3.0::gentoo was built with the following: USE="cxx fortran graphite jit (multilib) multislot nls nptl openmp sanitize (-altivec) (-awt) -cilk -debug -doc (-fixed-point) -gcj -go (-hardened) (-libssp) -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" ABI_X86="64" dev-util/cmake-3.5.1::gentoo was built with the following: USE="ncurses qt5 system-jsoncpp -doc -emacs -qt4 -test" ABI_X86="64"
IIRC upstream is going to put together a new release soon.
Could you test 4.8.3 with the following patch applied? https://quickgit.kde.org/?p=phonon.git&a=commitdiff&h=e5b7ede37a9c89b0ec69ee2be7c219a79e836fe1&hp=e321435ac993e5e0a280263a1c702cec2b671e7c
(In reply to Attila Jecs from comment #0) > Created attachment 429640 [details] > build.log > > phonon doe not build with qt5 use flag > > CMake Error at cmake/FindPhononInternal.cmake:416 (message): > Qt compiled without support for -fvisibility=hidden. This will break > plugins and linking of some applications. Please fix your Qt installation > (try passing --reduce-exports to configure). I have the same error but with qt-5.6.1. The patch in comment #9 does not help at all
This should be fixed in phonon-4.9.0, please reopen if problems persist.
(In reply to Michael Palimaka (kensington) from comment #11) > This should be fixed in phonon-4.9.0, please reopen if problems persist. For me, it is.