Now that dev-php/pecl-imagick supports PHP 8, my Piwigo installation wanted to upgrade to dev-lang/php:8.0, since the Piwigo ebuild has no version restrictions for PHP. However, Piwigo itself very much does not support PHP 8. The Apache error log is filled with: PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /var/www/localhost/htdocs/piwigo/creideiki/include/common.inc.php:20 Stack trace: #0 /var/www/localhost/htdocs/piwigo/creideiki/picture.php(10): include_once() #1 {main} thrown in /var/www/localhost/htdocs/piwigo/creideiki/include/common.inc.php on line 20 There is an open pull request in Piwigo upstream to fix this ( https://github.com/Piwigo/Piwigo/pull/1282 ), but it notices that it is not enough to guarantee PHP 8 support. Please restrict the RDEPEND in www-apps/piwigo-11.5.0-r1 to <dev-lang/php-8. Reproducible: Always
Thanks for the report, I run piwigo on stable so I did not run into that issue. Let me update the dependency, nice to see upstream github activity on topic!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=429b5b99be81862de4155631f440311739d579e9 commit 429b5b99be81862de4155631f440311739d579e9 Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2021-07-06 11:46:55 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2021-07-06 11:47:05 +0000 www-apps/piwigo: does not support php-8 yet Closes: https://bugs.gentoo.org/798840 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org> www-apps/piwigo/piwigo-11.5.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)