libxml2 breakage after upgrade to libxml2-2.7.8

2010-11-27 Thread Christoph Moench-Tegeder
Hi,

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). As an example, this is epiphany
trying to start with libxml2-2.7.8:

/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: version LIBXML2_2.5.7 
required by /usr/local/bin/epiphany not defined

and checking with objdump reveals that in fact libxml2-2.2.17 contained
38 symbols LIBXML2_* (section Version definitions) and the whole
section is missing in libxml2-2.2.18.
Is this some defect on my system, a screwup by the new libxml2 or
intentional? At least, it requires recompiling everything which requires
libxml2...

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: libxml2 breakage after upgrade to libxml2-2.7.8

2010-11-27 Thread Andrey Ponomarenko



Hi,

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].


[1] libxml2 git 
http://git.gnome.org/browse/libxml2/commit/?id=00819877651b87842ed878898ba17dba489820f0

[2] http://linuxtesting.org/upstream-tracker/versions/libxml2.html

--
Andrey Ponomarenko
Department for Operating Systems at ISPRAS
 web:http://www.LinuxTesting.org
 mail:aponomare...@ispras.ru

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: libxml2 breakage after upgrade to libxml2-2.7.8

2010-11-27 Thread Christoph Moench-Tegeder
## Andrey Ponomarenko (aponomare...@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.0 +0100
+++ files/patch-configure   2010-11-27 15:26:39.0 +0100
@@ -1,6 +1,15 @@
 configure.orig 2010-03-20 17:52:35.0 -0400
-+++ configure  2010-03-20 17:52:35.0 -0400
-@@ -19865,11 +19865,12 @@ fi
+--- configure.orig 2010-11-27 15:23:22.0 +0100
 configure  2010-11-27 15:25:43.0 +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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org