[xml/sgml-pkgs] Bug#327659: marked as done (libxml2: 2.6.21-1 breaks xsltproc)

Debian Bug Tracking System owner at bugs.debian.org
Mon Sep 12 18:18:06 UTC 2005


Your message dated Mon, 12 Sep 2005 19:07:34 +0100
with message-id <874q8qdus9.fsf at hardknott.home.whinlatter.ukfsn.org>
and subject line [xml/sgml-pkgs] Bug#327659: libxml2: 2.6.21-1 breaks xsltproc
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Sep 2005 14:48:03 +0000
>From rleigh at debian.org Sun Sep 11 07:48:03 2005
Return-path: <rleigh at debian.org>
Received: from s2.ukfsn.org (mail.ukfsn.org) [217.158.120.143] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EET7j-0005w7-00; Sun, 11 Sep 2005 07:48:03 -0700
Received: from hardknott.home.whinlatter.ukfsn.org (dsl-88-104-41-13.access.as9105.com [88.104.41.13])
	by mail.ukfsn.org (Postfix) with ESMTP
	id ADF11E6DAC; Sun, 11 Sep 2005 15:46:38 +0100 (BST)
Received: from rleigh by hardknott.home.whinlatter.ukfsn.org with local (Exim 4.52)
	id 1EET1U-00036d-VT; Sun, 11 Sep 2005 15:41:36 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Roger Leigh <rleigh at debian.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: libxml2: 2.6.21-1 breaks xsltproc
X-Mailer: reportbug 3.17
Date: Sun, 11 Sep 2005 15:41:36 +0100
Message-Id: <E1EET1U-00036d-VT at hardknott.home.whinlatter.ukfsn.org>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: libxml2
Version: 2.6.21-1
Severity: critical
Justification: breaks unrelated software

Hi,

The new libxml (2.6.21-1) breaks xsltproc, which makes a rather large
number of packages fail to build from source.  Reverting to 2.6.20-1
fixes this, showing that the new version is the root of the problem.

An example failure follows (trimmed), in this case gtk-doc-tools using
xsltproc as part of the schroot build.  It has also broken other
packages such as happy, and others.


make[3]: Entering directory `/home/rleigh/projects/schroot/doc/schroot'
*** Building HTML ***
rm -rf ./html 
mkdir ./html
cd ./html && gtkdoc-mkhtml schroot ../schroot-docs.sgml
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 44 element with-param
xsl:param : could not compile select expression '$VERSION'
XPath error : Undefined variable
$tooldver = 0
          ^
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 48 element if
xsl:if : could not compile test expression '$tooldver = 0'
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 79 element if
xsl:if : could not compile test expression '$gtkdoc.bookname'
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 120 element if
xsl:if : could not compile test expression '$gtkdoc.version'
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 141 element with-param
xsl:param : could not compile select expression '$this'
XPath error : Undefined variable
$suppress.navigation = '0' and $home != .
                     ^
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 171 element if
xsl:if : could not compile test expression '$suppress.navigation = '0' and $home != .'
XPath error : Undefined variable
count($prev) > 0
           ^
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 175 element if
xsl:if : could not compile test expression 'count($prev) > 0'
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 180 element with-param
xsl:param : could not compile select expression '$prev'
XPath error : Undefined variable
count($up) > 0 and $up != $home
         ^
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 193 element if
xsl:if : could not compile test expression 'count($up) > 0 and $up != $home'
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 198 element with-param
xsl:param : could not compile select expression '$up'
XPath error : Undefined variable
$home != .
      ^
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 211 element if
xsl:if : could not compile test expression '$home != .'
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 216 element with-param


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages libxml2 depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  zlib1g                        1:1.2.3-4  compression library - runtime

Versions of packages libxml2 recommends:
ii  xml-core                      0.09       XML infrastructure and XML catalog

-- no debconf information

---------------------------------------
Received: (at 327659-done) by bugs.debian.org; 12 Sep 2005 18:15:44 +0000
>From rleigh at whinlatter.ukfsn.org Mon Sep 12 11:15:44 2005
Return-path: <rleigh at whinlatter.ukfsn.org>
Received: from s2.ukfsn.org (mail.ukfsn.org) [217.158.120.143] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EEsqG-0001el-00; Mon, 12 Sep 2005 11:15:44 -0700
Received: from hardknott.home.whinlatter.ukfsn.org (dsl-88-104-42-228.access.as9105.com [88.104.42.228])
	by mail.ukfsn.org (Postfix) with ESMTP
	id E1E4DE6F44; Mon, 12 Sep 2005 19:14:10 +0100 (BST)
Received: from rleigh by hardknott.home.whinlatter.ukfsn.org with local (Exim 4.52)
	id 1EEsiM-0001BB-PK; Mon, 12 Sep 2005 19:07:34 +0100
From: Roger Leigh <rleigh at whinlatter.ukfsn.org>
To: Mike Hommey <mh at glandium.org>
Cc: 327659-done at bugs.debian.org
Subject: Re: [xml/sgml-pkgs] Bug#327659: libxml2: 2.6.21-1 breaks xsltproc
References: <1126512484.9502.6.camel at localhost.localdomain>
	<20050912112836.GA18299 at epictechnology.co.uk>
	<20050912120947.GB27821 at glandium.org>
Date: Mon, 12 Sep 2005 19:07:34 +0100
In-Reply-To: <20050912120947.GB27821 at glandium.org> (Mike Hommey's message of
	"Mon, 12 Sep 2005 14:09:47 +0200")
Message-ID: <874q8qdus9.fsf at hardknott.home.whinlatter.ukfsn.org>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 327659-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Mike Hommey <mh at glandium.org> writes:

> On Mon, Sep 12, 2005 at 12:28:36PM +0100, Roger Leigh <rleigh at debian.org> wrote:
>> On Mon, Sep 12, 2005 at 10:08:04AM +0200, Daniel Holbach wrote:
>> > 
>> > as we don't seem to have the problem, I suggest you try to build the
>> > source package on
>> > http://archive.ubuntu.com/ubuntu/pool/main/libx/libxml2/ (Version
>> > 2.6.21). 
>> 
>> I've reviewed the diffs between the unpacked source trees of the Debian
>> 2.6.20-1 ==> 2.6.21-1 and Debian 2.6.21-1 ==> Ubuntu 2.6.21-0ubuntu1.
>> 
>> Some observations:
>> 
>> 1) The ubuntu package does not include the patch to error.c.  This
>>    looks like it might be related to the XPath failures.
>
> It shouldn't. It only impacts error handler for validation errors... and
> should be removed, actually.
>
>> 2) The ubuntu version has some somewhat disturbing omissions in
>>    debian/rules (shlibs versioning in particular, but also
>>    missing deprecated package removal).  It looks like this needs
>>    syncing properly with the Debian packaging.
>> 
>> 3) The Debian package re-bootstrapped the autotools with automake1.8,
>>    but upstream used automake1.9.  The use of automake1.8 in
>>    autogen.sh needs to be replaced by automake1.9 (and the build-deps
>>    also need updating).
>> 
>> I'll build a copy on powerpc tonight with (1) and (3) fixed, and see
>> if this helps.
>> 
>> Either way, (2) and (3) need fixing in Ubuntu and Debian, respectively.
>
> Sure, but that's not likely to be a real problem...

I just thought I should let you know about the discrepancy.

It's fixed with the new xsltproc, at least on powerpc.


Regards,
Roger

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.



More information about the debian-xml-sgml-pkgs mailing list