Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79959 - [php-legacy] 8.1.23-2 missing symbol php_strlcpy used by PHP APCU

Attached to Project: Arch Linux
Opened by Ash (eta-carinae) - Saturday, 14 October 2023, 15:17 GMT
Last edited by Toolybird (Toolybird) - Friday, 20 October 2023, 04:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

Description:

With version 8.1.23-2, the php-legacy-apcu and php-legacy-imagick modules fail to load due to the undefined
symbol php_strlcpy. Here's the error message for apcu.so:

PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/lib/php-legacy/modules/apcu.so (/usr/lib/php-legacy/modules/apcu.so: undefined symbol: php_strlcpy)

I encountered this problem with nextcloud.

This doesn't happen with 8.1.23-1.
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 20 October 2023, 04:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  Rebuild is complete according to the linked Todo list.
Comment by Toolybird (Toolybird) - Saturday, 14 October 2023, 18:51 GMT
This looks like a repeat of  FS#79356 . It really needs a proper fix instead of relying on old glibc.
Comment by Pierre Schmitz (Pierre) - Saturday, 14 October 2023, 19:50 GMT
PHP and its modules need to be rebuild with glibc 2.38. Sadly I could not finish it before my unplanned absence: https://archlinux.org/todo/php-glibc-238-rebuild/
Comment by Toolybird (Toolybird) - Saturday, 14 October 2023, 20:41 GMT
Dupe  FS#79967 
Comment by Tormod Volden (tormod) - Sunday, 15 October 2023, 13:15 GMT
Just in case it can help anyone landing here, the workaround is to rebuild the package locally:
yay -G php-legacy-apcu # or whatever to retrieve the package source
cd php-apcu
# can edit PKGBUILD to e.g. change to pkgrel=6.1
makepkg -f && sudo pacman -U php-legacy-apcu-5.1.22-6*-x86_64.pkg.tar.zst
Comment by Sergej Pupykin (sergej) - Sunday, 15 October 2023, 22:49 GMT
I've rebuilt php-apcu and php-imagick

Loading...