FS#69571 - [php] Removal of XMLRPC module in php 8.0.1-1

Attached to Project: Arch Linux
Opened by solonovamax (solonovamax) - Saturday, 06 February 2021, 20:31 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 06 February 2021, 20:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

It seems that for some reason the XMLRPC module was removed from the build process in the upgrade from php 7.4.14 → php 8.0.1-1.
The line "--with-xmlrpc=shared" was removed from the build process, which means that it no longer includes the /usr/lib/php/modules/xmlrpc.so file.
I don't know whether this was because support was removed *by* php for this module or not, but if that isn't the case, it'd be nice if that line was added back.
The exact change is right here: https://github.com/archlinux/svntogit-packages/commit/2bd8605006889a3e5a2012ac35cf9a3a9adf9623#diff-37538beb61ff63edebbf735dfcf39e5d732f49183d6beb097169d971875ca422L125
(Looking at the php changelogs for the 8.0 release, it seems that there have been no changes to the xmlrpc module. I can't confirm whether or not this is true personally though, since I haven't compiled it from source myself.)


Additional info:
* package version(s)
the change is in package version php 8.0.1-1

Steps to reproduce:
- install the php package
- add the line "extension=xmlrpc" somewhere in your /etc/php/php.ini file.
- run "php" from the command line
- you will get the following error:
PHP Warning: PHP Startup: Unable to load dynamic library 'xmlrpc' (tried: /usr/lib/php/modules/xmlrpc (/usr/lib/php/modules/xmlrpc: cannot open shared object file: No such file or directory), /usr/lib/php/modules/xmlrpc.so (/usr/lib/php/modules/xmlrpc.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Current workaround is to just do
yay -U https://archive.archlinux.org/packages/p/php/php-7.4.14-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/p/php-fpm/php-fpm-7.4.14-1-x86_64.pkg.tar.zst
and then use that until this is fixed.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 06 February 2021, 20:44 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#69570 
Don't make duplicates for any reason

Loading...