Date: Sun, 21 Oct 2018 19:07:53 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 232510] lang/python37: Python 3.7.1 fails to build Message-ID: <bug-232510-21822-zLOsDcYe6h@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-232510-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-232510-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python mailing list <python@FreeBSD.org> for maintainer-feedback: Bug 232510: lang/python37: Python 3.7.1 fails to build https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232510 --- Description --- 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 settingshelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232510-21822-zLOsDcYe6h>
