[MacPorts] #56546: macports-guide @2.5: doesn't compile
MacPorts
noreply at macports.org
Sun May 27 18:07:05 UTC 2018
#56546: macports-guide @2.5: doesn't compile
--------------------+--------------------
Reporter: pdvnl | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: guide | Version: 2.4.4
Keywords: 2.5.0 | Port:
--------------------+--------------------
I cloned the Macports Guide, did git checkout-2.5, then installed the
prereqs docbook-xsl docbook-xml-5.0 libxslt dblatex.
1. install
{{{
Error: docbook-xsl has been replaced by docbook-xsl-nons; please install
that instead.
}}}
I think this is old.
2. make
{{{
/bin/ln -sfh /opt/local/share/xsl/docbook-xsl guide/resources/xsl
/bin/mkdir -p guide/html
/bin/cp guide/resources/docbook.css guide/html/docbook.css
/bin/cp guide/resources/images/* guide/html/
/bin/cp guide/resources/*.js guide/html/
/opt/local/bin/xsltproc --xinclude \
--output guide/html/index.html \
guide/resources/single-page.xsl guide/xml/guide.xml
warning: failed to load external entity "guide/resources/xsl/xhtml
/profile-docbook.xsl"
compilation error: file guide/resources/single-page.xsl line 2 element
import
xsl:import : unable to load guide/resources/xsl/xhtml/profile-docbook.xsl
make: *** [guide] Error 5
}}}
3. make guide-dblatex
{{{
...
Unexpected error occured
Error: pdflatex compilation failed
make: *** [guide-dblatex] Error 1
}}}
4. Confirm this is a new problem
{{{
git checkout master
make
-> builds OK
make guide-dblatex
-> same problem
}}}
Conclusions
* docbook-xsl -> docbook-xsl-nons is a documentation error
* guide html is a 2.5 problem
* guide pdf is an older problem
--
Ticket URL: <https://trac.macports.org/ticket/56546>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list