Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2014 07:46:25 +0000 (UTC)
From:      "Thomas Mueller" <mueller6724@bellsouth.net>
To:        freebsd-ports@freebsd.org
Cc:        python@freebsd.org
Subject:   py-sqlite3 fails on missing _ctypes
Message-ID:  <656327.64453.bm@smtp113.sbc.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
Trying to update www/seamonkey, I failed on an error in databases/py-sqlite3 relating to _ctypes, am not really familiar with that.

I am on FreeBSD-current amd64, updated from source yesterday.

I tried to portmaster databases/py-sqlite3 separately after initial failure, to isolate the error.

Log file is short:

===>>> Currently installed version: py27-sqlite3-2.7.6_4
===>>> Port directory: /usr/ports/databases/py-sqlite3

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for databases/py-sqlite3 in background
===>>> Gathering dependency list for databases/py-sqlite3 from ports
===>>> Initial dependency check complete for databases/py-sqlite3

]0;portmaster: py27-sqlite3-2.7.6_4
===>>> Starting build for databases/py-sqlite3 <<<===

===>>> All dependencies are up to date

===>  Cleaning for py27-sqlite3-2.7.8_5
===>  License PSFL accepted by the user
===>   py27-sqlite3-2.7.8_5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py27-sqlite3-2.7.8_5 for building
===>  Extracting for py27-sqlite3-2.7.8_5
=> SHA256 Checksum OK for python/Python-2.7.8.tar.xz.
===>  Patching for py27-sqlite3-2.7.8_5
===>   py27-sqlite3-2.7.8_5 depends on package: py27-setuptools27>0 - found
===>   py27-sqlite3-2.7.8_5 depends on file: /usr/local/bin/python2.7 - found
===>   py27-sqlite3-2.7.8_5 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so.0.8.6)
===>  Configuring for py27-sqlite3-2.7.8_5
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work11.amd64/Python-2.7.8/Modules/_ctypes/libffi/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work11.amd64/Python-2.7.8/Modules/_ctypes/libffi/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work11.amd64/Python-2.7.8/Modules/_ctypes/libffi/m4/libtool.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work11.amd64/Python-2.7.8/Modules/_ctypes/libffi/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work11.amd64/Python-2.7.8/Modules/zlib/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-sqlite3/work11.amd64/Python-2.7.8/configure
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 36, in <module>
    import ctypes
  File "/usr/local/lib/python2.7/ctypes/__init__.py", line 10, in <module>
    from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/py-sqlite3

===>>> make build failed for databases/py-sqlite3
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> databases/py-sqlite3 


Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?656327.64453.bm>