Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15298 - KDE 3.1: emerge -b -k --update kde fails in kdeaddons
Summary: KDE 3.1: emerge -b -k --update kde fails in kdeaddons
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-07 19:30 UTC by Stuart Herbert (RETIRED)
Modified: 2003-04-12 12:39 UTC (History)
0 users

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 Stuart Herbert (RETIRED) gentoo-dev 2003-02-07 19:30:26 UTC
I'm trying to install KDE 3.1 on my Gentoo Linux box.

Unfortunately, KDE 3.1 fails to compile on my machine, and I can't figure out 
why the ebuild doesn't work.

It fails trying to build the kdeaddons ebuild.  It appears that the kate 
plugins inside kdeaddons rely on header files for kate that are not on my 
computer.  I'm not sure which ebuild should be installing these header files, 
and why they have not been installed at all.

Reproducible: Always
Steps to Reproduce:
1. emerge -b -k --update kde
2.
3.

Actual Results:  
Making all in kate
make[2]: Entering directory `/var/tmp/portage/kdeaddons-3.1/work/kdeaddons-
3.1/k
ate'
Making all in htmltools
make[3]: Entering directory `/var/tmp/portage/kdeaddons-3.1/work/kdeaddons-
3.1/k
ate/htmltools'
/usr/qt/3/bin/moc ./plugin_katehtmltools.h -o plugin_katehtmltools.moc
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include   -
D
QT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -
Wall
 -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -
D_XOPE
N_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -
ma
rch=i686 -O3 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new -
DQT_CLEA
N_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST  -c -o plugin_katehtmltools.lo 
`te
st -f 'plugin_katehtmltools.cpp' || echo './'`plugin_katehtmltools.cpp
In file included from plugin_katehtmltools.cpp:18:
plugin_katehtmltools.h:23:25: kate/plugin.h: No such file or directory
plugin_katehtmltools.h:24:30: kate/application.h: No such file or directory
plugin_katehtmltools.h:27:34: kate/documentmanager.h: No such file or directory
plugin_katehtmltools.h:28:29: kate/mainwindow.h: No such file or directory
plugin_katehtmltools.h:29:30: kate/viewmanager.h: No such file or directory
In file included from plugin_katehtmltools.cpp:18:
plugin_katehtmltools.h:48: `Plugin' is not a class or namespace
plugin_katehtmltools.h:54: `MainWindow' undeclared in namespace `Kate'
plugin_katehtmltools.h:54: `win' was not declared in this scope
plugin_katehtmltools.h:54: invalid data member initialization
plugin_katehtmltools.h:54: (use `=' to initialize static data members)
plugin_katehtmltools.h:54: variable or field `addView' declared void
plugin_katehtmltools.h:55: `MainWindow' undeclared in namespace `Kate'
plugin_katehtmltools.h:55: `win' was not declared in this scope
plugin_katehtmltools.h:55: invalid data member initialization
plugin_katehtmltools.h:55: variable or field `removeView' declared void
In file included from plugin_katehtmltools.cpp:19:
plugin_katehtmltools.moc: In static member function `static QMetaObject*
   PluginKateHtmlTools::staticMetaObject()':
plugin_katehtmltools.moc:133: no class template named `Plugin' in `Kate'
plugin_katehtmltools.moc: In member function `virtual void*
   PluginKateHtmlTools::qt_cast(const char*)':
plugin_katehtmltools.moc:156: `Plugin' undeclared (first use this function)
plugin_katehtmltools.moc:156: (Each undeclared identifier is reported only once

   for each function it appears in.)
plugin_katehtmltools.moc:156: parse error before `::' token
plugin_katehtmltools.moc: In member function `virtual bool
   PluginKateHtmlTools::qt_invoke(int, QUObject*)':
plugin_katehtmltools.moc:164: parse error before `::' token
plugin_katehtmltools.moc: In member function `virtual bool
   PluginKateHtmlTools::qt_emit(int, QUObject*)':
plugin_katehtmltools.moc:171: parse error before `::' token
plugin_katehtmltools.moc:172: warning: no return statement in function
   returning non-void
plugin_katehtmltools.moc: In member function `virtual bool
   PluginKateHtmlTools::qt_property(int, int, QVariant*)':
plugin_katehtmltools.moc:178: no matching function for call to `
   PluginKateHtmlTools::qt_static_property(PluginKateHtmlTools* const, int&,
   int&, QVariant*&)'
plugin_katehtmltools.h:49: candidates are: static bool
   PluginKateHtmlTools::qt_static_property(QObject*, int, int, QVariant*)
plugin_katehtmltools.moc:179: parse error before `::' token
plugin_katehtmltools.moc: In static member function `static bool
   PluginKateHtmlTools::qt_static_property(QObject*, int, int, QVariant*)':
plugin_katehtmltools.moc:184: parse error before `::' token
plugin_katehtmltools.moc:185: warning: no return statement in function
   returning non-void
plugin_katehtmltools.cpp: At global scope:
plugin_katehtmltools.cpp:32: syntax error before `*' token
plugin_katehtmltools.cpp: In member function `virtual QObject*
   KatePluginFactory::createObject(QObject*, const char*, const char*, const
   QStringList&)':
plugin_katehtmltools.cpp:56: cannot convert `PluginKateHtmlTools*' to `QObject*
   ' in return
plugin_katehtmltools.cpp: In constructor
   `PluginKateHtmlTools::PluginKateHtmlTools(QObject*, const char*)':
plugin_katehtmltools.cpp:62: `Plugin' is not a class or namespace
plugin_katehtmltools.cpp:62: `Application' undeclared in namespace `Kate'
plugin_katehtmltools.cpp:62: parse error before `)' token
plugin_katehtmltools.cpp: At global scope:
plugin_katehtmltools.cpp:70: `MainWindow' undeclared in namespace `Kate'
plugin_katehtmltools.cpp:70: `win' was not declared in this scope
plugin_katehtmltools.cpp:71: `void PluginKateHtmlTools::addView' is not a
   static member of `class PluginKateHtmlTools'
plugin_katehtmltools.cpp:71: variable `void PluginKateHtmlTools::addView' has
   initializer but incomplete type
plugin_katehtmltools.cpp:71: syntax error before `{' token
plugin_katehtmltools.cpp:78: syntax error before `->' token
plugin_katehtmltools.cpp:79: syntax error before `->' token
plugin_katehtmltools.cpp:80: syntax error before `->' token
plugin_katehtmltools.cpp:81: syntax error before `->' token
plugin_katehtmltools.cpp:83: syntax error before `.' token
plugin_katehtmltools.cpp:86: `MainWindow' undeclared in namespace `Kate'
plugin_katehtmltools.cpp:86: `win' was not declared in this scope
plugin_katehtmltools.cpp:87: warning: extra qualification `PluginKateHtmlTools
   ::' on member `removeView' ignored
plugin_katehtmltools.cpp:87: variable or field `removeView' declared void
plugin_katehtmltools.cpp:87: `int PluginKateHtmlTools::removeView' is not a
   static member of `class PluginKateHtmlTools'
plugin_katehtmltools.cpp:87: syntax error before `{' token
plugin_katehtmltools.cpp:88: invalid use of member `
   PluginKateHtmlTools::m_views'
plugin_katehtmltools.cpp:88: parse error before `;' token
plugin_katehtmltools.cpp:88: syntax error before `++' token
plugin_katehtmltools.cpp:92: syntax error before `.' token
plugin_katehtmltools.cpp:93: syntax error before `->' token
plugin_katehtmltools.cpp:100: warning: extra qualification `PluginKateHtmlTools
   ::' on member `slotEditHTMLtag' ignored
plugin_katehtmltools.cpp: In member function `void
   PluginKateHtmlTools::slotEditHTMLtag()':
plugin_katehtmltools.cpp:101: `application' undeclared (first use this
   function)
plugin_katehtmltools.cpp: At global scope:
plugin_katehtmltools.cpp:121: warning: extra qualification `PluginKateHtmlTools
   ::' on member `KatePrompt' ignored
plugin_katehtmltools.cpp:136: warning: extra qualification `PluginKateHtmlTools
   ::' on member `slipInHTMLtag' ignored
make[3]: *** [plugin_katehtmltools.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdeaddons-3.1/work/kdeaddons-
3.1/ka
te/htmltools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdeaddons-3.1/work/kdeaddons-
3.1/ka
te'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeaddons-3.1/work/kdeaddons-3.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdeaddons-3.1 failed.

Expected Results:  
Successfully compiled and installed KDE-3.1.

Portage 2.0.46-r11 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r3)
=================================================================
System uname: 2.4.19-xfs-r1 i686 Pentium III (Katmai)
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ 
http://gen
too.linux.no/ http://www.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/
X
11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow avi encode libg++ mikmod xv tetex svga java sdl gpm esd cdr 
s
canner tcltk -alsa arts apm berkdb bonobo crypt doc cups evo flash gd gdbm gif 
g
nome gtk -gtk2 gtkhtml guile innodb imlib imap jpeg kde ldap libgda libwww mbox
mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl pam pda pdflib perl 
pn
g python qt quicktime readline samba slang snmp spell sse ssl tcpd tiff 
truetype
 X xml xml2 xmms zlib qtmt"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-07 20:41:12 UTC
please try 'MAKEOPTS="-j1" emerge kdeaddons'. thanks. 
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2003-02-08 15:53:55 UTC
Thanks.  Tried that - makes no difference.

Which package is supposed to install the header files that kdeaddons cannot find?  Kate is part of kdebase - but kdebase does not appear to contain those header files at all.

I'm trying to install KDE-3.1 on a machine that doesn't have KDE on at all.  Is kdeaddons by mistake relying on files that KDE-3.0.x actually installs?
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-08 16:50:53 UTC
kde-3.1 do not depend on an older kde installed. 
/usr/kde/3.1/include/kate/* is provided by kdebase. 
 
please check if your kdebase installed these files (check 
/usr/kde/3.1/include/kate/ and /var/db/pkg/kde-base/kdebase-3.1/CONTENTS). 
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2003-02-08 17:01:51 UTC
Hi,

kdebase-3.1-r1 is installed.  According to the CONTENTS file, the missing include files were installed.  But /usr/kde/3.1/include/kate only contains two files - document.h and view.h.  Machine has no disk space problems, and no known file system corruption.

I'll try unmerging and re-installing kdebase-3.1-r1 to see if that solves the problem.  I'll do this tomorrow, and let you know the results.

Stu
Comment 5 Stuart Herbert (RETIRED) gentoo-dev 2003-02-10 11:17:25 UTC
I did 'emerge -b kdebase-3.1-r1.ebuild', and then 'emerge -b kde'.  This successfully installed KDE on my Gentoo box.

Unfortunately, I've noticed that I'm still having the problem of files not being installed even though they're listed in the CONTENTS files in /var/db/pkg.  I don't know if this is a kernel problem, hardware problem, or a problem with portage.

Anyway - thanks a lot for your help!
Comment 6 Dan Armak (RETIRED) gentoo-dev 2003-02-11 16:06:10 UTC
Please report those (non-kde as I understand) problems in new bugreports.  
Comment 7 Hannes Mehnert (RETIRED) gentoo-dev 2003-04-12 12:39:07 UTC
maybe a too small partition for /var or /usr? portage builds by default 
packages in /var/tmp/portage. anyway, please report the portage problems 
in a new bug report if it still persists. marking as fixed cause kde compiles 
for you.