[DRBD-user] drbd-utils-9.1.0: xsltproc make doc failed on CentOS 7.3

T.J. Yang tjyang2001 at gmail.com
Sat Sep 16 10:56:15 CEST 2017

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi

In my drbd9 learning gdoc notes(R1), I used to be able to create
 drbd-utils-8.9.10 rpms.
But now when I do "make rpm"  for drbd-utils-9.1.0 version like following

drbd-utils-9.1.0

   1.

   Get the tarball

wget http://www.linbit.com/downloads/drbd/utils/drbd-utils-9.1.0.tar.gz

   1.

   build

           tar xzvf drbd-utils-9.1.0.tar.gz && cd drbd-utils-9.1.0

./autogen.sh

./configure --enable-spec # to prepare for RPM making next

./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc

make rpm

 I am getting following error near v9 doc.

<snipped>
usr/bin/xsltproc -o drbdsetup_wait-sync-volume.xml xml-usage-to-docbook.xsl
drbdsetup_xml-help_wait-sync-volume.xml
/usr/bin/xsltproc -o drbdsetup_wait-sync-connection.xml
xml-usage-to-docbook.xsl drbdsetup_xml-help_wait-sync-connection.xml
/usr/bin/xsltproc -o drbdsetup_wait-sync-resource.xml
xml-usage-to-docbook.xsl drbdsetup_xml-help_wait-sync-resource.xml
/usr/bin/xsltproc -o drbdsetup_forget-peer.xml xml-usage-to-docbook.xsl
drbdsetup_xml-help_forget-peer.xml
/usr/bin/xsltproc \
--xinclude --stringparam variablelist.term.break.after 1 \
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
drbd.conf.xml
/usr/bin/xsltproc \
--xinclude --stringparam variablelist.term.break.after 1 \
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
drbdsetup.xml
http://docbook.sourceforge.net/release/xsl/current/common/subtitles.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 31
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/common/subtitles.xsl
http://docbook.sourceforge.net/release/xsl/current/common/subtitles.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 31
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/common/subtitles.xsl
http://docbook.sourceforge.net/release/xsl/current/html/graphics.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 41
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/graphics.xsl
http://docbook.sourceforge.net/release/xsl/current/html/graphics.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 41
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/graphics.xsl
http://docbook.sourceforge.net/release/xsl/current/html/xref.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 42
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/xref.xsl
http://docbook.sourceforge.net/release/xsl/current/html/xref.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 42
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/xref.xsl
http://docbook.sourceforge.net/release/xsl/current/html/formal.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 43
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/formal.xsl
http://docbook.sourceforge.net/release/xsl/current/html/formal.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 43
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/formal.xsl
http://docbook.sourceforge.net/release/xsl/current/html/keywords.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 52
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/keywords.xsl
http://docbook.sourceforge.net/release/xsl/current/html/keywords.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 52
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/keywords.xsl
http://docbook.sourceforge.net/release/xsl/current/html/division.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 53
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/division.xsl
http://docbook.sourceforge.net/release/xsl/current/html/division.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 53
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/division.xsl
http://docbook.sourceforge.net/release/xsl/current/html/toc.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 54
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/toc.xsl
http://docbook.sourceforge.net/release/xsl/current/html/toc.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 54
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/toc.xsl
http://docbook.sourceforge.net/release/xsl/current/html/index.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 55
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/index.xsl
http://docbook.sourceforge.net/release/xsl/current/html/index.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 55
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/index.xsl
http://docbook.sourceforge.net/release/xsl/current/html/refentry.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 56
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/refentry.xsl
http://docbook.sourceforge.net/release/xsl/current/html/refentry.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 56
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/refentry.xsl
http://docbook.sourceforge.net/release/xsl/current/html/math.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 57
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/math.xsl
http://docbook.sourceforge.net/release/xsl/current/html/synop.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 66
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/synop.xsl
http://docbook.sourceforge.net/release/xsl/current/html/titlepage.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 67
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/titlepage.xsl
http://docbook.sourceforge.net/release/xsl/current/html/titlepage.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 67
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/titlepage.xsl
http://docbook.sourceforge.net/release/xsl/current/html/titlepage.templates.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 68
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/titlepage.templates.xsl
http://docbook.sourceforge.net/release/xsl/current/html/titlepage.templates.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 68
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/titlepage.templates.xsl
http://docbook.sourceforge.net/release/xsl/current/html/pi.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 69
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/pi.xsl
http://docbook.sourceforge.net/release/xsl/current/html/pi.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 69
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/pi.xsl
http://docbook.sourceforge.net/release/xsl/current/html/ebnf.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 70
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/ebnf.xsl
http://docbook.sourceforge.net/release/xsl/current/html/ebnf.xsl:1: parser
error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 70
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/ebnf.xsl
http://docbook.sourceforge.net/release/xsl/current/html/chunker.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 71
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/chunker.xsl
http://docbook.sourceforge.net/release/xsl/current/html/chunker.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 71
element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/chunker.xsl
http://docbook.sourceforge.net/release/xsl/current/manpages/info.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
line 32 element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/info.xsl
http://docbook.sourceforge.net/release/xsl/current/manpages/info.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
line 32 element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/info.xsl
http://docbook.sourceforge.net/release/xsl/current/manpages/other.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
line 33 element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/other.xsl
http://docbook.sourceforge.net/release/xsl/current/manpages/other.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
line 33 element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/other.xsl
http://docbook.sourceforge.net/release/xsl/current/manpages/refentry.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
line 34 element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/refentry.xsl
http://docbook.sourceforge.net/release/xsl/current/manpages/refentry.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
line 34 element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/refentry.xsl
http://docbook.sourceforge.net/release/xsl/current/manpages/block.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
line 35 element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/block.xsl
http://docbook.sourceforge.net/release/xsl/current/manpages/block.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
line 35 element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/block.xsl
http://docbook.sourceforge.net/release/xsl/current/manpages/inline.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
line 36 element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/inline.xsl
http://docbook.sourceforge.net/release/xsl/current/manpages/inline.xsl:1:
parser error : Document is empty
compilation error: file
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
line 36 element include
xsl:include : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/inline.xsl
make[2]: *** [drbd.conf.5] Error 5
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [drbdsetup.8] Error 5
make[2]: Leaving directory
`/home/ME/rpmbuild/BUILD/drbd-utils-9.1.0/documentation/v9'
make[1]: *** [doc] Error 2
make[1]: Leaving directory `/home/ME/rpmbuild/BUILD/drbd-utils-9.1.0'
error: Bad exit status from /var/tmp/rpm-tmp.Hpej3B (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Hpej3B (%build)
make: *** [rpm] Error 1


Thanks for your pointer toward the solution

R1:
https://docs.google.com/document/d/1VYQMksQlPPqB0KiM0RAK5M9qaRYECv5YhaE8uUfKISY/edit#heading=h.e57zsyu4r6uh
-- 
T.J. Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170916/a3d7620a/attachment.htm>


More information about the drbd-user mailing list