Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2012 21:49:40 GMT
From:      Mark Andrews <marka@isc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173615: db2latex-0.8p1_1 has bad xls [patch]
Message-ID:  <201211132149.qADLneU8075730@newdocs.lab.isc.org>
Resent-Message-ID: <201211132150.qADLo136042721@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173615
>Category:       ports
>Synopsis:       db2latex-0.8p1_1 has bad xls [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 13 21:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mark Andrews
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
ISC
>Environment:
System: FreeBSD newdocs.lab.isc.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


GeoIP-1.4.8_3       Find the country that any IP address or hostname originates
OpenSP-1.5.2_2      This package is a collection of SGML/XML tools called OpenS
adns-1.4_1          Easy to use, asynchronous-capable DNS client library and ut
apache22-2.2.23     Version 2.2.x of Apache web server with prefork MPM.
apr-1.4.6.1.4.1_1   Apache Portability Library
autoconf-2.69       Automatically configure source code on many Un*x platforms
autoconf-wrapper-20101119 Wrapper script for GNU autoconf
automake-1.12.4     GNU Standards-compliant Makefile generator
automake-wrapper-20101119 Wrapper script for GNU automake
bigreqsproto-1.1.1  BigReqs extension headers
bind10-devel-20111014 Development version of ISC BIND 10 DNS Suite
boost-jam-1.48.0    Build tool from the boost.org
boost-libs-1.48.0_1 Free portable C++ libraries (without Boost.Python)
botan-1.8.13        A portable, easy to use, and efficient C++ crypto library
ca_root_nss-3.14    The root certificate bundle from the Mozilla Project
clang-3.1_2         C, Objective-C, and (alpha-quality) C++ compiler
cmake-2.8.9         A cross-platform Makefile generator
cmake-modules-2.8.9 Modules and Templates for CMake
cppcheck-1.57       Static analysis of C/C++ code
cups-client-1.5.2_2 Common UNIX Printing System: Library cups
curl-7.24.0_1       Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cvsps-2.1_1         Create patchset information from CVS
db2latex-0.8p1_1    DocBook to LaTeX XSL stylesheets
db41-4.1.25_4       The Berkeley DB package, revision 4.1
db42-4.2.52_5       The Berkeley DB package, revision 4.2
docbook-1.4         Meta-port for the different versions of the DocBook DTD
docbook-4.1_4       V4.1 of the DocBook DTD, designed for technical documentati
docbook-4.2         V4.2 of the DocBook DTD, designed for technical documentati
docbook-4.3         DocBook/SGML DTD V4.3, designed for technical documentation
docbook-4.4_2       DocBook/SGML DTD V4.4, designed for technical documentation
docbook-4.5_2       DocBook/SGML DTD V4.5, designed for technical documentation
docbook-5.0_1       DocBook 5.0, designed for technical documentation
docbook-sk-4.1.2_4  XML version of the DocBook DTD version controlled for Scrol
docbook-xml-4.2_1   XML version of the DocBook DTD
docbook-xml-4.3     DocBook/XML DTD V4.3, designed for technical documentation
docbook-xml-4.4_1   DocBook/XML DTD V4.4, designed for technical documentation
docbook-xml-4.5     DocBook/XML DTD V4.5, designed for technical documentation
docbook-xsl-1.76.1  XSL DocBook stylesheets
dsssl-docbook-modular-1.79_1,1 DSSSL stylesheets for the DocBook DTD by Norman Walsh
dtd-catalogs-1.2    SGML DTDs catalogs
expat-2.0.1_2       XML 1.0 parser written in C
font-amsfonts-3.02_1 Computer Modern and standard fonts for TeX
gamin-0.1.10_4      A file and directory monitoring system
gdbm-1.9.1          The GNU database manager
gettext-0.18.1.1    GNU gettext package
gio-fam-backend-2.28.8_1 FAM backend for GLib\'s GIO library
git-1.8.0           Distributed source code management tool
glib-2.28.8_4       Some useful routines of C programming (current stable versi
gmake-3.82_1        GNU version of 'make' utility
gmp-5.0.5           A free library for arbitrary precision arithmetic
gnutls-2.12.18_1    GNU Transport Layer Security library
googletest-1.5.0    A framework for writing C++ tests on a variety of platforms
gsfonts-8.11_5      Standard Fonts for Ghostscript
help2man-1.40.12    Automatically generating simple manual pages from program o
html-4.01_2         All W3C published SGML DTDs for HTML
icu-4.8.1.1_1       International Components for Unicode (from IBM)
inputproto-2.0.2    Input extension headers
iso12083-1993_2     SGML DTDs from the The Electronic Publishing Special Intere
iso8879-1986_3      Character entity sets from ISO 8879:1986 (SGML)
jbigkit-1.6         Lossless compression for bi-level images such as scanned pa
jpeg-8_3            IJG's jpeg compression utilities
kbproto-1.0.5       KB extension headers
lcms2-2.4           Accurate, fast, and small-footprint color management engine
libICE-1.0.7,1      Inter Client Exchange library for X11
libXau-1.0.6        Authentication Protocol library for X11
libcheck-0.9.8      A unit test framework for C
libexecinfo-1.1_3   A library for inspecting program's backtrace
libfontenc-1.1.0    The fontenc Library
libgcrypt-1.5.0_1   General purpose crypto library based on code used in GnuPG
libgpg-error-1.10   Common error values for all GnuPG components
libiconv-1.14       A character set conversion library
libpaper-1.1.24_1   A library providing routines for paper size management
libsmi-0.4.8        A library to access SMI MIB information
libtool-2.4.2       Generic shared library support script
libwww-5.4.0_4      The W3C Reference Library
libxml2-2.7.8_5     XML parser library for GNOME
libxslt-1.1.26_3    The XSLT C library for GNOME
linuxdoc-1.1_1      The Linuxdoc SGML DTD
llvm-3.1            Low Level Virtual Machine
log4cplus-1.0.4     A logging library for C++
m4-1.4.16_1,1       GNU m4
nettle-2.5          A low-level cryptographic library
openjade-1.3.3p1_2  Object-oriented SGML/XML parser toolkit and DSSSL engine
p11-kit-0.14        Library for loading and enumerating of PKCS#11 modules
p5-Error-0.17018    Perl module to provide Error/exception support for perl: Er
p5-Expect-1.21      Perl module inspired by the Tcl version of Expect
p5-ExtUtils-Constant-0.23 Generate XS code to import C header constants
p5-IO-Socket-IP-0.17 A drop-in replacement for IO::Socket::INET supporting IPv4 
p5-IO-Socket-SSL-1.76 Perl5 interface to SSL sockets
p5-IO-Tty-1.10      Flexible I/O Perl5 module that allows manipulation of pseud
p5-Locale-gettext-1.05_3 Message handling functions
p5-Net-SMTP-SSL-1.01_1 An SMTP client supporting SSL
p5-Net-SSLeay-1.49  Perl5 interface to SSL
p5-Socket-2.006     Networking constants and support functions
pcre-8.31_1         Perl Compatible Regular Expressions library
perl-5.10.1_7       Practical Extraction and Report Language
pkgconf-0.8.9       Utility to help to configure compiler and linker flags
png-1.5.12          Library for manipulating PNG images
portlint-2.13.13    A verifier for FreeBSD port directory
portupgrade-2.4.10.2,2 FreeBSD ports/packages administration and management tool s
printproto-1.0.5    Print extension headers
py26-sqlite3-2.6.8_2 Standard Python binding to the SQLite3 library
python26-2.6.8_3    An interpreted object-oriented programming language
python27-2.7.3_3    An interpreted object-oriented programming language
python31-3.1.5_1    An interpreted object-oriented programming language
renderproto-0.11.1  RenderProto protocol headers
rsync-3.0.9_2       A network file distribution/synchronization utility
ruby-1.8.7.371,1    An object-oriented interpreted scripting language
ruby18-bdb-0.6.6    Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
sqlite3-3.7.14.1    An SQL database engine in a C library
svgalib-1.4.3_6     A low level console graphics library
tcl-8.5.12_2        Tool Command Language
tcl-modules-8.5.12_2 Tcl common modules
tcpreplay-3.4.4     A tool to replay saved packet capture files
teTeX-texmf-3.0_8   Thomas Esser's distribution of TeX & friends (texmf tree)
tex-texmflocal-1.9  Meta-port that creates a site-local $TEXMF directory
texi2html-5.0_1,1   Texinfo to HTML converter
tiff-4.0.2_1        Tools and library routines for working with TIFF images
tinyxml-2.6.2_1     Small C++ XML parser
tshark-1.8.3        A powerful network analyzer/capture tool
unzip-6.0_1         List, test and extract compressed files in a ZIP archive
v6eval-3.0.1_3,1    IPv6 Conformance Test Platform
valgrind-3.7.0_1,1  A (memory) debugging and profiling tool
xbitmaps-1.1.1      X.Org bitmaps data
xcb-proto-1.7.1     The X protocol C-language Binding (XCB) protocol
xcmiscproto-1.2.1   XCMisc extension headers
xextproto-7.2.0     XExt extension headers
xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers
xmlcatmgr-2.2       SGML and XML catalog manager
xmlcharent-0.3_2    XML character entities
xorg-macros-1.16.1  X.Org development aclocal macros
xproto-7.0.22       X11 protocol headers
xtrans-1.2.6        Abstract network code for X
zsh-5.0.0           The Z shell

>Description:

xsltproc doesn't like a param being defined within a param.

%make doc
expand Bv9ARM-book.xml |  /usr/local/bin/xsltproc --novalid --xinclude --nonet ../../doc/xsl/pre-latex.xsl - |  /usr/local/bin/xsltproc --novalid --xinclude --nonet ../../doc/xsl/isc-docbook-latex.xsl - |  /usr/bin/perl5 latex-fixup.pl >Bv9ARM.tex.tmp
################################################################################
 XSLT stylesheets DocBook - LaTeX 2e                                            
 Reqs: LaTeX 2e installation common packages                                    
################################################################################
 RELEASE : 0.8pre1
 VERSION : $Id: VERSION.xml,v 1.6 2004/01/31 12:47:11 j-devenish Exp $
     TAG : DB2LATEX_0_8PRE1 
     WWW : http://db2latex.sourceforge.net                                      
 SUMMARY : http://www.sourceforge.net/projects/db2latex                         
  AUTHOR : Ramon Casellas  casellas@infres.enst.fr                              
  AUTHOR : James Devenish  j-devenish@users.sf.net                              
   USING : libxslt/xsltproc
################################################################################
runtime error: file /usr/local/share/db2latex/xsl/lists.mod.xsl line 273 element param
Unexpected XSLT element 'param'.
runtime error: file /usr/local/share/db2latex/xsl/lists.mod.xsl line 274 element value-of
Variable 'object' has not been declared.
xmlXPathCompOpEval: parameter error
xmlXPathCompiledEval: evaluation failed
runtime error: file /usr/local/share/db2latex/xsl/lists.mod.xsl line 274 element value-of
XPath evaluation returned no result.
if test -s Bv9ARM.tex.tmp; then mv Bv9ARM.tex.tmp Bv9ARM.tex; else rm -f Bv9ARM.tex.tmp; exit 1; fi

>How-To-Repeat:

	Attempt to rebuild bind9 documentation.

>Fix:


--- xsl/lists.mod.xsl.orig	2004-01-31 11:53:50.000000000 +0000
+++ xsl/lists.mod.xsl	2012-11-13 21:15:16.000000000 +0000
@@ -269,10 +269,8 @@
 		</doc:notes>
 	</doc:template>
 	<xsl:template match="varlistentry">
-		<xsl:param name="next.is.list">
-			<xsl:param name="object" select="listitem/*[1]"/>
-			<xsl:value-of select="count($object[self::itemizedlist or self::orderedlist or self::variablelist])"/>
-		</xsl:param>
+		<xsl:param name="object" select="listitem/*[1]"/>
+		<xsl:param name="next.is.list" select="count($object[self::itemizedlist or self::orderedlist or self::variablelist])"/>
 		<xsl:variable name="id">
 			<xsl:call-template name="label.id"/>
 		</xsl:variable>

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211132149.qADLneU8075730>