View previous topic :: View next topic |
Author |
Message |
phantasm n00b
Joined: 21 Jun 2002 Posts: 71 Location: Cincinnati
|
Posted: Wed Jun 26, 2002 12:18 pm Post subject: kemegre complie error |
|
|
Sigh I find broken software, this is the third I ran into in two days Go go me.
Anyways when I do a emerge kemerge It gives a compile error
Code: | make[1]: Entering directory `/var/tmp/portage/kebuild-0.2/work/kebuild-0.2'
Making all in kebuild
make[2]: Entering directory `/var/tmp/portage/kebuild-0.2/work/kebuild-0.2/kebuild'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -mcpu=i686 -O3 -pipe -fno-exceptions -fno-check-new -c main.cpp
In file included from main.cpp:25:
/usr/kde/3/include/kebuild/kebuild.h:27: kebuildview.h: No such file or directory
In file included from main.cpp:25:
/usr/kde/3/include/kebuild/kebuild.h:37: parse error before `,'
/usr/kde/3/include/kebuild/kebuild.h:38: virtual outside class declaration
/usr/kde/3/include/kebuild/kebuild.h:38: non-member function `className()' cannot have `const' method qualifier
/usr/kde/3/include/kebuild/kebuild.h:38: virtual outside class declaration
/usr/kde/3/include/kebuild/kebuild.h:38: virtual outside class declaration
/usr/kde/3/include/kebuild/kebuild.h:38: virtual outside class declaration
/usr/kde/3/include/kebuild/kebuild.h:38: virtual outside class declaration
/usr/kde/3/include/kebuild/kebuild.h: In function `class QObject * qObject()':
/usr/kde/3/include/kebuild/kebuild.h:38: invalid use of `this' in non-member function
/usr/kde/3/include/kebuild/kebuild.h: At top level:
/usr/kde/3/include/kebuild/kebuild.h:38: parse error before `private'
/usr/kde/3/include/kebuild/kebuild.h:41: parse error before `*'
/usr/kde/3/include/kebuild/kebuild.h:42: destructors must be member functions
/usr/kde/3/include/kebuild/kebuild.h:45: parse error before `private'
main.cpp: In function `int main(int, char **)':
main.cpp:50: `kebuild' undeclared (first use this function)
main.cpp:50: (Each undeclared identifier is reported only once
main.cpp:50: for each function it appears in.)
main.cpp:50: parse error before `('
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/kebuild-0.2/work/kebuild-0.2/kebuild'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kebuild-0.2/work/kebuild-0.2'
make: *** [all-recursive-am] Error 2
make all-recursive
make[1]: Entering directory `/var/tmp/portage/kebuild-0.2/work/kebuild-0.2'
Making all in kebuild
make[2]: Entering directory `/var/tmp/portage/kebuild-0.2/work/kebuild-0.2/kebuild'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -mcpu=i686 -O3 -pipe -fno-exceptions -fno-check-new -c main.cpp
In file included from main.cpp:25:
/usr/kde/3/include/kebuild/kebuild.h:27: kebuildview.h: No such file or directory
In file included from main.cpp:25:
/usr/kde/3/include/kebuild/kebuild.h:37: parse error before `,'
/usr/kde/3/include/kebuild/kebuild.h:38: virtual outside class declaration
/usr/kde/3/include/kebuild/kebuild.h:38: non-member function `className()' cannot have `const' method qualifier
/usr/kde/3/include/kebuild/kebuild.h:38: virtual outside class declaration
/usr/kde/3/include/kebuild/kebuild.h:38: virtual outside class declaration
/usr/kde/3/include/kebuild/kebuild.h:38: virtual outside class declaration
/usr/kde/3/include/kebuild/kebuild.h:38: virtual outside class declaration
/usr/kde/3/include/kebuild/kebuild.h: In function `class QObject * qObject()':
/usr/kde/3/include/kebuild/kebuild.h:38: invalid use of `this' in non-member function
/usr/kde/3/include/kebuild/kebuild.h: At top level:
/usr/kde/3/include/kebuild/kebuild.h:38: parse error before `private'
/usr/kde/3/include/kebuild/kebuild.h:41: parse error before `*'
/usr/kde/3/include/kebuild/kebuild.h:42: destructors must be member functions
/usr/kde/3/include/kebuild/kebuild.h:45: parse error before `private'
main.cpp: In function `int main(int, char **)':
main.cpp:50: `kebuild' undeclared (first use this function)
main.cpp:50: (Each undeclared identifier is reported only once
main.cpp:50: for each function it appears in.)
main.cpp:50: parse error before `('
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/kebuild-0.2/work/kebuild-0.2/kebuild'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kebuild-0.2/work/kebuild-0.2'
make: *** [all-recursive-am] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -3844, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! emerge aborting on /usr/portage/app-admin/kebuild/kebuild-0.2.ebuild .
|
It appears to fail on a dependcey not the package kemerge its self. It needs kebuild to and that is where it is failing. Should this be a bug report? |
|
Back to top |
|
|
fmalabre Guru
Joined: 19 Jun 2002 Posts: 376 Location: Chicago
|
Posted: Thu Jun 27, 2002 12:46 am Post subject: |
|
|
I have the same issue, I believe it's a bug. |
|
Back to top |
|
|
styzzo n00b
Joined: 26 Jun 2002 Posts: 32 Location: Bellmore, NY, USA
|
Posted: Thu Jun 27, 2002 6:01 am Post subject: Same problem here |
|
|
Guess we'll just have to keep our eyes open for a fix/update of the ebuild |
|
Back to top |
|
|
Sir Adolf Guest
|
Posted: Fri Jun 28, 2002 4:48 am Post subject: Re: kemegre complie error |
|
|
I tried compiling it after reading this post and get the same error. |
|
Back to top |
|
|
styzzo n00b
Joined: 26 Jun 2002 Posts: 32 Location: Bellmore, NY, USA
|
Posted: Sat Jun 29, 2002 10:25 am Post subject: bug report filed |
|
|
Hey all, I filed a bug report about this yesterday. The link is provided for those interested. |
|
Back to top |
|
|
leifbrown n00b
Joined: 25 Apr 2002 Posts: 36
|
Posted: Sat Jun 29, 2002 2:34 pm Post subject: workaround |
|
|
The bug has been updated with a workaround: manually merge kebuildpart-0.2, then proceed as usual. |
|
Back to top |
|
|
akhkharu99 Apprentice
Joined: 08 Jun 2002 Posts: 162 Location: Gainesville, FL
|
Posted: Mon Jul 01, 2002 11:12 pm Post subject: |
|
|
does anyone else have kebuildpart 0.2? all that i have is 0.3. i tried this tip with 0.3, but i still get the exact error described/written above.
is kemerge any better than kportagemaster, or should i stick with kportagemaster? it works fine for me, nut i just wanted to see if kemerge was any better.
thanks! |
|
Back to top |
|
|
ebichu Apprentice
Joined: 03 Jul 2002 Posts: 231 Location: Manchester, England
|
Posted: Mon Jul 29, 2002 3:22 pm Post subject: |
|
|
I've just done an emerge rsync, emerge -u world[/u] and the last thing it wanted to update was [b]kemerge from 0.4 to 0.5. The build is failing with a bunch of fsync: Bad file descriptor errors followed by Code: | QSettings::sync: failed to open '/root/.qt/qt_plugins_3.0rc' for writing
Conflict in /usr/kde/3/lib/kde3/plugins/designer/kdewidgets.so:
Plugin cannot be queried successfully!
|
Then it continues compiling other bits with these errors repeated every so often until it reports: Code: | c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-new -c mergedialog.cpp -fPIC -DPIC -o .libs/mergedialog.o
In file included from ebuildview.cpp:24:
ebuildview.ui.h: In method `void EbuildView::slotEbuildScript(const ebuildScript *)':
ebuildview.ui.h:21: invalid use of undefined type `class KURLLabel'
ebuildview.h:18: forward declaration of `class KURLLabel'
ebuildview.ui.h:22: invalid use of undefined type `class KURLLabel'
ebuildview.h:18: forward declaration of `class KURLLabel'
ebuildview.ui.h:32: invalid use of undefined type `class KPushButton'
ebuildview.h:17: forward declaration of `class KPushButton'
ebuildview.ui.h:35: invalid use of undefined type `class KPushButton'
ebuildview.h:17: forward declaration of `class KPushButton'
ebuildview.ui.h:41: invalid use of undefined type `class KURLLabel'
ebuildview.h:18: forward declaration of `class KURLLabel'
ebuildview.ui.h:42: invalid use of undefined type `class KURLLabel'
ebuildview.h:18: forward declaration of `class KURLLabel'
ebuildview.ui.h:51: invalid use of undefined type `class KPushButton'
ebuildview.h:17: forward declaration of `class KPushButton'
ebuildview.ui.h:53: invalid use of undefined type `class KPushButton'
ebuildview.h:17: forward declaration of `class KPushButton'
ebuildview.cpp: In method `EbuildView::EbuildView(QWidget * = 0, const char * = 0, unsigned int = 0)':
ebuildview.cpp:153: invalid use of undefined type `class KPushButton'
ebuildview.h:17: forward declaration of `class KPushButton'
...
|
Then it carries on and hits more ebuildview errors and eventually gives up.
I guess whatever was fixed doesn't quite work, but I've not delved into the problem much. I guess it's some unspecified dependancy problem.
I don't actually use kemerge (or kportagemaster) so I'll just unemerge the thing completely if I don't succeed in building it.
(TOPIC DRIFT ALERT!!! DON'T REPLY HERE. I love your 'Chii' avatar akhkaru99! There do seem to be a few anime fans about on these forums, don't there?!) _________________ Ebichu wa chiizu ga daisuki dechu! |
|
Back to top |
|
|
ebichu Apprentice
Joined: 03 Jul 2002 Posts: 231 Location: Manchester, England
|
Posted: Mon Jul 29, 2002 4:24 pm Post subject: |
|
|
Well my problems don't seem to be specifically with kemerge. I'm having trouble reemerging any KDE3 application. I'll reemerge a load of QT and/or KDE stuff and hope for the best... _________________ Ebichu wa chiizu ga daisuki dechu! |
|
Back to top |
|
|
|