From owner-freebsd-gnome@FreeBSD.ORG Fri Feb 23 11:57:03 2007 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB0DB16A401 for ; Fri, 23 Feb 2007 11:57:03 +0000 (UTC) (envelope-from bjoern@cs.tu-berlin.de) Received: from mail.cs.tu-berlin.de (bueno.cs.tu-berlin.de [130.149.23.253]) by mx1.freebsd.org (Postfix) with ESMTP id 0C9FB13C442 for ; Fri, 23 Feb 2007 11:57:02 +0000 (UTC) (envelope-from bjoern@cs.tu-berlin.de) Received: from mailhost.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id MAA23988 for ; Fri, 23 Feb 2007 12:44:25 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by mailhost.cs.tu-berlin.de (Postfix) with ESMTP id 43075F266 for ; Fri, 23 Feb 2007 12:44:25 +0100 (MET) Received: from mailhost.cs.tu-berlin.de ([127.0.0.1]) by localhost (mail.cs.tu-berlin.de [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id 17838-28; Fri, 23 Feb 2007 12:44:23 +0100 (MET) 12579 Received: from [127.0.0.1] (p54BDD16D.dip.t-dialin.net [84.189.209.109]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bjoern) by mailhost.cs.tu-berlin.de (Postfix) with ESMTP; Fri, 23 Feb 2007 12:44:22 +0100 (MET) Message-ID: <45DED39E.3080909@cs.tu-berlin.de> Date: Fri, 23 Feb 2007 12:44:30 +0100 From: Bjoern Voigt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: gnome@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de Cc: Subject: Bugreport for py-libxml2 and Python 2.5 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 11:57:03 -0000 Hello! I recently upgraded my FreeBSD 6.2 system (FreeBSD chemnitz 6.2-STABLE FreeBSD 6.2-STABLE #3: Mon Feb 12 22:58:47 CET 2007 root@mybox:/usr/obj/src/sys/GENERIC.bv i386) from Python 2.4 to Python 2.5. Unfortunately the port textproc/py-libxml2 does not build correctly with python25-2.5_1. There is an error in the Makefile (textproc/py-libxml2/Makefile): Instead of CONFIGURE_ARGS= --with-iconv=${LOCALBASE} \ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ --with-python=${LOCALBASE} there should be something like CONFIGURE_ARGS= --with-iconv=${LOCALBASE} \ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ --with-python=${LOCALBASE}/bin/python${PYTHON_VERSION} Unfortunately with this change a linker error comes up. "-lxml2" (from libxml2-2.6.27/python/Makefile) does not find libxml2.so in /usr/local/lib. Inserting a "-L/usr/local/lib" in libxml2-2.6.27/python/Makefile is a hack to repair this. The problem is hard to find, because the port seams to build properly. But if you take a deeper look, you see that " pkg_info -L py25-libxml2-2.6.27|xargs -n 1 ls -1" shown non-existing files. I found this problem because xml2po from gnome-doc-utils-0.7.2_1 failed to "import libxml2". Regards, Björn