Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337455 - [Tracker] KDE4 handbook related bugs
Summary: [Tracker] KDE4 handbook related bugs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 337156 337275 337395 337541 340431
Blocks:
  Show dependency tree
 
Reported: 2010-09-15 08:32 UTC by Maciej Mrozowski
Modified: 2010-12-14 21:23 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 Maciej Mrozowski gentoo-dev 2010-09-15 08:32:55 UTC
Let this bugs serve as a tracker for handbook related issues.
Comment 1 Maciej Mrozowski gentoo-dev 2010-09-15 11:40:46 UTC
Just a note - we may soon encounter many bugs like 337275 (failures when building handbook).
This is only when building packages (with handbooks) against >=kdelibs-4.5 as kdelibs no longer bundles docbook 4.2.

In order to make those packages work, following course of actions need to be performed:

- if there is handbook in IUSE - remove it from there - instead add KDE_HANDBOOK="optional" before inheriting kde4-base

- if there is no handbook in IUSE - then investigate whether it's been overlooked/forgotten (likely the case - see bug 337275) or handbook is intentionally mandatory - if the forner, then add KDE_HANDBOOK="optional" - if the latter, then add KDE_HANDBOOK="always".
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2010-10-15 09:09:47 UTC
(In reply to comment #1)
> Just a note - we may soon encounter many bugs like 337275 (failures when
> building handbook).
> This is only when building packages (with handbooks) against >=kdelibs-4.5 as
> kdelibs no longer bundles docbook 4.2.
> - if there is handbook in IUSE - remove it from there - instead add
> KDE_HANDBOOK="optional" before inheriting kde4-base

Right, the bugs are piling up (see tracker bug 340431).
The funny thing is that all the failing packages refer to docbook 4.1.2 (and not 4.2).

Removing the handbook is not really a solution. 

The "fix" in the overlay in kde4-base.eclass is to replace the referal to the dtd on the fly in src_prepare (4.1.2 -> 4.2). I already talked to Scarabeus, and he was of the opinion that this is dangerous because the dtds might not be fully compatible. While that is true, it seems to work so far. 

Maciej, do you know of a better solution? Like, in kdex.dtd providing an "alternative based-on"? My sgml knowledge is basically non-existent...
Comment 3 darkbasic 2010-10-27 19:02:31 UTC
Even kde-l10n does not compile anymore... I can't believe I'm the only one with this problem.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2010-12-14 21:23:32 UTC
OK, the situation seems to be pretty quiet now, so I'm closing this. Let's make a new tracker when large-ish changes to the handbook system are made again...