From owner-freebsd-ports@FreeBSD.ORG Sun Oct 19 07:32:18 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A742715E; Sun, 19 Oct 2014 07:32:18 +0000 (UTC) Received: from mail-pd0-x230.google.com (mail-pd0-x230.google.com [IPv6:2607:f8b0:400e:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 740E63CB; Sun, 19 Oct 2014 07:32:18 +0000 (UTC) Received: by mail-pd0-f176.google.com with SMTP id fp1so3105646pdb.35 for ; Sun, 19 Oct 2014 00:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=tWIK2ctrnv8whouT8oeJo44rq0NuqC2Cgb/QuFu7C9Q=; b=GkhOF/c4r5X3UCBdaMTLR6WQiWjg0YBJC5ahfkW6XW44VYuoEYuDTOjeS9ilJQk+on /aqWHC9qmo49aQcxjZMHF2hhXBMxEnAeobH2el3dbxA9M6l2CRvZCr+9iDswS+RJn6G1 ukS49g8ivZyjmTczd6D8Ii+keI1/p8sHiwB1uDFeSJuV/Msci9TDkz005xiVwNj2KNV7 hBOX3c5N+8nL+Gi1oQHcSxiGflJYztV05Xiz9Y/xVTpk2hrEvBUgsTvg+6IAkCDOfwQU 0z2zV7QNERNG1Auk3KY+/DC8/lEuzByI0V/yUEdjVQtdgSa1JpKiUxqBviLu8WGf+8rk XbYQ== X-Received: by 10.70.108.232 with SMTP id hn8mr12390977pdb.76.1413703937941; Sun, 19 Oct 2014 00:32:17 -0700 (PDT) Received: from [192.168.0.2] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id id2sm519289pbb.65.2014.10.19.00.32.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Oct 2014 00:32:17 -0700 (PDT) Sender: Kubilay Kocak Message-ID: <544368FD.7070802@FreeBSD.org> Date: Sun, 19 Oct 2014 18:32:13 +1100 From: Kubilay Kocak Reply-To: koobs@FreeBSD.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Thunderbird/33.0 MIME-Version: 1.0 To: Thomas Mueller , freebsd-ports@freebsd.org Subject: Re: Is py-sqlite3 broken (missing _ctypes)? References: <732067.33913.bm@smtp112.sbc.mail.ne1.yahoo.com> In-Reply-To: <732067.33913.bm@smtp112.sbc.mail.ne1.yahoo.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: python@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 07:32:18 -0000 On 16/10/2014 1:29 PM, Thomas Mueller wrote: > Trying to update www/seamonkey, I failed on an error in databases/py-sqlite3 relating to _ctypes, am not really familiar with that. > > Did I do something wrong, or is this a more general bug? > > I am on FreeBSD-current amd64, r272279. > > 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 "", line 1, in > File "setup.py", line 36, in > import ctypes > File "/usr/local/lib/python2.7/ctypes/__init__.py", line 10, in > 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 databases/py-sqlite3 > > > Tom > > _______________________________________________ > freebsd-python@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-python > To unsubscribe, send any mail to "freebsd-python-unsubscribe@freebsd.org" > Hi Tom, thanks for the report! This one needs further isolation to lang/python27, to identify why the ctypes module fails to build. Let us know what you find. -- koobs