Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 164678
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage Utilities Team <tools-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: vicaya <gentoobugs@vicaya.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 164678 depends on: Show dependency tree
Bug 164678 blocks: 170220
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-31 09:12 0000
emerge --depclean wants to remove needed package (dev-php5/jargon in this case)
in 2.1.1-r2 (stable) and 2.1.2-r5 (~amd64):

$ equery d dev-php5/jargon
[ Searching for packages depending on dev-php5/jargon... ]
dev-php5/creole-1.1.0
$ equery d dev-php5/creole
[ Searching for packages depending on dev-php5/creole... ]
dev-php5/propel-runtime-1.2.0
dev-php5/jargon-1.1.0
$ equery d dev-php5/propel-runtime
[ Searching for packages depending on dev-php5/propel-runtime... ]
dev-php5/propel-1.2.0
$ grep propel /var/lib/portage/world
dev-php5/propel

Note: 
1. none of the packages is in package.provided -- I don't have one.
2. none of the mentioned packages use USE flags.
3. Both dev-php5/jargon and dev-php5/propel have RDEPEND on dev-php5/creole.
4. I use metadata_overlay (unset metadata-transfer in FEATURES) to cut down
sync time. I don't see why it should affect the portage behavior, as equery
finds all the dependencies just fine.

------- Comment #1 From Zac Medico 2007-01-31 09:18:31 0000 -------
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`.

------- Comment #2 From Jakub Moc (RETIRED) 2007-01-31 09:25:52 0000 -------
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.

------- Comment #3 From Bo Ørsted Andresen (RETIRED) 2007-01-31 09:38:36 0000 -------
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.

------- Comment #4 From vicaya 2007-01-31 09:47:53 0000 -------
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 #5 From vicaya 2007-01-31 09:49:51 0000 -------
comment #3 makes sense. Thanks.

------- Comment #6 From Zac Medico 2007-03-17 22:00:49 0000 -------
*** Bug 171280 has been marked as a duplicate of this bug. ***

------- Comment #7 From Paul Varner 2007-03-29 22:17:50 0000 -------
$ 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.

------- Comment #8 From Paul Varner 2007-04-11 05:03:54 0000 -------
Released in gentoolkit-0.2.4_pre4

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug