[frameworks-kdoctools] [Bug 398263] New: kdoctools man page build should depend on all-l10n.xml

Bernhard M. Wiedemann bugzilla_noreply at kde.org
Tue Sep 4 19:01:34 BST 2018


https://bugs.kde.org/show_bug.cgi?id=398263

            Bug ID: 398263
           Summary: kdoctools man page build should depend on all-l10n.xml
           Product: frameworks-kdoctools
           Version: 5.49.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kde-doc-english at kde.org
          Reporter: kdebugsbmw at lsmod.de
                CC: kdelibs-bugs at kde.org
  Target Milestone: ---

While working on reproducible builds for openSUSE, I found that
there is a parallelism-related race:
When building openSUSE's kdoctools package with a 1-core-VM using
osc build -j1

it creates different man-pages than with a 4-core-VM
osc build -j4


diffs include:

--- old//usr/share/man/man1/checkXML5.1 2018-08-26 03:25:41.086296212 +0000
+++ new//usr/share/man/man1/checkXML5.1 2018-08-26 03:25:41.098296086 +0000
@@ -5,9 +5,9 @@
 .\"      Date: 2014-03-04
 .\"    Manual: checkXML5 User's Manual
 .\"    Source: KDE Frameworks Frameworks 5.0
-.\"  Language: English
+.\"  Language:

-.SH "NAME"
+.SH ""
 checkXML5 \- An XML lint tool for KDE DocBook XML documents\&.
-.SH "SYNOPSIS"
+.SH ""
 .HP \w'\fBcheckXML5\fR\ 'u
 \fBcheckXML5\fR [\fIfilename\fR]
-.SH "DESCRIPTION"
+.SH "Description"



I think, this comes from a
I/O warning : failed to load external entity
"/home/abuild/rpmbuild/BUILD/kdoctools-5.49.0/build/src/customization/xsl/all-l10n.xml" 
that only happens in the -j1 case
in the output of kdoctools-5.49.0/build/bin/meinproc5


Looking through the source, all-l10n.xml seems to be generated by docbookl10n
but there is nothing telling cmake about this dependency, so it is scheduled at
different times before/after the man pages get generated:

difflog | grep "Built target docbookl10n"
+ [  8%] Built target docbookl10nhelper_autogen
+ [ 25%] Built target docbookl10nhelper
- [ 94%] Built target docbookl10nhelper_autogen
- [100%] Built target docbookl10nhelper

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-doc-english mailing list