Summary: | sys-apps/portage - Error output for USE_EXPAND flags is unclear towards the user; doesn't suggest whether to do PHP_TARGETS="php_targets_php5-3" or PHP_TARGETS="php5-3", leaves user confused. | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Juergen Rose <rose> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | tomwij |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2013-07-06 08:03:31 UTC
At the least, it would be nice if Portage also suggests to change the variable. For example: The minimal make.conf change needed to satisfy the requirements is: PHP_TARGETS="php5-3" And optionally we could add: Possible other combinations are: ... enumerate all possible satisfied combinations for PHP_TARGETS ... Expanded dependency output is nice for devs, but is confusing towards users. This message seems to be repaired, currently gives: * Make sure that PHP_TARGETS in /etc/make.conf includes php5-5 in order * to compile extensions for the 5.5 ABI However if the is no PHP_TARGETS defined at all, and you're only installing php freshly, this should be assumed. Took me a while to figure out I was missing a definition that should be the default. [ebuild R ] dev-lang/php-5.5.18:5.5 USE="berkdb bzip2 cli crypt ctype curl fileinfo filter fpm gd gdbm gmp hash iconv ipv6 json ldap ldap-sasl mhash nls opcache phar posix readline session simplexml snmp sqlite ssl threads* tokenizer truetype unicode vpx xml zip zlib -apache2 -bcmath -calendar -cdb -cgi -cjk -debug -embed -enchant -exif (-firebird) -flatfile (-frontbase) -ftp -imap -inifile -intl -iodbc -kerberos -libedit -libmysqlclient -mssql -mysql -mysqli -oci8-instant-client -odbc -pcntl -pdo -postgres -qdbm -recode (-selinux) -sharedmem* -soap -sockets -spell (-sybase-ct) -systemd -sysvipc -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xslt" 0 kB Also of note, it doesn't show PHP_TARGETS on that line like every other USE_EXPAND using package does. (In reply to Tony Butler from comment #3) > [ebuild R ] dev-lang/php-5.5.18:5.5 USE="berkdb bzip2 cli crypt ctype > curl fileinfo filter fpm gd gdbm gmp hash iconv ipv6 json ldap ldap-sasl > mhash nls opcache phar posix readline session simplexml snmp sqlite ssl > threads* tokenizer truetype unicode vpx xml zip zlib -apache2 -bcmath > -calendar -cdb -cgi -cjk -debug -embed -enchant -exif (-firebird) -flatfile > (-frontbase) -ftp -imap -inifile -intl -iodbc -kerberos -libedit > -libmysqlclient -mssql -mysql -mysqli -oci8-instant-client -odbc -pcntl -pdo > -postgres -qdbm -recode (-selinux) -sharedmem* -soap -sockets -spell > (-sybase-ct) -systemd -sysvipc -tidy -wddx -xmlreader -xmlrpc -xmlwriter > -xpm -xslt" 0 kB > > > Also of note, it doesn't show PHP_TARGETS on that line like every other > USE_EXPAND using package does. That's because dev-lang/php doesn't use PHP_TARGETS. PHP_TARGETS is for packages like dev-php/pecl-ps that require one or more php implementations. |