Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2015 13:48:25 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r393590 - in branches/2015Q3/lang: python27 python32 python33 python34
Message-ID:  <201508051348.t75DmPYG042938@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Wed Aug  5 13:48:24 2015
New Revision: 393590
URL: https://svnweb.freebsd.org/changeset/ports/393590

Log:
  MFH: r393217
  
  lang/python{27,32,33,34}: Mark MAKE_JOBS_UNSAFE
  
  Parser/pgen code intermittently and non-deterministically fails
  at build time causing errors including, among others:
  
   * Parser/pgen.o: file not recognized: File truncated
   * pgenmain.c:(.text+0x244): undefined reference to `_Py_pgen'
  
  This is apparently due to incorrect uses of recursive make [1] which
  was fixed in the upstream Python 'default' (3.5) branch [2].
  
  This change marks all Python port versions as MAKE_JOBS_UNSANFE until
  the the original changeset [1] and the resulting regression in
  cross-builds [3], whos fix is still pending, can be backported.
  
  [1] https://bugs.python.org/issue22359
  [2] https://hg.python.org/cpython/rev/c2a53aa27cad
  [3] https://bugs.python.org/issue22625
  
  PR:		200622
  
  Approved by:	portmgr (feld)

Modified:
  branches/2015Q3/lang/python27/Makefile
  branches/2015Q3/lang/python32/Makefile
  branches/2015Q3/lang/python33/Makefile
  branches/2015Q3/lang/python34/Makefile
Directory Properties:
  branches/2015Q3/   (props changed)

Modified: branches/2015Q3/lang/python27/Makefile
==============================================================================
--- branches/2015Q3/lang/python27/Makefile	Wed Aug  5 13:47:41 2015	(r393589)
+++ branches/2015Q3/lang/python27/Makefile	Wed Aug  5 13:48:24 2015	(r393590)
@@ -28,6 +28,7 @@ CONFIGURE_ENV+=		ac_cv_opt_olimit_ok=no 
 INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
 MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
 MAKE_ARGS+=		LIBPC="${PREFIX}/libdata/pkgconfig"			# Until pathfix gets support for files other than Makefile.in
+MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
 
 PLIST_SUB=		ABI=${ABIFLAGS} \
 			PORTVERSION=${PORTVERSION} \

Modified: branches/2015Q3/lang/python32/Makefile
==============================================================================
--- branches/2015Q3/lang/python32/Makefile	Wed Aug  5 13:47:41 2015	(r393589)
+++ branches/2015Q3/lang/python32/Makefile	Wed Aug  5 13:48:24 2015	(r393590)
@@ -28,6 +28,7 @@ CONFIGURE_ENV+=		OPT=""							# Null out
 INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
 MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
 MAKE_ARGS+=		LIBPC="${PREFIX}/libdata/pkgconfig"			# Until pathfix gets support for files other than Makefile.in
+MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
 
 PLIST_SUB=		ABI=${ABIFLAGS} \
 			OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}		# For plat-freebsd* in pkg-plist. http://bugs.python.org/issue19554

Modified: branches/2015Q3/lang/python33/Makefile
==============================================================================
--- branches/2015Q3/lang/python33/Makefile	Wed Aug  5 13:47:41 2015	(r393589)
+++ branches/2015Q3/lang/python33/Makefile	Wed Aug  5 13:48:24 2015	(r393590)
@@ -28,6 +28,7 @@ CONFIGURE_ENV+=		OPT=""							# Null out
 INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
 MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
 MAKE_ARGS+=		LIBPC="${PREFIX}/libdata/pkgconfig"			# Until pathfix gets support for files other than Makefile.in
+MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
 
 PLIST_SUB=		ABI=${ABIFLAGS} \
 			OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}		# For plat-freebsd* in pkg-plist. http://bugs.python.org/issue19554

Modified: branches/2015Q3/lang/python34/Makefile
==============================================================================
--- branches/2015Q3/lang/python34/Makefile	Wed Aug  5 13:47:41 2015	(r393589)
+++ branches/2015Q3/lang/python34/Makefile	Wed Aug  5 13:48:24 2015	(r393590)
@@ -30,6 +30,7 @@ CONFIGURE_ENV+=		OPT="" DISABLED_EXTENSI
 INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
 MAKE_ARGS+=		INSTALL_SHARED="${INSTALL_LIB}"				# Strip shared library
 MAKE_ARGS+=		LIBPC="${PREFIX}/libdata/pkgconfig"			# Until pathfix gets support for files other than Makefile.in
+MAKE_JOBS_UNSAFE=	yes							# Parser/pgen build bug. See Issue: 200622, 201974
 
 PLIST_SUB=		ABI=${ABIFLAGS} \
 			OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}		# For plat-freebsd* in pkg-plist. http://bugs.python.org/issue19554



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