/usr/bin/gmake -f CMakeFiles/cmTC_c009c.dir/build.make CMakeFiles/cmTC_c009c.dir/build gmake[1]: Entering directory '/var/tmp/portage/media-libs/phonon-gstreamer-4.8.2/work/phonon-backend-gstreamer-4.8.2-qt5/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_c009c.dir/check_qt_visibility.cpp.o /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -O2 -pipe -ftracer -march=native -mtune=native -frecord-gcc-switches -fdiagnostics-color=auto -g -Wenum-compare -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 -fPIE -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 -o CMakeFiles/cmTC_c009c.dir/check_qt_visibility.cpp.o -c /var/tmp/portage/media-libs/phonon-gstreamer-4.8.2/work/phonon-backend-gstreamer-4.8.2-qt5/CMakeTmp/check_qt_visibility.cpp In file included from /usr/include/qt5/QtCore/QtGlobal:1:0, from /var/tmp/portage/media-libs/phonon-gstreamer-4.8.2/work/phonon-backend-gstreamer-4.8.2-qt5/CMakeTmp/check_qt_visibility.cpp:1: /usr/include/qt5/QtCore/qglobal.h:1067:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)." # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\ ^ CMakeFiles/cmTC_c009c.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c009c.dir/check_qt_visibility.cpp.o' failed gmake[1]: *** [CMakeFiles/cmTC_c009c.dir/check_qt_visibility.cpp.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/media-libs/phonon-gstreamer-4.8.2/work/phonon-backend-gstreamer-4.8.2-qt5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c009c/fast' failed gmake: *** [cmTC_c009c/fast] Error 2 CMake Error at /usr/share/phonon4qt5/buildsystem/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). Call Stack (most recent call first): cmake/FindPhonon.cmake:23 (include) CMakeLists.txt:15 (find_package) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/media-libs/phonon-gstreamer-4.8.2/work/phonon-backend-gstreamer-4.8.2-qt5/CMakeFiles/CMakeOutput.log". * ERROR: media-libs/phonon-gstreamer-4.8.2::gentoo failed (configure phase): * cmake failed *
Created attachment 415408 [details] phonon-gstreamer-4.8.2:20151024-212939.log build.log
It works for me after media-libs/phonon was fixed in bug #555866.
*** Bug 569704 has been marked as a duplicate of this bug. ***