From nobody@FreeBSD.org  Tue Nov 12 08:44:36 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 5D1BBE26
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Nov 2013 08:44:36 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 4C8E62A09
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Nov 2013 08:44:36 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAC8iaFu077619
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 12 Nov 2013 08:44:36 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAC8iaZE077615;
	Tue, 12 Nov 2013 08:44:36 GMT
	(envelope-from nobody)
Message-Id: <201311120844.rAC8iaZE077615@oldred.freebsd.org>
Date: Tue, 12 Nov 2013 08:44:36 GMT
From: Alexander Panyushkin <vsityz@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: python27-2.7.5_3 not update
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183884
>Category:       ports
>Synopsis:       lang/python27 2.7.5_3 not update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 12 08:50:00 UTC 2013
>Closed-Date:    Wed Nov 13 09:42:39 UTC 2013
>Last-Modified:  Wed Nov 13 09:50:00 UTC 2013
>Originator:     Alexander Panyushkin
>Release:        FreeBSD 10.0-BETA3 #0 r257626: amd64
>Organization:
none
>Environment:
FreeBSD 10.0-BETA3 #0 r257626: Mon Nov  4 13:48:18 EET 2013     root:/usr/obj/usr/src/sys/Kernel  amd64
>Description:
===>>> python-2.7_1,2 1/1 >> python2-2_1 >> python27-2.7.5_3 (2/2)

===>  Cleaning for python27-2.7.5_4
===>  Found saved configuration for python27-2.7.5_4
===>   python27-2.7.5_4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by python27-2.7.5_4 for building
===>  Extracting for python27-2.7.5_4
=> SHA256 Checksum OK for python/Python-2.7.5.tar.xz.
/bin/chmod -R og=u-w /usr/ports/lang/python27/work/Python-2.7.5/Tools /usr/ports/lang/python27/work/Python-2.7.5/Demo
===>  Patching for python27-2.7.5_4
/bin/cp -r /usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd8  /usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd9
/bin/cp -r /usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd8  /usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd10
/bin/cp -r /usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd8  /usr/ports/lang/python27/work/Python-2.7.5/Lib/plat-freebsd11
/bin/mkdir -p /usr/ports/lang/python27/work/Python-2.7.5/portbld.static /usr/ports/lang/python27/work/Python-2.7.5/portbld.shared/Modules
/bin/ln /usr/ports/lang/python27/work/Python-2.7.5/Lib/smtpd.py /usr/ports/lang/python27/work/Python-2.7.5/Tools/scripts/
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.7,'  /usr/ports/lang/python27/work/Python-2.7.5/Tools/scripts/2to3  > /usr/ports/lang/python27/work/`echo 2to3 | /usr/bin/sed -E -e 's,smtpd,smtpd2.7,' -e 's,2to3,2to3-2.7,' -e 's,(idle|pydoc|python-shared|python),\12.7,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.7,'  /usr/ports/lang/python27/work/Python-2.7.5/Tools/scripts/idle  > /usr/ports/lang/python27/work/`echo idle | /usr/bin/sed -E -e 's,smtpd,smtpd2.7,' -e 's,2to3,2to3-2.7,' -e 's,(idle|pydoc|python-shared|python),\12.7,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.7,'  /usr/ports/lang/python27/work/Python-2.7.5/Tools/scripts/pydoc  > /usr/ports/lang/python27/work/`echo pydoc | /usr/bin/sed -E -e 's,smtpd,smtpd2.7,' -e 's,2to3,2to3-2.7,' -e 's,(idle|pydoc|python-shared|python),\12.7,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.7,'  /usr/ports/lang/python27/work/Python-2.7.5/Tools/scripts/smtpd.py  > /usr/ports/lang/python27/work/`echo smtpd.py | /usr/bin/sed -E -e 's,smtpd,smtpd2.7,' -e 's,2to3,2to3-2.7,' -e 's,(idle|pydoc|python-shared|python),\12.7,'`
/usr/bin/sed -i.bak -e  's,/usr/doc/python-docs-,/usr/local/share/doc/python,g'  /usr/ports/lang/python27/work/Python-2.7.5/Lib/pydoc.py
/usr/bin/sed -i.bak -e  's|^\( *prefixes = .*\)\]$|\1, "/usr/local"]|g'  /usr/ports/lang/python27/work/Python-2.7.5/Lib/site.py
/usr/bin/sed -i.bak -e  's|^	\(..ASDLGEN.*\)$|	true|g;  s|[(]LIBDIR[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'  /usr/ports/lang/python27/work/Python-2.7.5/Makefile.pre.in
/usr/bin/sed -i.bak -e  's|*\(..INSTALL_SCRIPT.*\)python-config$|#port \1|'  /usr/ports/lang/python27/work/Python-2.7.5/Makefile.pre.in
/usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python2.7|'  -e 's|libs = getvar|libs = getvar("LDFLAGS").split() + getvar|'  /usr/ports/lang/python27/work/Python-2.7.5/Misc/python-config.in > /usr/ports/lang/python27/work/python2.7-config
/usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python-shared2.7|'  -e 's|libs = getvar|libs = getvar("LDFLAGS").split() + getvar|'  /usr/ports/lang/python27/work/Python-2.7.5/Misc/python-config.in > /usr/ports/lang/python27/work/python-shared2.7-config
===>  Applying FreeBSD patches for python27-2.7.5_4
1 out of 1 hunks failed--saving rejects to setup.py.rej
*** Error code 1

>How-To-Repeat:
portmaster python 
>Fix:


>Release-Note:
>Audit-Trail:

From: "Kruus, Robert ENV" <Robert.Kruus@gov.sk.ca>
To: "'bug-followup@FreeBSD.org'" <bug-followup@FreeBSD.org>,
	"'vsityz@gmail.com'" <vsityz@gmail.com>
Cc:  
Subject: Re: ports/183884: python27-2.7.5_3 not update
Date: Tue, 12 Nov 2013 17:34:33 +0000

 Just some more info -- it's the extra-patch-setup.py that is failing to app=
 ly if you have MSEM selected in the config.
 
 Robert Kruus
 Tel: 306.953.3467=20
 Fax: 306.953.3447=20
 robert.kruus@gov.sk.ca=20
 
Responsible-Changed-From-To: freebsd-ports-bugs->python 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Nov 13 03:48:07 UTC 2013 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183884 
Responsible-Changed-From-To: python->freebsd-python 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Nov 13 03:48:41 UTC 2013 
Responsible-Changed-Why:  
Sigh.  Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183884 
Responsible-Changed-From-To: freebsd-python->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Wed Nov 13 09:42:25 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183884 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Wed Nov 13 09:42:39 UTC 2013 
State-Changed-Why:  
Fixed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183884 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183884: commit references a PR
Date: Wed, 13 Nov 2013 09:42:12 +0000 (UTC)

 Author: wg
 Date: Wed Nov 13 09:42:04 2013
 New Revision: 333665
 URL: http://svnweb.freebsd.org/changeset/ports/333665
 
 Log:
   lang/python27: fix patch for SEM option
   
   PR:		ports/183884
 
 Modified:
   head/lang/python27/files/extra-patch-setup.py
 
 Modified: head/lang/python27/files/extra-patch-setup.py
 ==============================================================================
 --- head/lang/python27/files/extra-patch-setup.py	Wed Nov 13 08:47:51 2013	(r333664)
 +++ head/lang/python27/files/extra-patch-setup.py	Wed Nov 13 09:42:04 2013	(r333665)
 @@ -4,7 +4,7 @@
               macros = dict()
               libraries = []
   
 --        elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10'):
 +-        elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6', 'freebsd7', 'freebsd8', 'freebsd9', 'freebsd10', 'freebsd11'):
  +        elif host_platform in ('freebsd4', 'freebsd5', 'freebsd6'):
               # FreeBSD's P1003.1b semaphore support is very experimental
               # and has many known problems. (as of June 2008)
 @@ -16,7 +16,7 @@
  +                )
  +            libraries = []
  +
 -+        elif host_platform in ('freebsd7', 'freebsd8', 'freebsd9', 'freebsd10'):
 ++        elif host_platform in ('freebsd7', 'freebsd8', 'freebsd9', 'freebsd10', 'freebsd11'):
  +            macros = dict(                  # FreeBSD 7+
  +                HAVE_SEM_OPEN=1,
  +                HAVE_SEM_TIMEDWAIT=1,
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
