Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350303 - Failed to emerge kde-base/kdepim-runtime-4.4.11.1 with USE=kdeenablefinal
Summary: Failed to emerge kde-base/kdepim-runtime-4.4.11.1 with USE=kdeenablefinal
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: tracking upstream
Keywords:
Depends on:
Blocks: kdeenablefinal
  Show dependency tree
 
Reported: 2011-01-01 18:45 UTC by Erik
Modified: 2012-01-17 12:02 UTC (History)
0 users

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


Attachments
patch that fixes a build error (kdepim-runtime-4.4.9-libkdepim-copy-calendardiffalgo.cpp-fix_build-1.diff,466 bytes, patch)
2011-01-01 18:46 UTC, Erik
Details | Diff
patch that fixes another build error (kdepim-runtime-4.4.9-resources-kolabproxy-distributionlist.cpp-fix_build-1.diff,738 bytes, patch)
2011-01-01 18:50 UTC, Erik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2011-01-01 18:45:27 UTC
Emerge of kde-base/kdepim-runtime-4.4.9 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/kdepim-runtime-4.4.9/work/kdepim-runtime-4.4.9_build/libkdepim-copy/kdepim-copy_final_cpp.cpp:2:                                                           
/var/tmp/portage/kde-base/kdepim-runtime-4.4.9/work/kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp: In member function "void KPIM::CalendarDiffAlgo::diffIncidenceBase(KCal::IncidenceBase*, KCal::IncidenceBase*)":
/var/tmp/portage/kde-base/kdepim-runtime-4.4.9/work/kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp:117: fel: "compareString" deklarerades inte i detta definitionsområde
/var/tmp/portage/kde-base/kdepim-runtime-4.4.9/work/kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp:120: fel: "compareString" deklarerades inte i detta definitionsområde
In file included from /var/tmp/portage/kde-base/kdepim-runtime-4.4.9/work/kdepim-runtime-4.4.9_build/libkdepim-copy/kdepim-copy_final_cpp.cpp:2:
/var/tmp/portage/kde-base/kdepim-runtime-4.4.9/work/kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp: In member function "void KPIM::CalendarDiffAlgo::diffIncidence(KCal::Incidence*, KCal::Incidence*)":
/var/tmp/portage/kde-base/kdepim-runtime-4.4.9/work/kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp:135: fel: "compareString" deklarerades inte i detta definitionsområde
/var/tmp/portage/kde-base/kdepim-runtime-4.4.9/work/kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp:138: fel: "compareString" deklarerades inte i detta definitionsområde
/var/tmp/portage/kde-base/kdepim-runtime-4.4.9/work/kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp:150: fel: "compareString" deklarerades inte i detta definitionsområde
/var/tmp/portage/kde-base/kdepim-runtime-4.4.9/work/kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp:165: fel: "compareString" deklarerades inte i detta definitionsområde

Expected Results:  
successful installation of the package
Comment 1 Erik 2011-01-01 18:46:30 UTC
Created attachment 258580 [details, diff]
patch that fixes a build error
Comment 2 Erik 2011-01-01 18:50:24 UTC
Created attachment 258583 [details, diff]
patch that fixes another build error

Unfortunately there is a build error left after these 2 patches. The source file kdepim-runtime-4.4.9/agents/maildispatcher/outboxqueue.cpp fails to build if <QHash> is included first in the file. And that might obviously cause a build failure in final mode.
Comment 3 Erik 2011-02-03 18:12:49 UTC
Still fails with 4.4.10.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-03-08 22:07:06 UTC
Comment on attachment 258583 [details, diff]
patch that fixes another build error

I added the two patches to the portage tree in 4.4.10. As you say it still does not build with kdeenablefinal.
Comment 5 Erik 2011-04-27 21:46:14 UTC
Still fails with kde-base/kdepim-runtime-4.4.11.1.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2012-01-17 12:02:24 UTC
As per KDE team meeting decision, the kdeenablefinal useflag has been removed.