From owner-freebsd-gnome@FreeBSD.ORG Wed Apr 10 17:26:15 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5921A6B0 for ; Wed, 10 Apr 2013 17:26:15 +0000 (UTC) (envelope-from gnome-jfbml@snkmail.com) Received: from sneak2.sneakemail.com (sneak2.sneakemail.com [38.113.6.65]) by mx1.freebsd.org (Postfix) with SMTP id 65F43C01 for ; Wed, 10 Apr 2013 17:26:13 +0000 (UTC) Received: (qmail 15795 invoked from network); 10 Apr 2013 17:19:31 -0000 Received: from unknown (HELO localhost.localdomain) (192.168.0.1) by sneak2.sneakemail.com with SMTP; 10 Apr 2013 17:19:31 -0000 Received: from 206.168.13.214 by mail.sneakemail.com with SMTP; 10 Apr 2013 17:19:31 -0000 Received: (sneakemail censored 31443-1365614370-287167 #2); 10 Apr 2013 17:19:31 -0000 Received: (sneakemail censored 31443-1365614370-287167 #1); 10 Apr 2013 17:19:31 -0000 Date: Wed, 10 Apr 2013 11:18:44 -0600 (MDT) Message-ID: <31443-1365614370-287167@sneakemail.com> From: "John Hein" To: gnome@freebsd.org To: "William Palfreman" , MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [maintainer] In-Reply-To: <20130330.081105.74657834.oka@nakasatsunai.jp> References: <20130330.081105.74657834.oka@nakasatsunai.jp> X-Mailer: Perl5 Mail::Internet v X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2013 17:26:15 -0000 William Palfreman wrote at 13:17 +0200 on Apr 10, 2013: > Hi. This malinglist is listed as the maintainer for the libxml2 port. > Doesn't seem to compile any more. [..] > .../../.libs/libxml2.so: undefined reference to `lzma_code' [..] > Have attached all the relevant txt config files and a list of > installed apckages, whatever I can think of as this is -STABLE and a [..] > lzmalib-0.0.1 Thin wrapper library of LZMA [..] You should usually include config.log from the working directory when reporting build problems. You probably got this during 'make configure'... checking for lzma_code in -llzma... no .... which should perhaps be fatal for this port at configure time. But it's not, so you die later during at link time. The culprit is the lzmalib port you have installed. It interacts badly in this case. The quick fix is to remove that port if you don't need it. Then libxml2 will build. A better fix might be to try to coerce libxml2 to use the base lzma include files & libs rather than the ones from lzmalib. Here is a patch to do that... Index: Makefile =================================================================== --- Makefile (revision 315757) +++ Makefile (working copy) @@ -28,8 +28,8 @@ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ --without-python -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -I/usr/include -I${LOCALBASE}/include +LDFLAGS+= -L/usr/lib -L${LOCALBASE}/lib .if !defined(MASTERDIR) MAN1= xml2-config.1 xmllint.1 xmlcatalog.1 Another might be to fix lzmalib to be a better wrapper. Another might be to stop using lzmalib in our ports tree, fixing any references to it to just rely on the base lib instead and delete the lzmalib port. Here is a closely related issue recently discussed on the list: http://lists.freebsd.org/pipermail/freebsd-gnome/2013-April/028552.html If no committer responds to this thread, please open a PR with this information.