Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 144622

Summary: mplayer with doc flag installs app-text/docbook-sgml-dtd-4.4 and app-text/docbook-xml-dtd-4.4-r1 just to remove it
Product: Gentoo Linux Reporter: Nikolas Garofil <nikolas>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nikolas Garofil 2006-08-21 04:12:14 UTC
When you install media-video/mplayer (doesn't matter which of the 3 versions) with the 'doc' use flag on, it looks at the lines:
       doc? ( >=app-text/docbook-sgml-dtd-4.1.2
                   app-text/docbook-xml-dtd

and decides to install the newest versions of app-text/docbook-sgml-dtd and app-text/docbook-xml-dtd ( app-text/docbook-sgml-dtd-4.4 and app-text/docbook-xml-dtd-4.4-r1 for x86). 
When I run 'emerge --depclean' afterwards it finds that I already have the following versions of app-text/docbook-sgml-dtd on my system : 
4.1-r3 4.0-r3 3.0-r3 3.1-r3 4.2-r2
it sees that '4.2-r2' also answers '>=app-text/docbook-sgml-dtd-4.1.2' so it decides to remove app-text/docbook-sgml-dtd-4.4 again. it also finds other versions of app-text/docbook-xml-dtd so it decides to also remove app-text/docbook-xml-dtd-4.4-r1

But when i update my system (emerge -NDvua world && emerge --depclean -a (actually my update commands are longer but this has the same effect and keeps my description shorter)) mplayer reads the doc?-lines again and installs these packages again just for depclean to remove them again. And this cycle of install-just-to-remove actions happens everytime I run my update commands until the end of times...

I really wonder why mplayer can't see that i already have versions of app-text/docbook-xml-dtd and app-text/docbook-sgml-dtd-4.4 that answer the doc?-lines...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-21 04:17:10 UTC
Has nothing to do w/ mplayer, that's how portage handles slots.


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