[ebuild NS ] dev-lang/php-5.2.17 [5.3.3-r3] USE="bcmath berkdb bzip2 calendar cgi cjk cli crypt ctype curl curlwrappers filter firebird flatfile gd gdbm gmp hash iconv imap inifile iodbc json mysql mysqli ncurses nls odbc pcre pdo pic posix postgres readline session simplexml soap spell sqlite ssl suhosin threads tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib -adabas (-apache2) -birdstep -cdb -db2 -dbase -dbmaker -debug -discard-path -doc -embed -empress -empress-bcs -esoob -exif -fdftk -force-cgi-redirect -frontbase -ftp -gd-external -interbase -ipv6 -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 -oci8-instant-client -pcntl -qdbm -recode -reflection -sapdb -sharedext -sharedmem -snmp -sockets -solid -spl -sybase-ct -sysvipc -tidy -wddx -yaz" 8,910 kB Total: 1 package (1 in new slot), Size of downloads: 8,910 kB * Error: circular dependencies: (dev-lang/php-5.2.17::gentoo, ebuild scheduled for merge) depends on (dev-lang/php-5.2.17::gentoo, ebuild scheduled for merge) (buildtime) It might be possible to break this cycle by applying the following change: - dev-lang/php-5.2.17 (Change USE: -suhosin) Note that this change can be reverted, once the package has been installed. Reproducible: Always
In Polish and English Gentoo documentation is clearly written that the type of errors "Error: circular dependencies" immediately reported to the Bugzilla http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1#doc_chap5 http://www.gentoo.org/doc/pl/handbook/handbook-x86.xml?part=2&chap=1#doc_chap5 "Circular Dependencies Code Listing 5.7: Portage warning about circular dependencies !!! Error: circular dependencies: ebuild / net-print/cups-1.1.15-r2 depends on ebuild / app-text/ghostscript-7.05.3-r1 ebuild / app-text/ghostscript-7.05.3-r1 depends on ebuild / net-print/cups-1.1.15-r2 Two (or more) packages you want to install depend on each other and can therefore not be installed. This is most likely a bug in the Portage tree. Please resync after a while and try again. You can also check bugzilla if the issue is known and if not, report it. "
Suhosin is not currently available for php-5.2.17. So you can either mask dev-lang/php-5.2.17 until it becomes available or you may do as portage suggests and remove the suhosin USE flag.
The point of comment 1 was ? Anyway, suhosin should probably be a PDEPEND, as it does depend on php.
(In reply to comment #3) > Anyway, suhosin should probably be a PDEPEND, as it does depend on php. > Never mind, it is a PDEPEND. Post your 'emerge --info' - perhaps portage is wrong in deps calculation.
Created attachment 260926 [details] emerge-info - date Fri Jan 28 15:51:20 CET 2011
Thanks for reporting this. Please see bug #352560 for a discussion on why this occurs and for progress on fixing this. The php team is working on it. In the meantime, you will be able to merge php:5.2 with: USE="-suhosin" emerge php:5.2 && USE="suhosin" emerge php:5.2 *** This bug has been marked as a duplicate of bug 352560 ***
Ah! Thanks for the info Matti. Another bug report indicated that suhosin didn't have an update for 5.2.17 (and the emerge error suggests the same), so I just assumed there was still no update for it. Good to know it's just portage being funky. The fix you mentioned works nicely :)