From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 1 04:10:06 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD9BF1065678 for ; Sun, 1 Aug 2010 04:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B9E308FC1B for ; Sun, 1 Aug 2010 04:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o714A5qa055743 for ; Sun, 1 Aug 2010 04:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o714A5np055742; Sun, 1 Aug 2010 04:10:05 GMT (envelope-from gnats) Resent-Date: Sun, 1 Aug 2010 04:10:05 GMT Resent-Message-Id: <201008010410.o714A5np055742@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nicole Reid Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40AC21065674 for ; Sun, 1 Aug 2010 04:04:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 2ECF58FC0C for ; Sun, 1 Aug 2010 04:04:51 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7144o2d048750 for ; Sun, 1 Aug 2010 04:04:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o7144oAP048749; Sun, 1 Aug 2010 04:04:50 GMT (envelope-from nobody) Message-Id: <201008010404.o7144oAP048749@www.freebsd.org> Date: Sun, 1 Aug 2010 04:04:50 GMT From: Nicole Reid To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/149167: lang/python26 fails to build _ctypes on Sheevaplug (ARM) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2010 04:10:06 -0000 >Number: 149167 >Category: ports >Synopsis: lang/python26 fails to build _ctypes on Sheevaplug (ARM) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 01 04:10:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Nicole Reid >Release: 8.1 >Organization: >Environment: FreeBSD pochan 8.1-RELEASE FreeBSD 8.1-RELEASE #23: Sat Jul 31 12:25:27 EDT 2010 nicole@Emi.cooltrainer.org:/usr/obj/arm/usr/src/sys/DOCKSTAR arm >Description: I built Python 2.6.5 using the ports tree supplied with 8.1-RELEASE. _ctypes fails during the build, but it then installs without error. Packaging fails, and deinstall mentions the missing file. Here's the relevant except from the build: […] running build_ext INFO: Can't locate Tcl/Tk libs and/or headers building '_ctypes' extension cc -fPIC -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -I. -I/usr/ports/lang/python26/work/Python-2.6.5/./Include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi/include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi -I/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src -I. -IInclude -I./../Include -I/usr/local/include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static/Include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static -c /usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/_ctypes.c -o build/temp.freebsd-8.1-RELEASE-arm-2.6/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/_ctypes.o cc -fPIC -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -I. -I/usr/ports/lang/python26/work/Python-2.6.5/./Include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi/include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi -I/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src -I. -IInclude -I./../Include -I/usr/local/include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static/Include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static -c /usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/callbacks.c -o build/temp.freebsd-8.1-RELEASE-arm-2.6/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/callbacks.o cc -fPIC -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -I. -I/usr/ports/lang/python26/work/Python-2.6.5/./Include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi/include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi -I/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src -I. -IInclude -I./../Include -I/usr/local/include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static/Include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static -c /usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/callproc.c -o build/temp.freebsd-8.1-RELEASE-arm-2.6/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/callproc.o cc -fPIC -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -I. -I/usr/ports/lang/python26/work/Python-2.6.5/./Include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi/include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi -I/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src -I. -IInclude -I./../Include -I/usr/local/include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static/Include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static -c /usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/stgdict.c -o build/temp.freebsd-8.1-RELEASE-arm-2.6/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/stgdict.o cc -fPIC -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -I. -I/usr/ports/lang/python26/work/Python-2.6.5/./Include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi/include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi -I/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src -I. -IInclude -I./../Include -I/usr/local/include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static/Include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static -c /usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/cfield.c -o build/temp.freebsd-8.1-RELEASE-arm-2.6/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/cfield.o cc -fPIC -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -I. -I/usr/ports/lang/python26/work/Python-2.6.5/./Include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi/include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi -I/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src -I. -IInclude -I./../Include -I/usr/local/include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static/Include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static -c /usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/malloc_closure.c -o build/temp.freebsd-8.1-RELEASE-arm-2.6/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/malloc_closure.o cc -fPIC -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -I. -I/usr/ports/lang/python26/work/Python-2.6.5/./Include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi/include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi -I/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src -I. -IInclude -I./../Include -I/usr/local/include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static/Include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static -c /usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src/prep_cif.c -o build/temp.freebsd-8.1-RELEASE-arm-2.6/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src/prep_cif.o cc -fPIC -fno-strict-aliasing -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -I. -I/usr/ports/lang/python26/work/Python-2.6.5/./Include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi/include -Ibuild/temp.freebsd-8.1-RELEASE-arm-2.6/libffi -I/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src -I. -IInclude -I./../Include -I/usr/local/include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static/Include -I/usr/ports/lang/python26/work/Python-2.6.5/portbld.static -c /usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src/arm/sysv.S -o build/temp.freebsd-8.1-RELEASE-arm-2.6/usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src/arm/sysv.o /usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src/arm/sysv.S: Assembler messages: /usr/ports/lang/python26/work/Python-2.6.5/Modules/_ctypes/libffi/src/arm/sysv.S:246: Error: unknown pseudo-op: `.pad' Failed to find the necessary bits to build these modules: _bsddb _sqlite3 _tkinter gdbm linuxaudiodev spwd sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: _ctypes Creating directory /usr/local/lib/python2.6/lib-tk Creating directory /usr/local/lib/python2.6/site-packages […] The failure to package: pochan# make package ===> Building package for python26-2.6.5 Creating package /usr/ports/lang/python26/python26-2.6.5.tbz Registering depends:. Creating bzip'd tar ball in '/usr/ports/lang/python26/python26-2.6.5.tbz' tar: lib/python2.6/lib-dynload/_ctypes.so: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 *** Error code 1 Stop in /usr/ports/lang/python26. *** Error code 1 Stop in /usr/ports/lang/python26. pochan# >How-To-Repeat: make in lang/python26. >Fix: Here is a post from the cygwin list relating to the same error in libffi that says commenting the offending line may let it build successfully: http://cygwin.ru/ml/libffi-discuss/2008/msg00127.html >Release-Note: >Audit-Trail: >Unformatted: