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
signature.asc
Description: PGP signature
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
