Current version 1.1.2 from the PECL forge is not compatible with PHP 7, and seems mostly dead. I think there is 2 way to handle this - drop the package - update it using an existing fork A possible solution could be https://github.com/wcgallego/pecl-gearman which is a fork of the pecl extension, adapted for PHP 7 (version 2.0.1 seems ok).
Remi, as you mentioned there are some still using it, I think updating it to the the fork makes sense.
http://pkgs.fedoraproject.org/cgit/rpms/php-pecl-gearman.git/commit/?id=e3411434d3e1fb5e7d64a9bc8190106025a02201
Created attachment 1202951 [details] config.log Build strangely fails in rawhide.
Fixed by (or perhaps by binutils reverted from 2.27-6 to 2.27-5) http://pkgs.fedoraproject.org/cgit/rpms/php-pecl-gearman.git/commit/?id=36876c693f62b2e98162c7c42a0011a1230edee6 Now build in rawhide, so closing