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

Bug 63791

Summary: scrollkeeper depends on docbook-xml-dtd-4.1.2
Product: Gentoo Linux Reporter: STefan <Nuckerl.Stefan>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description STefan 2004-09-12 09:54:24 UTC
root@xxx # fgrep -r -e 'docbook-xml-dtd-4.1' *
app-text/scrollkeeper-0.3.14/scrollkeeper-0.3.14.ebuild:        =app-text/docbook-xml-dtd-4.1.2*
app-text/scrollkeeper-0.3.14/RDEPEND:   =app-text/docbook-xml-dtd-4.1.2*
app-text/scrollkeeper-0.3.14/DEPEND:    =app-text/docbook-xml-dtd-4.1.2*

Is it really neccessary to depend on docbook-xml-dtd-4.1.2???? 
Currently docbook-xml-dtd-4.3 is marked as stable, since scrollkeeper has 4.1.2 in the ebuild emerge tries to emerge 4.3 an the last 4.1.2 release which will not work as 4.3 is newer.

How about changing it to =app-text/docbook-xml-dtd-4* ?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 STefan 2004-09-12 09:56:06 UTC
Or change it to: >=app-text/docbook-xml-dtd-4.1.2*
Comment 2 Leonardo Boshell (RETIRED) gentoo-dev 2004-09-18 13:52:53 UTC
On one hand, packages such as these (docboock-*-dtd) are not meant to be "upgraded" like most software packages. That is, when you install a DTD like docbook-xml-dtd-4.3, it doesn't mean you should uninstall a different version like 4.1.2. It's perfectly normal for a package to depend on the 4.1.2 or 3.0 version of the DTD to generate its manual (in fact, a number of current gnome packages do).

In the case of scrollkeeper, its configure script checks explicitly for either the 4.1.2 or 4.2 version of the DTD. Trying to emerge scrollkeeper on a system without any of those two versions would fail.

So I don't really understand what you mean by "emerge tries to emerge 4.3 an the last 4.1.2 release which will not work as 4.3 is newer". Does the emerge process  fail? If so, what is the error message?

Also, the >=app-text/docbook-xml-dtd-4.1.2* syntax is invalid. Try to clarify your report. Thanks.
Comment 3 STefan 2004-09-21 14:59:54 UTC
Well I got the following situation:

emerge -upD world gives me:

[ebuild  N    ] app-text/docbook-xml-dtd-4.1.2-r5


Now when I try to 'emerge -p docbook-xml-dtd' I get:

[ebuild   R   ] app-text/docbook-xml-dtd-4.3

So I cannot emerge 4.1.2 unless I use 'ebuild .... merge'

Hope that clears things up.
Comment 4 Leonardo Boshell (RETIRED) gentoo-dev 2004-09-21 15:51:10 UTC
I guess I'm still confused. Let me see if I understand you correctly:

- Consulting what would get installed if you upgraded your system (-upD), you see that emerge lists app-text/docbook-xml-dtd-4.1.2-r5
- You try to update docbook-xml-dtd individually then, but emerge says that it would re-emerge app-text/docbook-xml-dtd-4.3
- You find this incorrect.

If that is the case, please note that this is not incorrect. The different docbook-xml-dtd ebuilds have different SLOT numbers, which let you have different versions installed in parallel. So far so good, right?

As I said, the dependencies in the scrollkeeper package are, in fact, correct. Your system has docbook-xml-dtd version 4.3, but still needs version 4.1.2 for scrollkeeper, so if you want to emerge that you could simply emerge scrollkeeper which should pull the right deps, or do something like:
  emerge =docbook-xml-dtd-4.1.2*

Please let me know if I'm missing something. Thanks.
Comment 5 STefan 2004-09-22 12:53:02 UTC
""Your system has docbook-xml-dtd version 4.3, but still needs version 4.1.2 for scrollkeeper, so if you want to emerge that you could simply emerge scrollkeeper which should pull the right deps""

Ah that works, didn't think of that and this one I didn't know of:

"emerge =docbook-xml-dtd-4.1.2*"

Thanks for your answers, I'll remember the "=name-version" option.
Comment 6 Leonardo Boshell (RETIRED) gentoo-dev 2004-09-22 13:09:51 UTC
OK, marking this as invalid then.