pkgsrc-WIP-changes archive

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

lldb-git: mark as for python-2.7 only.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed May 4 14:33:16 2016 +0200
Changeset:	f30b32b8df4af788333602815c5af7025764b169

Modified Files:
	lldb-git/Makefile

Log Message:
lldb-git: mark as for python-2.7 only.

Build with 3.5 gives

[ 90%] Building CXX object source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o
.../work/build/scripts/LLDBWrapPython.cpp: In function 'PyTypeObject* _PySwigObject_type()':
.../work/build/scripts/LLDBWrapPython.cpp:1748:3: error: invalid conversion from 'unaryfunc {aka _object* (*)(_object*)}' to 'void*' [-fpermissive]
   };
   ^
.../work/build/scripts/LLDBWrapPython.cpp:1773:3: error: 'cmpfunc' was not declared in this scope
  (cmpfunc)SwigPyObject_compare,     /* tp_compare */
   ^
.../work/build/scripts/LLDBWrapPython.cpp:1773:11: error: expected '}' before 'SwigPyObject_compare'
  (cmpfunc)SwigPyObject_compare,     /* tp_compare */
           ^
.../work/build/scripts/LLDBWrapPython.cpp:1773:11: error: expected ',' or ';' before 'SwigPyObject_compare'
.../work/build/scripts/LLDBWrapPython.cpp:1819:25: error: 'tmp' was not declared in this scope
     swigpyobject_type = tmp;
                         ^
.../work/build/scripts/LLDBWrapPython.cpp: At global scope:
.../work/build/scripts/LLDBWrapPython.cpp:1826:3: error: expected unqualified-id before 'return'
   return &swigpyobject_type;
   ^
.../work/build/scripts/LLDBWrapPython.cpp: In function 'PyTypeObject* _PySwigPacked_type()':
.../work/build/scripts/LLDBWrapPython.cpp:1944:3: error: 'cmpfunc' was not declared in this scope
  (cmpfunc)SwigPyPacked_compare,     /* tp_compare */
   ^
.../work/build/scripts/LLDBWrapPython.cpp:1944:11: error: expected '}' before 'SwigPyPacked_compare'
  (cmpfunc)SwigPyPacked_compare,     /* tp_compare */
           ^
.../work/build/scripts/LLDBWrapPython.cpp:1944:11: error: expected ',' or ';' before 'SwigPyPacked_compare'
.../work/build/scripts/LLDBWrapPython.cpp:1990:25: error: 'tmp' was not declared in this scope
     swigpypacked_type = tmp;
                         ^
.../work/build/scripts/LLDBWrapPython.cpp: At global scope:
.../work/build/scripts/LLDBWrapPython.cpp:1997:3: error: expected unqualified-id before 'return'
   return &swigpypacked_type;
   ^
.../work/build/scripts/LLDBWrapPython.cpp:1998:1: error: expected declaration before '}' token
 }
 ^
cc1plus: warning: unrecognized command line option '-Wno-vla-extension'
cc1plus: warning: unrecognized command line option '-Wno-deprecated-register'
--- source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o ---
*** [source/API/CMakeFiles/liblldb.dir/__/__/scripts/LLDBWrapPython.cpp.o] Error code 1

make[2]: stopped in .../work/build
1 error

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f30b32b8df4af788333602815c5af7025764b169

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lldb-git/Makefile | 1 +
 1 file changed, 1 insertion(+)

diffs:
diff --git a/lldb-git/Makefile b/lldb-git/Makefile
index 8b81039..c70ce98 100644
--- a/lldb-git/Makefile
+++ b/lldb-git/Makefile
@@ -126,6 +126,7 @@ DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-git
 DEPENDS+=	clang-${PKGVERSION_NOREV}{,nb*}:../../wip/clang-git
 .include "../../wip/clang-git/buildlink3.mk"
 .include "../../wip/mk/git-package.mk"
+PYTHON_VERSIONS_ACCEPTED=	27
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../lang/python/extension.mk"
 .include "../../lang/python/pyversion.mk"


Home | Main Index | Thread Index | Old Index