From owner-freebsd-python@freebsd.org Tue Feb 27 23:48:18 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 CF0EAF3509F for ; Tue, 27 Feb 2018 23:48:18 +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 6504577805 for ; Tue, 27 Feb 2018 23:48:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2978FF35091; Tue, 27 Feb 2018 23:48:18 +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 07665F35090 for ; Tue, 27 Feb 2018 23:48:18 +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 95EEB77802 for ; Tue, 27 Feb 2018 23:48:17 +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 C852816384 for ; Tue, 27 Feb 2018 23:48:16 +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 w1RNmGUT001769 for ; Tue, 27 Feb 2018 23:48:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1RNmGTE001766 for python@FreeBSD.org; Tue, 27 Feb 2018 23:48:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 226256] lang/python27 fails to build: importing pyexpat.so fails with: Undefined symbol "XML_ParserCreate_MM" Date: Tue, 27 Feb 2018 23:48:16 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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.25 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 23:48:19 -0000 Bugzilla Automation has asked FreeBSD Python for maintainer-feedback: Bug 226256: lang/python27 fails to build: importing pyexpat.so fails with: Undefined symbol "XML_ParserCreate_MM" https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226256 --- Description --- I am trying to build the latest Python 2.7 (2.7.14_1) and it fails on freeB= SD 10.3-RELEASE-p12, because of an undefined symbol "XML_ParserCreate_MM" in pyexpat. Last time I built Python 2.7.3 and everything was fine. The follow= ing errors are generated: $portmaster lang/python ... building 'pyexpat' extension ... cc -shared -lpthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -lpthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include build/temp.freebsd-10.3-RELEASE-p12-amd64-2.7/var/ports/usr/ports/lang/pyth= on27 /work/Python-2.7.14/Modules/pyexpat.o build/temp.freebsd-10.3-RELEASE-p12-amd64-2.7/var/ports/usr/ports/lang/pyth= on27 /work/Python-2.7.14/Modules/expat/xmlparse.o build/temp.freebsd-10.3-RELEASE-p12-amd64-2.7/var/ports/usr/ports/lang/pyth= on27 /work/Python-2.7.14/Modules/expat/xmlrole.o build/temp.freebsd-10.3-RELEASE-p12-amd64-2.7/var/ports/usr/ports/lang/pyth= on27 /work/Python-2.7.14/Modules/expat/xmltok.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.freebsd-10.3-RELEASE-p12-amd64-2.7/pyexpat.so *** WARNING: renaming "pyexpat" since importing it failed: build/lib.freebsd-10.3-RELEASE-p12-amd64-2.7/pyexpat.so: Undefined symbol "XML_ParserCreate_MM" building '_elementtree' extension ... cc -shared -lpthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -lpthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include build/temp.freebsd-10.3-RELEASE-p12-amd64-2.7/var/ports/usr/ports/lang/pyth= on27 /work/Python-2.7.14/Modules/_elementtree.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.freebsd-10.3-RELEASE-p12-amd64-2.7/_elementtree.so *** WARNING: renaming "_elementtree" since importing it failed: PyCapsule_Import could not import module "pyexpat" ... Failed to build these modules: _elementtree pyexpat ... =3D=3D=3D> Registering installation for python27-2.7.14_1 as automatic pkg-static: Unable to access file /var/ports/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-d= ynlo ad/_elementtree.so:No such file or directory pkg-static: Unable to access file /var/ports/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-d= ynlo ad/pyexpat.so:No such file or directory *** Error code 74