Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23173 - [kdelibs] package should have docbook-xsl as a dependency

Attached to Project: Arch Linux
Opened by Elvis Stansvik (estan) - Monday, 07 March 2011, 10:03 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 07 March 2011, 13:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
The meinproc4 command in the kdelibs package is broken since as of version 4.6. kdelibs used to bundle docbook-xsl, but as of version 4.6 it's a runtime dependency instead. The kdelibs package in Arch should reflect this and have docbook-xsl as a dependency in order for the meinproc4 command to work.

Additional info:
kdelibs-4.6.1-1

Steps to reproduce:
Install the kdelibs package and then try to use the meinproc4 command:

[astan@pyret meinproc4test]$ cat test.docbook
<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd">

<book>
Test
</book>
[astan@pyret meinproc4test]$ meinproc4 test.docbook
I/O warning : failed to load external entity "/usr/share/xml/docbook/xsl-stylesheets-1.76.1/html/autoidx.xsl"
compilation error: file /usr/share/apps/ksgmltools2/customization/kde-include-common.xsl line 4 element import
xsl:import : unable to load /usr/share/xml/docbook/xsl-stylesheets-1.76.1/html/autoidx.xsl
I/O warning : failed to load external entity "/usr/share/xml/docbook/xsl-stylesheets-1.76.1/html/chunk.xsl"
compilation error: file /usr/share/apps/ksgmltools2/customization/kde-include-common.xsl line 5 element import
xsl:import : unable to load /usr/share/xml/docbook/xsl-stylesheets-1.76.1/html/chunk.xsl
unable to parse test.docbook
[astan@pyret meinproc4test]$
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 07 March 2011, 13:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  kdelibs 4.6.1-2
Comment by Elvis Stansvik (estan) - Monday, 07 March 2011, 10:46 GMT
I just found out that this is a duplicate of  bug 22495  which was closed as WONTFIX. This is really wrong.

docbook-xsl is a hard dependency of kdelibs, it is _not_ considered optional by upstream. It should therefore not be an optional dependency in the Arch package.

It's one thing to have optional dependencies for packages where the dependency is considered optional by upstream. It's another thing to break basic functionality, which is what Arch is doing now.
Comment by Andrea Scarpino (BaSh) - Monday, 07 March 2011, 13:27 GMT
Ronald, what do you think about? I'm still against this, but we had 3 or 4 bug reports about docbook-xsl and KDE.
Comment by Ionut Biru (wonder) - Monday, 07 March 2011, 13:37 GMT
imo you don't have to think even a second. If is broken, fix it.
Comment by Andrea Scarpino (BaSh) - Monday, 07 March 2011, 13:42 GMT
isn't broken. When you need to build an application you need to add it to makedepends (as kdelibs optdepends says), you need it only to read kde help documentation.
Comment by Ronald van Haren (pressh) - Monday, 07 March 2011, 13:52 GMT
I don't care about documentation, but technically I think it should be a dependency of whatever install khelpcenter. Especially because it's only very small in size compared to the rest of KDE. On the other hand, people should read if there is an optional dependency...

I haven't looked into it, but maybe the best solution would be to have khelpcenter in a separate package (but this is likely not straightforward as you would haven done it already).

Loading...