Mantis - xmlto
Viewing Issue Advanced Details
3896 regular use major always 2009-09-14 15:00 2009-10-07 20:57
dam  
bwalton  
normal  
closed  
fixed  
none    
none  
0003896: Wrong call to 'cp' in the xmlto-toolchain
Somewhere in the xmlto-toolchain 'cp' is called with the wrong option '-P'. It may be something like '-p' on Solaris.
build8s% xmlto -vv html-nochunks colordiff.xml
Source format: docbook / root element: refentry
Format script: /opt/csw/share/xmlto/format/docbook/html-nochunks
Convert to HTML (no chunks)
Real stylesheet: http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl [^]
xmllint >/dev/null --xinclude --postvalid "/home/dam/mgar/pkg/colordiff/trunk/work/build-isa-sparcv8/colordiff-1.0.9/colordiff.xml"
Stylesheet: /tmp/xmlto-xsl.EUORZf
xsltproc --nonet --xinclude \
 -o "/tmp/xmlto.KWOKJw/colordiff.proc" \
 /tmp/xmlto-xsl.EUORZf \
 "/home/dam/mgar/pkg/colordiff/trunk/work/build-isa-sparcv8/colordiff-1.0.9/colordiff.xml"
cp: illegal option -- P
Usage: cp [-f] [-i] [-p] f1 f2
       cp [-f] [-i] [-p] f1 ... fn d1
       cp -r|R [-f] [-i] [-p] d1 ... dn-1 dn
Issue History
2009-09-14 15:00 dam New Issue
2009-09-14 22:27 bwalton Note Added: 0006699
2009-09-15 19:38 bwalton Note Added: 0006702
2009-09-18 20:32 bwalton Note Added: 0006719
2009-09-18 20:32 bwalton Status new => resolved
2009-09-18 20:32 bwalton Resolution open => fixed
2009-09-18 20:32 bwalton Assigned To => bwalton
2009-10-07 20:57 bwalton Note Added: 0006815
2009-10-07 20:57 bwalton Status resolved => closed

Notes
(0006699)
bwalton   
2009-09-14 22:27   
I always run with /opt/csw/gnu near the head of my path, so this didn't bite me. It looks like I'll need to patch the source (easy) since there are no configure options for this tool. Will patch, reroll (with the pending 0.22 update) and submit upstream.
(0006702)
bwalton   
2009-09-15 19:38   
xmlto actually does want gnu cp, as the -P option has special handling for symlink dereferenceing.
(0006719)
bwalton   
2009-09-18 20:32   
Fixed in a test package. Patches accepted upstream.

Won't release until all docbook/xml packages are ready to go as a unit.
(0006815)
bwalton   
2009-10-07 20:57   
Corrected via patch (accepted upstream).