Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Sep 2016 16:08:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 209355] lang/python35 lang/python34: install fails if archivers/lzmalib is installed
Message-ID:  <bug-209355-21822-kt47eV0fIO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209355-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209355-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209355

Fukang Chen <loader@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |loader@FreeBSD.org

--- Comment #9 from Fukang Chen <loader@FreeBSD.org> ---
It looks it tries to link the /usr/local/lib/liblzma.so instead of
/usr/lib/liblzma.so.
and liblzma.so from the port archives/lzmalib doesn't have
"lzma_properties_size".

The first "-L/usr/local/lib" in the "cc -shared" comes from Mk/readline.mk,=
=20
it make the linker to search this directory before the default directories.

-------------------------------------------------------------
building '_lzma' extension
cc -fPIC -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O -=
pipe
-fno-strict-aliasing -Werror=3Ddeclaration-after-statement -I./Include -I.
-IInclude -I/usr/local/include
-I/usr/ports/lang/python35/work/Python-3.5.2/Include
-I/usr/ports/lang/python35/work/Python-3.5.2 -c
/usr/ports/lang/python35/work/Python-3.5.2/Modules/_lzmamodule.c -o
build/temp.freebsd-12.0-CURRENT-arm-3.5/usr/ports/lang/python35/work/Python=
-3.5.2/Modules/_lzmamodule.o
cc -shared -lpthread -Wl,-rpath=3D/usr/lib:/usr/local/lib -L/usr/local/lib
-lpthread -Wl,-rpath=3D/usr/lib:/usr/local/lib -L/usr/local/lib -O -pipe
-fno-strict-aliasing -I/usr/local/include -I/usr/local/include
build/temp.freebsd-12.0-CURRENT-arm-3.5/usr/ports/lang/python35/work/Python=
-3.5.2/Modules/_lzmamodule.o
-L. -L/usr/local/lib -llzma -lpython3.5m -o
build/lib.freebsd-12.0-CURRENT-arm-3.5/_lzma.so
*** WARNING: renaming "_lzma" since importing it failed:
build/lib.freebsd-12.0-CURRENT-arm-3.5/_lzma.so: Undefined symbol
"lzma_properties_size"

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209355-21822-kt47eV0fIO>