I'm trying to build Amarok 2.9.0 on a Debian Stretch machine (well, Devuan ASCII, but it's essentially the same), after having manually built and installed Googletest (inc. Google Mock) and neopomuk-core, which I couldn't obtained using distribution packages. CMake passes fine, with all optional packages located, but compilation fails: /usr/local/src/amarok-2.9.0/src/playlist/proxymodels/SortAlgorithms.cpp: In member function ‘bool Playlist::multilevelLessThan::operator()(const QAbstractItemModel*, int, int) const’: /usr/local/src/amarok-2.9.0/src/playlist/proxymodels/SortAlgorithms.cpp:98:21: error: expected primary-expression before ‘__attribute__’ __attribute__ ((fallthrough)); ^~~~~~~~~~~~~ src/CMakeFiles/amaroklib.dir/build.make:2712: recipe for target 'src/CMakeFiles/amaroklib.dir/playlist/proxymodels/SortAlgorithms.cpp.o' failed If I comment-out the attribute, compilation (of that file at least) succeeds. I'm using the following compiler: g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Already fixed with https://cgit.kde.org/amarok.git/commit/?id=f047cd8219d9537bb33bba3883bedf6231a0ed5f