Subject: pkg/21434: libxslt requires libxml2 >= 2.5.6 but pkgsrc doesn't know about it
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dgriffi@cs.csubak.edu>
List: netbsd-bugs
Date: 05/03/2003 05:53:39
>Number:         21434
>Category:       pkg
>Synopsis:       libxslt requires libxml2 >= 2.5.6 but pkgsrc doesn't know about it
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 03 05:54:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Griffith
>Release:        1.6
>Organization:
>Environment:
NetBSD zaphod 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep  8 19:43:40 UTC 2002     autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386

>Description:
Relevant packages from pkgsrc installed:
libxml2 2.5.4 (current according to pkgsrc is 2.5.6)
libxslt 1.0.27 (current according to pkgsrc is 1.0.29)

According to the libxslt 1.0.29 tarball, libxml2 version 2.5.6 or
greater is required.  Since the pkgsrc Makefile for libxslt does not
mention a minimum version for libxml2, attempting to build libxslt with
an installed version of libxml2 older than 2.5.6 will fail.

>How-To-Repeat:
Find a machine with libxml2 older than 2.5.6 installed from pkgsrc
and a current pkgsrc tree.  On this machine do...
cd /usr/pkgsrc/textproc/libxslt ; make
>Fix:
Quick and Dirty: upgrade libxml2 BEFORE upgrading libxslt.

Right Way: Change pkgsrc/textproc/libxslt/Makefile to take care of this
automatically thereby avoiding painful memories of doing the Irix
Depend-O-Rama Shuffle.

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