From owner-freebsd-python@freebsd.org Mon Dec 9 09:25:00 2019 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E5631D2007 for ; Mon, 9 Dec 2019 09:25:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47Wd7w0VVgz4QTx for ; Mon, 9 Dec 2019 09:25:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0F4F91D2006; Mon, 9 Dec 2019 09:25:00 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F1191D2005 for ; Mon, 9 Dec 2019 09:25:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::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.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Wd7v6klQz4QTv for ; Mon, 9 Dec 2019 09:24:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E29A7188AC for ; Mon, 9 Dec 2019 09:24:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xB99Ox2C049479 for ; Mon, 9 Dec 2019 09:24:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xB99Ox4l049449 for python@FreeBSD.org; Mon, 9 Dec 2019 09:24:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 232792] Namespace pollution in all python ports Date: Mon, 09 Dec 2019 09:24:57 +0000 X-Bugzilla-Reason: CC 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: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tcberner@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Mon, 09 Dec 2019 09:25:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232792 --- Comment #16 from commit-hook@freebsd.org --- A commit references this bug: Author: lwhsu Date: Mon Dec 9 09:24:15 UTC 2019 New revision: 519597 URL: https://svnweb.freebsd.org/changeset/ports/519597 Log: MFH: r519233 r519241 r519244 Fix namespace pollution in python3.5 and python3.6 (upstreamed fix) The standard math library (libm) may follow IEEE-754 recommendation to include an implementation of sinPi(), i.e. sinPi(x):=3Dsin(pi*x). And this triggers a name clash, found by FreeBSD developer Steve Kargl, who worked on putting sinpi into libm used on FreeBSD (it has to be named "sinpi", not "sinPi", cf. e.g. https://en.cppreference.com/w/c/experimental/fpext4). - python2.7 and > 3.6 are already fixed PR: 232792 Submitted by: Steve Kargl , Dima Pasech= nik Approved by: python (maintainer timeout) Obtained from:=20=20=20=20=20=20=20 https://github.com/python/cpython/commit/b545ba0a508a5980ab147ed2641a42be3b= 31a2db Backport fix of https://bugs.python.org/issue32849 This is needed for starting sysutils/azure-agent at boot: https://github.com/Azure/WALinuxAgent/issues/1687 Obtained from:=20=20=20=20=20=20=20 https://github.com/python/cpython/pull/12852/commits/f9c01a16dae8aa15d264a1= 937fb589e8598d1c88 Sponsored by: The FreeBSD Foundation Fix makefile ordering. Reported by: mat Approved by: ports-secteam (miwi) Sponsored by: The FreeBSD Foundation Changes: branches/2019Q4/lang/python35/Makefile branches/2019Q4/lang/python35/distinfo branches/2019Q4/lang/python36/Makefile branches/2019Q4/lang/python36/distinfo --=20 You are receiving this mail because: You are on the CC list for the bug.=