python33

Herbert J. Skuhra hskuhra at eumx.net
Sun Feb 2 23:04:08 UTC 2014


On Sun, 02 Feb 2014 16:45:17 -0500
Ajtim wrote:

> On Sunday 02 February 2014 13:54:59 Herbert J. Skuhra wrote:
> > 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.
> > 
> > 
> dependencies that are still required:
> archivers/lzmalib: multimedia/vlc, graphics/GraphicsMagick13, graphics/gimp-app, deskutils/xfce4-tumbler, graphics/webp, textproc/redland, graphics/sane-backends, security/clamav, graphics/libgphoto2, devel/gvfs, graphics/graphviz, graphics/ImageMagick

Yeah, after removing archivers/lzmalib you have to rebuild some
(listed above) ports. They will pick liblzma.so from /usr/lib.

Maybe archivers/lzmalib should be removed from ports.

-- 
Herbert


More information about the freebsd-ports mailing list