From owner-freebsd-gnome@FreeBSD.ORG Thu Apr 11 11:02:44 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C7B97579 for ; Thu, 11 Apr 2013 11:02:44 +0000 (UTC) (envelope-from william@palfreman.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) by mx1.freebsd.org (Postfix) with ESMTP id 65821204 for ; Thu, 11 Apr 2013 11:02:44 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id hm14so410856wib.4 for ; Thu, 11 Apr 2013 04:02:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=VavY2dx5w8CRtqUS6aBhhPWd5owhAVX5lQxTv8cnmoc=; b=R99m9di6QtfDH8WOOMeCO4CiQThQzn4KZNQ709GwLl6S9/706FDjJ3G6/WT/tsgXU7 N7IlPONyat3gTtF9xMRd7VCr+MlihHRXajxMV15khRDvT4bVcqhSBpCeLO1Yl/vOC8dj 3sKPX4GkJEzvNqOHIsckZ1k6qH07eayh9aPy9N5tBz3SOEo+0TPL48WJpmMZH6KMlm1m O+p+XBGHhw9S3lUdTD6CxaCdRGJ5bAnW3MGoj89G1e90Ys94Xc7dCIZISwJMGqBnczbw 8rarSWcGb5fWlWv0UNbDFrq/Lxr+tRwEAkWpD6Dn1FrSZgzL6pWNREoL14476GUIiqDM bWUA== MIME-Version: 1.0 X-Received: by 10.180.72.165 with SMTP id e5mr32508096wiv.7.1365678163534; Thu, 11 Apr 2013 04:02:43 -0700 (PDT) Received: by 10.216.184.72 with HTTP; Thu, 11 Apr 2013 04:02:43 -0700 (PDT) In-Reply-To: <31443-1365614370-287167@sneakemail.com> References: <20130330.081105.74657834.oka@nakasatsunai.jp> <31443-1365614370-287167@sneakemail.com> Date: Thu, 11 Apr 2013 13:02:43 +0200 Message-ID: Subject: Re: [maintainer] From: William Palfreman To: John Hein Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnPbalCYpqbYzoyzPdIvTGm/PgBOeyPe03iecz+C8kZ5UESk6LIMHmZ+QBFvQUUktno/NNy Cc: gnome@freebsd.org 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: Thu, 11 Apr 2013 11:02:44 -0000 On 10 April 2013 19:18, John Hein wrote: > > 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. > Thanks John. That did indeed work perfectly. I removed the lzma ports first. This stems from a problem with tokyocabinet where it won't install without the lzmalib port but does not call it as a dependency either.