Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Mar 2013 12:27:40 +0400
From:      Ruslan Makhmatkhanov <cvs-src@yandex.ru>
To:        "Joseph A. Nagy, Jr" <jnagyjr1978@gmail.com>
Cc:        python@FreeBSD.org, "Ports @ FreeBSD" <freebsd-ports@freebsd.org>
Subject:   Re: databases/py-sqlite3 breaks due to update in libffi
Message-ID:  <5135AC7C.2080809@yandex.ru>
In-Reply-To: <5135A23F.5020601@gmail.com>
References:  <5135A23F.5020601@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Joseph A. Nagy, Jr wrote on 05.03.2013 11:43:
> python@ CC'd as listed maintainer for py-sqlite3, please reply-all or
> make sure I am CC'd in all responses as I'm not subscribed to python@.

I can't reproduce. I had libffi-3.0.11 and just updated it to 3.0.12. 
Then tried to build py-sqlite3 - no errors. Checked with pkg_libchk - no 
port that missing old libffi library. So I believe that you failed to 
follow UPDATING:20130128 in it's time.
Right now you may rebuild python to fix that, and check your installed 
ports with ``pkg_libchk -q'' (from sysutils/bsdadminscripts) to get the 
list of ports you need to rebuild.

>
> ===>>> www/firefox 2/3 >> py27-sqlite3-2.7.3_2 (14/14)
>
> ===>  Cleaning for py27-sqlite3-2.7.3_3
> ===>   py27-sqlite3-2.7.3_3 depends on file: /usr/local/sbin/pkg - found
> ===>  Extracting for py27-sqlite3-2.7.3_3
> => SHA256 Checksum OK for python/Python-2.7.3.tar.xz.
> ===>  Patching for py27-sqlite3-2.7.3_3
> ===>   py27-sqlite3-2.7.3_3 depends on file: /usr/local/bin/python2.7 -
> found
> ===>   py27-sqlite3-2.7.3_3 depends on shared library: sqlite3 - found
> ===>  Configuring for py27-sqlite3-2.7.3_3
> Traceback (most recent call last):
>    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: Shared object "libffi.so.5" not found, required by
> "_ctypes.so"
> *** [do-configure] Error code 1
>
> Stop in /usr/ports/databases/py-sqlite3.
>
> ===>>> make failed for databases/py-sqlite3
> ===>>> Aborting update
>
> ===>>> Update for py27-sqlite3-2.7.3_2 failed
> ===>>> Aborting update
>
> ===>>> Update for www/firefox failed
> ===>>> Aborting update
>
> The last entry in /usr/ports/UPDATING regarding libffi is
> 20130128:
>    AFFECTS: users of libffi
>    AUTHOR jkim@FreeBSD.org
>
>    libffi has been updated to 3.0.11.  Please rebuild all ports that
>    depends on it:
>
>    If you use portmaster:
>          portmaster -w -r libffi
>    If you use portupgrade:
>          portupgrade -fr devel/libffi
>    If you use pkgng with binary packages:
>          pkg install -fR devel/libffi
>
> I don't recall even having libffi at that time, nor have I had problem
> until now, though this problem wouldn't be solved by the update
> instructions above.


-- 
Regards,
Ruslan

Tinderboxing kills... the drives.



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