eggdbus calls xsltproc with -nonet: how is that supposed to work?

Jeremy Messenger mezz.freebsd at gmail.com
Wed Dec 29 18:02:46 UTC 2010


On Tue, Dec 28, 2010 at 11:14 PM, Paul Beard <paulbeard at gmail.com> wrote:
> In course of an expensive portmaster run to try and resolve some stubborn ports (telepathy-glib among them),  eggdbus kept failing. The command it choked on was an invocation of xsltproc with -nonet which as best I can tell requests a remote file without using the network.

I can't reproduce it. It ran perfect fine here, so to our tinderboxes
and pointyhat.

------------------------------
% xsltproc -v -nonet
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
eggdbus-binding-tool.xml
[...too long...]
xsltCompilePattern : parsing 'command'
xsltCompilePattern : parsed command, default priority 0.000000
added pattern : 'command' priority 0.000000
xsltCompilePattern : parsing 'type[not(ancestor::cmdsynopsis) and
                not(ancestor::funcsynopsis)]'
xsltCompilePattern : parsed type[not(ancestor::cmdsynopsis) and
              not(ancestor::funcsynopsis)], default priority 0.500000
added pattern : 'type[not(ancestor::cmdsynopsis) and
   not(ancestor::funcsynopsis)]' priority 0.500000
xsltCompilePattern : parsing 'function[not(ancestor::cmdsynopsis) and
                    not(ancestor::funcsynopsis)]'
xsltCompilePattern : parsed function[not(ancestor::cmdsynopsis) and
                  not(ancestor::funcsynopsis)], default priority
0.500000
added pattern : 'function[not(ancestor::cmdsynopsis) and
       not(ancestor::funcsynopsis)]' priority 0.500000
xsltCompilePattern : parsing 'parameter[not(ancestor::cmdsynopsis) and
                     not(ancestor::funcsynopsis)]'
[...too long...]
Importing attribute list section.titlepage.recto.style
Importing attribute list section.titlepage.recto.style
Importing attribute list section.titlepage.verso.style
Importing attribute list section.titlepage.recto.style
freeing dictionary from stylesheet
freeing dictionary from stylesheet
freeing dictionary from stylesheet
freeing dictionary from stylesheet
------------------------------

Try to follow this http://www.freebsd.org/gnome/docs/faq2.html#q20 to
see if it helps.

Cheers,
Mezz


>       --nonet
>           Do not use the Internet to fetch DTDs, entities or documents.
>
>
> gmake[3]: Entering directory `/usr/ports/devel/eggdbus/work/eggdbus-0.6/docs/man'
> /usr/local/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl eggdbus-binding-tool.xml
> I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
> cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> gmake[3]: *** [eggdbus-binding-tool.1] Error 4
> gmake[3]: Leaving directory `/usr/ports/devel/eggdbus/work/eggdbus-0.6/docs/man'
>
> Running it by hand, outside the build process, and then letting the build process pick up what it found ("oh, look, this is already done.") seemed to work.
>
> [root at shuttle /usr/ports/devel/eggdbus/work/eggdbus-0.6/docs/man]#  xsltproc -v -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl eggdbus-binding-tool.xml
> I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
> cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> [root at shuttle /usr/ports/devel/eggdbus/work/eggdbus-0.6/docs/man]#  xsltproc -v http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl eggdbus-binding-tool.xml
> creating dictionary for stylesheet
> reusing dictionary from http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl for stylesheet
> xsltParseStylesheetProcess : found stylesheet
> exclude result prefix exsl
> xsltPrecomputeStylesheet: removing ignorable blank node
>
> telepathy-glib did get upgraded, partly due to some issues with vala, gio, gir, and friends not being up-to-date, even after repeated rebuilds.
>
> --
> Paul Beard
>
> Are you trying to win an argument or solve a problem?


-- 
mezz.freebsd at gmail.com - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org


More information about the freebsd-gnome mailing list