Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#49342 closed defect (fixed)

make fails on ccache-devel - fails to load network entity docbook.xsl

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (2)

main.log (52.5 KB) - added by rtharston (Reed Harston) 9 years ago.
manpage.xsl (1.1 KB) - added by rtharston (Reed Harston) 9 years ago.
the file with the bad reference

Download all attachments as: .zip

Change History (6)

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

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… cal@… added
Description: modified (diff)
Keywords: docbook.xsl removed
Port: asciidoc added

comment:2 Changed 8 years ago by neverpanic (Clemens Lang)

This usually happens due to undeclared dependencies, likely on the port that provides the local copy of docbook.xsl.

comment:3 Changed 8 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

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?

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

I think it's only needed for ccache-devel, because it runs ./autogen.sh, but ccache doesn't need to.

Note: See TracTickets for help on using tickets.