FreeBSD Port: databases/py-sqlite3

Kubilay Kocak koobs.freebsd at gmail.com
Fri Nov 1 11:32:53 UTC 2013


On 1/11/2013 9:02 PM, Xu Waycell wrote:
> 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
> 
> On Oct 23, 2013, at 4:04 PM, Kubilay Kocak <koobs.freebsd at gmail.com> wrote:
> 
>> On 16/10/2013 2:12 AM, Xu Waycell wrote:
>>> 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.
>>
>> Thank you for your report Xu, could you submit a PR for this and include
>> a build log for confirmation please. Feel free to sanitize the log if
>> necessary.
>>
>> Koobs
> 
> 

Committed in: https://svnweb.freebsd.org/ports?view=revision&revision=332358

Thank you for following-up!

Koobs




More information about the freebsd-python mailing list