Date: Sun, 21 Oct 2018 22:19:04 +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-gnh8O3kVuc@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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232510 hakan@siktas.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hakan@siktas.com --- Comment #9 from hakan@siktas.com --- Using portmaster it failed for me similarly: --- Programs/_testembed --- 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 --- 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 --- 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 1 error make[2]: stopped in /usr/ports/lang/python37/work/Python-3.7.1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/python37 *** Error code 1 Stop. make: stopped in /usr/ports/lang/python37 ===>>> make build failed for lang/python37 ===>>> Aborting update ===>>> Update for python37-3.7.0_3 failed ===>>> Aborting update ===>>> Update for security/py-openssl@py37 failed ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster <flags> security/py-openssl@py37 lang/python37 This command has been saved to /tmp/portmasterfail.txt I am on 11.2-RELEASE-p4 with this /etc/make.conf cat /etc/make.conf WITH_CCACHE_BUILD=yes DEFAULT_VERSIONS+= perl5=5.26 php=7.2 pqsql=10 python=3.7 python3=3.7 And here is the port's config: 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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232510-21822-gnh8O3kVuc>
