pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils xen build with python 3.3 fails with:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d839e61c1eaa
branches:  trunk
changeset: 645359:d839e61c1eaa
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Tue Jan 27 14:52:56 2015 +0000

description:
xen build with python 3.3 fails with:

xenkernel45:
  File "/tmp/pkgsrc/sysutils/xenkernel45/work.x86_64/xen-4.5.0/xen/tools/compat-
build-source.py", line 30
    print line.rstrip()
             ^
SyntaxError: invalid syntax

xentools45:
  File "mkchecker.py", line 40, in <module>
    if compat_arches.has_key(a):
AttributeError: 'dict' object has no attribute 'has_key'
...

XXX Assume the same is true for python 3.4 and mark as not for 33 34

diffstat:

 sysutils/xenkernel45/Makefile |  5 +++--
 sysutils/xentools45/Makefile  |  4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r f86821b8935b -r d839e61c1eaa sysutils/xenkernel45/Makefile
--- a/sysutils/xenkernel45/Makefile     Tue Jan 27 14:04:34 2015 +0000
+++ b/sysutils/xenkernel45/Makefile     Tue Jan 27 14:52:56 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/01/20 16:42:13 bouyer Exp $
+# $NetBSD: Makefile,v 1.2 2015/01/27 14:52:56 prlw1 Exp $
 
 VERSION=       4.5.0
 DISTNAME=      xen-${VERSION}
@@ -19,7 +19,8 @@
 NO_CONFIGURE=  yes
 USE_TOOLS+=    gmake
 
-PYTHON_FOR_BUILD_ONLY= YES
+PYTHON_FOR_BUILD_ONLY=         YES
+PYTHON_VERSIONS_INCOMPATIBLE=  33 34
 
 MAKE_ENV+=     OCAML_TOOLS=no
 
diff -r f86821b8935b -r d839e61c1eaa sysutils/xentools45/Makefile
--- a/sysutils/xentools45/Makefile      Tue Jan 27 14:04:34 2015 +0000
+++ b/sysutils/xentools45/Makefile      Tue Jan 27 14:52:56 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2015/01/21 08:53:21 bouyer Exp $
+# $NetBSD: Makefile,v 1.3 2015/01/27 14:52:56 prlw1 Exp $
 
 VERSION=       4.5.0
 VERSION_IPXE=  9a93db3f0947484e30e753bbd61a10b17336e20e
@@ -61,6 +61,8 @@
 #MAKE_ENV+=            INSTALL_DATA=${BSD_INSTALL_DATA}
 #MAKE_ENV+=            INSTALL_PROG=${BSD_INSTALL_PROGRAM}
 
+PYTHON_VERSIONS_INCOMPATIBLE=  33 34
+
 PY_PATCHPLIST=         yes
 REPLACE_PYTHON+=       misc/sbdf2devicepath misc/xen-bugtool
 REPLACE_PYTHON+=       misc/xen-ringwatch misc/xencons



Home | Main Index | Thread Index | Old Index