[Slackbuilds-users] digikam - missing ENTITY

Christoph Willing chris.willing at iinet.net.au
Wed May 20 01:32:17 UTC 2015

Building digikam.SlackBuild on 14.1 fails for me with:
cd /tmp/SBo/digikam-4.10.0/doc-translated/nl && /usr/bin/meinproc4 
--check --cache 
index.docbook:120: parser error : Entity 'Ivo.de.Klerk' not defined

That happens about half way through a fairly long build - it can be 
demonstrated more quickly using checkXML, as in:

root at vmbulider64-141:/tmp# checkXML 
index.docbook:120: parser error : Entity 'Ivo.de.Klerk' not defined

It turns out this is due to the kde version installed on the system - my 
14.1 has kdelibs-4.10.5-x86_64-2. The kde on -current is 
kdelibs-4.14.6-x86_64-1 and the problem does not show up there. There is 
also discussion/confirmation at: https://bugs.kde.org/show_bug.cgi?id=329637

I tried a few ways around this - all work and are probably OK for most 
1. don't build the translated docs - add
	-DBUILD_doc-translated:BOOL=OFF \
to the cmake options

2. remove or comment out line line 120 of 
doc-translated/nl/index.docbook file (or at least the reference 

3. patch the index.docbook file to replace the entity reference with an 
hopefully equivalent xml entry i.e. what the entity reference would have 
expanded out to, had it been valid. A working patch is attached.

I'm a bit surprised no one else seems to have had this problem - maybe 
everyone has already migrated to -current where this isn't an issue?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: doc-deKlerk.diff
Type: text/x-patch
Size: 446 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150520/dc0b7aa6/attachment.bin>

More information about the SlackBuilds-users mailing list