Summary: | media-sound/clementine-1.2.2 fails to build with GCC 4.9 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nikoli, proxy-maint, tdalman |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/clementine-player/Clementine/issues/4279 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 495124 | ||
Attachments: | clementine-1.2.2-gcc49.patch |
On a side note, to get it to build with 4.8 I had to rebuild protobuf, taglib, and cppunit first. Looks like we're going to be running into some ABI breakage. :/ Obviously, #include <functional> is missing in the mentioned header (see: http://www.cplusplus.com/reference/functional/placeholders/) -- should be easy to fix. Is the problem reported upstream already ? Ryan, thank you for report and patch, please also open upstream bug. Seems upstream is not responsive, thank you for patch, please commit it. Patch commited, thank you. |
Created attachment 374802 [details, diff] clementine-1.2.2-gcc49.patch [ 42%] Building CXX object src/CMakeFiles/clementine_lib.dir/core/mergedproxymodel.cpp.o cd /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/src && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -DBOOST_BIND_NO_PLACEHOLDERS -DBUILD_QXT_CORE -DBUILD_QXT_GUI -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_SQL_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WEBKIT_LIB -DQT_XML_LIB -DQXT_STATIC -DQT_NO_DEBUG_OUTPUT -DNDEBUG -O2 -march=native -g -pipe -fdiagnostics-color -Woverloaded-virtual -Wall -Wno-sign-compare -Wno-deprecated-declarations -Wno-unused-local-typedefs -Wno-unused-private-field -Wno-unknown-warning-option --std=c++0x -U__STRICT_ANSI__ -I/usr/include/taglib -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtCore -I/usr/include/gstreamer-0.10 [...] -I/usr/include/qca2/QtCrypto -o CMakeFiles/clementine_lib.dir/core/mergedproxymodel.cpp.o -c /var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/src/core/mergedproxymodel.cpp In file included from ../../Clementine-1.2.2/src/core/mergedproxymodel.cpp:18:0: ../../Clementine-1.2.2/src/core/mergedproxymodel.h:23:12: error: 'std::placeholders' has not been declared using std::placeholders::_1; ^ ../../Clementine-1.2.2/src/core/mergedproxymodel.h:24:12: error: 'std::placeholders' has not been declared using std::placeholders::_2;