Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12011 - kdebase-3.0.4-r3 build fails
Summary: kdebase-3.0.4-r3 build fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 12378 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-12 03:37 UTC by Holden Glova
Modified: 2003-02-04 19:42 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holden Glova 2002-12-12 03:37:20 UTC
Hello,

kdebase-3.0.4-r3 fails to build for me. I get the following error:

keyecandypagedlg.cpp: In method `KEyeCandyPageDlg::KEyeCandyPageDlg(QWidget * =
0, const char * = 0, unsigned int = 0)':
keyecandypagedlg.cpp:86: invalid use of undefined type `class KListView'
keyecandypagedlg.h:18: forward declaration of `class KListView'
keyecandypagedlg.cpp:88: no matching function for call to
`QGridLayout::addWidget (KListView *&, int, int)'
/usr/qt/3/include/qlayout.h:323: candidates are: void
QGridLayout::addWidget(QWidget *, int, int, int = 0)
make[3]: *** [keyecandypagedlg.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/kdebase-3.0.4-r3/work/kdebase-3.0.4/kpersonalizer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdebase-3.0.4-r3/work/kdebase-3.0.4/kpersonalizer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.0.4-r3/work/kdebase-3.0.4'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.0.4-r3 failed.
!!! Function kde_src_compile, Line -8427, Exitcode 2
!!! died running emake, kde_src_compile:make

I am building this against QT 3.1.0-r1.
Any help is greatly appreciated.
Comment 1 Michiel de Bruijne 2002-12-12 06:18:28 UTC
That's because kdelibs has been build against QT3.0.x, re-emerge kdelibs first, 
after that emerge kdebase. 
Comment 2 Dave Andruczyk 2002-12-12 15:55:13 UTC
I have the identical build failure.  QT is version 3.1.0-r1
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-12 19:15:53 UTC
please 'emerge kdelibs kdebase' as Michiel de Bruijne said in comment #1. 
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-15 19:59:29 UTC
you still have this problem? 
anyone tried 'emerge kdelibs kdebase'? 
Comment 5 Holden Glova 2002-12-15 23:35:20 UTC
No, this worked nicely for me. Thank you Michiel and Hannes. 
Comment 6 Dave Andruczyk 2002-12-16 09:06:14 UTC
running "emerge kdelibs kdebase" DID work successfully,  but not just "emerge
kdebase", or "emerge world --update".

Suggest adjusting that ebuild so that it forces a rebuild of kdelibs so this
won't stop "emerge --update world" processes in the future..

Comment 7 Todd 2002-12-18 04:50:27 UTC
This patch fixes the problem without needing to re-emerge kdelibs (which is
painful) Patch:  Stolen from a freebsd list
http://lists.csociety.org/pipermail/kde-freebsd/2002-August/002392.html

--- kpersonalizer/keyecandypagedlg.h.orig	Fri Aug  2 11:46:07 2002
+++ kpersonalizer/keyecandypagedlg.h	Fri Aug  2 11:46:22 2002
@@ -11,6 +11,7 @@
 
 #include <qvariant.h>
 #include <qwidget.h>
+#include <klistview.h>
 class QVBoxLayout; 
 class QHBoxLayout; 
 class QGridLayout; 
Comment 8 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-18 09:59:52 UTC
*** Bug 12378 has been marked as a duplicate of this bug. ***
Comment 9 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-18 15:19:56 UTC
Todd: well, did you read the whole thread about this patch? 
this patch doesn't work. 
please read this thread why it doesn't work: 
http://article.gmane.org/gmane.linux.gentoo.devel/6140 
esp: http://article.gmane.org/gmane.linux.gentoo.devel/6170 and 
http://article.gmane.org/gmane.linux.gentoo.devel/6173 
 
thx. 
Comment 10 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-06 04:57:01 UTC
an einfo about recompiling kdelibs after qt upgrade was added to qt-3.1.x ebuilds. 
closing this bug, as soon as portage supports a feature "after merging foo remerge 
bar", kdelibs will be forced to be recompiled if a major qt version upgrade is done. 
 
thanks.