Summary: | dev-php/pecl-gearman-1.1.2 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Barker <alex> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | alex, jstein, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Pending removal: 2018-04-13 | ||
Package list: | Runtime testing required: | --- | |
Attachments: | pecl-gearman-1.1.2.ebuild |
Description
Alex Barker
2017-06-17 05:39:13 UTC
This does not add support for php-7+ This is currently the most promising repo: https://github.com/wcgallego/pecl-gearman Created attachment 480812 [details] pecl-gearman-1.1.2.ebuild I am successfully compiling 1.1.2 against gearmand-1.1.16 (see bug #540322) and it is partially working. The issue is with pecl-gearman worker class adding servers and functions. I am unable to identify the cause: PHP Warning: GearmanWorker::addServers(): (null) in ... PHP Warning: GearmanWorker::addFunction(): Unable to add function to Gearman Worker: (null) GEARMAN_INVALID_ARGUMENT in ... (In reply to Alex Barker from comment #2) > Created attachment 480812 [details] > pecl-gearman-1.1.2.ebuild > > PHP Warning: GearmanWorker::addServers(): (null) in ... > PHP Warning: GearmanWorker::addFunction(): Unable to add function to > Gearman Worker: (null) GEARMAN_INVALID_ARGUMENT in ... The ebuild is working correctly. The issue I experienced is a bug with the interaction of pthreads and gearman worker. It seems to soil the pants only if the GearmanWorker class is a member variable of a class that extends Stackable! I.E. ` ``` class MyWorker extends Stackable { /** @var GearmanWorker $gearman */ protected $gearman; public function __construct() { $this->gearman = new GearmanWorker(); // Poops pants here. $this->gearman->addServer("127.0.0.1", 4730); } ... } ``` removed |