Let this bugs serve as a tracker for handbook related issues.
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".
(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...
Even kde-l10n does not compile anymore... I can't believe I'm the only one with this problem.
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...