From owner-freebsd-python@freebsd.org Sun Oct 21 22:19:07 2018 Return-Path: <owner-freebsd-python@freebsd.org> Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E71610382EB for <freebsd-python@mailman.ysv.freebsd.org>; Sun, 21 Oct 2018 22:19:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2972C7AF91 for <freebsd-python@freebsd.org>; Sun, 21 Oct 2018 22:19:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E23C110382EA; Sun, 21 Oct 2018 22:19:06 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7F3710382E8 for <python@mailman.ysv.freebsd.org>; Sun, 21 Oct 2018 22:19:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F9D07AF90 for <python@FreeBSD.org>; Sun, 21 Oct 2018 22:19:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7D19C1074 for <python@FreeBSD.org>; Sun, 21 Oct 2018 22:19:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9LMJ5VS077072 for <python@FreeBSD.org>; Sun, 21 Oct 2018 22:19:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9LMJ5TD077070 for python@FreeBSD.org; Sun, 21 Oct 2018 22:19:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 232510] lang/python37: Python 3.7.1 fails to build Date: Sun, 21 Oct 2018 22:19:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hakan@siktas.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc 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/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 21 Oct 2018 22:19:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232510 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_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 --- 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 --- 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 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes 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 =3D=3D=3D>>> make build failed for lang/python37 =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for python37-3.7.0_3 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for security/py-openssl@py37 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command li= ne: 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=3Dyes DEFAULT_VERSIONS+=3D perl5=3D5.26 php=3D7.2 pqsql=3D10 python=3D3.7 python3= =3D3.7 And here is the port's config: 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.=