Subject: pkg/33985: textproc/libxslt configuration failure. libxml2 version dependency mismatch
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jdbaker@mylinuxisp.com>
List: pkgsrc-bugs
Date: 07/12/2006 14:30:00
>Number: 33985
>Category: pkg
>Synopsis: textproc/libxslt configuration failure. libxml2 version dependency mismatch
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 12 14:30:00 +0000 2006
>Originator: John D. Baker
>Release: MacOS X 10.4.7, pkgsrc-2006Q2
>Organization:
>Environment:
Darwin bwg3.technoskunk.fur 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Returning to build dependencies leading up to graphics/gimp24:
[...]
===> Installing dependencies for libxslt-1.1.17
=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb3 found
=> Required installed package perl>=5.8.0: perl-5.8.8nb2 found
=> Required installed package libxml2>=2.6.23nb1: libxml2-2.6.24nb1 found
[...]
OK. This is still around from the last time I tried to build this
string of dependencies (before pkg/33233 was fixed). But later, during
the configure phase:
[...]
checking for libxml libraries >= 2.6.25... configure: error: Version 2.6.24 found. You need at least libxml2 2.6.25 for this version of libxslt
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/textproc/libxslt
[...]
pkgsrc's dependency check disagrees with that of the distfile's
configure script.
>How-To-Repeat:
On MacOS X, with libxml2-2.24nb1 or earlier installed, and pkgsrc
updated to pkgsrc-2006Q2 (or later?), attempt to build textproc/libxslt.
>Fix:
A workaround would be to explicitly deinstall the old libxml2 and
restart the build process.
The following patch causes pkgsrc's version dependency to reflect that
expressed by the distribution configure script:
--- ../libxml2/buildlink3.mk.orig 2006-07-12 05:55:20.000000000 -0500
+++ ../libxml2/buildlink3.mk 2006-07-12 05:55:45.000000000 -0500
@@ -13,6 +13,7 @@
.if !empty(LIBXML2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.2
BUILDLINK_ABI_DEPENDS.libxml2+= libxml2>=2.6.23nb1
+BUILDLINK_ABI_DEPENDS.libxml2+= libxml2>=2.6.25
BUILDLINK_PKGSRCDIR.libxml2?= ../../textproc/libxml2
BUILDLINK_FILES.libxml2+= bin/xml2-config
As patched, textproc/libxslt's dependency check causes a build of
libxml2-2.26. libxslt then proceeds to configure and build.