Opened 9 years ago

Last modified 9 years ago

#49342 closed defect

make fails on ccache-devel - fails to load network entity docbook.xsl — at Initial Version

Reported by: rtharston (Reed Harston) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: ccache-devel, asciidoc

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.

Change History (2)

Changed 9 years ago by rtharston (Reed Harston)

Attachment: main.log added

Changed 9 years ago by rtharston (Reed Harston)

Attachment: manpage.xsl added

the file with the bad reference

Note: See TracTickets for help on using tickets.