NetBSD Problem Report #44126
From www@NetBSD.org Sun Nov 21 11:46:39 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id E6A3463BAE8
for <gnats-bugs@gnats.NetBSD.org>; Sun, 21 Nov 2010 11:46:38 +0000 (UTC)
Message-Id: <20101121114638.C7FA263B95F@www.NetBSD.org>
Date: Sun, 21 Nov 2010 11:46:38 +0000 (UTC)
From: gisenmann@web.de
Reply-To: gisenmann@web.de
To: gnats-bugs@NetBSD.org
Subject: textproc/xmlto: bad XSLTPARAMS access
X-Send-Pr-Version: www-1.0
>Number: 44126
>Category: pkg
>Synopsis: textproc/xmlto: bad XSLTPARAMS access
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 21 11:50:00 +0000 2010
>Closed-Date: Mon Nov 22 05:55:42 +0000 2010
>Last-Modified: Mon Nov 22 05:55:42 +0000 2010
>Originator: Goetz Isenmann
>Release: dragonfly-2.9
>Organization:
>Environment:
>Description:
The xmlto script contains two lines XSLTPARAMS="XSLTPARAMS ..." in the
case branch that handles the --stringparam option. Those lines should
read XSLTPARAMS="$XSLTPARAMS ...". This is already fix upstream in
xmlto-0.0.23.
>How-To-Repeat:
E.g: compiling net/rabbitmq fails with an error message:
xmlto --version | grep -E '^xmlto version 0\.0\.([0-9]|1[1-8])$' >/dev/null || opt='--stringparam man.indent.verbatims=0' ; \
xsltproc docs/examples-to-end.xsl docs/rabbitmq-multi.1.xml > docs/rabbitmq-multi.1.xml.tmp && \
xmlto -o docs $opt man docs/rabbitmq-multi.1.xml.tmp && \
gzip -f docs/`basename docs/rabbitmq-multi.1.xml .xml`
warning: failed to load external entity "XSLTPARAMS"
cannot parse XSLTPARAMS
Variable $SGML_CATALOG_FILES not set
warning: failed to load external entity "XSLTPARAMS"
cannot parse XSLTPARAMS
>Fix:
>Release-Note:
>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44126 CVS commit: pkgsrc/textproc/xmlto
Date: Mon, 22 Nov 2010 05:54:18 +0000
Module Name: pkgsrc
Committed By: dholland
Date: Mon Nov 22 05:54:18 UTC 2010
Modified Files:
pkgsrc/textproc/xmlto: Makefile distinfo
pkgsrc/textproc/xmlto/patches: patch-ab
Log Message:
Fix obviously wrong code handling XSLTPARAMS with the --stringparam option.
PR 44126 from Goetz Isenmann. PKGREVISION++.
While here, add comment to patch-ab.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/xmlto/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/xmlto/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/xmlto/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 22 Nov 2010 05:55:42 +0000
State-Changed-Why:
Fixed, thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.