Re: parallel make again

2006-05-19 Thread Stephan Kulow
Am Freitag, 19. Mai 2006 01:09 schrieb Dirk Mueller:
 On Thursday, 18. May 2006 22:36, Stephan Kulow wrote:
  file somewhere below CMakeFiles, but I have no idea how to fix this
  correctly.

 an easy workaround would be to fix dcopidl2cpp to use KSaveFile instead of
 open+truncate for writing its output.

I don't think we want to mess with dcop's dependencies at this point.

Greetings, Stephan
___
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


Re: parallel make again

2006-05-19 Thread Dirk Mueller
On Friday, 19. May 2006 09:18, Stephan Kulow wrote:

 I don't think we want to mess with dcop's dependencies at this point.

Just hardcore #include ../../ the files or copypaste the code. its just 5-10 
lines anyway. 

Dirk
___
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


parallel make again

2006-05-18 Thread Stephan Kulow
Hi!

There is a problem with the dependencies of the skel files and I have no idea 
how to solve this correctly. Try this a couple of times:

  build/kdebase/apps/konsole/konsole rm session*; makeobj -j

It will sometimes fail like this:

Generating session.moc
Generating session.moc
Generating sessioniface.kidl
Generating sessioniface.kidl
Generating sessioniface_skel.cpp
ASSERT: de.tagName() == DCOP-IDL in 
file /home/coolo/prod/kdelibs/dcop/dcopidl2cpp/main.cpp, line 106
make[2]: *** [apps/konsole/konsole/sessioniface_skel.cpp] Error 1
make[2]: *** Waiting for unfinished jobs
Generating sessioniface_skel.cpp
make[1]: *** [apps/konsole/konsole/CMakeFiles/kdeinit_konsole.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs
Scanning dependencies of target konsolepart

make[1]: *** Waiting for unfinished jobs

As you can see: sessioniface.kidl is generated twice and only on one of them
one of sessioniface_skel.cpp waits, so the other one will overwrise the file.
I _guess_ the solution is to generate the .kidl and the _skel.cpp file 
somewhere below CMakeFiles, but I have no idea how to fix this correctly.

Greetings, Stephan
___
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


Re: parallel make again

2006-05-18 Thread Dirk Mueller
On Thursday, 18. May 2006 22:36, Stephan Kulow wrote:

 file somewhere below CMakeFiles, but I have no idea how to fix this
 correctly.

an easy workaround would be to fix dcopidl2cpp to use KSaveFile instead of 
open+truncate for writing its output. 


Dirk
___
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem