Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2010 17:21:39 GMT
From:      Douglas Carmichael <dcarmich@dcarmichael.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151507: print/system-config-printer fails to build with a "failed to load external entity" error from xmlto
Message-ID:  <201010161721.o9GHLdN0023896@www.freebsd.org>
Resent-Message-ID: <201010161730.o9GHU783062190@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151507
>Category:       ports
>Synopsis:       print/system-config-printer fails to build with a "failed to load external entity" error from xmlto
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 16 17:30:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Douglas Carmichael
>Release:        8.1-RELEASE-p1
>Organization:
>Environment:
FreeBSD dc-freebsd81.carmichael.lan 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #1: Thu Sep 23 13:44:06 CDT 2010     root@dc-freebsd81.carmichael.lan:/usr/src/sys/amd64/compile/VMWARE81-64  amd64

>Description:
When I try to build print/system-config-printer (as part of print/system-config-printer-kde, and in turn sysutils/kdeadmin4), it fails with the following message:


Making all in po
gmake[1]: Entering directory `/usr/ports/print/system-config-printer/work/system-config-printer-1.1.16/po'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/ports/print/system-config-printer/work/system-config-printer-1.1.16/po'
gmake[1]: Entering directory `/usr/ports/print/system-config-printer/work/system-config-printer-1.1.16'
xmlto man -o man man/system-config-printer.xml
xmlto: /usr/ports/print/system-config-printer/work/system-config-printer-1.1.16/man/system-config-printer.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.1.2/docbookx.dtd
/usr/ports/print/system-config-printer/work/system-config-printer-1.1.16/man/system-config-printer.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">;
                                                            ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
Document /usr/ports/print/system-config-printer/work/system-config-printer-1.1.16/man/system-config-printer.xml does not validate
gmake[1]: *** [man/system-config-printer.1] Error 13
gmake[1]: Leaving directory `/usr/ports/print/system-config-printer/work/system-config-printer-1.1.16'
gmake: *** [all-recursive] Error 1
*** Error code 1

>How-To-Repeat:
Build KDE 4 with x11/kde4 port, and select printer setup utility.
>Fix:
A workaround can be to manually enter the work/ directory, and run xmlto with the --skip-validation option:


[root@dc-freebsd81 /usr/ports/print/system-config-printer/work/system-config-printer-1.1.16]# xmlto --skip-validation man -o man man/system-config-printer.xml
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
/usr/ports/print/system-config-printer/work/system-config-printer-1.1.16/man/system-config-printer.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">;
                                                            ^
Warn: AUTHOR sect.: no personblurb|contrib for Tim Waugh           
Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib       
Note: AUTHOR sect.: see see http://docbook.sf.net/el/personblurb   
Note: Writing system-config-printer.1
Warn: AUTHOR sect.: no personblurb|contrib for Tim Waugh           
Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib       
Note: AUTHOR sect.: see see http://docbook.sf.net/el/personblurb   
Note: Writing system-config-printer-applet.1


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010161721.o9GHLdN0023896>