[lxc-users] Can not build manpages in git master
Leonid Isaev
lisaev at umail.iu.edu
Sat Dec 21 03:12:14 UTC 2013
Hi,
I am trying to package lxc git master for archlinux but the build
fails while making manpages using docbook2x-0.8.8. The error is, e.g.
-----
lxc-attach.sgml:27: parser error : SystemLiteral " or ' expected
<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
^
lxc-attach.sgml:27: parser error : SYSTEM or PUBLIC, the URI is missing
<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
^
lxc-attach.sgml:224: parser error : Entity 'commonoptions' not defined
&commonoptions;
^
lxc-attach.sgml:325: parser error : Entity 'seealso' not defined
&seealso;
^
unable to parse lxc-attach.sgml
-----
Searching google revealed that this is apparently a recurring issue, see
http://lists.linuxcontainers.org/pipermail/lxc-devel/2010-March/001133.html .
The fix mentioned in that link works:
-----
diff --git a/configure.ac b/configure.ac
index 2818d79..67b540d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -110,7 +110,7 @@ AM_CONDITIONAL([ENABLE_DOCBOOK], [test "x$db2xman" != "x"])
AM_CONDITIONAL([USE_DOCBOOK2X], [test "x$db2xman" != "xdocbook2man"])
if test "x$db2xman" = "xdocbook2man"; then
- docdtd="\"-//Davenport//DTD DocBook V3.0//EN\""
+ docdtd="\"-//Davenport//DTD DocBook V3.0//EN\" \"/dev/null\""
else
docdtd="\"-//OASIS//DTD DocBook XML\"
\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\"" fi
-----
I'm barely familiar with sgml/docbook, so this patch is most likely not the
fix, but it yields fine-looking manpages. Also, manpages in 0.9.0 did build
properly.
Am I missing something?
Thanks,
Leonid.
--
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20131220/3384825a/attachment.pgp>
More information about the lxc-users
mailing list