Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507484 - media-sound/clementine-1.2.2 fails to build with GCC 4.9
Summary: media-sound/clementine-1.2.2 fails to build with GCC 4.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL: https://github.com/clementine-player/...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.9
  Show dependency tree
 
Reported: 2014-04-12 09:07 UTC by Ryan Hill (RETIRED)
Modified: 2014-04-18 17:23 UTC (History)
3 users (show)

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


Attachments
clementine-1.2.2-gcc49.patch (clementine-1.2.2-gcc49.patch,590 bytes, patch)
2014-04-12 09:07 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2014-04-12 09:07:46 UTC
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;
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2014-04-12 09:13:22 UTC
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. :/
Comment 2 Tolga Dalman 2014-04-13 05:39:02 UTC
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 ?
Comment 3 Nikoli 2014-04-13 14:11:06 UTC
Ryan, thank you for report and patch, please also open upstream bug.
Comment 4 Nikoli 2014-04-18 13:24:33 UTC
Seems upstream is not responsive, thank you for patch, please commit it.
Comment 5 Maxim Koltsov (RETIRED) gentoo-dev 2014-04-18 17:23:13 UTC
Patch commited, thank you.