View previous topic :: View next topic |
Author |
Message |
Bonkie Guru
Joined: 28 Oct 2002 Posts: 501 Location: Antwerpen, Belgium
|
Posted: Sun Jun 12, 2005 4:15 pm Post subject: |
|
|
Could you post the actual output of the ebuild ??? _________________ "I would say we have a 50% chance of survival, but I consider myself an optimist so I'll give us 50,5% ..."
~ Arthur C. Clarke [Physics PHD,SF Writer], when asked about the chances of the human race's survival |
|
Back to top |
|
|
gabo Tux's lil' helper
Joined: 24 Aug 2004 Posts: 134 Location: Lyon, France
|
Posted: Sun Jun 12, 2005 4:36 pm Post subject: |
|
|
Ok, it was a bit weird : It was not working because subversion was compiled without berkeley db support.
I added the "berkdb" use flag, recompiled apr, apr-util and subversion and now it works.
At least, the checkout is being done
You have to recompil apr-util with the new use flag or else subversion won't compile.
I'm currently trying to emerge only kopete-7, not the whole kde-svn. Hope it will work.
Thanks for your help ! |
|
Back to top |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Sun Jun 12, 2005 4:42 pm Post subject: |
|
|
Did anybody get kdelibs to compile in the last 3 or 4 days? _________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
Bonkie Guru
Joined: 28 Oct 2002 Posts: 501 Location: Antwerpen, Belgium
|
Posted: Sun Jun 12, 2005 4:47 pm Post subject: |
|
|
Yes, no problems here. _________________ "I would say we have a 50% chance of survival, but I consider myself an optimist so I'll give us 50,5% ..."
~ Arthur C. Clarke [Physics PHD,SF Writer], when asked about the chances of the human race's survival |
|
Back to top |
|
|
ktech Guru
Joined: 12 Apr 2003 Posts: 340
|
Posted: Sun Jun 12, 2005 4:51 pm Post subject: |
|
|
I compiled kdelibs yesterday without problems. Check your CFLAGS in order to see if they're rude (poste it here if you want) (and disable visibility if you have it enabled) |
|
Back to top |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Sun Jun 12, 2005 4:52 pm Post subject: |
|
|
Bonkie wrote: | Yes, no problems here. |
Lucky you!
Code: | .................
In file included from html_documentimpl.cpp:63,
from libkhtmlhtml_la.all_cpp.cpp:9:
./doctypes.gperf: In function `const PubIDInfo* findDoctypeEntry(const char*, unsigned int)':
./doctypes.gperf:309: error: expected identifier before numeric constant
./doctypes.gperf:309: error: expected `}' before numeric constant
./doctypes.gperf:309: error: expected unqualified-id before numeric constant
./doctypes.gperf:309: error: expected `,' or `;' before numeric constant
./doctypes.gperf: At global scope:
./doctypes.gperf:35: error: expected unqualified-id before "if"
./doctypes.gperf:35: error: expected `,' or `;' before "if"
./doctypes.gperf:47: error: expected unqualified-id before "return"
./doctypes.gperf:47: error: expected `,' or `;' before "return"
./doctypes.gperf:48: error: expected declaration before '}' token
./doctypes.gperf:306: warning: unused parameter 'str'
./doctypes.gperf:306: warning: unused parameter 'len'
./doctypes.gperf:23: warning: 'unsigned int hash(const char*, unsigned int)' defined but not used
make[3]: *** [libkhtmlhtml_la.all_cpp.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-7-r1/work/KDE/kdelibs/khtml/html'
make[2]: *** [all-recursive] Error 1
|
_________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
ktech Guru
Joined: 12 Apr 2003 Posts: 340
|
Posted: Sun Jun 12, 2005 5:24 pm Post subject: |
|
|
please post your cflags from /etc/make.conf
That could be the problem |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sun Jun 12, 2005 6:04 pm Post subject: |
|
|
I get the same error as alinv, CFLAGS being -O2 -mcpu=i686 -pipe which shouldn't cause a problem. The problem seems to be with the code generated by gperf. If I remove the -E parameter in the gperf call in the Makefile (/var/tmp/portage/kdelibs-7-r1/work/KDE/kdelibs/khtml/html/Makefile, gperf -CEot -L becomes gperf -Cot -L) it compiles. However, a little bit later the next error occurs: Code: | Creating hashtable for ./kjs_mozilla.cpp
/usr/qt/3/bin/moc ./kjs_window.h -o kjs_window.moc
/usr/qt/3/bin/moc ./xmlhttprequest.h -o xmlhttprequest.moc
/usr/qt/3/bin/moc ./kjs_debugwin.h -o kjs_debugwin.moc
creating libkjs_html_la.all_cpp.cpp ...
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i486-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I../.. -I../../kio -I../../kio/bookmarks -I../../khtml -I../../khtml/java -I../../kwallet/client -I../../kutils -I../../kjs -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I. -I/usr/kde/devel/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c -o libkjs_html_la.all_cpp.lo `test -f 'libkjs_html_la.all_cpp.cpp' || echo './'`libkjs_html_la.all_cpp.cpp
In file included from domparser.cpp:21,
from libkjs_html_la.all_cpp.cpp:17:
domparser.h:33: error: redefinition of `class KJS::DOMParserConstructorImp'
domparser.h:33: error: previous definition of `class
KJS::DOMParserConstructorImp'
domparser.h:33: confused by earlier errors, bailing out
make: *** [libkjs_html_la.all_cpp.lo] Error 1 |
_________________ KDE |
|
Back to top |
|
|
Korpios n00b
Joined: 13 May 2005 Posts: 4
|
Posted: Sun Jun 12, 2005 6:05 pm Post subject: |
|
|
I'm getting the same problem as alinv; kdelibs compiled fine until a few days ago, at which point it always dies with that error. I've tried it with my standard qt and qt-copy with no luck; I'm ready to blow away my (fairly minimal) CFLAGS just to see if that corrects the issue, and re-add one at a time from there.
Code: |
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
|
Any ideas? |
|
Back to top |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Sun Jun 12, 2005 6:14 pm Post subject: |
|
|
My flags:
Code: | CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -funroll-loops -fprefetch-loop-arrays -ftracer -fforce-addr"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden" |
_________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
Lepaca Kliffoth l33t
Joined: 28 Apr 2004 Posts: 737 Location: Florence, Italy
|
Posted: Sun Jun 12, 2005 6:16 pm Post subject: |
|
|
I get that html error as well and my flags are just -O3 -mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer :/ _________________ It isn't enough to win - everyone else must lose, and you also have to rub it in their face (maybe chop off an arm too for good measure).
Animebox! |
|
Back to top |
|
|
ktech Guru
Joined: 12 Apr 2003 Posts: 340
|
Posted: Sun Jun 12, 2005 6:17 pm Post subject: |
|
|
I would try with minimal cflags, something like "-O2" only to see if that's the problem.
if not, we need to investigate it... |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sun Jun 12, 2005 6:17 pm Post subject: |
|
|
Ok, found the typo that caused that error. In khtml/ecma/domparser.h, there is Quote: | #ifndef _DOMPARSER_H
#define _DOMPARSER_H_
|
Remove the underscore marked red. It's compiling again, let's see how long _________________ KDE |
|
Back to top |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Sun Jun 12, 2005 6:23 pm Post subject: |
|
|
Earthwings wrote: | Ok, found the typo that caused that error. In khtml/ecma/domparser.h, there is Quote: | #ifndef _DOMPARSER_H
#define _DOMPARSER_H_
|
Remove the underscore marked red. It's compiling again, let's see how long |
What about khtml/html problem? _________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sun Jun 12, 2005 6:52 pm Post subject: |
|
|
Here are more detailed instructions to work around it. Notice it's an ugly hack and it might do harm. </disclaimer>
Code: |
emerge -n gperf
cd /var/tmp/portage/kdelibs-7-r1/
sed -i "s/gperf -CEot/gperf -Cot/" work/KDE/kdelibs/khtml/html/Makefile
make doctypes
make
touch .compiled
ebuild /usr/local/overlays/kde-live/kde-base/kdelibs/kdelibs-7-r1.ebuild merge
|
Once again, use at your own risk. It will probably fail a little bit after calling make above due to the domparser.h typo, fix it as described in my previous post and run make again, then go on with the rest. kdelibs is compiled now btw _________________ KDE
Last edited by Earthwings on Sun Jun 12, 2005 7:32 pm; edited 1 time in total |
|
Back to top |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Sun Jun 12, 2005 7:21 pm Post subject: |
|
|
I had to emerge gperf and run 'make doctypes' in work/KDE/kdelibs/khtml/html for this to work. Now I'm compiling the rest of kdelibs. Keep your fingers crossed
Thanks a lot, Earthwings! _________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sun Jun 12, 2005 7:32 pm Post subject: |
|
|
Right, that was missing above, I just added it. Good luck _________________ KDE |
|
Back to top |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Sun Jun 12, 2005 8:04 pm Post subject: |
|
|
Compiled fine, working fine so far.
Thanks! _________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
Bonkie Guru
Joined: 28 Oct 2002 Posts: 501 Location: Antwerpen, Belgium
|
Posted: Sun Jun 12, 2005 8:07 pm Post subject: |
|
|
I just updated kdelibs and did not run into that error, do you guys use kdeenablefinal ??? (I dont)
Anyway, I think I have unsermake support working now, gonna test-run it tonight and if all goes well, I'll upload the changes tomorrow _________________ "I would say we have a 50% chance of survival, but I consider myself an optimist so I'll give us 50,5% ..."
~ Arthur C. Clarke [Physics PHD,SF Writer], when asked about the chances of the human race's survival |
|
Back to top |
|
|
mario Guru
Joined: 20 Apr 2002 Posts: 400 Location: Mountain View, CA
|
Posted: Sun Jun 12, 2005 11:00 pm Post subject: |
|
|
gabo wrote: | I'm new to those kdesvn ebuilds.
I have the same error :
Code: | /usr/local/overlays/kde-live/eclass/subversion.eclass: line 668: [: argument expected |
It doesn't work, the update is not done. |
Fixed, in theory this would have never been a problem though. |
|
Back to top |
|
|
Korpios n00b
Joined: 13 May 2005 Posts: 4
|
Posted: Mon Jun 13, 2005 1:44 am Post subject: |
|
|
I had the kdeenablefinal USE flag enabled; disabling it allowed me to compile kdelibs without errors. |
|
Back to top |
|
|
yagami Apprentice
Joined: 12 May 2002 Posts: 269 Location: Leiria, Portugal
|
Posted: Mon Jun 13, 2005 11:52 am Post subject: MIA again |
|
|
damn ... dunno why forums.gentoo.org keeps forgetting to notify me that a reply was made.
anyway ... now i am very lots of busy because of school projects and exams
in school i am doing a project on java , so i am actually pretty good with java.
i am wondering after the exams if you guys would like , if i did a java program for this ?!
i could do both one for the console and/or with a gui
PS: as i am having problems with thread notify emails being lots, if anyone wants feel free to msg me in jabber |
|
Back to top |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Mon Jun 13, 2005 7:06 pm Post subject: Re: MIA again |
|
|
yagami wrote: | damn ... dunno why forums.gentoo.org keeps forgetting to notify me that a reply was made. |
You're not the only one in this situation _________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
|
Back to top |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Tue Jun 14, 2005 6:38 am Post subject: |
|
|
Code: | # emerge kdialog kdesktop kdebase-kioslaves kmailcvt kmail
Calculating dependencies ...done!
>>> emerge (1 of 5) kde-base/kdialog-7-r1 to /
>>> Unpacking source...
* Updating trunk non-recursively
At revision 425192.
* Updating KDE non-recursively
At revision 425192.
* Updating KDE/kdebase non-recursively
At revision 425192.
* Updating KDE/kde-common non-recursively
At revision 425192.
* Updating KDE/kdebase/kdeeject recursively
At revision 425192.
* Updating KDE/kdebase/kdialog recursively
At revision 425192.
* Updating KDE/kdebase/admin recursively
# emerge kdialog kdesktop kdebase-kioslaves kmailcvt kmail
Calculating dependencies ...done!
>>> emerge (1 of 5) kde-base/kdialog-7-r1 to /
>>> Unpacking source...
* Updating trunk non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kde-common non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase/kdeeject recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase/kdialog recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase/admin recursively
# emerge kdialog kdesktop kdebase-kioslaves kmailcvt kmail
Calculating dependencies ...done!
>>> emerge (1 of 5) kde-base/kdialog-7-r1 to /
>>> Unpacking source...
* Updating trunk non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kde-common non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase/kdeeject recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase/kdialog recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase/admin recursively
# emerge kdialog kdesktop kdebase-kioslaves kmailcvt kmail
Calculating dependencies ...done!
>>> emerge (1 of 5) kde-base/kdialog-7-r1 to /
>>> Unpacking source...
* Updating trunk non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kde-common non-recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase/kdeeject recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase/kdialog recursively (skipped: last performed within 1800 seconds)
* Updating KDE/kdebase/admin recursively
* Failed in /usr/portage/distfiles/svn-src/kde/trunk during "svn --ignore-externals update KDE/kdebase/admin"
!!! ERROR: kde-base/kdialog-7-r1 failed.
!!! Function subversion_handle_error, Line 137, Exitcode 0
!!! Error validating server certificate for 'https://svn.kde.org:443':
!!! If you need support, post the topmost build error, NOT this status message.
|
Does this problem still exists, or did I miss something?
Thanks,
Alin _________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
|