[MacPorts] #48034: po4a @0.45 (textproc) Undefined subroutine - build failure

MacPorts noreply at macports.org
Sat Dec 12 03:45:52 PST 2015


#48034: po4a @0.45 (textproc) Undefined subroutine - build failure
------------------------+--------------------------------
  Reporter:  composr@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  po4a       |
------------------------+--------------------------------

Comment (by mojca@…):

 Following the hint about the line with the failure:
 {{{
 system("xsltproc -o $outdir/$outfile.$section --nonet
 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
 $file") and die;
 }}}
 I first added dependency on `libxslt` which provides the `xsltproc`
 binary. Then I followed all the warnings about all files and modules that
 have been hidden by the trace mode and came up with the following list:
 {{{
 depends_build-append \
                     port:docbook-xml-4.1.2 \
                     port:docbook-xml-4.2 \
                     port:docbook-xml-4.3 \
                     port:docbook-xml-4.4 \
                     port:docbook-xml-4.5 \
                     port:docbook-xml-5.0 \
                     port:docbook-xsl \
                     port:docbook-xsl-ns \
                     port:libxslt \
                     port:p${perl5.major}-data-dumper \
                     port:p${perl5.major}-extutils-manifest \
                     port:p${perl5.major}-file-path \
                     port:p${perl5.major}-getopt-long \
                     port:p${perl5.major}-html-parser \
                     port:p${perl5.major}-parent \
                     port:p${perl5.major}-pathtools \
                     port:p${perl5.major}-text-parsewords
 }}}
 I'm almost sure that some of these might not be needed or might be part of
 the core already, but the compilation works fine after that.

 Remaining warnings:
 {{{
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /OPT/LOCAL/LIB/PERL5/VENDOR_PERL/5.22/POD/SIMPLE/SEARCH.PM
   /opt/local/bin/gzip
   /opt/local/bin/perl
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/48034#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list