Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 2014 13:54:59 +0100
From:      "Herbert J. Skuhra" <hskuhra@eumx.net>
To:        Ajtim <lumiwa@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: python33
Message-ID:  <86ha8h8yjg.wl%hskuhra@eumx.net>
In-Reply-To: <2527072.JuDvluNqEW@lumiwa.farms.net>
References:  <4648013.WzZvqasPqJ@lumiwa.farms.net> <87y51teqqw.wl%hskuhra@eumx.net> <2527072.JuDvluNqEW@lumiwa.farms.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 02 Feb 2014 06:31:31 -0500
Ajtim wrote:

> On Sunday 02 February 2014 11:46:47 Herbert J. Skuhra wrote:
> > On Sat, 01 Feb 2014 18:07:46 -0500
> > Ajtim wrote:
> > 
> > > Hi!
> > > 
> > > Portmaster found update for python33 (version 3.3.3_2 from February 1st) and on FreeBSD 10.0-RELEASE (amd64) I got:
> > > Install them as needed.
> > > ====
> > > ====> Compressing man pages (compress-man)
> > > ===>  Installing for python33-3.3.3_2
> > > ===>  Checking if lang/python33 already installed
> > > ===>   Registering installation for python33-3.3.3_2
> > > pkg-static: lstat(/usr/ports/lang/python33/work/stage/usr/local/lib/python3.3/lib-dynload/_lzma.so): No such file or directory
> > > *** Error code 74
> > > 
> > > Stop.
> > > make[1]: stopped in /usr/ports/lang/python33
> > > *** Error code 1
> > > 
> > > Stop.
> > > make: stopped in /usr/ports/lang/python33
> > 
> > I guess archivers/lzmalib is installed on your system.
> > In this case _lzma.so fails to build:
> > 
> > cc -shared -L/usr/local/lib -pthread -L/usr/local/lib -pthread -O2 -pipe -fno-strict-aliasing -I/usr/
> > local/include build/temp.freebsd-10.0-STABLE-amd64-3.3/usr/ports/lang/python33/work/Python-3.3.3/Modu
> > les/_lzmamodule.o -L/usr/local/lib -llzma -o build/lib.freebsd-10.0-STABLE-amd64-3.3/_lzma.so^M
> > *** WARNING: renaming "_lzma" since importing it failed: build/lib.freebsd-10.0-STABLE-amd64-3.3/_lzm
> > a.so: Undefined symbol "lzma_properties_size"
> > 
> > 
> Yes, it was the problem. Thank you very much. 
> But how is the future with lzmalib? Some applications need it.

lzmalib is part of FreeBSD >= 8.1.

A simple grep shows that only two ports depend on the port
(archivers/lzmalib):

* p5-Compress-Raw-Lzma
only if /usr/lib/liblzma.so is missing (FreeBSD < 8.1)

* databases/tokyocabinet: if option LZMA is on
even if xz/lzma is in base

But maybe I miss something.

-- 
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ha8h8yjg.wl%hskuhra>