Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159611 - media-sound/solfege causes up/downgrade cycling of docbook-xsl-stylesheets
Summary: media-sound/solfege causes up/downgrade cycling of docbook-xsl-stylesheets
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-01 03:26 UTC by Oliver Schoett
Modified: 2007-02-05 19:36 UTC (History)
2 users (show)

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


Attachments
Suppress the dependency on a specific docbook-xsl-stylesheet version (solfege-3.6.0.ebuild.diff,816 bytes, patch)
2007-01-06 17:27 UTC, Bruno Roggeri
Details | Diff
updated ebuild diff : depend on >=1.60, not on >=1.6 (solfege-3.6.0.ebuild.diff,817 bytes, patch)
2007-01-06 21:04 UTC, Bruno Roggeri
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Schoett 2007-01-01 03:26:46 UTC
The solfege ebuilds (x86, both stable and ~x86) cause docbook-xsl-stylesheets to be alternately up- and downgraded between versions 1.68.1-r1 and 1.70.1:

   # emerge -plv --tree -Du world

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

   Calculating world dependencies... done!
   [nomerge      ] media-sound/solfege-3.6.0  USE="-oss" 
   [ebuild     UD]  app-text/docbook-xsl-stylesheets-1.68.1-r1 [1.70.1] 0 kB 

The culprit seems to be this dependency in the ebuilds:

   =app-text/docbook-xsl-stylesheets-1.6*"

The stable version of docbook-xsl-stylesheets on x86 is now 1.70.1, and this conflicts with the above dependency. It should be changed from the * pattern to a >= rule.
Comment 1 Bruno Roggeri 2007-01-06 17:27:32 UTC
Created attachment 105675 [details, diff]
Suppress the dependency on a specific docbook-xsl-stylesheet version

This patch make the ebuild use xmlcatalog to find the stylesheet it needs, which is much more flexible than (ab)using ls. I tried to find an eclass to interface with the catalog, but I ended up doing this "by hand"... did i miss it ?

I also changed the dependency on docbook-xsl-stylesheet to >=1.6, I didn't check if it was really necessary (anyway, all versions in portage are >=1.6).
Comment 2 Oliver Schoett 2007-01-06 20:40:55 UTC
> I also changed the dependency on docbook-xsl-stylesheet to >=1.6

Presumably that should be >=1.60

Recall that the up-/downgrade loop is between 1.68.1 and 1.70.1
Comment 3 Bruno Roggeri 2007-01-06 21:04:46 UTC
Created attachment 105703 [details, diff]
updated ebuild diff : depend on >=1.60, not on >=1.6 

Right, if it's needed it should be like that.
Comment 4 Alexis Ballier gentoo-dev 2007-02-05 19:36:11 UTC
Fixed, thanks.