Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579038 - media-libs/phonon-4.8.3-r1[qt5] - check_qt_visibility.cpp:1: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support"
Summary: media-libs/phonon-4.8.3-r1[qt5] - check_qt_visibility.cpp:1: /usr/include/qt5...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-04 18:34 UTC by Attila Jecs
Modified: 2016-07-21 18:14 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,34.57 KB, text/plain)
2016-04-04 18:34 UTC, Attila Jecs
Details
emerge --info (file_579038.txt,5.42 KB, text/plain)
2016-04-04 18:40 UTC, Attila Jecs
Details
emerge -pqv (file_579038.txt,127 bytes, text/plain)
2016-04-04 18:41 UTC, Attila Jecs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Jecs 2016-04-04 18:34:37 UTC
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).
Comment 1 Attila Jecs 2016-04-04 18:40:28 UTC
Created attachment 429642 [details]
emerge --info
Comment 2 Attila Jecs 2016-04-04 18:41:41 UTC
Created attachment 429644 [details]
emerge -pqv
Comment 3 Attila Jecs 2016-04-04 18:46:26 UTC
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"
    ^
Comment 4 Andreas Sturmlechner gentoo-dev 2016-04-05 17:03:12 UTC
Since you're using Qt overlay, what version of Qt is that?
Comment 5 Attila Jecs 2016-04-05 18:10:48 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Since you're using Qt overlay, what version of Qt is that?

5.7.0_alpha
Comment 6 Michael Palimaka (kensington) gentoo-dev 2016-04-06 12:15:06 UTC
It would be interesting to know if 9999 builds OK or not.
Comment 7 jospezial 2016-04-06 14:51:34 UTC
(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"
Comment 8 Andreas Sturmlechner gentoo-dev 2016-04-06 17:53:30 UTC
IIRC upstream is going to put together a new release soon.
Comment 9 Andreas Sturmlechner gentoo-dev 2016-04-17 11:11:25 UTC
Could you test 4.8.3 with the following patch applied?

https://quickgit.kde.org/?p=phonon.git&a=commitdiff&h=e5b7ede37a9c89b0ec69ee2be7c219a79e836fe1&hp=e321435ac993e5e0a280263a1c702cec2b671e7c
Comment 10 Paolo Pedroni 2016-06-27 14:15:25 UTC
(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
Comment 11 Michael Palimaka (kensington) gentoo-dev 2016-07-20 14:07:38 UTC
This should be fixed in phonon-4.9.0, please reopen if problems persist.
Comment 12 Paolo Pedroni 2016-07-20 16:13:40 UTC
(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.