From owner-freebsd-python@freebsd.org Fri Dec 28 10:55:11 2018 Return-Path: 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 5DC141434B40 for ; Fri, 28 Dec 2018 10:55:11 +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 E95CC85914 for ; Fri, 28 Dec 2018 10:55:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A80351434B3F; Fri, 28 Dec 2018 10:55:10 +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 951301434B3E for ; Fri, 28 Dec 2018 10:55:10 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2ED0385912 for ; Fri, 28 Dec 2018 10:55:10 +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 7E2C2FC11 for ; Fri, 28 Dec 2018 10:55:09 +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 wBSAt977019652 for ; Fri, 28 Dec 2018 10:55:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wBSAt9LF019651 for python@FreeBSD.org; Fri, 28 Dec 2018 10:55:09 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 234409] lang/python37: Python 3.7.2 fails to build Date: Fri, 28 Dec 2018 10:55:08 +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 Some 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: In-Reply-To: References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2018 10:55:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234409 hakan@siktas.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hakan@siktas.com --- Comment #3 from hakan@siktas.com --- What is the right way to apply this patch? I ran patch /usr/ports/lang/python37/work/Python-3.7.2/Makefile.pre.in.orig ~/python372patch to apply it without an error but then running portmaster -d lang/python37 results in /usr/bin/ld: error: undefined symbol: _Py_GetGlobalVariablesAsDict >>> referenced by _testembed.c >>> Programs/_testembed.o:(dump_config) /usr/bin/ld: error: undefined symbol: _PyCoreConfig_AsDict >>> referenced by _testembed.c >>> Programs/_testembed.o:(dump_config) /usr/bin/ld: error: undefined symbol: _PyMainInterpreterConfig_AsDict >>> referenced by _testembed.c >>> Programs/_testembed.o:(dump_config) 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.2 1 error make[2]: stopped in /usr/ports/lang/python37/work/Python-3.7.2 =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 --=20 You are receiving this mail because: You are the assignee for the bug.=