FS#69819 - [uwsgi-plugin-php] uwsgi-2.0.19.1-10 php plugins LDFLAGS
Attached to Project:
Community Packages
Opened by nathan (ndowens) - Saturday, 27 February 2021, 20:41 GMT
Last edited by David Runge (dvzrv) - Saturday, 27 February 2021, 21:21 GMT
Opened by nathan (ndowens) - Saturday, 27 February 2021, 20:41 GMT
Last edited by David Runge (dvzrv) - Saturday, 27 February 2021, 21:21 GMT
|
Details
Description:
uwsgi php7 & php8 plugins still compile with LDFLAGS -lphp8 Additional info: * package version(s) 2.0.19.1-10 Steps to reproduce: Not sure if it is just an Artix thing or maybe affects Arch as well, but I figure I would atleast report it and add possible patch and PKGBUILD changes that we had to do, in order for php7 plugin to link against php7 and php to link against php8. For the php7 PKGBUILD change I changed: sed -e "s/ + php_version//" \ -i plugins/php/uwsgiplugin.py to : sed -e 's,+ php_version,,' \ -e 's,-lphp,-lphp7,' \ -i plugins/php7/uwsgiplugin.py For php8, I updated the existing php8 patch with the following changes in pastebin: https://termbin.com/lanu The main change of the php8 patch is: -LIBS = [os.popen(PHPPATH + ' --libs').read().rstrip(), '-lphp' + php_version] +LIBS = [os.popen(PHPPATH + ' --libs').read().rstrip(), '-lphp'] |
This task depends upon
Closed by David Runge (dvzrv)
Saturday, 27 February 2021, 21:21 GMT
Reason for closing: Works for me
Additional comments about closing: Arch Linux provides /usr/lib/libphp.so with php-embed, whereas Artix provides /usr/lib/libphp8.so.
Saturday, 27 February 2021, 21:21 GMT
Reason for closing: Works for me
Additional comments about closing: Arch Linux provides /usr/lib/libphp.so with php-embed, whereas Artix provides /usr/lib/libphp8.so.
This is not the case according to my build logs (see attachment).
I will close this, as it is not relevant for Arch, but thanks for the ticket nonetheless! :)