sudo emerge --verbose nextcloud [ebuild NS ] dev-lang/php-7.2.22:7.2::gentoo [7.3.9:7.3::gentoo] USE="acl apache2 bcmath berkdb bzip2 cdb cgi cjk cli ctype curl enchant exif fileinfo filter firebird flatfile fpm ftp gd gdbm gmp hash iconv intl iodbc ipv6 json kerberos ldap libressl lmdb* mhash nls odbc opcache pdo phar posix postgres readline recode session simplexml snmp soap sockets spell sqlite ssl systemd threads tidy tokenizer truetype unicode webp xml xmlreader xmlrpc xmlwriter xpm xslt zip zlib -argon2 -calendar -coverage -debug -embed -imap -inifile -ldap-sasl -libedit -mssql -mysql -mysqli -oci8-instant-client -pcntl -phpdbg -qdbm (-selinux) -session-mm -sharedmem -sodium -sysvipc -test -tokyocabinet -wddx -zip-encryption" 11.985 KiB [ebuild N ] virtual/httpd-php-7.3:7.3::gentoo 0 KiB [ebuild N ] app-admin/webapp-config-1.55-r1::gentoo USE="portage" PYTHON_TARGETS="pypy python2_7 python3_6 python3_7 -python3_5" 71 KiB [ebuild R ] media-gfx/imagemagick-7.0.8.64:0/7.0.8.64::gentoo USE="X bzip2 cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lzma openexr perl png postscript raw svg tiff truetype webp wmf xml zlib -corefonts -lqr -opencl -openmp* -pango -q32 -q8 -static-libs -test" 0 KiB [ebuild N ] dev-php/pecl-imagick-3.4.4::gentoo USE="-examples -test" PHP_TARGETS="php7-2 -php5-6 -php7-1 -php7-3" 248 KiB [ebuild N ] www-apps/nextcloud-16.0.4:16.0.4::gentoo USE="curl imagemagick postgres sqlite vhosts -mysql" 60.464 KiB my PHP_TARGETS is untouched (default) but as you see it pulls in httpd-php-7.3 and php-7.2 while I already have php-7.3 installed
Created attachment 589678 [details] info info
(In reply to Alessandro Barbieri from comment #0) > my PHP_TARGETS is untouched (default) but as you see it pulls in > httpd-php-7.3 and php-7.2 while I already have php-7.3 installed [ebuild N ] dev-php/pecl-imagick-3.4.4::gentoo USE="-examples -test" PHP_TARGETS="php7-2 -php5-6 -php7-1 -php7-3" 248 KiB The PHP_TARGETS default is "php7-2" which explains why dev-lang/php:7.2 is pulled in, regardless of whether dev-lang/php:7.3 is installed. Basically you are requesting that the default should be changed to PHP_TARGETS="php7-3" to reflect the stable status of dev-lang/php:7.3.
Installing php-7.2 is fine if all is consistent (like python do) I'm asking to have something like python (with PHP_REQUIRED_USE) or to have PHP_TARGETS removed (like perl)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cac055b5696f94cc12396f7fbfcb33799821bc17 commit cac055b5696f94cc12396f7fbfcb33799821bc17 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2020-07-19 18:08:34 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2020-07-19 18:09:29 +0000 profiles: Add php7-3 target by default Closes: https://bugs.gentoo.org/694008 Signed-off-by: Brian Evans <grknight@gentoo.org> profiles/base/make.defaults | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)