Summary: | equery depends does not use the portage tree to calculate dependencies | ||
---|---|---|---|
Product: | Portage Development | Reporter: | vicaya <gentoobugs> |
Component: | Core - Dependencies | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jakub, kenyon |
Priority: | High | Keywords: | InVCS |
Version: | 2.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 170220 |
Description
vicaya
2007-01-31 09:12:03 UTC
equery is known to be buggy for that type of query. Please attach output from portage-2.1.2-r5 for `emerge --debug --pretend --depclean`. dev-php5/propel doesn't depend on dev-php5/jargon at all... neither does dev-php5/creole -> equery d produces nonsense. # emerge -pv dev-php5/propel These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-libs/t1lib-5.0.2 USE="X -doc" 1,658 kB [ebuild NS ] dev-db/sqlite-2.8.16-r4 USE="-doc nls -tcl" 959 kB [ebuild N ] net-libs/c-client-2004g USE="pam ssl" 2,195 kB [ebuild N ] app-admin/php-toolkit-1.0-r2 0 kB [ebuild N ] dev-lang/php-5.1.6-r8 USE="-adabas -apache -apache2 -bcmath berkdb -birdstep bzip2 -calendar -cdb -cgi -cjk cli -concurrentmodphp crypt -ctype curl curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob exif -fastbuild -fdftk -filepro -firebird flatfile -force-cgi-redirect -frontbase -ftp gd -gd-external gdbm gmp -hardenedphp -hash -hyperwave-api iconv imap -informix inifile -interbase -iodbc ipv6 -java-external -kerberos -ldap -libedit -mcve -memlimit -mhash -ming -msql -mssql -mysql -mysqli ncurses nls -oci8 -oci8-instant-client -odbc -pcntl pcre -pdo -pdo-external -pic -posix -postgres -qdbm readline -recode reflection -sapdb -sasl session -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid spell spl sqlite ssl -sybase -sybase-ct -sysvipc threads -tidy -tokenizer truetype unicode -vm-goto -vm-switch -wddx xml -xmlreader xmlrpc -xmlwriter xpm -xsl -yaz zip zlib" 6,329 kB [ebuild N ] dev-php5/pecl-zip-1.7.5 56 kB [ebuild N ] dev-php/PEAR-PEAR-1.4.11 326 kB [ebuild N ] dev-php5/phing-2.2.0 371 kB [ebuild N ] dev-php5/creole-1.1.0 91 kB [ebuild N ] dev-php5/propel-generator-1.2.0 212 kB [ebuild N ] dev-php5/propel-runtime-1.2.0 45 kB [ebuild N ] dev-php5/propel-1.2.0 0 kB -- # emerge -pv dev-php5/creole These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-libs/t1lib-5.0.2 USE="X -doc" 1,658 kB [ebuild NS ] dev-db/sqlite-2.8.16-r4 USE="-doc nls -tcl" 959 kB [ebuild N ] net-libs/c-client-2004g USE="pam ssl" 2,195 kB [ebuild N ] app-admin/php-toolkit-1.0-r2 0 kB [ebuild N ] dev-lang/php-5.1.6-r8 USE="-adabas -apache -apache2 -bcmath berkdb -birdstep bzip2 -calendar -cdb -cgi -cjk cli -concurrentmodphp crypt -ctype curl curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob exif -fastbuild -fdftk -filepro -firebird flatfile -force-cgi-redirect -frontbase -ftp gd -gd-external gdbm gmp -hardenedphp -hash -hyperwave-api iconv imap -informix inifile -interbase -iodbc ipv6 -java-external -kerberos -ldap -libedit -mcve -memlimit -mhash -ming -msql -mssql -mysql -mysqli ncurses nls -oci8 -oci8-instant-client -odbc -pcntl pcre -pdo -pdo-external -pic -posix -postgres -qdbm readline -recode reflection -sapdb -sasl session -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid spell spl sqlite ssl -sybase -sybase-ct -sysvipc threads -tidy -tokenizer truetype unicode -vm-goto -vm-switch -wddx xml -xmlreader xmlrpc -xmlwriter xpm -xsl -yaz zip zlib" 6,329 kB [ebuild N ] dev-php5/pecl-zip-1.7.5 56 kB [ebuild N ] dev-php/PEAR-PEAR-1.4.11 326 kB [ebuild N ] dev-php5/creole-1.1.0 91 kB Try w/ latest ~arch gentoolkit; the results you've posted are bogus. http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/creole/creole-1.1.0.ebuild?r1=1.1&r2=1.2 equery uses the ebuild in /var/db/pkg. portage/emerge uses the ebuild in the live tree ($PORTDIR). creole no longer depends on jargon in the live tree. If you need jargon add it to your world file. Well, this is the output of the new equery (gentoolkit-0.2.3_pre3) $ equery d dev-php5/jargon [ Searching for packages depending on dev-php5/jargon... ] dev-php5/creole-1.1.0 (>=dev-php5/jargon-1.1.0) I can confirm dev-php5/jargon is not listed/mentioned as a dependency in emerge -dp --depclean for portage 2.1.2-r5 (I prefer not to post the output if possible) I'm sure dev-php5/jargon was pulled down as a dependency when emerging propel, this is the relevant part of the genlop output: Thu Sep 28 10:30:31 2006 >>> dev-php/PEAR-PEAR-1.4.11 Thu Sep 28 10:34:02 2006 >>> dev-php5/phing-2.2.0 Thu Sep 28 10:34:15 2006 >>> dev-php5/propel-generator-1.2.0 Thu Sep 28 10:34:27 2006 >>> dev-php5/jargon-1.1.0 Thu Sep 28 10:34:39 2006 >>> dev-php5/creole-1.1.0 Thu Sep 28 10:34:51 2006 >>> dev-php5/propel-runtime-1.2.0 Thu Sep 28 10:35:00 2006 >>> dev-php5/propel-1.2.0 comment #3 makes sense. Thanks. *** Bug 171280 has been marked as a duplicate of this bug. *** $ svn commit -m "Change package.get_???_deps() methods to try the portage tree first, since emerge always uses the portage tree for dependencies. (Bug #164678)" Sending trunk/ChangeLog Sending trunk/src/gentoolkit/package.py Transmitting file data .. Committed revision 368. Released in gentoolkit-0.2.4_pre4 |