[MacPorts] #49342: make fails on ccache-devel - fails to load network entity docbook.xsl
MacPorts
noreply at macports.org
Sun Oct 18 00:58:15 PDT 2015
#49342: make fails on ccache-devel - fails to load network entity docbook.xsl
-------------------------------------+--------------------------------
Reporter: rtharston@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: ccache-devel, asciidoc |
-------------------------------------+--------------------------------
Changes (by ryandesign@…):
* keywords: docbook.xsl =>
* cc: ryandesign@…, cal@… (added)
* port: ccache-devel => ccache-devel, asciidoc
Old description:
> When attempting to install ccache-devel everything installs fine until
> this line in the main.log:
>
> :info:build I/O error : Attempt to load network entity
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
>
> After poking around I found that the problem linked to this file:
>
> /opt/local/etc/asciidoc/docbook-xsl/manpage.xsl
>
> at this line:
>
> <xsl:import
> href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
>
> Eventually what I did was download docbook manually and change that line
> to point to the local folder where I downloaded the folder containing
> docbook.xsl and everything worked fine then. I'm not sure why it was
> failing to go to the internet for those files but this comment in that
> same file as above makes it sound like it shouldn't have even been trying
> to go to the internet:
>
> NOTE: The URL reference to the current DocBook XSL stylesheets is
> rewritten to point to the copy on the local disk drive by the XML
> catalog
> rewrite directives so it doesn't need to go out to the Internet for the
> stylesheets. This means you don't need to edit the <xsl:import>
> elements on
> a machine by machine basis.
>
> So I'm not sure what the issue is, but I hope you can fix it. Until then
> I'm leaving that file the way I changed it so it points to a local copy
> of docbook.xsl.
New description:
When attempting to install ccache-devel everything installs fine until
this line in the main.log:
{{{
:info:build I/O error : Attempt to load network entity
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
}}}
After poking around I found that the problem linked to this file:
/opt/local/etc/asciidoc/docbook-xsl/manpage.xsl
at this line:
{{{
<xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
}}}
Eventually what I did was download docbook manually and change that line
to point to the local folder where I downloaded the folder containing
docbook.xsl and everything worked fine then. I'm not sure why it was
failing to go to the internet for those files but this comment in that
same file as above makes it sound like it shouldn't have even been trying
to go to the internet:
NOTE: The URL reference to the current DocBook XSL stylesheets is
rewritten to point to the copy on the local disk drive by the XML
catalog
rewrite directives so it doesn't need to go out to the Internet for the
stylesheets. This means you don't need to edit the <xsl:import> elements
on
a machine by machine basis.
So I'm not sure what the issue is, but I hope you can fix it. Until then
I'm leaving that file the way I changed it so it points to a local copy of
docbook.xsl.
--
--
Ticket URL: <https://trac.macports.org/ticket/49342#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list