Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360519 - [PATCH] Failed to emerge kde-base/solid-4.6.1 with USE=kdeenablefinal: expected class-name before "{" token
Summary: [PATCH] Failed to emerge kde-base/solid-4.6.1 with USE=kdeenablefinal: expect...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: http://quickgit.kde.org/?p=kde-worksp...
Whiteboard:
Keywords:
Depends on:
Blocks: kdeenablefinal
  Show dependency tree
 
Reported: 2011-03-26 08:52 UTC by Erik
Modified: 2011-04-08 20:07 UTC (History)
0 users

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


Attachments
patch that fixes the build (solid-4.6.1-fix_build-1.diff,483 bytes, patch)
2011-03-26 09:58 UTC, Erik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!