[kde-doc-english] docs building issues

Jeremy Whiting jpwhiting at kde.org
Tue Nov 11 01:30:08 UTC 2014


Just for future reference Luigi found out the cause of this issue is a
bug in libxml2, downgrading that package fixes the docbook building
here. From this bug: https://bugzilla.gnome.org/show_bug.cgi?id=737840

BR,
Jeremy

On Mon, Oct 27, 2014 at 12:18 PM, Jeremy Whiting <jpwhiting at kde.org> wrote:
> I get this:
>
> [jeremy at chrom khangman]$ checkXML5
> ~/devel/kde/src/kde/kdeedu/kiten/doc/index.docbook
> /home/jeremy/devel/kde/src/kde/kdeedu/kiten/doc/index.docbook:2:
> element para: validity error : ID gnu-fdl already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID header already defined
> element div: validity error : ID header_content already defined
> element div: validity error : ID header_left already defined
> element div: validity error : ID header_right already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
> element div: validity error : ID footer already defined
> element div: validity error : ID footer_text already defined
>
> I do have kdelibs4 installed also in this machine, for some
> applications that haven't been ported to kf5 yet.
>
> thanks,
> Jeremy
>
> On Sun, Oct 26, 2014 at 5:03 AM, Burkhard Lück <lueck at hube-lueck.de> wrote:
>> Am Samstag, 25. Oktober 2014, 23:58:56 schrieben Sie:
>>> Hey Burkhard,
>>>
>>> I've committed the fix to kiten, but I still get this when building is
>>> it expected ?
>>>
>>> index.docbook:2: element para: validity error : ID gnu-fdl already defined
>>>
>> Everything build here in my separated kf5 environment.
>>
>> What is the output of checkXML5 pat/to/kiten/doc/index.docbook, should be Unix
>> style = no news are good news.
>>
>> Do you have a mixed kde4/kf5 environment and hit some coinstability issue?
>>
>> Please let's discuss this on kde-doc-english at kde.org.
>>
>>>
>>> On Sat, Oct 25, 2014 at 2:42 AM, Burkhard Lück <lueck at hube-lueck.de> wrote:
>>> > Am Freitag, 24. Oktober 2014, 13:18:20 schrieben Sie:
>>> >> In kdeedu porting to kf5 we are hitting some issues with the .docbook
>>> >> files not working anymore.
>>> >
>>> > In kf5 we switched to docbook 4.5
>>> >
>>> >> Both KHangMan and Kiten have bad
>>> >> docbooks in their frameworks branches currently.
>>> >
>>> > They require only a simple one liner patch to switch to the new docbook
>>> > version
>>> >
>>> > -<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant
>>> > V1.1//EN">
>>> >  "dtd/kdex.dtd" [
>>> >
>>> > +<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant
>>> > V1.1//EN" "dtd/kdedbx45.dtd" [
>>> >
>>> > With that patch both apps build fine here, the docbooks pass checkXML5 and
>>> > the help is properly displayed in KHelpcenter in my kf5 environment.
>>> >
>>> > Thanks.
>>> > --
>>> > Burkhard Lück
>>
>> --
>> Burkhard Lück
>>


More information about the kde-doc-english mailing list