[MacPorts] #49342: make fails on ccache-devel - fails to load network entity docbook.xsl
#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
#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
#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 | -------------------------------------+-------------------------------- Comment (by cal@…): This usually happens due to undeclared dependencies, likely on the port that provides the local copy of docbook.xsl. -- Ticket URL: <https://trac.macports.org/ticket/49342#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49342: make fails on ccache-devel - fails to load network entity docbook.xsl -------------------------------------+-------------------------------- Reporter: rtharston@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: ccache-devel, asciidoc | -------------------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: As expected, missing dependency towards docbook-xsl. Additionally, the order of the commands in the Portfile actually removed the declared autoconf dependency. I've fixed those in r143288. Ryan: Is this also necessary for ccache? -- Ticket URL: <https://trac.macports.org/ticket/49342#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49342: make fails on ccache-devel - fails to load network entity docbook.xsl -------------------------------------+-------------------------------- Reporter: rtharston@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: ccache-devel, asciidoc | -------------------------------------+-------------------------------- Comment (by ryandesign@…): I think it's only needed for ccache-devel, because it runs ./autogen.sh, but ccache doesn't need to. -- Ticket URL: <https://trac.macports.org/ticket/49342#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts