[PATCH] Automoc hanging

Adriaan de Groot <[email protected]>
Newsgroups gmane.comp.kde.solaris
Message-ID <[email protected]>
While building KDE4, I get lots of 'process timed out' errors while 
kde4automoc is running. I don't really know why an otherwise ordinary moc 
invocation that should run in under a second takes so long; as a workaround I 
reduce the parallelism from 10 to 2, which seems to help. Patch attached.


-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot

___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
kde4automoc-solaris.diff (text/x-diff, 369 B)
Index: kde4automoc.cpp
===================================================================
--- kde4automoc.cpp	(revision 701565)
+++ kde4automoc.cpp	(working copy)
@@ -291,7 +291,7 @@
         }
 
         // we don't want too many child processes
-        if (processes.size() > 10) {
+        if (processes.size() > 2) {
             waitForProcesses();
         }
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGx3lodqzuAf6io/4RAvjVAJ9dUMI0JFdhzUhIxV40pGZjMJQWigCfQbp8
koM1Mm86jbn/R0u2Sh6dVXM=
=t5SK
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.