This is ebuild request for PECL pthreads - high level implementation of POSIX threads. Sources: https://pecl.php.net/package/pthreads Installation instruction: http://php.net/manual/en/pthreads.installation.php Requirements: http://php.net/manual/en/pthreads.requirements.php Ebuild from geki overlay (doesn't work for me): https://gpo.zugaina.org/dev-php/pecl-pthreads
Created attachment 428724 [details] ebuild with added threads use flag (dev-php/pecl-pthreads needs ZTS enabled)
Do you wish to proxy maintain this Bartosz?
No, I don't feel like I can handle this.
Then I'm sorry to say, but this will probably not make it into gentoo. If someone needs this, he will add anyway, but adding ebuilds upon request is not so probable (maybe just in cases if it's very common request). If you change your mind, feel free to ping, the ebuild does not look that complicated, I'm sure we can help you with maintaining it.
Created attachment 481728 [details] pecl-pthreads-2.0.10.ebuild I'll add this to Gentoo if you can test the threads on 5.6, 7.0 and 7.1
Created attachment 481730 [details] pecl-pthreads-3.1.6.ebuild
I am willing and able to proxy maintain this package. I have tested 2.0.10, 3.1.6 and 9999 (HEAD) with 5.6, 7.0/.1 and 7.2 respectively.
Created attachment 524746 [details] pecl-pthreads-2.0.10.ebuild @grknight I have updated the ebuilds you gave me and tested. The attachments should be good for 5.6, 7.0 and 7.2 from the trunk. The 3.1.x branch does not support 7.1 OR 7.2 yet. I tried building the master branch against 7.1 but it fails spectacularly so I have opened the upstream bug https://github.com/krakjoe/pthreads/issues/850
Created attachment 524748 [details] pecl-pthreads-3.1.6.ebuild
Created attachment 524750 [details] pecl-pthreads-9999.ebuild PHP 7.1 does not appear to be compatible.
So I have heard back from upstream, php 7.0 and 7.1 are not supported by pthreads... So really, there is no PHP7+ stable release. Just the master branch.
Created attachment 524752 [details] pecl-pthreads-2.0.10.ebuild
Created attachment 524754 [details] pecl-pthreads-3.1.6.ebuild Big fat warning: php 7.0 and 7.1 have a race condition in the engine that cause instability in pthreads for these versions of php. Please mask accordingly.
Created attachment 524756 [details] pecl-pthreads-3.1.9999.ebuild This is the last 7.1 commit, no release will be made for 7.1 due to the aforementioned race condition.
Created attachment 524758 [details] pecl-pthreads-9999.ebuild
Hey Alex. Do you still want to proxy maintain? Maybe you could fill then a Github PR? Conrad
Hi Conrad, The pthreads extension has been discontinued with PHP 7.4 in favor of the parallel extension by the same author. When I have a few minutes, I will see if I can get this new extension working and test the compatibility. If everything looks good, I can proxy maintain this new package. I need to adjust my email filters. https://github.com/krakjoe/pthreads/issues/929
I have created bug #702018 to supersede this ticket. A pull request has been opened https://github.com/gentoo/gentoo/pull/13875.
The follow-up bug 702018 to add pecl-parallel was fixed.