Opened 6 years ago

Closed 6 years ago

#56546 closed defect (fixed)

macports-guide @2.5: doesn't compile

Reported by: pdvnl Owned by:
Priority: Normal Milestone:
Component: guide Version: 2.4.4
Keywords: Cc: jmroot (Joshua Root), raimue (Rainer Müller)
Port:

Description

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.

  1. 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
    
  1. make guide-dblatex
    ...
    Unexpected error occured
    Error: pdflatex compilation failed
    make: *** [guide-dblatex] Error 1
    
  1. 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

Change History (4)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

The release-2.5 branch has changes relating to MacPorts 2.5 that can be merged back into master after that version is released. Yes, it is likely missing some of the changes that have been made on master relating to the docbook port changes.

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Keywords: 2.5.0 removed

comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmroot raimue added; jmr@… removed

guide master was fixed. See #55946. I don't know how changes to the release-2.5 branch are being handled, or whether the branch will even be retained after MacPorts 2.5 is released.

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

Resolution: fixed
Status: newclosed

The release-2.5 branch will not be retained. It should be merged into master once MacPorts 2.5.0 has been released and then deleted.

I merged master into release-2.5 in [748003836f40b3ae5e657ba8bae1f9e2fa53f540/macports-guide], which also keeps the changes between the branches to the minimum.

(The branch was not yet known to Trac, therefore no report from CommitTicketUpdater.)

Note: See TracTickets for help on using tickets.