[kde-freebsd] [PATCH] Fix automoc4 hangs cosmetically.

David Naylor naylor.b.david at gmail.com
Fri Dec 23 15:35:50 UTC 2011

> Automoc4 unpredictably hangs when calling cmake to print colored text.
> The root cause lies in QProcess calling async unsafe functions in a thread
> as analyzed here:
> http://lists.freebsd.org/pipermail/freebsd-stable/2011-May/062603.html
> The symptom is however easily mitigated by attached patch.

There is a bug report [1] regarding this on KDE's bugzilla.  

> >Fix:
> Patch below uses a conservative 2 seconds for the QProcess to realize the
> command has already finished.

The bug report also includes a patch.  Could you give it a try?

Of note, with cmake 2.8.6, this is a mute issue as automoc has been integrated 
into cmake.  I am hoping to have a look at the underlying issue in QProcess 

[1] https://bugs.kde.org/show_bug.cgi?id=276461
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20111223/1c7aa32b/attachment-0001.sig>

More information about the kde-freebsd mailing list