Bug 183549 - FreeBSD Port: databases/py-sqlite3 no longer broken on ARM with CPUTYPE=cortexa and clang 3.3
Summary: FreeBSD Port: databases/py-sqlite3 no longer broken on ARM with CPUTYPE=corte...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-01 10:20 UTC by Xu Waycell
Modified: 2013-11-01 11:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xu Waycell 2013-11-01 10:20:00 UTC
This port is no longer broken on ARM architecture. A sample has been built and run successfully on my BeagleBone Black running FreeBSD 10 Beta1 with CPUTYPE=cortexa. No single error was given during this progress. Furthermore, it works fine with py-sqlalchemy.

py-sqlite3 on CPUTYPE=cortexa Freebsd 10 beta 1
Board: BeagleBone Black Rev.A5C
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: arm--freebsd10.0-gnueabi
Thread model: posix

===>   py27-sqlite3-2.7.5_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py27-sqlite3-2.7.5_3 for building
===>  Extracting for py27-sqlite3-2.7.5_3
=> SHA256 Checksum OK for python/Python-2.7.5.tar.xz.
===>  Patching for py27-sqlite3-2.7.5_3
===>   py27-sqlite3-2.7.5_3 depends on file: /usr/local/bin/python2.7 - found
===>   py27-sqlite3-2.7.5_3 depends on executable: python - found
===>   py27-sqlite3-2.7.5_3 depends on shared library: sqlite3 - found
===>  Configuring for py27-sqlite3-2.7.5_3
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work/Python-2.7.5/Modules/_ctypes/libffi/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work/Python-2.7.5/Modules/_ctypes/libffi/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work/Python-2.7.5/Modules/_ctypes/libffi/m4/libtool.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work/Python-2.7.5/Modules/_ctypes/libffi/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work/Python-2.7.5/Modules/zlib/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work/Python-2.7.5/configure
running config
===>  Building for py27-sqlite3-2.7.5_3
running build
running build_ext
building '_sqlite3' extension
creating build
creating build/temp.freebsd-10.0-BETA1-arm-2.7
creating build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite
cc -DNDEBUG -O -pipe -fPIC -DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite -I/usr/local/include/python2.7 -c _sqlite/cache.c -o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/cache.o
cc -DNDEBUG -O -pipe -fPIC -DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite -I/usr/local/include/python2.7 -c _sqlite/connection.c -o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/connection.o
cc -DNDEBUG -O -pipe -fPIC -DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite -I/usr/local/include/python2.7 -c _sqlite/cursor.c -o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/cursor.o
cc -DNDEBUG -O -pipe -fPIC -DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite -I/usr/local/include/python2.7 -c _sqlite/microprotocols.c -o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/microprotocols.o
cc -DNDEBUG -O -pipe -fPIC -DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite -I/usr/local/include/python2.7 -c _sqlite/module.c -o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/module.o
cc -DNDEBUG -O -pipe -fPIC -DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite -I/usr/local/include/python2.7 -c _sqlite/prepare_protocol.c -o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/prepare_protocol.o
cc -DNDEBUG -O -pipe -fPIC -DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite -I/usr/local/include/python2.7 -c _sqlite/row.c -o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/row.o
cc -DNDEBUG -O -pipe -fPIC -DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite -I/usr/local/include/python2.7 -c _sqlite/statement.c -o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/statement.o
cc -DNDEBUG -O -pipe -fPIC -DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite -I/usr/local/include/python2.7 -c _sqlite/util.c -o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/util.o
creating build/lib.freebsd-10.0-BETA1-arm-2.7
cc -shared -O -pipe build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/cache.o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/connection.o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/cursor.o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/microprotocols.o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/module.o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/prepare_protocol.o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/row.o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/statement.o build/temp.freebsd-10.0-BETA1-arm-2.7/_sqlite/util.o -L/usr/local/lib -R/usr/local/lib -lsqlite3 -o build/lib.freebsd-10.0-BETA1-arm-2.7/_sqlite3.so

Fix: 

It is no longer broken.
How-To-Repeat: Build it on ARM computer
Comment 1 Edwin Groothuis freebsd_committer 2013-11-01 10:20:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2013-11-01 10:37:49 UTC
Responsible Changed
From-To: freebsd-python->koobs

I'll take it.
Comment 3 dfilter service freebsd_committer 2013-11-01 11:24:26 UTC
Author: koobs
Date: Fri Nov  1 11:24:14 2013
New Revision: 332358
URL: http://svnweb.freebsd.org/changeset/ports/332358

Log:
  databases/py-sqlite3: Remove BROKEN on ARM
  
  - Remove BROKEN for ARM architecture [1]
  
  [1] http://lists.freebsd.org/pipermail/freebsd-python/2013-October/005960.html
  
  PR:		ports/183549
  Reported by:	Xu Waycell <xw901103@gmail.com>

Modified:
  head/databases/py-sqlite3/Makefile

Modified: head/databases/py-sqlite3/Makefile
==============================================================================
--- head/databases/py-sqlite3/Makefile	Fri Nov  1 11:16:47 2013	(r332357)
+++ head/databases/py-sqlite3/Makefile	Fri Nov  1 11:24:14 2013	(r332358)
@@ -33,10 +33,6 @@ PLIST_FILES=	%%PYTHON_LIBDIR%%/lib-dynlo
 NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "arm"
-BROKEN=		Does not install on arm
-.endif
-
 post-extract:
 .if ${PYTHON_REL} < 300
 	@${CP} ${FILESDIR}/setup.py ${WRKSRC}
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2013-11-01 11:35:46 UTC
State Changed
From-To: open->closed

Committed. Thanks Xu!