Upgrading to php-8.0, have PHP_TARGETS="php8-0" in make.conf already, php-8 installed but still using 7.4 for cli (haven't changed by eselect). While emerge reported use flag changed: [ebuild U ~] dev-php/pecl-apcu-5.1.20 [5.1.19] PHP_TARGETS="php8-0* -php7-4*" after installation got message printed: >>> Messages generated by process 25620 on 2021-03-25 16:09:13 CET for package dev-php/pecl-apcu-5.1.20: LOG: postinst The apc.php file shipped with this release of pecl-apcu was installed to /usr/share/php7/apcu/. indeed, /usr/share/php8 directory is empty, file resides in /usr/share/php7. Reproducible: Didn't try Steps to Reproduce: 1. put "dev-php/pecl-apcu" in /etc/portage/package.accept_keywords 2. set PHP_TARGETS="php8-0" in /etc/portage/make.conf 3. emerge dev-php/pecl-apcu Actual Results: apc.php file installed into /usr/share/php7/ Expected Results: apc.php file installed into /usr/share/php8/
(In reply to EK from comment #0) > Upgrading to php-8.0, have PHP_TARGETS="php8-0" in make.conf already, php-8 > installed but still using 7.4 for cli (haven't changed by eselect). While > emerge reported use flag changed: > [ebuild U ~] dev-php/pecl-apcu-5.1.20 [5.1.19] PHP_TARGETS="php8-0* > -php7-4*" > after installation got message printed: > > >>> Messages generated by process 25620 on 2021-03-25 16:09:13 CET for package dev-php/pecl-apcu-5.1.20: > > LOG: postinst > The apc.php file shipped with this release of pecl-apcu was > installed to /usr/share/php7/apcu/. > > indeed, /usr/share/php8 directory is empty, file resides in /usr/share/php7. The only reason why it was placed where it is corresponds to the SLOT not version. The previous slot took up the /usr/share/php/apcu and therefore conflicted.