https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232510
Bug ID: 232510 Summary: lang/python37: Python 3.7.1 fails to build Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: pyt...@freebsd.org Reporter: blackm...@pichove.org Assignee: pyt...@freebsd.org Flags: maintainer-feedback?(pyt...@freebsd.org) The new port for Python 3.7.1 fails with: --- libpython3.so --- cc -pthread -shared -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -Wl,--no-as-needed -o libpython3.so -Wl,-hlibpython3.so --- python --- --- Programs/_testembed --- --- python --- cc -pthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -Wl,--export-dynamic -o python Programs/python.o -L. -lpython3.7m -lintl -ldl -L/usr/local/lib -lintl -lutil -lm --- Programs/_testembed --- cc -pthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -Wl,--export-dynamic -o Programs/_testembed Programs/_testembed.o -L. -lpython3.7m -lintl -ldl -L/usr/local/lib -lintl -lutil -lm Programs/_testembed.o: In function `test_init_from_config': _testembed.c:(.text+0xd28): undefined reference to `_Py_InitializeFromConfig' Programs/_testembed.o: In function `test_init_dev_mode': _testembed.c:(.text+0xe0f): undefined reference to `_Py_InitializeFromConfig' Programs/_testembed.o: In function `test_init_isolated': _testembed.c:(.text+0xeb3): undefined reference to `_Py_InitializeFromConfig' --- pybuilddir.txt --- --- Programs/_testembed --- cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [Programs/_testembed] Error code 1 make[2]: stopped in /usr/ports/lang/python37/work/Python-3.7.1 --- pybuilddir.txt --- LD_LIBRARY_PATH=/usr/ports/lang/python37/work/Python-3.7.1 ./python -E -S -m sysconfig --generate-posix-vars ; if test $? -ne 0 ; then echo "generate-posix-vars failed" ; rm -f ./pybuilddir.txt ; exit 1 ; fi [root@SagaBOX /usr/ports/lang/python37]# make showconfig ===> The following configuration options are available for python37-3.7.1: DEBUG=off: Build with debugging support IPV6=on: IPv6 protocol support LIBFFI=on: Use libffi from ports instead of bundled version NLS=on: Enable gettext support for the locale module PYMALLOC=on: Enable specialized mallocs ====> Hash Algorithm (PEP-456): you can only select none or one of them FNV=off: Modified Fowler-Noll-Vo Algorithm SIPHASH=off: SipHash24 Algorithm ===> Use 'make config' to modify these settings -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"