Date: Sun, 21 Oct 2018 19:07:53 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 232510] lang/python37: Python 3.7.1 fails to build Message-ID: <bug-232510-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232510 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: python@FreeBSD.org Reporter: blackmore@pichove.org Assignee: python@FreeBSD.org Flags: maintainer-feedback?(python@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= =20 --- python --- --- Programs/_testembed --- --- python --- cc -pthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector=20 -Wl,--export-dynamic -o python Programs/python.o -L. -lpython3.7m -lintl -l= dl -L/usr/local/lib -lintl -lutil -lm=20=20 --- Programs/_testembed --- cc -pthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector=20 -Wl,--export-dynamic -o Programs/_testembed Programs/_testembed.o -L. -lpython3.7m -lintl -ldl -L/usr/local/lib -lintl -lutil -lm=20=20 Programs/_testembed.o: In function `test_init_from_config': _testembed.c:(.text+0xd28): undefined reference to `_Py_InitializeFromConfi= g' Programs/_testembed.o: In function `test_init_dev_mode': _testembed.c:(.text+0xe0f): undefined reference to `_Py_InitializeFromConfi= g' Programs/_testembed.o: In function `test_init_isolated': _testembed.c:(.text+0xeb3): undefined reference to `_Py_InitializeFromConfi= g' --- 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=3D/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 =3D=3D=3D> The following configuration options are available for python37-3= .7.1: DEBUG=3Doff: Build with debugging support IPV6=3Don: IPv6 protocol support LIBFFI=3Don: Use libffi from ports instead of bundled version NLS=3Don: Enable gettext support for the locale module PYMALLOC=3Don: Enable specialized mallocs =3D=3D=3D=3D> Hash Algorithm (PEP-456): you can only select none or one of = them FNV=3Doff: Modified Fowler-Noll-Vo Algorithm SIPHASH=3Doff: SipHash24 Algorithm =3D=3D=3D> Use 'make config' to modify these settings --=20 You are receiving this mail because: 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-232510-21822>