Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 14:34:12 -0600
From:      "Gary Aitken" <vagabond@blackfoot.net>
To:        "Herbert J. Skuhra" <hskuhra@eumx.net>
Cc:        Freebsd Questions <questions@freebsd.org>
Subject:   Re: dockbook.xsl -- can't load when building port
Message-ID:  <f8d5604ae5696ec8f72e86e6880b1beb.squirrel@webmail.blackfoot.net>
In-Reply-To: <86k39kl9r1.wl%hskuhra@eumx.net>
References:  <a4dcb605ecec9fb9597a70e8905860cd.squirrel@webmail.blackfoot.net> <86k39kl9r1.wl%hskuhra@eumx.net>

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

>> Trying to rebuild ports after pkg delete -a
>>
>> Lots of stuff fails with things like:
>>
>> /usr/local/bin/xmlto man dbus-monitor.1.xml
>> compilation error: file /tmp/xmlto-xsl0Tylm9 line 4 element import
>> xsl:import: unable to load
>> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
>> I/O Error: Attempt to load network entity
>> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
>>
>> I have turned off language options in most packages,
>> but have left docs included in all of them
>>
>> executing the above xmlto cmd generates the error outside of all build
>> scripts;
>> I can go to the above url and load it fine.
>>
>> what's the magic I need?
>>
>> 9.2-RELEASE, amd64
>
> Try to the follow the instructions from /usr/ports/UPDATING:
>
> 20140219:
>   AFFECTS: users of textproc/docbook*
>
>   The textproc/docbook-* ports have been consolidated into two ports
>   textproc/docbook-sgml and textproc/docbook-xml.

Hmmm, interesting.
I had four docbook things already installed:
  docbook-sgml-4.5_1
  docbook-xml-5.0_2
  docbook-sxl-1.76.1_2
  sdocbook-xml-1.1_1,2

I copied a docbook.xsl into /usr/local/share/xmlto
and tried rebuilding devel/dbus but that didn't change anything.

I then reinstalled the four docbook ports listed above and somehow that
fixed it.
The "only" thing different is docbook.xsl was still in
/usr/local/share/xmlto when I rebuilt.

Anyway, thanks.







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