Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2010 15:40:11 +0100
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        Andrey Ponomarenko <aponomarenko@ispras.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: libxml2 breakage after upgrade to libxml2-2.7.8
Message-ID:  <20101127144010.GA73205@elch.exwg.net>
In-Reply-To: <4CF110EE.5090009@ispras.ru>
References:  <20101127120147.GA12963@elch.exwg.net> <4CF110EE.5090009@ispras.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
## Andrey Ponomarenko (aponomarenko@ispras.ru):

> > After today's upgrade to libxml2-2.7.8, a lot of programs linking against
> > libxml2 fail to start, as the new libxml2 dows not contain the LIBXML2_*
> > symbols anymore (libxml2-2.7.7 did).
> 
> There is a broken version script in libxml2-2.7.8. It was already fixed 
> in Git [1] from 2010-11-04. The detailed breakage report is here [2].

Thanks for spotting that one. I just submitted a PR (which is still stuck
in greylisting) with the following patch:

--- files/patch-configure.orig	2010-11-27 15:26:16.000000000 +0100
+++ files/patch-configure	2010-11-27 15:26:39.000000000 +0100
@@ -1,6 +1,15 @@
---- configure.orig	2010-03-20 17:52:35.000000000 -0400
-+++ configure	2010-03-20 17:52:35.000000000 -0400
-@@ -19865,11 +19865,12 @@ fi
+--- configure.orig	2010-11-27 15:23:22.000000000 +0100
++++ configure	2010-11-27 15:25:43.000000000 +0100
+@@ -11414,7 +11414,7 @@
+   esac
+ fi
+ 
+- if test -z "$VERSION_SCRIPT_FLAGS"; then
++ if test -n "$VERSION_SCRIPT_FLAGS"; then
+   USE_VERSION_SCRIPT_TRUE=
+   USE_VERSION_SCRIPT_FALSE='#'
+ else
+@@ -13501,11 +13501,12 @@
      fi
      if test "$PYTHON_VERSION" != ""
      then
@@ -14,7 +23,7 @@
  	else
  	    if test -r $prefix/include/python$PYTHON_VERSION/Python.h
  	    then
-@@ -20678,6 +20679,8 @@ fi
+@@ -13901,6 +13902,8 @@
  	       fi
  	   fi
         ;;

This fixes the problem for me.

Regards,
Christoph

-- 
Spare Space



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