[Bug 249042] lang/python37: Builds but fails to install

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 14 20:57:26 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249042

--- Comment #5 from tech-lists at zyxst.net ---
(In reply to John Hein from comment #3)

ok ran it again like this:

# make clean distclean rmconfig rmconfig-recursive -DBATCH install > &
/tmp/pythonbuildlog.txt

here's the full output:
https://cloud.zyxst.net/~john/FreeBSD/ports/buildfailures/pythonbuildlog.txt

I noticed this:

[snip]
building '_lzma' extension
cc -fPIC -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2
-pipe -fstack-protector-strong -fno-strict-aliasing -std=c99 -Wextra
-Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers
-Wstrict-prototypes -Werror=implicit-function-declaration -I./Include -I.
-I/usr/local/include -I/usr/ports/lang/python37/work/Python-3.7.9/Include
-I/usr/ports/lang/python37/work/Python-3.7.9 -c
/usr/ports/lang/python37/work/Python-3.7.9/Modules/_lzmamodule.c -o
build/temp.freebsd-12.1-RELEASE-p9-amd64-3.7/usr/ports/lang/python37/work/Python-3.7.9/Modules/_lzmamodule.o
cc -pthread -shared -L/usr/local/lib -fstack-protector-strong -L/usr/local/lib
-fstack-protector-strong -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -I/usr/local/include -I/usr/local/include
build/temp.freebsd-12.1-RELEASE-p9-amd64-3.7/usr/ports/lang/python37/work/Python-3.7.9/Modules/_lzmamodule.o
-L. -L/usr/local/lib -llzma -lpython3.7m -o
build/lib.freebsd-12.1-RELEASE-p9-amd64-3.7/_lzma.so
*** WARNING: renaming "_lzma" since importing it failed:
build/lib.freebsd-12.1-RELEASE-p9-amd64-3.7/_lzma.so: Undefined symbol
"lzma_check_is_supported"
[/snip]

maybe it ties up with this?

pkg-static: Unable to access file
/usr/ports/lang/python37/work/stage/usr/local/lib/python3.7/lib-dynload/_lzma.so:No
such file or directory

Maybe a libarchive problem? I don't know.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list