Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2015 03:31:56 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393217 - in head/lang: python27 python32 python33 python34
Message-ID:  <201507300331.t6U3Vu2k098868@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Thu Jul 30 03:31:55 2015
New Revision: 393217
URL: https://svnweb.freebsd.org/changeset/ports/393217

Log:
  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
  Reported by:	marino
  MFH:		2015Q3

Modified:
  head/lang/python27/Makefile
  head/lang/python32/Makefile
  head/lang/python33/Makefile
  head/lang/python34/Makefile

Modified: head/lang/python27/Makefile
==============================================================================
--- head/lang/python27/Makefile	Thu Jul 30 02:46:22 2015	(r393216)
+++ head/lang/python27/Makefile	Thu Jul 30 03:31:55 2015	(r393217)
@@ -27,6 +27,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: head/lang/python32/Makefile
==============================================================================
--- head/lang/python32/Makefile	Thu Jul 30 02:46:22 2015	(r393216)
+++ head/lang/python32/Makefile	Thu Jul 30 03:31:55 2015	(r393217)
@@ -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: head/lang/python33/Makefile
==============================================================================
--- head/lang/python33/Makefile	Thu Jul 30 02:46:22 2015	(r393216)
+++ head/lang/python33/Makefile	Thu Jul 30 03:31:55 2015	(r393217)
@@ -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: head/lang/python34/Makefile
==============================================================================
--- head/lang/python34/Makefile	Thu Jul 30 02:46:22 2015	(r393216)
+++ head/lang/python34/Makefile	Thu Jul 30 03:31:55 2015	(r393217)
@@ -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?201507300331.t6U3Vu2k098868>