Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122059 - kdebase-3.5.1-r1 died running emake, (ruleswidget.h syntax error)
Summary: kdebase-3.5.1-r1 died running emake, (ruleswidget.h syntax error)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 132158 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-07 15:55 UTC by Iain Buchanan
Modified: 2006-05-10 06:18 UTC (History)
1 user (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 Iain Buchanan 2006-02-07 15:55:52 UTC
I don't (yet) have kde installed.  I did `emerge kde` and it got up to kdebase, which died with this error:

/bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kwin/lib -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -DKCMRULES -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -pipe -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -c -o kcm.lo `test -f 'kcm.cpp' || echo './'`kcm.cpp
In file included from main.cpp:29:
ruleswidget.h:115: error: syntax error before `{' token
ruleswidget.h:116: error: virtual outside class declaration
ruleswidget.h:116: error: non-member function `const char* className()' cannot
   have `const' method qualifier
ruleswidget.h:116: error: virtual outside class declaration
ruleswidget.h:116: error: virtual outside class declaration
ruleswidget.h:116: error: virtual outside class declaration
ruleswidget.h:116: error: virtual outside class declaration
ruleswidget.h: In function `QObject* qObject()':
ruleswidget.h:116: error: invalid use of `this' in non-member function
ruleswidget.h: At global scope:
ruleswidget.h:116: error: syntax error before `private'
ruleswidget.h:122: error: syntax error before `}' token
ruleswidget.h:133: error: syntax error before `*' token
ruleswidget.h:146: error: syntax error before `}' token
ruleswidget.h:116: warning: `bool qt_static_property(QObject*, int, int,
   QVariant*)' declared `static' but never defined
ruleswidget.h:116: warning: `QMetaObject* staticMetaObject()' declared `static'
   but never defined
make[4]: *** [main.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
Session management error: Could not open network socket
make[4]: Leaving directory `/var/tmp/portage/kdebase-3.5.1-r1/work/kdebase-3.5.1/kwin/kcmkwin/kwinrules'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.1-r1/work/kdebase-3.5.1/kwin/kcmkwin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.5.1-r1/work/kdebase-3.5.1/kwin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.5.1-r1/work/kdebase-3.5.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.5.1-r1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  kdebase-3.5.1-r1.ebuild, line 108:   Called kde_src_compile
  kde.eclass, line 104:   Called kde_src_compile 'compile'
  kde.eclass, line 217:   Called kde_src_compile 'all' 'myconf' 'configure'

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.


Not sure what to do from here on...

$ emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r2, 2.6.15-suspend2-r4 i686)
=================================================================
System uname: 2.6.15-suspend2-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://arion/pub/gentoo-portage/ ftp://mirror.isp.net.au/pub/gentoo/ ftp://gg3.net/pub/linux/gentoo/ ftp://gentoo.ccccom.com ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en_AU.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa arts avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl pam pdflib perl png python quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-02-08 16:23:54 UTC
Parallel make error?  Can you try again with MAKEOPTS="-j1" ?
Comment 2 Iain Buchanan 2006-02-08 23:57:42 UTC
phew, that's going to take a long time... let me make a coffee, have a nap, eat some food...

ok, here are a few more lines, with MAKEOPTS="-j1".  It looks slightly different:

opengl.cpp: In function `void print_limits(QListViewItem*, const char*, bool)':
opengl.cpp:231: warning: unused parameter `bool GetProcAddress'
/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -DINFO_OPENGL_AVAILABLE -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE    -o kcm_info.la -rpath /usr/kde/3.5/lib/kde3 -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined  main.lo memory.lo opengl.lo  -lkdeui      -lGLU -lGL -lX11
libtool: link: `/usr/lib/libGL.la' is not a valid libtool archive
make[3]: *** [kcm_info.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.1-r1/work/kdebase-3.5.1/kcontrol/info'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.5.1-r1/work/kdebase-3.5.1/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.5.1-r1/work/kdebase-3.5.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.5.1-r1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  kdebase-3.5.1-r1.ebuild, line 108:   Called kde_src_compile
  kde.eclass, line 104:   Called kde_src_compile 'compile'
  kde.eclass, line 217:   Called kde_src_compile 'all' 'myconf' 'configure'

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-11 09:49:33 UTC
(In reply to comment #2)
> libtool: link: `/usr/lib/libGL.la' is not a valid libtool archive

Either bug 112427 or you missed to run opengl-update.
Comment 4 Iain Buchanan 2006-02-12 16:43:42 UTC
Hmm, the original ruleswidget error with kdebase seems to be magically gone!  No matter what MAKEOPTS I use, I can't reproduce it.  The current error does indeed seem to be bug #112427 (thanks for the heads up).

I'm marking this invalid, because the original bug isn't there anymore.  Feel free to change.

thanks.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2006-05-10 05:54:44 UTC
*** Bug 132158 has been marked as a duplicate of this bug. ***
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-05-10 06:18:54 UTC
I've committed a fix to KDE upstream that I believe fixes this, and I've added the patch to kwin in Gentoo.