Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162973 - Portage does not merge in correct order (at least by) USE-flag dependencies
Summary: Portage does not merge in correct order (at least by) USE-flag dependencies
Status: RESOLVED DUPLICATE of bug 147766
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-20 20:07 UTC by Nico Mahlo
Modified: 2007-01-20 20:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Mahlo 2007-01-20 20:07:34 UTC
This is a new Gentoo install from scratch. After some packages it stopped at dbus. On emerging sun-jdk the following order shows up:


# emerge -pv sun-jdk

These are the packages that would be merged, in order:

Calculating dependencies                 ... done!
[ebuild  NSf  ] dev-java/sun-jce-bin-1.6.0  0 kB 
[ebuild  N    ] media-fonts/gnu-gs-fonts-std-8.11  0 kB 
[ebuild  N    ] media-fonts/kochi-substitute-20030809-r3  USE="X" 0 kB 
[ebuild  N    ] sys-apps/dbus-0.62-r2  USE="X doc python -debug -gtk -mono -qt3 -qt4 (-selinux)" 0 kB 
[ebuild  N    ] net-print/cups-1.2.6  USE="X dbus nls pam ppds samba slp ssl tiff -jpeg -php -png" 0 kB 
[ebuild  N    ] app-text/ghostscript-gpl-8.54  USE="X cjk cups jpeg2k -djvu -emacs -gtk" 0 kB 
[ebuild  N    ] virtual/ghostscript-0  0 kB 
[ebuild  N    ] app-doc/doxygen-1.4.7  USE="doc tetex -qt3" 0 kB 
[ebuild  N    ] net-fs/samba-3.0.22-r3  USE="acl cups doc examples kerberos mysql pam python readline winbind -async -automount -ldap -ldapsam -libclamav -oav -postgres -quotas (-selinux) -swat -syslog -xml" 0 kB 
[ebuild  N    ] net-print/foomatic-db-ppds-20060720  0 kB 
[ebuild  N    ] net-print/foomatic-filters-3.0.20060720  USE="cups" 0 kB 
[ebuild  N    ] net-print/foomatic-filters-ppds-20060720  0 kB 
[ebuild  N    ] media-sound/alsa-headers-1.0.13  0 kB 
[ebuild  N    ] media-libs/alsa-lib-1.0.13  USE="doc -debug" 0 kB 
[ebuild  NS   ] dev-java/sun-jdk-1.6.0-r1  USE="X alsa doc examples jce (-nsplugin)" 0 kB 

Problem: dbus with USE=doc need doxygen, but this is in order behind dbus.
BUT: On pretending dbus directly, everything is OK:

# emerge -pv dbus

These are the packages that would be merged, in order:

Calculating dependencies             ... done!
[ebuild  N    ] media-fonts/gnu-gs-fonts-std-8.11  0 kB 
[ebuild  N    ] media-fonts/kochi-substitute-20030809-r3  USE="X" 0 kB 
[ebuild  N    ] net-print/cups-1.2.6  USE="X dbus nls pam ppds samba slp ssl tiff -jpeg -php -png" 0 kB 
[ebuild  N    ] app-text/ghostscript-gpl-8.54  USE="X cjk cups jpeg2k -djvu -emacs -gtk" 0 kB 
[ebuild  N    ] virtual/ghostscript-0  0 kB 
[ebuild  N    ] app-doc/doxygen-1.4.7  USE="doc tetex -qt3" 0 kB 
[ebuild  N    ] sys-apps/dbus-0.62-r2  USE="X doc python -debug -gtk -mono -qt3 -qt4 (-selinux)" 0 kB 
[ebuild  N    ] net-fs/samba-3.0.22-r3  USE="acl cups doc examples kerberos mysql pam python readline winbind -async -automount -ldap -ldapsam -libclamav -oav -postgres -quotas (-selinux) -swat -syslog -xml" 0 kB 
[ebuild  N    ] net-print/foomatic-db-ppds-20060720  0 kB 
[ebuild  N    ] net-print/foomatic-filters-3.0.20060720  USE="cups" 0 kB 
[ebuild  N    ] net-print/foomatic-filters-ppds-20060720  0 kB 

My portage version is:
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 x86_64)


Reproducible: Always

Steps to Reproduce:
1. mkfs.ext3 <your root partition goes here>
2. do some stuff
3. USE="doc" emerge sun-jdk
;)
Comment 1 Nico Mahlo 2007-01-20 20:14:52 UTC
(In reply to comment #0)
OK - maybe my bugreport was too fast. It's more complicated. Doxygen seems to have a circular dependency? (doxygen wants dbus which wants doxygen)


# emerge -pv doxygen

These are the packages that would be merged, in order:

Calculating dependencies           ... done!
[ebuild  N    ] sys-apps/dbus-0.62-r2  USE="X doc python -debug -gtk -mono -qt3 -qt4 (-selinux)" 0 kB 
[ebuild  N    ] net-print/cups-1.2.6  USE="X dbus nls pam ppds samba slp ssl tiff -jpeg -php -png" 0 kB 
[ebuild  N    ] app-text/ghostscript-gpl-8.54  USE="X cjk cups jpeg2k -djvu -emacs -gtk" 0 kB 
[ebuild  N    ] virtual/ghostscript-0  0 kB 
[ebuild  N    ] app-doc/doxygen-1.4.7  USE="doc tetex -qt3" 0 kB 
[ebuild  N    ] net-fs/samba-3.0.22-r3  USE="acl cups doc examples kerberos mysql pam python readline winbind -async -automount -ldap -ldapsam -libclamav -oav -postgres -quotas (-selinux) -swat -syslog -xml" 0 kB 
[ebuild  N    ] net-print/foomatic-db-ppds-20060720  0 kB 
[ebuild  N    ] net-print/foomatic-filters-3.0.20060720  USE="cups" 0 kB 
[ebuild  N    ] net-print/foomatic-filters-ppds-20060720  0 kB 

HTH
Comment 2 Zac Medico gentoo-dev 2007-01-20 20:15:50 UTC
This is fixed in 2.1.2.

*** This bug has been marked as a duplicate of bug 147766 ***

*** This bug has been marked as a duplicate of bug 147766 ***