Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349617 - Failed to emerge kde-base/systemsettings-4.5.5 with USE=kdeenablefinal
Summary: Failed to emerge kde-base/systemsettings-4.5.5 with USE=kdeenablefinal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks: kdeenablefinal
  Show dependency tree
 
Reported: 2010-12-24 15:09 UTC by Erik
Modified: 2011-02-05 13:44 UTC (History)
0 users

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


Attachments
clean up the namespace after including headers from X.org (kcm_keyboard-cleanup_after_X11_includes-1.diff,1.09 KB, patch)
2010-12-25 07:04 UTC, Erik
Details | Diff
use #include <fixx11h.h> to clean up the namespace after including x11 headers (kdebase-workspace-4.5.4-cleanup_after_X11_includes-1.diff,2.61 KB, patch)
2010-12-26 00:39 UTC, Erik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2010-12-24 15:09:47 UTC
Emerge of kde-base/systemsettings-4.5.4 fails with USE=kdeenablefinal.

Reproducible: Always

Steps to Reproduce:
1. include kdeenablefinal in /etc/make.conf:USE=
2. create /etc/portage/profile/use.mask with the line "-kdeenablefinal"
3. emerge -uDNav world

Actual Results:
In file included from /usr/include/qt4/QtCore/QDir:1,                                                                                                                                                      
                 from /var/tmp/portage/kde-base/systemsettings-4.5.4/work/systemsettings-4.5.4/kcontrol/keyboard/xkb_helper.cpp:22,
                 from /var/tmp/portage/kde-base/systemsettings-4.5.4/work/systemsettings-4.5.4_build/kcontrol/keyboard/kcm_keyboard_final_cpp.cpp:8:
/usr/include/qt4/QtCore/qdir.h:107: fel: expected identifier before numeric constant
/usr/include/qt4/QtCore/qdir.h:107: fel: expected "}" before numeric constant
/usr/include/qt4/QtCore/qdir.h:107: fel: expected unqualified-id before numeric constant
.
.
.

Expected Results:  
successful installation of the package
Comment 1 Erik 2010-12-25 07:04:36 UTC
Created attachment 258006 [details, diff]
clean up the namespace after including headers from X.org

This patch fixes the build error by cleaning up the namespace after including headers from X.org. Also sent to kde-devel.
Comment 2 Erik 2010-12-26 00:39:59 UTC
Created attachment 258072 [details, diff]
use #include <fixx11h.h> to clean up the namespace after including x11 headers

Use #include <fixx11h.h>, as suggested by Oswald Buddenhagen, to clean up the namespace after including X11 headers. This fixes the build for me, and is better than the previous patch. Also sent to kde-devel.
Comment 3 Erik 2011-01-15 07:26:33 UTC
Still fails with kde-base/systemsettings-4.5.5.
Comment 4 Erik 2011-02-05 10:15:28 UTC
Fix committed to upstream trunk and 4.6.
Comment 5 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-02-05 13:44:07 UTC
4.6 in tree, should be fixed