Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#59594 closed defect (fixed)

molly-guard @0.4.5: cannot parse /opt/local/share/xsl/docbook-xsl/manpages/docbook.xsl

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: molly-guard

Description

molly-guard doesn't build:

xsltproc -''-nonet /opt/local/share/xsl/docbook-xsl/manpages/docbook.xsl molly-guard.xml
sed -e 's,@ETCDIR@,/opt/local/etc/molly-guard,g' shutdown.in > shutdown
warning: failed to load external entity "/opt/local/share/xsl/docbook-xsl/manpages/docbook.xsl"
cannot parse /opt/local/share/xsl/docbook-xsl/manpages/docbook.xsl
make: *** [molly-guard.8] Error 4

We don't provide a file at the path /opt/local/share/xsl/docbook-xsl/manpages/docbook.xsl anymore because it was unclear from the path whether this was a namespaced or non-namespaced file.

We now provide the namespaced file at /opt/local/share/xsl/docbook-xsl-ns/manpages/docbook.xsl and the non-namespaced file at /opt/local/share/xsl/docbook-xsl-nons/manpages/docbook.xsl. Since this port declares a dependency on port:docbook-xsl-nons, it presumably should use the latter file.

Change History (2)

comment:1 Changed 5 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

In 670d66d08de7a88646b5d740e77f0165a2de1b81/macports-ports (master):

molly-guard: Fix build due to docbook-xsl-nons

The man page generator could not find docbook.xsl at the expected path.
Pass the correct path provided by the docbook-xsl-nons port.

Closes: #59594

comment:2 Changed 4 years ago by raimue (Rainer Müller)

In 670d66d08de7a88646b5d740e77f0165a2de1b81/macports-ports (dar, master, py38-reproject, revert-6945-rust-1.43.0, wireshark):

molly-guard: Fix build due to docbook-xsl-nons

The man page generator could not find docbook.xsl at the expected path.
Pass the correct path provided by the docbook-xsl-nons port.

Closes: #59594

Note: See TracTickets for help on using tickets.