Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694008 - profiles/base/make.defaults:PHP_TARGETS="php7-2" - change default to PHP_TARGETS="php7-3"
Summary: profiles/base/make.defaults:PHP_TARGETS="php7-2" - change default to PHP_TARG...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on: 721112 721114 721120
Blocks:
  Show dependency tree
 
Reported: 2019-09-11 00:07 UTC by Alessandro Barbieri
Modified: 2020-07-19 18:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
info (info,13.09 KB, text/plain)
2019-09-11 00:09 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-09-11 00:07:36 UTC
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
Comment 1 Alessandro Barbieri 2019-09-11 00:09:34 UTC
Created attachment 589678 [details]
info

info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-11 06:47:54 UTC
(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.
Comment 3 Alessandro Barbieri 2019-09-11 07:49:17 UTC
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)
Comment 4 Larry the Git Cow gentoo-dev 2020-07-19 18:09:36 UTC
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(-)