From owner-freebsd-python@FreeBSD.ORG Sun Oct 19 07:32:18 2014 Return-Path: Delivered-To: python@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-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues 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 From owner-freebsd-python@FreeBSD.ORG Sun Oct 19 09:11:32 2014 Return-Path: Delivered-To: python@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 61FE5ED9 for ; Sun, 19 Oct 2014 09:11:32 +0000 (UTC) Received: from nm6-vm1.access.bullet.mail.bf1.yahoo.com (nm6-vm1.access.bullet.mail.bf1.yahoo.com [216.109.114.144]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06710D79 for ; Sun, 19 Oct 2014 09:11:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1413709450; bh=uz86P3ahvdOBx54htS2l6MWwizE4UOoOrHY51lp/3go=; h=Date:From:To:CC:Subject:References:From:Subject; b=6I1JcVVlyh4Auk9ulE5qha0jG5w262MMKdPZDuoRTxpwXbN/GD6TMaL9b/lkQeQDVr1HFJWH6kyks8C7AuQqQEs/XL7rOMRxAxQX9X4JXjX7fS42/+GA2c49K6+mEtDftCA5kbTzKufGwQdnk+65fP4tpaKBJJzYJoQI8knvRVA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=bellsouth.net; b=ZC2TRPTt5Ev6a0JKdt5E796kglDOIQbS/SgCExWyOsYUXCAfc6oNjDt6KoYOz4qhaXYXHxjGX4J5hSVX/8Wm6Wnc+teXaqgGIi5K974iLSrcug8TCsQU9uG+mvMA4+X6Dc8VZ/qtYnL3ddHW0+2kFpqJvM3CCdQYcQ+7kpmKvM0=; Received: from [66.196.81.164] by nm6.access.bullet.mail.bf1.yahoo.com with NNFMP; 19 Oct 2014 09:04:10 -0000 Received: from [98.138.104.99] by tm10.access.bullet.mail.bf1.yahoo.com with NNFMP; 19 Oct 2014 09:04:10 -0000 Received: from [127.0.0.1] by smtp119.sbc.mail.ne1.yahoo.com with NNFMP; 19 Oct 2014 09:04:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1413709450; bh=uz86P3ahvdOBx54htS2l6MWwizE4UOoOrHY51lp/3go=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:From:To:CC:Subject:References; b=ONmOqkJf3m+qc4C+q5CTNQY2XsFRXwIQUh9+1c/pR877zTYi7hFJzTQhJxNkHEDeYNsr5Ya+hFmNhhjNF9Rl+2k3nJTNH/6m8w/mEY8RI4pXR/ehblW0PHwurNd1yyXFzKKeMMeU0F4XlR2V1gA3kbe4MaZYkZcZdRUgGxzFz58= X-Yahoo-Newman-Id: 493281.66204.bm@smtp119.sbc.mail.ne1.yahoo.com Message-ID: <493281.66204.bm@smtp119.sbc.mail.ne1.yahoo.com> Date: Sun, 19 Oct 2014 09:04:10 +0000 (UTC) X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: jcNNjgAVM1nWs.ERhzpi5w99EZ0UTQMRcGeP4aApTj6R7PC H2GSBJw0nEQElgM21dvCHxuEEjcFAFBYmIrTfZdYETItgKQHofwsOf6AcNgb 6yscpFbc8AbtdCxe0wjCjHouTEE0OQ4yW4LpzSlxwpkWlt2HaX4nSHtRyxy. 28HXshHwwHIZtfctOoHtalbnVtNGV5vpUJ77Xs39KRmbHDnFHQ_.4agkGuqo cLTGLRM8zk3JCeUntKmHZDrKTsv4PmU_EszKUYgdezu2CRD4hsu2X4jmDTrd zMPzknvB5gm9pCahIGo9yvDBCBhn5BBfS1TEaUuZRvO8zX91r6vBuInNu5X2 2vRg859dMwEfT8CMizyaSwrRhcuws7R_DlS6f7wQsNSZsPrEIgxBVhE9wQru br4lyyEllKLuwJdNU1oFBOMtgBtZqajkwOKewd.38gIwWtXc8vVi.MxWD3VW xEDKGVwZ1UQeu.Xj0P5sE8K50m94ico2EuDUr54uov1zzZB5LxxobCYwRRrj t_rL94oYZoVKZPIUAET553VxFQnMhBPZgBG5HgR.8XVRCpnIMmaUVvn9qw3X GMqzJtZm6PlCQPFUyWJDgJz73VVj02_vd7ouVqpsGVOrbbt4ZXoZQhj9XaW4 aHX6YBDsTDRJUZpObL63vZXFuvMJFZsmNnw-- X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- From: "Thomas Mueller" To: freebsd-ports@freebsd.org Subject: Re: Is py-sqlite3 broken (missing _ctypes)? References: <732067.33913.bm@smtp112.sbc.mail.ne1.yahoo.com> <544368FD.7070802@FreeBSD.org> Cc: koobs@freebsd.org, python@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 09:11:32 -0000 from Kubilay Kocak: > 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. What specifically should I do? Should I try to build lang/python34 or python33? Distrowatch.com tracks some packages including sqlite, and I noticed sqlite was updated to 3.8.7; subsequently saw that on www.sqlite.org . Should I wait for databases/sqlite3 to be upgraded in the ports tree, or try to update it myself if need be? Tom From owner-freebsd-python@FreeBSD.ORG Sun Oct 19 09:28:30 2014 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76325143 for ; Sun, 19 Oct 2014 09:28:30 +0000 (UTC) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) (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 D1A44E58 for ; Sun, 19 Oct 2014 09:28:29 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id mc6so2563342lab.30 for ; Sun, 19 Oct 2014 02:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:content-type:subject:message-id:date:to:mime-version; bh=hdJY8+zKsO0KIlk1CvErrKzk46Wl6Jmw/5z1N4ubBjM=; b=qUHOHtspkb/cjXCo9+Bg/ca94251COj/uVabo2up2T+hseN8ZegJVO9agefUHI6rIG fFgXYRbAxx2DsC83bgd441IViX+wEb/N+5JmAo/arbITJ9C3A5sJZ95pMgq+U5WFSYm6 vIyxk2TnTPWzG/RBokHKz8jvkfzYri8BZVDwMVxP7gFGQ7bNB4rchw0qKN+w6MEph6h8 1IDnyJOlQESRo1Q6tBupMhGylAVlJR3u3ISfei7thIOmY3ENI6h2dKtc5YnyK7rebZVw h6e3IO7yZ2JzN3glYGQF4QTi/bK/vjApLqaJBAYgtTk5GdE+/qi645nqYoMuUxH2VStH 1Oew== X-Received: by 10.112.47.132 with SMTP id d4mr19773295lbn.64.1413710907609; Sun, 19 Oct 2014 02:28:27 -0700 (PDT) Received: from [192.168.1.21] (broadband-5-228-253-8.nationalcablenetworks.ru. [5.228.253.8]) by mx.google.com with ESMTPSA id f8sm2044954lbv.39.2014.10.19.02.28.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 19 Oct 2014 02:28:26 -0700 (PDT) Sender: Dmitry Sivachenko From: Dmitry Sivachenko Content-Type: multipart/mixed; boundary="Apple-Mail=_79B8F64D-EB2C-40CD-A301-DB540BDD2774" Subject: RFC: python34 update to 3.4.2 Message-Id: Date: Sun, 19 Oct 2014 13:28:25 +0400 To: python@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) X-Mailer: Apple Mail (2.1990.1) X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 09:28:30 -0000 --Apple-Mail=_79B8F64D-EB2C-40CD-A301-DB540BDD2774 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Hello, Please find below the proposed update for python34 port. --Apple-Mail=_79B8F64D-EB2C-40CD-A301-DB540BDD2774 Content-Disposition: attachment; filename=py34.diff Content-Type: application/octet-stream; name="py34.diff" Content-Transfer-Encoding: 7bit Index: Makefile =================================================================== --- Makefile (revision 370976) +++ Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= python34 -PORTVERSION= 3.4.1 -PORTREVISION= 5 +PORTVERSION= 3.4.2 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION} Index: distinfo =================================================================== --- distinfo (revision 370976) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (python/Python-3.4.1.tar.xz) = c595a163104399041fcbe1c5c04db4c1da94f917b82ce89e8944c8edff7aedc4 -SIZE (python/Python-3.4.1.tar.xz) = 14125788 +SHA256 (python/Python-3.4.2.tar.xz) = 1c6d9682d145c056537e477bbfa060ce727f9edd38df1827e0f970dcf04b2def +SIZE (python/Python-3.4.2.tar.xz) = 14223804 Index: files/patch-Makefile.pre.in =================================================================== --- files/patch-Makefile.pre.in (revision 370976) +++ files/patch-Makefile.pre.in (working copy) @@ -1,18 +1,14 @@ -# Description: Remove duplicate CFLAGS, CPPFLAGS, LDFLAGS by stripping CONFIGURE_* -# Submitted by: koobs (r326729) -# TODO: Upstream - -# Description: Create symlinks for non-ABI-suffixed python*-config and ABI-suffixed python-*.pc -# Submitted by: antoine@ (r358029) -# TODO: Upstream - ---- ./Makefile.pre.in.orig 2014-05-19 05:19:39.000000000 +0000 -+++ ./Makefile.pre.in 2014-06-15 12:12:17.000000000 +0000 -@@ -70,18 +70,15 @@ +--- Makefile.pre.in.orig 2014-10-08 12:18:14.000000000 +0400 ++++ Makefile.pre.in 2014-10-19 12:37:14.000000000 +0400 +@@ -70,23 +70,20 @@ OPT= @OPT@ BASECFLAGS= @BASECFLAGS@ BASECPPFLAGS= @BASECPPFLAGS@ -CONFIGURE_CFLAGS= @CFLAGS@ + # CFLAGS_NODIST is used for building the interpreter and stdlib C extensions. + # Use it when a compiler flag should _not_ be part of the distutils CFLAGS + # once Python is installed (Issue #21121). + CONFIGURE_CFLAGS_NODIST=@CFLAGS_NODIST@ -CONFIGURE_CPPFLAGS= @CPPFLAGS@ -CONFIGURE_LDFLAGS= @LDFLAGS@ # Avoid assigning CFLAGS, LDFLAGS, etc. so users can use them on the @@ -20,6 +16,7 @@ # values. -PY_CFLAGS= $(BASECFLAGS) $(OPT) $(CONFIGURE_CFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) +PY_CFLAGS= $(BASECFLAGS) $(OPT) $(CFLAGS) $(EXTRA_CFLAGS) + PY_CFLAGS_NODIST=$(CONFIGURE_CFLAGS_NODIST) $(CFLAGS_NODIST) # Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to # be able to build extension modules using the directories specified in the # environment variables @@ -30,7 +27,7 @@ NO_AS_NEEDED= @NO_AS_NEEDED@ LDLAST= @LDLAST@ SGI_ABI= @SGI_ABI@ -@@ -1065,12 +1062,6 @@ +@@ -1080,12 +1077,6 @@ else true; \ fi (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python3$(EXE)) @@ -43,7 +40,7 @@ -rm -f $(DESTDIR)$(BINDIR)/python3-config (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python3-config) -rm -f $(DESTDIR)$(LIBPC)/python3.pc -@@ -1333,6 +1324,12 @@ +@@ -1348,6 +1339,12 @@ $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh $(INSTALL_SCRIPT) python-config.py $(DESTDIR)$(LIBPL)/python-config.py $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(LDVERSION)-config Index: files/patch-Modules-_ctypes-libffi-configure =================================================================== --- files/patch-Modules-_ctypes-libffi-configure (revision 370976) +++ files/patch-Modules-_ctypes-libffi-configure (working copy) @@ -1,11 +1,11 @@ ---- ./Modules/_ctypes/libffi/configure.orig 2013-05-15 20:32:57.000000000 +0400 -+++ ./Modules/_ctypes/libffi/configure 2013-05-18 10:56:03.000000000 +0400 -@@ -6889,7 +6889,7 @@ +--- Modules/_ctypes/libffi/configure.orig 2014-10-08 12:18:14.000000000 +0400 ++++ Modules/_ctypes/libffi/configure 2014-10-19 12:39:11.000000000 +0400 +@@ -7526,7 +7526,7 @@ rm -rf conftest* ;; --x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -+amd64-*-freebsd*|x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +-x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ ++amd64-*-freebsd*|x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. Note that the listed cases only cover the Index: files/patch-issue21166 =================================================================== --- files/patch-issue21166 (revision 370976) +++ files/patch-issue21166 (working copy) @@ -1,74 +0,0 @@ -# HG changeset patch -# User Ned Deily -# Date 1408739569 25200 -# Node ID e52d85f2e2846453dd0503613d28cf6967f113d7 -# Parent d99014320220951707f79d114ae33f8c5a372a87 -Issue #21166: Prevent possible segfaults and other random failures of -python --generate-posix-vars in pybuilddir.txt build target by ensuring -that pybuilddir.txt is always regenerated when configure is run and -that the newly built skeleton python does not inadvertently import -modules from previously installed instances. - -diff --git a/Makefile.pre.in b/Makefile.pre.in ---- Makefile.pre.in -+++ Makefile.pre.in -@@ -546,8 +546,18 @@ platform: $(BUILDPYTHON) pybuilddir.txt - # Create build directory and generate the sysconfig build-time data there. - # pybuilddir.txt contains the name of the build dir and is used for - # sys.path fixup -- see Modules/getpath.c. -+# Since this step runs before shared modules are built, try to avoid bootstrap -+# problems by creating a dummy pybuildstr.txt just to allow interpreter -+# initialization to succeed. It will be overwritten by generate-posix-vars -+# or removed in case of failure. - pybuilddir.txt: $(BUILDPYTHON) -- $(RUNSHARED) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars -+ @echo "none" > ./pybuilddir.txt -+ $(RUNSHARED) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars ;\ -+ if test $$? -ne 0 ; then \ -+ echo "generate-posix-vars failed" ; \ -+ rm -f ./pybuilddir.txt ; \ -+ exit 1 ; \ -+ fi - - # Build the shared modules - # Under GNU make, MAKEFLAGS are sorted and normalized; the 's' for -diff --git a/Misc/NEWS b/Misc/NEWS ---- Misc/NEWS -+++ Misc/NEWS -@@ -242,6 +242,9 @@ Build - - - Issue #21811: Anticipated fixes to support OS X versions > 10.9. - -+- Issue #21166: Prevent possible segfaults and other random failures of -+ python --generate-posix-vars in pybuilddir.txt build target. -+ - IDLE - ---- - -diff --git a/configure b/configure ---- configure -+++ configure -@@ -2950,6 +2950,9 @@ case $host_os in *\ *) host_os=`echo "$h - - - -+# pybuilddir.txt will be created by --generate-posix-vars in the Makefile -+rm -f pybuilddir.txt -+ - if test "$cross_compiling" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python interpreter for cross build" >&5 - $as_echo_n "checking for python interpreter for cross build... " >&6; } -diff --git a/configure.ac b/configure.ac ---- configure.ac -+++ configure.ac -@@ -53,6 +53,9 @@ AC_CANONICAL_HOST - AC_SUBST(build) - AC_SUBST(host) - -+# pybuilddir.txt will be created by --generate-posix-vars in the Makefile -+rm -f pybuilddir.txt -+ - if test "$cross_compiling" = yes; then - AC_MSG_CHECKING([for python interpreter for cross build]) - if test -z "$PYTHON_FOR_BUILD"; then - Index: files/patch-issue21704 =================================================================== --- files/patch-issue21704 (revision 370976) +++ files/patch-issue21704 (working copy) @@ -1,22 +0,0 @@ -# HG changeset patch -# User Richard Oudkerk -# Date 1406584862 -3600 -# Node ID f618f673920043e31d8dee20b35c3e6f3e271178 -# Parent a1e01081e731a1214793cd4b5b4fc89fe6202357 -Issue #21704: Fix build error for _multiprocessing when semaphores -are not available. Patch by Arfrever Frehtes Taifersar Arahesis. - -diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c ---- Modules/_multiprocessing/multiprocessing.c -+++ Modules/_multiprocessing/multiprocessing.c -@@ -128,7 +128,9 @@ static PyMethodDef module_methods[] = { - {"recv", multiprocessing_recv, METH_VARARGS, ""}, - {"send", multiprocessing_send, METH_VARARGS, ""}, - #endif -+#ifndef POSIX_SEMAPHORES_NOT_ENABLED - {"sem_unlink", _PyMp_sem_unlink, METH_VARARGS, ""}, -+#endif - {NULL} - }; - - Index: pkg-plist =================================================================== --- pkg-plist (revision 370976) +++ pkg-plist (working copy) @@ -460,6 +460,8 @@ lib/python3.4/asyncio/__pycache__/base_subprocess.cpython-34.pyo lib/python3.4/asyncio/__pycache__/constants.cpython-34.pyc lib/python3.4/asyncio/__pycache__/constants.cpython-34.pyo +lib/python3.4/asyncio/__pycache__/coroutines.cpython-34.pyc +lib/python3.4/asyncio/__pycache__/coroutines.cpython-34.pyo lib/python3.4/asyncio/__pycache__/events.cpython-34.pyc lib/python3.4/asyncio/__pycache__/events.cpython-34.pyo lib/python3.4/asyncio/__pycache__/futures.cpython-34.pyc @@ -495,6 +497,7 @@ lib/python3.4/asyncio/base_events.py lib/python3.4/asyncio/base_subprocess.py lib/python3.4/asyncio/constants.py +lib/python3.4/asyncio/coroutines.py lib/python3.4/asyncio/events.py lib/python3.4/asyncio/futures.py lib/python3.4/asyncio/locks.py @@ -595,10 +598,11 @@ lib/python3.4/ctypes/macholib/fetch_macholib.bat lib/python3.4/ctypes/macholib/framework.py lib/python3.4/ctypes/test/__init__.py +lib/python3.4/ctypes/test/__main__.py lib/python3.4/ctypes/test/__pycache__/__init__.cpython-34.pyc lib/python3.4/ctypes/test/__pycache__/__init__.cpython-34.pyo -lib/python3.4/ctypes/test/__pycache__/runtests.cpython-34.pyc -lib/python3.4/ctypes/test/__pycache__/runtests.cpython-34.pyo +lib/python3.4/ctypes/test/__pycache__/__main__.cpython-34.pyc +lib/python3.4/ctypes/test/__pycache__/__main__.cpython-34.pyo lib/python3.4/ctypes/test/__pycache__/test_anon.cpython-34.pyc lib/python3.4/ctypes/test/__pycache__/test_anon.cpython-34.pyo lib/python3.4/ctypes/test/__pycache__/test_array_in_pointer.cpython-34.pyc @@ -625,8 +629,6 @@ lib/python3.4/ctypes/test/__pycache__/test_checkretval.cpython-34.pyo lib/python3.4/ctypes/test/__pycache__/test_delattr.cpython-34.pyc lib/python3.4/ctypes/test/__pycache__/test_delattr.cpython-34.pyo -lib/python3.4/ctypes/test/__pycache__/test_errcheck.cpython-34.pyc -lib/python3.4/ctypes/test/__pycache__/test_errcheck.cpython-34.pyo lib/python3.4/ctypes/test/__pycache__/test_errno.cpython-34.pyc lib/python3.4/ctypes/test/__pycache__/test_errno.cpython-34.pyo lib/python3.4/ctypes/test/__pycache__/test_find.cpython-34.pyc @@ -641,8 +643,6 @@ lib/python3.4/ctypes/test/__pycache__/test_incomplete.cpython-34.pyo lib/python3.4/ctypes/test/__pycache__/test_init.cpython-34.pyc lib/python3.4/ctypes/test/__pycache__/test_init.cpython-34.pyo -lib/python3.4/ctypes/test/__pycache__/test_integers.cpython-34.pyc -lib/python3.4/ctypes/test/__pycache__/test_integers.cpython-34.pyo lib/python3.4/ctypes/test/__pycache__/test_internals.cpython-34.pyc lib/python3.4/ctypes/test/__pycache__/test_internals.cpython-34.pyo lib/python3.4/ctypes/test/__pycache__/test_keeprefs.cpython-34.pyc @@ -705,7 +705,6 @@ lib/python3.4/ctypes/test/__pycache__/test_win32.cpython-34.pyo lib/python3.4/ctypes/test/__pycache__/test_wintypes.cpython-34.pyc lib/python3.4/ctypes/test/__pycache__/test_wintypes.cpython-34.pyo -lib/python3.4/ctypes/test/runtests.py lib/python3.4/ctypes/test/test_anon.py lib/python3.4/ctypes/test/test_array_in_pointer.py lib/python3.4/ctypes/test/test_arrays.py @@ -719,7 +718,6 @@ lib/python3.4/ctypes/test/test_cfuncs.py lib/python3.4/ctypes/test/test_checkretval.py lib/python3.4/ctypes/test/test_delattr.py -lib/python3.4/ctypes/test/test_errcheck.py lib/python3.4/ctypes/test/test_errno.py lib/python3.4/ctypes/test/test_find.py lib/python3.4/ctypes/test/test_frombuffer.py @@ -727,7 +725,6 @@ lib/python3.4/ctypes/test/test_functions.py lib/python3.4/ctypes/test/test_incomplete.py lib/python3.4/ctypes/test/test_init.py -lib/python3.4/ctypes/test/test_integers.py lib/python3.4/ctypes/test/test_internals.py lib/python3.4/ctypes/test/test_keeprefs.py lib/python3.4/ctypes/test/test_libc.py @@ -1800,6 +1797,22 @@ lib/python3.4/idlelib/idle_test/__pycache__/mock_idle.cpython-34.pyo lib/python3.4/idlelib/idle_test/__pycache__/mock_tk.cpython-34.pyc lib/python3.4/idlelib/idle_test/__pycache__/mock_tk.cpython-34.pyo +lib/python3.4/idlelib/idle_test/__pycache__/test_autocomplete.cpython-34.pyc +lib/python3.4/idlelib/idle_test/__pycache__/test_autocomplete.cpython-34.pyo +lib/python3.4/idlelib/idle_test/__pycache__/test_autoexpand.cpython-34.pyc +lib/python3.4/idlelib/idle_test/__pycache__/test_autoexpand.cpython-34.pyo +lib/python3.4/idlelib/idle_test/__pycache__/test_configdialog.cpython-34.pyc +lib/python3.4/idlelib/idle_test/__pycache__/test_configdialog.cpython-34.pyo +lib/python3.4/idlelib/idle_test/__pycache__/test_hyperparser.cpython-34.pyc +lib/python3.4/idlelib/idle_test/__pycache__/test_hyperparser.cpython-34.pyo +lib/python3.4/idlelib/idle_test/__pycache__/test_parenmatch.cpython-34.pyc +lib/python3.4/idlelib/idle_test/__pycache__/test_parenmatch.cpython-34.pyo +lib/python3.4/idlelib/idle_test/__pycache__/test_searchdialogbase.cpython-34.pyc +lib/python3.4/idlelib/idle_test/__pycache__/test_textview.cpython-34.pyc +lib/python3.4/idlelib/idle_test/__pycache__/test_textview.cpython-34.pyo +lib/python3.4/idlelib/idle_test/__pycache__/test_widgetredir.cpython-34.pyc +lib/python3.4/idlelib/idle_test/__pycache__/test_widgetredir.cpython-34.pyo +lib/python3.4/idlelib/idle_test/__pycache__/test_searchdialogbase.cpython-34.pyo lib/python3.4/idlelib/idle_test/__pycache__/test_calltips.cpython-34.pyc lib/python3.4/idlelib/idle_test/__pycache__/test_calltips.cpython-34.pyo lib/python3.4/idlelib/idle_test/__pycache__/test_config_name.cpython-34.pyc @@ -1822,6 +1835,14 @@ lib/python3.4/idlelib/idle_test/__pycache__/test_text.cpython-34.pyo lib/python3.4/idlelib/idle_test/__pycache__/test_warning.cpython-34.pyc lib/python3.4/idlelib/idle_test/__pycache__/test_warning.cpython-34.pyo +lib/python3.4/idlelib/idle_test/test_autocomplete.py +lib/python3.4/idlelib/idle_test/test_autoexpand.py +lib/python3.4/idlelib/idle_test/test_configdialog.py +lib/python3.4/idlelib/idle_test/test_hyperparser.py +lib/python3.4/idlelib/idle_test/test_parenmatch.py +lib/python3.4/idlelib/idle_test/test_searchdialogbase.py +lib/python3.4/idlelib/idle_test/test_textview.py +lib/python3.4/idlelib/idle_test/test_widgetredir.py lib/python3.4/idlelib/idle_test/htest.py lib/python3.4/idlelib/idle_test/mock_idle.py lib/python3.4/idlelib/idle_test/mock_tk.py @@ -1942,9 +1963,9 @@ %%NO_DEBUG%%lib/python3.4/lib-dynload/xxlimited.so lib/python3.4/lib-dynload/zlib.so lib/python3.4/lib2to3/Grammar.txt -lib/python3.4/lib2to3/Grammar3.4.1.final.0.pickle +lib/python3.4/lib2to3/Grammar3.4.2.final.0.pickle lib/python3.4/lib2to3/PatternGrammar.txt -lib/python3.4/lib2to3/PatternGrammar3.4.1.final.0.pickle +lib/python3.4/lib2to3/PatternGrammar3.4.2.final.0.pickle lib/python3.4/lib2to3/__init__.py lib/python3.4/lib2to3/__main__.py lib/python3.4/lib2to3/__pycache__/__init__.cpython-34.pyc @@ -2504,6 +2525,8 @@ lib/python3.4/test/__pycache__/seq_tests.cpython-34.pyo lib/python3.4/test/__pycache__/sortperf.cpython-34.pyc lib/python3.4/test/__pycache__/sortperf.cpython-34.pyo +lib/python3.4/test/__pycache__/test_spwd.cpython-34.pyc +lib/python3.4/test/__pycache__/test_spwd.cpython-34.pyo lib/python3.4/test/__pycache__/ssl_servers.cpython-34.pyc lib/python3.4/test/__pycache__/ssl_servers.cpython-34.pyo lib/python3.4/test/__pycache__/ssltests.cpython-34.pyc @@ -3172,8 +3195,6 @@ lib/python3.4/test/__pycache__/test_tk.cpython-34.pyo lib/python3.4/test/__pycache__/test_tokenize.cpython-34.pyc lib/python3.4/test/__pycache__/test_tokenize.cpython-34.pyo -lib/python3.4/test/__pycache__/test_tools.cpython-34.pyc -lib/python3.4/test/__pycache__/test_tools.cpython-34.pyo lib/python3.4/test/__pycache__/test_trace.cpython-34.pyc lib/python3.4/test/__pycache__/test_trace.cpython-34.pyo lib/python3.4/test/__pycache__/test_traceback.cpython-34.pyc @@ -3982,8 +4003,11 @@ lib/python3.4/test/test_importlib/__pycache__/util.cpython-34.pyo lib/python3.4/test/test_importlib/abc.py lib/python3.4/test/test_importlib/builtin/__init__.py +lib/python3.4/test/test_importlib/builtin/__main__.py lib/python3.4/test/test_importlib/builtin/__pycache__/__init__.cpython-34.pyc lib/python3.4/test/test_importlib/builtin/__pycache__/__init__.cpython-34.pyo +lib/python3.4/test/test_importlib/builtin/__pycache__/__main__.cpython-34.pyc +lib/python3.4/test/test_importlib/builtin/__pycache__/__main__.cpython-34.pyo lib/python3.4/test/test_importlib/builtin/__pycache__/test_finder.cpython-34.pyc lib/python3.4/test/test_importlib/builtin/__pycache__/test_finder.cpython-34.pyo lib/python3.4/test/test_importlib/builtin/__pycache__/test_loader.cpython-34.pyc @@ -3994,8 +4018,11 @@ lib/python3.4/test/test_importlib/builtin/test_loader.py lib/python3.4/test/test_importlib/builtin/util.py lib/python3.4/test/test_importlib/extension/__init__.py +lib/python3.4/test/test_importlib/extension/__main__.py lib/python3.4/test/test_importlib/extension/__pycache__/__init__.cpython-34.pyc lib/python3.4/test/test_importlib/extension/__pycache__/__init__.cpython-34.pyo +lib/python3.4/test/test_importlib/extension/__pycache__/__main__.cpython-34.pyc +lib/python3.4/test/test_importlib/extension/__pycache__/__main__.cpython-34.pyo lib/python3.4/test/test_importlib/extension/__pycache__/test_case_sensitivity.cpython-34.pyc lib/python3.4/test/test_importlib/extension/__pycache__/test_case_sensitivity.cpython-34.pyo lib/python3.4/test/test_importlib/extension/__pycache__/test_finder.cpython-34.pyc @@ -4012,8 +4039,11 @@ lib/python3.4/test/test_importlib/extension/test_path_hook.py lib/python3.4/test/test_importlib/extension/util.py lib/python3.4/test/test_importlib/frozen/__init__.py +lib/python3.4/test/test_importlib/frozen/__main__.py lib/python3.4/test/test_importlib/frozen/__pycache__/__init__.cpython-34.pyc lib/python3.4/test/test_importlib/frozen/__pycache__/__init__.cpython-34.pyo +lib/python3.4/test/test_importlib/frozen/__pycache__/__main__.cpython-34.pyc +lib/python3.4/test/test_importlib/frozen/__pycache__/__main__.cpython-34.pyo lib/python3.4/test/test_importlib/frozen/__pycache__/test_finder.cpython-34.pyc lib/python3.4/test/test_importlib/frozen/__pycache__/test_finder.cpython-34.pyo lib/python3.4/test/test_importlib/frozen/__pycache__/test_loader.cpython-34.pyc @@ -4021,8 +4051,11 @@ lib/python3.4/test/test_importlib/frozen/test_finder.py lib/python3.4/test/test_importlib/frozen/test_loader.py lib/python3.4/test/test_importlib/import_/__init__.py +lib/python3.4/test/test_importlib/import_/__main__.py lib/python3.4/test/test_importlib/import_/__pycache__/__init__.cpython-34.pyc lib/python3.4/test/test_importlib/import_/__pycache__/__init__.cpython-34.pyo +lib/python3.4/test/test_importlib/import_/__pycache__/__main__.cpython-34.pyc +lib/python3.4/test/test_importlib/import_/__pycache__/__main__.cpython-34.pyo lib/python3.4/test/test_importlib/import_/__pycache__/test___loader__.cpython-34.pyc lib/python3.4/test/test_importlib/import_/__pycache__/test___loader__.cpython-34.pyo lib/python3.4/test/test_importlib/import_/__pycache__/test___package__.cpython-34.pyc @@ -4089,8 +4122,11 @@ lib/python3.4/test/test_importlib/namespace_pkgs/top_level_portion1.zip lib/python3.4/test/test_importlib/regrtest.py lib/python3.4/test/test_importlib/source/__init__.py +lib/python3.4/test/test_importlib/source/__main__.py lib/python3.4/test/test_importlib/source/__pycache__/__init__.cpython-34.pyc lib/python3.4/test/test_importlib/source/__pycache__/__init__.cpython-34.pyo +lib/python3.4/test/test_importlib/source/__pycache__/__main__.cpython-34.pyc +lib/python3.4/test/test_importlib/source/__pycache__/__main__.cpython-34.pyo lib/python3.4/test/test_importlib/source/__pycache__/test_case_sensitivity.cpython-34.pyc lib/python3.4/test/test_importlib/source/__pycache__/test_case_sensitivity.cpython-34.pyo lib/python3.4/test/test_importlib/source/__pycache__/test_file_loader.cpython-34.pyc @@ -4304,6 +4340,7 @@ lib/python3.4/test/test_socketserver.py lib/python3.4/test/test_sort.py lib/python3.4/test/test_source_encoding.py +lib/python3.4/test/test_spwd.py lib/python3.4/test/test_sqlite.py lib/python3.4/test/test_ssl.py lib/python3.4/test/test_startfile.py @@ -4346,7 +4383,6 @@ lib/python3.4/test/test_timeout.py lib/python3.4/test/test_tk.py lib/python3.4/test/test_tokenize.py -lib/python3.4/test/test_tools.py lib/python3.4/test/test_trace.py lib/python3.4/test/test_traceback.py lib/python3.4/test/test_tracemalloc.py @@ -4490,6 +4526,8 @@ lib/python3.4/tkinter/test/test_tkinter/__pycache__/test_font.cpython-34.pyo lib/python3.4/tkinter/test/test_tkinter/__pycache__/test_geometry_managers.cpython-34.pyc lib/python3.4/tkinter/test/test_tkinter/__pycache__/test_geometry_managers.cpython-34.pyo +lib/python3.4/tkinter/test/test_tkinter/__pycache__/test_images.cpython-34.pyc +lib/python3.4/tkinter/test/test_tkinter/__pycache__/test_images.cpython-34.pyo lib/python3.4/tkinter/test/test_tkinter/__pycache__/test_loadtk.cpython-34.pyc lib/python3.4/tkinter/test/test_tkinter/__pycache__/test_loadtk.cpython-34.pyo lib/python3.4/tkinter/test/test_tkinter/__pycache__/test_misc.cpython-34.pyc @@ -4502,6 +4540,7 @@ lib/python3.4/tkinter/test/test_tkinter/__pycache__/test_widgets.cpython-34.pyo lib/python3.4/tkinter/test/test_tkinter/test_font.py lib/python3.4/tkinter/test/test_tkinter/test_geometry_managers.py +lib/python3.4/tkinter/test/test_tkinter/test_images.py lib/python3.4/tkinter/test/test_tkinter/test_loadtk.py lib/python3.4/tkinter/test/test_tkinter/test_misc.py lib/python3.4/tkinter/test/test_tkinter/test_text.py @@ -4574,13 +4613,10 @@ lib/python3.4/turtledemo/__pycache__/wikipedia.cpython-34.pyo lib/python3.4/turtledemo/__pycache__/yinyang.cpython-34.pyc lib/python3.4/turtledemo/__pycache__/yinyang.cpython-34.pyo -lib/python3.4/turtledemo/about_turtle.txt -lib/python3.4/turtledemo/about_turtledemo.txt lib/python3.4/turtledemo/bytedesign.py lib/python3.4/turtledemo/chaos.py lib/python3.4/turtledemo/clock.py lib/python3.4/turtledemo/colormixer.py -lib/python3.4/turtledemo/demohelp.txt lib/python3.4/turtledemo/forest.py lib/python3.4/turtledemo/fractalcurves.py lib/python3.4/turtledemo/lindenmayer.py --Apple-Mail=_79B8F64D-EB2C-40CD-A301-DB540BDD2774-- From owner-freebsd-python@FreeBSD.ORG Mon Oct 20 14:54:19 2014 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC98773E; Mon, 20 Oct 2014 14:54:19 +0000 (UTC) Received: from smtpout7.timeweb.ru (smtpout7.timeweb.ru [92.53.117.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62EBF657; Mon, 20 Oct 2014 14:54:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=amdmi3.ru; s=dkim; h=Date:Message-Id:Cc:From:Subject:To; bh=TkmSQ/9wBCOA7KaCHH0t+GZSojONmhazlA3cPnFn878=; b=htLQ9NFrBYKjWCmLHw1ssc6m8D0G9AUCd6rgrI3xtIxf+3/4gNwEDeZcZF0zOBwiiEg9pz7UCvWdoe3ZLx4YaWt8d/lFiyTKDp/3EYwom7ZmYjEBblxMS0MzV6KjzFvifA8mIqm7A/lrek4OptjdecgNEOetVPVnZ5rKzc7NE5U=; Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1XgELX-0002O7-Pt; Mon, 20 Oct 2014 18:54:07 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 35BE7327; Mon, 20 Oct 2014 18:54:07 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 2305F129F8; Mon, 20 Oct 2014 18:54:07 +0400 (MSK) To: FreeBSD-gnats-submit@FreeBSD.org Subject: [PATCH] devel/py-freebsd: fix build on HEAD From: Dmitry Marakasov X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20141020145407.2305F129F8@hades.panopticon> Date: Mon, 20 Oct 2014 18:54:07 +0400 (MSK) Cc: python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2014 14:54:19 -0000 >Submitter-Id: current-users >Originator: Dmitry Marakasov >Organization: >Confidential: no >Synopsis: [PATCH] devel/py-freebsd: fix build on HEAD >Severity: serious >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 10.1-BETA2 amd64 >Environment: System: FreeBSD hades.panopticon 10.1-BETA2 FreeBSD 10.1-BETA2 #0 r271992: Tue Sep 23 00:12:47 MSK >Description: - Fix build on HEAD: remove support for IFF_SMART flag which was removed - Switch to USES=python Port maintainer (python@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- py-freebsd-0.9.3.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 371272) +++ Makefile (working copy) @@ -14,9 +14,8 @@ MAINTAINER= python@FreeBSD.org COMMENT= Python interface to FreeBSD-specific system libraries -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include @@ -28,5 +27,9 @@ .if ${OSVERSION} >= 900030 EXTRA_PATCHES+= ${FILESDIR}/freebsd9_patch-src-sysctl.c .endif +.if ${OSVERSION} >= 1100002 +EXTRA_PATCHES+= ${FILESDIR}/freebsd11_patch-src__.const.def \ + ${FILESDIR}/freebsd11_patch-src__netstat.c +.endif .include Index: files/freebsd11_patch-src__.const.def =================================================================== --- files/freebsd11_patch-src__.const.def (revision 0) +++ files/freebsd11_patch-src__.const.def (working copy) @@ -0,0 +1,10 @@ +--- src/.const.def.orig 2005-12-09 06:40:56.000000000 +0300 ++++ src/.const.def 2014-10-18 00:25:38.000000000 +0400 +@@ -69,7 +69,6 @@ + SETDICT_INT(d, "IFF_DEBUG", IFF_DEBUG); + SETDICT_INT(d, "IFF_LOOPBACK", IFF_LOOPBACK); + SETDICT_INT(d, "IFF_POINTOPOINT", IFF_POINTOPOINT); +-SETDICT_INT(d, "IFF_SMART", IFF_SMART); + SETDICT_INT(d, "IFF_RUNNING", IFF_RUNNING); + SETDICT_INT(d, "IFF_NOARP", IFF_NOARP); + SETDICT_INT(d, "IFF_PROMISC", IFF_PROMISC); Property changes on: files/freebsd11_patch-src__.const.def ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: files/freebsd11_patch-src__netstat.c =================================================================== --- files/freebsd11_patch-src__netstat.c (revision 0) +++ files/freebsd11_patch-src__netstat.c (working copy) @@ -0,0 +1,10 @@ +--- src/netstat.c.orig 2005-05-08 10:55:00.000000000 +0400 ++++ src/netstat.c 2014-10-18 00:25:23.000000000 +0400 +@@ -40,7 +40,6 @@ + EXPCONST(int IFF_DEBUG) + EXPCONST(int IFF_LOOPBACK) + EXPCONST(int IFF_POINTOPOINT) +-EXPCONST(int IFF_SMART) + EXPCONST(int IFF_RUNNING) + EXPCONST(int IFF_NOARP) + EXPCONST(int IFF_PROMISC) Property changes on: files/freebsd11_patch-src__netstat.c ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property --- py-freebsd-0.9.3.patch ends here --- From owner-freebsd-python@FreeBSD.ORG Tue Oct 21 02:24:44 2014 Return-Path: Delivered-To: freebsd-python@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 C09C18C4 for ; Tue, 21 Oct 2014 02:24:44 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A7BA4D82 for ; Tue, 21 Oct 2014 02:24:44 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9L2OiQK079280 for ; Tue, 21 Oct 2014 02:24:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-python@FreeBSD.org Subject: [Bug 194504] New: [MAINTAINER] math/py-pandas: Update to 0.15.0 Date: Tue, 21 Oct 2014 02:24:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@saltant.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2014 02:24:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194504 Bug ID: 194504 Summary: [MAINTAINER] math/py-pandas: Update to 0.15.0 Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: Normal Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: john@saltant.com CC: freebsd-python@FreeBSD.org Created attachment 148525 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148525&action=edit Update math/py-pandas to 0.15.0 Change log ========== * Update to 0.15.0 * Offer experimental Openpyxl2 support * Depend on minimum versions of optional ports per upstream docs QA == $ portlint -AC math/py-pandas WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy. WARN: Consider to set DEVELOPER=yes in /etc/make.conf 0 fatal errors and 2 warnings found. Build logs and test output to follow. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-python@FreeBSD.ORG Tue Oct 21 02:27:08 2014 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C87E1949 for ; Tue, 21 Oct 2014 02:27:08 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF3A8DA6 for ; Tue, 21 Oct 2014 02:27:08 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9L2R8nm091281 for ; Tue, 21 Oct 2014 02:27:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-python@FreeBSD.org Subject: [Bug 194504] [MAINTAINER] math/py-pandas: Update to 0.15.0 Date: Tue, 21 Oct 2014 02:27:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@saltant.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2014 02:27:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194504 --- Comment #1 from John W. O'Brien --- Created attachment 148526 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148526&action=edit Build log with python 2.7 -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-python@FreeBSD.ORG Tue Oct 21 02:27:26 2014 Return-Path: Delivered-To: freebsd-python@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 5FA09999 for ; Tue, 21 Oct 2014 02:27:26 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46C14DAF for ; Tue, 21 Oct 2014 02:27:26 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9L2RQF1091488 for ; Tue, 21 Oct 2014 02:27:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-python@FreeBSD.org Subject: [Bug 194504] [MAINTAINER] math/py-pandas: Update to 0.15.0 Date: Tue, 21 Oct 2014 02:27:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@saltant.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2014 02:27:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194504 --- Comment #2 from John W. O'Brien --- Created attachment 148527 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148527&action=edit Build log with python 3.3 -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-python@FreeBSD.ORG Tue Oct 21 02:27:46 2014 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ECF479F0 for ; Tue, 21 Oct 2014 02:27:46 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3F30DB7 for ; Tue, 21 Oct 2014 02:27:46 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9L2RkPT091688 for ; Tue, 21 Oct 2014 02:27:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-python@FreeBSD.org Subject: [Bug 194504] [MAINTAINER] math/py-pandas: Update to 0.15.0 Date: Tue, 21 Oct 2014 02:27:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@saltant.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2014 02:27:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194504 --- Comment #3 from John W. O'Brien --- Created attachment 148528 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148528&action=edit Build log with python 3.4 -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-python@FreeBSD.ORG Tue Oct 21 03:00:30 2014 Return-Path: Delivered-To: freebsd-python@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 613A3E8E for ; Tue, 21 Oct 2014 03:00:30 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48389D2 for ; Tue, 21 Oct 2014 03:00:30 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9L30UAV002475 for ; Tue, 21 Oct 2014 03:00:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-python@FreeBSD.org Subject: [Bug 194504] [MAINTAINER] math/py-pandas: Update to 0.15.0 Date: Tue, 21 Oct 2014 03:00:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@saltant.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2014 03:00:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194504 --- Comment #4 from John W. O'Brien --- Created attachment 148529 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148529&action=edit Verbose nosetests output This test output log was generated from a build with all optional dependencies enabled (includeing textproc/openpyxl experimental support). There is one error and three test failures: ERROR: test_pytables_native_read (pandas.io.tests.test_pytables.TestHDFStore) This is an error we have inherited from devel/py-tables for some time [0] (I should really submit a PR). FAIL: test_append_with_timezones_dateutil (pandas.io.tests.test_pytables.TestHDFStore) FAIL: test_sub_isub (pandas.tseries.tests.test_base.TestDatetimeIndexOps) FAIL: test_convert_datetime_list (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) These three I will need to look into. [0] https://lists.freebsd.org/pipermail/freebsd-python/2013-July/005692.html -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-python@FreeBSD.ORG Wed Oct 22 04:48:58 2014 Return-Path: Delivered-To: python@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 79B0FF29 for ; Wed, 22 Oct 2014 04:48:58 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 616B160 for ; Wed, 22 Oct 2014 04:48:58 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9M4mwPi086289 for ; Wed, 22 Oct 2014 04:48:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 184954] Installation checks prevent multiple python ports being installed Date: Wed, 22 Oct 2014 04:48:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: FreeBSD@ShaneWare.Biz X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 04:48:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184954 --- Comment #4 from FreeBSD@ShaneWare.Biz --- This is mostly fixed, just a suggestion before closing. Manual building within ports works but building package repos with poudriere fails. Could man pages be added to the concurrent setting? Could pkg install incorporate the concurrent renaming steps? Using py-numpy as example. The Makefile creates an extra manpage to match the default py version. When building packages with poudriere if I use a set which specifies py27 as default and build py-numpy then build again with with py34 as default, the two packages can't be installed together. If pkg install performed the concurrent renaming step this could work. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Wed Oct 22 05:17:05 2014 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D332168 for ; Wed, 22 Oct 2014 05:17:05 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2539730A for ; Wed, 22 Oct 2014 05:17:05 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9M5H5rx023937 for ; Wed, 22 Oct 2014 05:17:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 184954] Installation checks prevent multiple python ports being installed Date: Wed, 22 Oct 2014 05:17:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mva@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 05:17:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184954 --- Comment #5 from Marcus von Appen --- The problem is not about man pages, but about how you configure poudriere. There can be only one default python version at any time, which is the reason, why your approach does not work. The correct approach for your poudriere environment would be to build packages with the proper default python version and to build packages with a user-supplied PYTHON_VERSION setting. If you build packages for python2.7 as default and python3.4 as default, packages may conflict, since e.g. the f2py binary would link to f2py-2.7 and also to f2py-3.4 (or the man page or the docs, etc.). A correct poudriere configuration could look like this: /usr/local/etc/poudriere.d/make.conf: PYTHON_DEFAULT_VERSION=python2.7 /usr/local/etc/poudriere.d/python34-make.conf: PYTHON_DEFAULT_VERSION=python2.7 PYTHON_VERSION=python3.4 To build packages for your default, just invoke poudriere without a set option, as you are used to. To build packages for python3.4, add the set option: poudriere ... -z python34 ... -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-python@FreeBSD.ORG Wed Oct 22 05:29:31 2014 Return-Path: Delivered-To: freebsd-python@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 8638A61D; Wed, 22 Oct 2014 05:29:31 +0000 (UTC) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44D70606; Wed, 22 Oct 2014 05:29:30 +0000 (UTC) Received: from [89.182.27.246] (helo=localhost) by smtprelay05.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1XgoUC-0003aG-3B; Wed, 22 Oct 2014 07:29:28 +0200 Date: Wed, 22 Oct 2014 07:29:27 +0200 From: Marcus von Appen To: Boris Samorodov Subject: Re: games/pysolfc, R370447: from PIL import _imagingtk, ImportError: cannot import name _imagingtk Message-ID: <20141022052927.GA1056@medusa.sysfault.org> Reply-To: Marcus von Appen Mail-Followup-To: Boris Samorodov , freebsd-python@freebsd.org, William Grzybowski References: <543F9C3F.4060501@passap.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <543F9C3F.4060501@passap.ru> User-Agent: Mutt/1.5.23 (2014-03-12) X-Df-Sender: MTEyNTc0Mg== Cc: William Grzybowski , freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 05:29:31 -0000 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On, Thu Oct 16, 2014, Boris Samorodov wrote: > Hi William, All, > > I'm using 10.1-RC2-amd64 and official packages. After recent "pkg > upgrade" I've got the error: > ----- > % pysolfc > [...] > File "/usr/local/lib/python2.7/site-packages/PIL/ImageTk.py", line > 180, in paste > from PIL import _imagingtk > ImportError: cannot import name _imagingtk > ----- > Did you build graphics/py-pillow yourself or install it from the official poudriere repositories? Its default is not to use Tkinter, which is likely to be the root problem for an official build. Cheers Marcus --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRHQLcACgkQi68/ErJnpkdUOQCdHtMI0cZy69sMYar3oYnCoJYs 4SQAn3ut7xU9XSLhCJq5gdVVi8PnlCtm =9q8h -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK-- From owner-freebsd-python@FreeBSD.ORG Wed Oct 22 07:24:06 2014 Return-Path: Delivered-To: freebsd-python@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 56CCB595; Wed, 22 Oct 2014 07:24:06 +0000 (UTC) Received: from forward3l.mail.yandex.net (forward3l.mail.yandex.net [84.201.143.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 12F1CEE; Wed, 22 Oct 2014 07:24:05 +0000 (UTC) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [37.140.190.27]) by forward3l.mail.yandex.net (Yandex) with ESMTP id 6DAF915011CB; Wed, 22 Oct 2014 11:23:55 +0400 (MSK) Received: from smtp2o.mail.yandex.net (localhost [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id C975536A321D; Wed, 22 Oct 2014 11:23:54 +0400 (MSK) Received: from 46.38.37.38.tel.ru (46.38.37.38.tel.ru [46.38.37.38]) by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 77hMT5WMBg-NsXmOMoa; Wed, 22 Oct 2014 11:23:54 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 48c6419f-8910-4cb7-98c9-2c6587afc1d5 Message-ID: <54475B89.7080800@passap.ru> Date: Wed, 22 Oct 2014 11:23:53 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: freebsd-python@freebsd.org, William Grzybowski , Marcus von Appen Subject: Re: games/pysolfc, R370447: from PIL import _imagingtk, ImportError: cannot import name _imagingtk References: <543F9C3F.4060501@passap.ru> <20141022052927.GA1056@medusa.sysfault.org> In-Reply-To: <20141022052927.GA1056@medusa.sysfault.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 07:24:06 -0000 22.10.2014 09:29, Marcus von Appen пишет: > On, Thu Oct 16, 2014, Boris Samorodov wrote: > >> Hi William, All, >> >> I'm using 10.1-RC2-amd64 and official packages. After recent "pkg >> upgrade" I've got the error: >> ----- >> % pysolfc >> [...] >> File "/usr/local/lib/python2.7/site-packages/PIL/ImageTk.py", line >> 180, in paste >> from PIL import _imagingtk >> ImportError: cannot import name _imagingtk >> ----- >> > > Did you build graphics/py-pillow yourself or install it from the > official poudriere repositories? Its default is not to use Tkinter, > which is likely to be the root problem for an official build. Marcus, thank you for your answer and analysis. You are quite right. Official package for games/pysolfc is broken after R370447. I replaced the official package of graphics/pillow with a package built with option "TKINTER=on". Now pysolfc works as expected. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-python@FreeBSD.ORG Thu Oct 23 11:15:31 2014 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 29D3DCFC for ; Thu, 23 Oct 2014 11:15:31 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 10CF63D7 for ; Thu, 23 Oct 2014 11:15:31 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9NBFU6P021895 for ; Thu, 23 Oct 2014 11:15:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 184954] Installation checks prevent multiple python ports being installed Date: Thu, 23 Oct 2014 11:15:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: FreeBSD@ShaneWare.Biz X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2014 11:15:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184954 FreeBSD@ShaneWare.Biz changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Issue Resolved Resolution|--- |FIXED --- Comment #6 from FreeBSD@ShaneWare.Biz --- OK I shoulda thought of setting PYTHON_VERSION But man pages could still be added to concurrent adjustments instead of each port manually renaming them. -- You are receiving this mail because: You are the assignee for the bug.