Bsdadmin.ru

Записки администратора FreeBSD

Путь на сайте

Домашняя FreeBSD Ошибка xmlto

Ошибка xmlto

xmlto: /usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml does not validate (status 3)
# cd /usr/ports/x11-toolkits/libXmu && make install clean
===>  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 
 
 
/usr/ports/x11-toolkits/libXmu/work/libXmu-1.1.0/doc/./Xmu.xml:3: warning: failed to 
 
load external entity
/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 
 
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.
 
Решение 
#ee /usr/ports/x11-toolkits/libXmu/Makefile
Добавляем строчки:
 
CONFIGURE_ARGS+=        --without-fop \
                        --without-xmlto
Файл должен получиться следующим:
 
# New ports collection makefile for:   libXmu
# Date Created:                 25 Jan, 2003
 
#
# $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=     
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>
Далее, переинсталлируем
#cd /usr/ports/x11-toolkits/libXmu
#make deinstall clean
#make install clean