From owner-freebsd-current@FreeBSD.ORG Sun Apr 1 02:23:49 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19A741065670 for ; Sun, 1 Apr 2012 02:23:49 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (secure.freebsdsolutions.net [69.55.234.48]) by mx1.freebsd.org (Postfix) with ESMTP id D79468FC0C for ; Sun, 1 Apr 2012 02:23:48 +0000 (UTC) Received: from [192.168.2.82] (jn@stealth.jnielsen.net [74.218.226.254]) (authenticated bits=0) by ns1.jnielsen.net (8.14.4/8.14.4) with ESMTP id q312KxO3075956 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Sat, 31 Mar 2012 22:21:00 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sat, 31 Mar 2012 22:21:01 -0400 Message-Id: <7E2199A3-9E2D-44D5-B7E5-06D68A13D70B@jnielsen.net> To: freebsd-current@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-DCC-sonic.net-Metrics: ns1.jnielsen.net; whitelist Subject: Python won't build? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2012 02:23:49 -0000 I updated a machine yesterday from 9-STABLE to 10-CURRENT (r233631). = Everything went smoothly with the update itself, but I ran in to an = issue with Python when rebuilding all of my installed ports. Python = won't build; it complains about the definition of LONG_BIT. I had = python27 installed but python26 does the same thing. I ran "make = delete-old" and "make delete-old-libs", no improvement. I even built a = clean chroot environment via make installworld DESTDIR=3D..., (plus = devfs and ports tree). Same problem. So.. is this the result of something in the FreeBSD source? Can anyone = else reproduce this? What should I try next? cc -c -fno-strict-aliasing -O2 -pipe -march=3Dathlon64 = -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=3Dathlon64 = -fno-strict-aliasing -I. -IInclude -I./../Include -fPIC -DPy_BUILD_CORE = -o Parser/acceler.o ./../Parser/acceler.c In file included from ./../Include/Python.h:8, from ./../Include/pgenheaders.h:10, from ./../Parser/acceler.c:13: ./pyconfig.h:1:1: warning: null character(s) ignored ./pyconfig.h:1:35803: warning: no newline at end of file In file included from ./../Include/pyport.h:4, from ./../Include/Python.h:58, from ./../Include/pgenheaders.h:10, from ./../Parser/acceler.c:13: ./pyconfig.h:1:1: warning: null character(s) ignored ./pyconfig.h:1:35803: warning: no newline at end of file In file included from ./../Include/Python.h:58, from ./../Include/pgenheaders.h:10, from ./../Parser/acceler.c:13: ./../Include/pyport.h:849:2: error: #error "LONG_BIT definition appears = wrong for platform (bad gcc/glibc config?)." In file included from ./../Include/pymath.h:4, from ./../Include/Python.h:77, from ./../Include/pgenheaders.h:10, from ./../Parser/acceler.c:13: ./pyconfig.h:1:1: warning: null character(s) ignored ./pyconfig.h:1:35803: warning: no newline at end of file *** [Parser/acceler.o] Error code 1 Stop in = /opt/scratch/opt/ports/lang/python27/work/Python-2.7.2/portbld.shared. *** [pre-build] Error code 1 Stop in /opt/ports/lang/python27. *** [build] Error code 1 Stop in /opt/ports/lang/python27.