Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466450 - world Update uninstalls dev-lang/php-5.4.12 though 5-4 slot chosen
Summary: world Update uninstalls dev-lang/php-5.4.12 though 5-4 slot chosen
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-19 09:46 UTC by Tino
Modified: 2013-04-22 10:26 UTC (History)
0 users

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


Attachments
emerge --info (emerge--info.txt,4.61 KB, text/plain)
2013-04-19 09:48 UTC, Tino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tino 2013-04-19 09:46:56 UTC
Yesterday's world update uninstalled dev-lang/php-5.4.12 and installed dev-lang/php-5.5.0_beta3 (due to depend on app-admin/eselect-php-0.7.1, I presume) although 

PHP_TARGETS="php5-4"

is stated in make.conf

Reproducible: Always

Steps to Reproduce:
1. emerge --sync && emerge -uDNv world 

Actual Results:  
[ebuild     U  ] app-admin/eselect-php-0.7.1 [0.6.7] USE="apache2%* -fpm%" 3 kB
[uninstall     ] dev-lang/php-5.4.12:5.4  USE="apache2 berkdb bzip2 cli crypt ctype fileinfo filter gdbm hash iconv json nls pdo phar posix postgres readline session simplexml ssl tokenizer unicode xml zlib -bcmath -calendar -cdb -cgi -cjk -curl -curlwrappers -debug -doc -embed -enchant -exif -firebird -flatfile -fpm (-frontbase) -ftp -gd -gmp -imap -inifile -intl -iodbc -ipv6 -kerberos (-kolab) -ldap -ldap-sasl -libedit -mhash -mssql -mysql -mysqli -mysqlnd -oci8-instant-client -odbc -pcntl -pic -qdbm -recode (-selinux) -sharedmem -snmp -soap -sockets -spell -sqlite (-sybase-ct) -sysvipc -threads -tidy -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip" 
[blocks b      ] <dev-lang/php-5.4.13-r1:5.4 ("<dev-lang/php-5.4.13-r1:5.4" is blocking app-admin/eselect-php-0.7.1)
[ebuild  NS    ] dev-lang/php-5.5.0_beta3:5.5 [5.4.12:5.4] USE="apache2 berkdb bzip2 cli crypt ctype fileinfo filter gdbm hash iconv json nls opcache pdo phar posix postgres readline session simplexml ssl tokenizer unicode xml zlib -bcmath -calendar -cdb -cgi -cjk -curl -curlwrappers -debug -embed -enchant -exif -firebird -flatfile -fpm (-frontbase) -ftp -gd -gmp -imap -inifile -intl -iodbc -ipv6 -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -mysql -mysqli -oci8-instant-client -odbc -pcntl -qdbm -recode (-selinux) -sharedmem -snmp -soap -sockets -spell -sqlite (-sybase-ct) -sysvipc -threads -tidy -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip" 11,973 kB


Expected Results:  
[ebuild     U  ] app-admin/eselect-php-0.7.1 [0.6.7] USE="apache2%* -fpm%" 3 kB
[ebuild     U  ] dev-lang/php-5.4.14:5.4 [5.4.12:5.4] USE="apache2 berkdb bzip2 cli crypt ctype fileinfo filter gdbm hash iconv json nls pdo phar posix postgres readline session simplexml ssl tokenizer unicode xml zlib -bcmath -calendar -cdb -cgi -cjk -curl -curlwrappers -debug -embed -enchant -exif -firebird -flatfile -fpm (-frontbase) -ftp -gd -gmp -imap -inifile -intl -iodbc -ipv6 -kerberos -ldap -ldap-sasl -libedit -mhash -mssql -mysql -mysqli -mysqlnd -oci8-instant-client -odbc -pcntl -qdbm -recode (-selinux) -sharedmem -snmp -soap -sockets -spell -sqlite (-sybase-ct) -sysvipc -threads -tidy -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip (-doc%) (-kolab%) (-pic%)" 11,687 kB
[blocks b      ] <dev-lang/php-5.4.13-r1:5.4 ("<dev-lang/php-5.4.13-r1:5.4" is blocking app-admin/eselect-php-0.7.1)

(simulated by masking dev-lang/php-5.5 in package.mask)
Comment 1 Tino 2013-04-19 09:48:35 UTC
Created attachment 346006 [details]
emerge --info
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2013-04-22 09:03:23 UTC
You are mixing stable and unstable. Please use unstable versions of PHP if you are going to use unstable version of eselect-php.
Comment 3 Ole Markus With (RETIRED) gentoo-dev 2013-04-22 10:26:31 UTC
(In reply to comment #2)
> You are mixing stable and unstable. Please use unstable versions of PHP if
> you are going to use unstable version of eselect-php.

Sorry, I see that both are unstable. The problem is morel likely that php 5.4 is not in world or that nothing in world depends on it. When you have only php in world it prefers latest slot (as shown by emerge --depclean)