!!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -4320, Exitcode2 !!! died running emake, kde_src_compile:make !!! emerge aborting on /usr/portage/kde-base/kdepim/kdepim-3.0.2.ebuild
could you post the compiler errors as well ? rarely does the ebuild error msg help in determining the source of your problem
I get numerous "permission denied" messages while trying to create: /root/.kde/share/config Also get errors creating /root/.qt The last thing I see is: In file included from knotes.all_cpp.cpp:3: knote.cpp: In method 'void KNote::slotPrint() const' knote.cpp:498: no matching function for call to 'QTextDocument::setDefaultFont (QFont &) make(3): ***[knotes.all_cpp.o] Error 1 make(3): Leaving directory '/var/tmp/portage/kdepim-3.0.2/work/kdepim- 3.0.2/knotes' make(2): ***[all-recursive] Error 1 make(2): Leaving directory '/var/tmp/portage/kdepim-3.0.2/work/kdepim- 3.0.2/knotes' make(1): ***[all-recursive] Error 1 make(1): Leaving directory '/var/tmp/portage/kdepim-3.0.2/work/kdepim-3.0.2' make: ***[all] Error 2 Then comes the ebuild error message I've installed straight from the instructions. For the kernel, I used the gentoo-sources and I'm using the default USE settings, for now.
*** Bug 5406 has been marked as a duplicate of this bug. ***
Seeing that my bug 5406 was marked as duplicate I will post my fix to this one. It seems that QT 3.0.5 removes setDefaultFont method from the QTextDocument class. the relivant qt file is (qt-source-dir)/src/kernel/qrichtext_p.h NOTE: QT 3.0.3 had this method defined. To fix comment out the offending line of code. see attached kdepim patch. Also see attached ebuild patch to apply the patch. This should close this bug. But one thing to be aware of if a user upgrades to QT 3.0.5 they may see knote segfault because setDefaultFont no longer exists. Has this bug been submited over on kde.org? I don't have a account setup over there but I will set one up to submit this bug if I need to.
Created attachment 2477 [details, diff] kdepim-3.0.2 patch to fix setDefaultFont compile error This patch will comment out the setDefaultFont call in knote.cpp
Created attachment 2478 [details, diff] Ebuild patch to apply the kdepim patch This patch will update the ebuild to apply the kdepim patch.
*** Bug 5482 has been marked as a duplicate of this bug. ***
*** Bug 5441 has been marked as a duplicate of this bug. ***
I went ahead and applied the patch, since there was lots of noise about kde breaking. I hope you don't mind Dan.
If it fixes it I don't mind - I don't use KNote anyway :). Do you mean you've fixed it in the sources that'll get rsync'd to my machine? Or should I manually apply the patch to my sources? Richard, it would seem sensible if you create a kde.org account and report the bug, since you have patches! :)
I will get it submited over at kde.org tonight.
Here's the URL to the cvs tree over at kde.org. They have committed a (better) patch to the CVS tree for 3.1alpha, and have backported it into the 3.0.2 branch. Can we get this bug re-opened and the patch updated? http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdepim/knotes/knote.cpp