Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2013 13:02:43 +0200
From:      William Palfreman <william@palfreman.com>
To:        John Hein <gnome-jfbml@snkmail.com>
Cc:        gnome@freebsd.org
Subject:   Re: [maintainer]
Message-ID:  <CAE9Lj2=vQMCs3fLWWFYtNHC21HKhOaKJ9hHjcc36AHtaCOCavg@mail.gmail.com>
In-Reply-To: <31443-1365614370-287167@sneakemail.com>
References:  <20130330.081105.74657834.oka@nakasatsunai.jp> <31443-1365614370-287167@sneakemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 April 2013 19:18, John Hein <gnome-jfbml@snkmail.com> 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.



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