Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584682 - media-sound/amarok-2.8.90-r2: building w/ gcc-6: error: 'Playlists::Playlist::ModelStack' has not been declared
Summary: media-sound/amarok-2.8.90-r2: building w/ gcc-6: error: 'Playlists::Playlist:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: fixed in 2.9
Keywords: PATCH, UPSTREAM
Depends on:
Blocks: gcc-6
  Show dependency tree
 
Reported: 2016-05-31 17:22 UTC by Peter Levine
Modified: 2016-06-01 19:16 UTC (History)
3 users (show)

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


Attachments
amarok-2.8.90-gcc6.patch (amarok-2.8.90-gcc6.patch,887 bytes, patch)
2016-05-31 17:22 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2016-05-31 17:22:37 UTC
Created attachment 435964 [details, diff]
amarok-2.8.90-gcc6.patch

Building media-sound/amarok-2.8.90-r2 with gcc-6 fails with:

> /var/tmp/portage/media-sound/amarok-2.8.90-r2/work/amarok-2.8.90/src/core-impl/playlists/types/file/xspf/XSPFPlaylist.cpp: In member function 'void Playlists::XSPFPlaylist::load()':
> /var/tmp/portage/media-sound/amarok-2.8.90-r2/work/amarok-2.8.90/src/core-impl/playlists/types/file/xspf/XSPFPlaylist.cpp:104:33: error: 'Playlists::Playlist::ModelStack' has not been declared
>                     ::Playlist::ModelStack::instance()->bottom()->rowCount(),
>                                 ^~~~~~~~~~

Bug submitted upstream: https://bugs.kde.org/show_bug.cgi?id=363054

Patch from opensuse: https://build.opensuse.org/package/view_file/openSUSE:Factory/amarok/gcc6-workaround.patch?rev=b81d335fe49337f84d9c5c232b5746a2