Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 584682

Summary: media-sound/amarok-2.8.90-r2: building w/ gcc-6: error: 'Playlists::Playlist::ModelStack' has not been declared
Product: Gentoo Linux Reporter: Peter Levine <plevine457>
Component: [OLD] GCC PortingAssignee: Jorge Manuel B. S. Vicetto <jmbsvicetto>
Status: RESOLVED FIXED    
Severity: normal CC: kde, plevine457, sound
Priority: Normal Keywords: PATCH, UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=363054
Whiteboard: fixed in 2.9
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: amarok-2.8.90-gcc6.patch

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