xmlto: /usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml does not validate (status 3)

29.09.2012, рубрики: FreeBSD | Теги: , | 469 комментариев »
1
# cd /usr/ports/x11-toolkits/libXmu && make install clean
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
===>  Extracting for libXmu-1.1.0,1
=> SHA256 Checksum OK for xorg/lib/libXmu-1.1.0.tar.bz2.
===>  Patching for libXmu-1.1.0,1
===>   libXmu-1.1.0,1 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found
===>   libXmu-1.1.0,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   libXmu-1.1.0,1 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===>   libXmu-1.1.0,1 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   libXmu-1.1.0,1 depends on executable: pkg-config - found
===>  Configuring for libXmu-1.1.0,1
[...]
===>  Building for libXmu-1.1.0,1
[...]
Making all in doc
  GEN    Xmu.html
xmlto: /usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
<span id="more-423"></span>
 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
                                                          ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:9: parser error : Entity 'ldquo' not defined
    <abstract><para>&ldquo;Don't ask.&rdquo;</para></abstract>
                           ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:9: parser error : Entity '
rdquo' not defined
    <abstract><para>&ldquo;Don'
t ask.&rdquo;</para></abstract>
                                            ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:14: parser error : Entity 'copy' not defined
Copyright &copy; 1989 X Consortium
                ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:18: parser error : Entity 'ldquo' not defined
of this software and associated documentation files (the &ldquo;Software&rdquo;)
                                                                ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:18: parser error : Entity 'rdquo' not defined
of this software and associated documentation files (the &ldquo;Software&rdquo;)
                                                                               ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:29: parser error : Entity 'ldquo' not defined
THE SOFTWARE IS PROVIDED &ldquo;AS IS&rdquo;, WITHOUT WARRANTY OF ANY KIND, EXPR
                                ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:29: parser error : Entity 'rdquo' not defined
THE SOFTWARE IS PROVIDED &ldquo;AS IS&rdquo;, WITHOUT WARRANTY OF ANY KIND, EXPR
                                            ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:197: parser error : Entity 'ldquo' not defined
&ldquo;<code>XA_</code>&rdquo;.  The
       ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:197: parser error : Entity 'rdquo' not defined
&ldquo;<code>XA_</code>&rdquo;.  The
                              ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:729: parser error : Entity 'ldquo' not defined
&ldquo;<code>XC_</code>&rdquo; prefix from the cursor defines listed in
       ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:729: parser error : Entity 'rdquo' not defined
&ldquo;<code>XC_</code>&rdquo; prefix from the cursor defines listed in
                              ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:990: parser error : Entity 'ldquo' not defined
This function draws the &ldquo;official&rdquo; X Window System logo
                               ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:990: parser error : Entity 'rdquo' not defined
This function draws the &ldquo;official&rdquo; X Window System logo
                                              ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:1699: parser error : Entity 'ldquo' not defined
standard cursor name formed by removing the <code>&ldquo;XC_&rdquo;</code>
                                                         ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:1699: parser error : Entity 'rdquo' not defined
standard cursor name formed by removing the <code>&ldquo;XC_&rdquo;</code>
                                                                   ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:1778: parser error : Entity 'ldquo' not defined
standard cursor name formed by removing the <code>&ldquo;XC_&rdquo;</code>
                                                         ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:1778: parser error : Entity 'rdquo' not defined
standard cursor name formed by removing the <code>&ldquo;XC_&rdquo;</code>
                                                                   ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:3345: parser error : Entity 'ldquo' not defined
This function parses the next &ldquo;item&rdquo; from the Compound Text string.
                                     ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:3345: parser error : Entity 'rdquo' not defined
This function parses the next &ldquo;item&rdquo; from the Compound Text string.
                                                ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:4654: parser error : Entity 'ldquo' not defined
&ldquo;owned&rdquo;) by
       ^
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:4654: parser error : Entity 'rdquo' not defined
&ldquo;owned&rdquo;) by
                   ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
Document /usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml does not validate
*** [Xmu.html] Error code 13

Stop in /usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc.
*** [all-recursive] Error code 1

Stop in /usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0.
*** [all] Error code 1

Stop in /usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0.
*** [do-build] Error code 1

Stop in /usr/ports/x11-toolkits/libXmu.

Чтобы исправить ошибку:

1
ee /usr/ports/x11-toolkits/libXmu/Makefile

Добавляем строчки:

1
2
CONFIGURE_ARGS+=        --without-fop \
                        --without-xmlto

Файл должен получиться вот такого вида:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# New ports collection makefile for:   libXmu
# Date Created:                 25 Jan, 2003
# Whom:                         Eric Anholt <[email protected]>
#
# $FreeBSD: ports/x11-toolkits/libXmu/Makefile,v 1.23 2011/11/09 15:26:04 miwi Exp $
#

PORTNAME=       libXmu
PORTVERSION=    1.1.0
PORTEPOCH=      1
CATEGORIES=     x11-toolkits

MAINTAINER=     x11@FreeBSD.org
COMMENT=        X Miscellaneous Utilities libraries

XORG_CAT=       lib
USE_XORG=       xproto:both x11 xt xext

CONFIGURE_ARGS+=        --without-fop \
                        --without-xmlto

.include <bsd.port.mk>

Далее:

1
2
3
cd /usr/ports/x11-toolkits/libXmu
make deinstall clean
make install clean


Оставить комментарий