[MacPorts] #72675: molly-guard: missing build dependency on docbook-xsl-ns

MacPorts noreply at macports.org
Wed Jul 9 14:20:23 UTC 2025


#72675: molly-guard: missing build dependency on docbook-xsl-ns
-------------------------+-------------------------
 Reporter:  dzogrim      |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.11.0
 Keywords:  molly-guard  |       Port:  molly-guard
-------------------------+-------------------------
 The port `molly-guard` fails to build on a clean system due to a missing
 dependency on `docbook-xsl-ns`.

 It attempts to generate the manpage via xsltproc using:
   /opt/local/share/xsl/docbook-xsl-ns/manpages/docbook.xsl

 But this file does not exist unless `docbook-xsl-ns` is installed.

 **Workaround**:

 {{{
   sudo port install docbook-xsl-ns
   sudo port clean molly-guard
   sudo port install molly-guard
 }}}

 Suggested fix:
 The Portfile should add `port:docbook-xsl-ns` to `depends_build`.

 Tested on:
   - macOS 15.5
   - MacPorts version: 2.11.0
   - Xcode v16.4


 Log extract:
 {{{
 :info:build xsltproc -''-nonet /opt/local/share/xsl/docbook-xsl-
 ns/manpages/docbook.xsl molly-guard.xml
 :info:build warning: failed to load external entity "/opt/local/share/xsl
 /docbook-xsl-ns/manpages/docbook.xsl"
 :info:build cannot parse /opt/local/share/xsl/docbook-xsl-
 ns/manpages/docbook.xsl
 :info:build make: *** [molly-guard.8] Error 4
 :info:build make: Leaving directory `/opt/local/var/macports/build
 /.../molly-guard-0.4.5'
 :info:build Command failed:  cd ".../molly-guard-0.4.5" && make -j11 -w
 all prefix=/opt/local DB2MAN=/opt/local/share/xsl/docbook-xsl-
 ns/manpages/docbook.xsl
 :error:build Failed to build molly-guard: command execution failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72675>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list