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

Bug 360519

Summary: [PATCH] Failed to emerge kde-base/solid-4.6.1 with USE=kdeenablefinal: expected class-name before "{" token
Product: Gentoo Linux Reporter: Erik <esigra>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://quickgit.kde.org/?p=kde-workspace.git&a=commitdiff&h=eed12768becf9180481046c056808b16bf77ba42
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 353246    
Attachments: patch that fixes the build

Description Erik 2011-03-26 08:52:06 UTC
Actual result:
In file included from /var/tmp/portage/kde-base/solid-4.6.1/work/solid-4.6.1/solid/modemmanager-0.4/modemlocationinterface.cpp:22,                                                                          
                 from /var/tmp/portage/kde-base/solid-4.6.1/work/solid-4.6.1_build/solid/modemmanager-0.4/solid_modemmanager04_final_cpp.cpp:5:
/var/tmp/portage/kde-base/solid-4.6.1/work/solid-4.6.1/solid/modemmanager-0.4/modemlocationinterface.h:32: fel: expected class-name before "{" token
Comment 1 Erik 2011-03-26 09:58:24 UTC
Created attachment 267257 [details, diff]
patch that fixes the build

The build fails because both files kdebase-workspace-4.6.1/libs/solid/control/ifaces/modem{gsmhso,location}interface.h have the same include guard; SOLID_IFACES_MODEMGSMHSOINTERFACE_H.

It works better when each header file has its own include guard.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-04-08 20:07:20 UTC
Thanks, is fixed in 4.6.2!