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

Bug 349820

Summary: Failed to emerge kde-base/nsplugins-4.5.5 with USE=kdeenablefinal
Product: Gentoo Linux Reporter: Erik <esigra>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=263206
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 353246    
Attachments: patch that fixes the build by adding the missing include guard

Description Erik 2010-12-26 19:13:23 UTC
Emerge of kde-base/nsplugins-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 /var/tmp/portage/kde-base/nsplugins-4.5.4/work/nsplugins-4.5.4/nsplugins/viewer/scripting.cpp:30,
                 from /var/tmp/portage/kde-base/nsplugins-4.5.4/work/nsplugins-4.5.4_build/nsplugins/viewer/nspluginviewer_final_cpp.cpp:9:
/var/tmp/portage/kde-base/nsplugins-4.5.4/work/nsplugins-4.5.4/nsplugins/viewer/scripting.h: At global scope:
/var/tmp/portage/kde-base/nsplugins-4.5.4/work/nsplugins-4.5.4/nsplugins/viewer/scripting.h:33: fel: omdefinition av "class kdeNsPluginViewer::ScriptExportEngine"
/var/tmp/portage/kde-base/nsplugins-4.5.4/work/nsplugins-4.5.4/nsplugins/viewer/scripting.h:34: fel: föregående definition av "class kdeNsPluginViewer::ScriptExportEngine"

Expected Results:  
successful installation of the package
Comment 1 Erik 2010-12-26 19:13:59 UTC
Created attachment 258140 [details, diff]
patch that fixes the build by adding the missing include guard
Comment 2 Erik 2011-01-15 08:47:56 UTC
Still fails with kde-base/nsplugins-4.5.5.
Comment 3 Erik 2011-01-15 08:54:13 UTC
Still fails with kde-base/nsplugins-4.5.5.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-03-05 10:54:26 UTC
Fixed in 4.6.1 and overlay, thanks!