[MacPorts] #49342: make fails on ccache-devel - fails to load network entity docbook.xsl
MacPorts
noreply at macports.org
Sat Oct 17 23:45:00 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
Keywords: docbook.xsl | Port: ccache-devel
-------------------------+--------------------------------
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>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list