Bug 183884 - lang/python27 2.7.5_3 not update
Summary: lang/python27 2.7.5_3 not update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-12 08:50 UTC by vsityz
Modified: 2013-11-13 09:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vsityz 2013-11-12 08:50:00 UTC
===>>> 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
Comment 1 Robert Kruus 2013-11-12 17:34:33 UTC
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
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2013-11-13 03:48:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->python

Fix synopsis and assign.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2013-11-13 03:48:41 UTC
Responsible Changed
From-To: python->freebsd-python

Sigh.  Canonicalize assignment.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-11-13 09:42:12 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"
Comment 5 William Grzybowski freebsd_committer freebsd_triage 2013-11-13 09:42:25 UTC
Responsible Changed
From-To: freebsd-python->wg

I'll take it.
Comment 6 William Grzybowski freebsd_committer freebsd_triage 2013-11-13 09:42:39 UTC
State Changed
From-To: open->closed

Fixed, thanks.