Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 598730 - www-servers/uwsgi-2.0.14[php] - building plugin for php5.6 failed: plugins/php/php_plugin.c:224:4: error: too few arguments to function ‘zend_register_string_constant’
Summary: www-servers/uwsgi-2.0.14[php] - building plugin for php5.6 failed: plugins/ph...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ultrabug
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-11-02 06:10 UTC by Oleh
Modified: 2016-12-12 20:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (uwsgi-2.0.14.build.log,17.77 KB, text/x-log)
2016-11-02 06:10 UTC, Oleh
Details
uwsgi-2.0.14-php-plugin.patch (uwsgi-2.0.14-php-plugin.patch,856 bytes, patch)
2016-11-02 06:11 UTC, Oleh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2016-11-02 06:10:16 UTC
as in Summary. Update to uwsgi-2.0.14 cannot build with php USE flag enabled. 2.0.13-r1 is ok.

Reproducible: Always

Steps to Reproduce:
1. USE=php emerge =uwsgi-2.0.14 (or update from 2.0.13 assuming php enabled)
2. notice build failure
3.
Actual Results:  
*** uWSGI building and linking plugin plugins/php ***
[x86_64-pc-linux-gnu-gcc -pthread] /var/tmp/portage/www-servers/uwsgi-2.0.14/temp/plugins/php56_plugin.so
plugins/php/php_plugin.c: In function ‘sapi_uwsgi_register_variables’:
plugins/php/php_plugin.c:224:4: error: too few arguments to function ‘zend_register_string_constant’
    zend_register_string_constant(name, name_len, strval, CONST_CS, 0);
    ^
In file included from /usr/lib64/php5.6/include/php/main/php.h:406:0,
                 from plugins/php/common.h:1,
                 from plugins/php/php_plugin.c:1:
/usr/lib64/php5.6/include/php/Zend/zend_constants.h:75:15: note: declared here
 ZEND_API void zend_register_string_constant(const char *name, uint name_len, char *strval, int flags, int module_number TSRMLS_DC);
               ^
Comment 1 Oleh 2016-11-02 06:10:43 UTC
Created attachment 452144 [details]
build.log
Comment 2 Oleh 2016-11-02 06:11:25 UTC
Created attachment 452146 [details, diff]
uwsgi-2.0.14-php-plugin.patch

patch that fixes.
Comment 3 Oleh 2016-11-07 18:15:53 UTC
any progress?
Comment 4 Oleh 2016-11-21 07:06:35 UTC
any progress