Skip to content

Instantly share code, notes, and snippets.

@harobed
Created March 8, 2013 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harobed/efac6dd314a5bc53f94e to your computer and use it in GitHub Desktop.
Save harobed/efac6dd314a5bc53f94e to your computer and use it in GitHub Desktop.
$ python setup.py bdist_egg
Initializing submodules for PySide version 1.1.3dev
Submodule 'sources/pyside' (https://git.gitorious.org/pyside/pyside.git) registered for path 'sources/pyside'
Submodule 'sources/pyside-examples' (https://git.gitorious.org/pyside/pyside-examples.git) registered for path 'sources/pyside-examples'
Submodule 'sources/pyside-tools' (https://git.gitorious.org/pyside/pyside-tools.git) registered for path 'sources/pyside-tools'
Submodule 'sources/shiboken' (https://git.gitorious.org/pyside/shiboken.git) registered for path 'sources/shiboken'
Cloning into 'sources/pyside'...
remote: Counting objects: 12891, done
remote: Finding sources: 100% (12891/12891)
remote: Compressing objects: 100% (2486/2486)
remote: Compressing objects: 100% (2481/2481)
Receiving objects: 100% (12891/12891), 5.66 MiB | 702 KiB/s, done.
Resolving deltas: 100% (8938/8938), done.
Submodule path 'sources/pyside': checked out 'c00a1f7ffd313d7e0363a1d386d2bd6e7db3feb6'
Cloning into 'sources/pyside-examples'...
remote: Counting objects: 2934, done
remote: Finding sources: 100% (2934/2934)
remote: Compressing objects: 100% (1194/1194)
remote: Compressing objects: 100% (1192/1192)
Receiving objects: 100% (2934/2934), 9.39 MiB | 513 KiB/s, done.
Resolving deltas: 100% (1684/1684), done.
Submodule path 'sources/pyside-examples': checked out '060dca8e4b82f301dfb33a7182767eaf8ad3d024'
Cloning into 'sources/pyside-tools'...
remote: Counting objects: 497, done
remote: Finding sources: 100% (497/497)
remote: Compressing objects: 100% (392/392)
remote: Compressing objects: 100% (390/390)
Receiving objects: 100% (497/497), 169.02 KiB, done.
Resolving deltas: 100% (295/295), done.
Submodule path 'sources/pyside-tools': checked out '92062bcf842814328a9f4a89f10c115bfcace0b3'
Cloning into 'sources/shiboken'...
remote: Counting objects: 12583, done
remote: Finding sources: 100% (12583/12583)
remote: Compressing objects: 100% (817/817)
remote: Compressing objects: 100% (814/814)
Receiving objects: 100% (12583/12583), 3.49 MiB | 705 KiB/s, done.
Resolving deltas: 100% (9631/9631), done.
Submodule path 'sources/shiboken': checked out '7e5c76981d6bcb04b72a407a6bc4076170ee414e'
Entering 'sources/pyside'
From https://git.gitorious.org/pyside/pyside
* branch master -> FETCH_HEAD
Updating c00a1f7..d1fe29f
Fast-forward
CMakeLists.txt | 2 +-
PySide/QtCore/typesystem_core_common.xml | 10 ++++++----
PySide/QtGui/typesystem_gui_common.xml | 6 ++++++
libpyside/pyside.cpp | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
libpyside/pyside.h | 2 ++
libpyside/signalmanager.cpp | 38 +++++++++++++++++++++++++-------------
tests/CMakeLists.txt | 6 +++---
tests/QtGui/qstandarditemmodel_test.py | 8 ++++++++
tests/signals/disconnect_test.py | 25 +++++++++++++++++++++++++
9 files changed, 128 insertions(+), 21 deletions(-)
Entering 'sources/pyside-examples'
From https://git.gitorious.org/pyside/pyside-examples
* branch master -> FETCH_HEAD
Already up-to-date.
Entering 'sources/pyside-tools'
From https://git.gitorious.org/pyside/pyside-tools
* branch master -> FETCH_HEAD
Already up-to-date.
Entering 'sources/shiboken'
From https://git.gitorious.org/pyside/shiboken
* branch master -> FETCH_HEAD
Updating 7e5c769..00d8086
Fast-forward
ApiExtractor/tests/testenum.cpp | 33 +++++++++++++++++++++++++++++++++
ApiExtractor/tests/testenum.h | 1 +
CMakeLists.txt | 4 ++--
cmake/Modules/FindPython3Libs.cmake | 2 +-
generator/shiboken/cppgenerator.cpp | 27 ++++++++++++++++-----------
generator/shiboken/shibokengenerator.cpp | 2 +-
libshiboken/CMakeLists.txt | 1 +
libshiboken/basewrapper.cpp | 25 +++++++++++++++----------
libshiboken/bindingmanager.cpp | 9 ++++++++-
libshiboken/debugfreehook.cpp | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
libshiboken/debugfreehook.h | 44 ++++++++++++++++++++++++++++++++++++++++++++
tests/libsample/samplenamespace.h | 10 ++++++++++
tests/otherbinding/objtypehashes_test.py | 10 +++++++++-
tests/samplebinding/namespace_test.py | 4 ++++
tests/samplebinding/typesystem_sample.xml | 2 ++
tests/shibokenmodule/module_test.py | 6 ++++++
16 files changed, 330 insertions(+), 27 deletions(-)
create mode 100644 libshiboken/debugfreehook.cpp
create mode 100644 libshiboken/debugfreehook.h
Checking out submodule shiboken to branch master
Switched to branch 'master'
Checking out submodule pyside to branch master
Switched to branch 'master'
Checking out submodule pyside-tools to branch master
Switched to branch 'master'
Checking out submodule pyside-examples to branch master
Switched to branch 'master'
running bdist_egg
running build
==============================
Package version: 1.1.3dev
Build type: Release
---
Make path: /usr/bin/make
Make generator: Unix Makefiles
---
Script directory: /Users/stephaneklein/tests/pyside-setup
Sources directory: /Users/stephaneklein/tests/pyside-setup/sources
Build directory: /Users/stephaneklein/tests/pyside-setup/pyside_build/py2.7-qt4.8.4-64bit-release
Install directory: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release
---
Python executable: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Python includes: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7
Python library: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib
---
Qt qmake: /usr/local/bin/qmake
Qt version: 4.8.4
Qt bins: /usr/local/Cellar/qt/4.8.4/bin
Qt plugins: /usr/local/Cellar/qt/4.8.4/plugins
---
OpenSSL libs: None
==============================
Creating build folder /Users/stephaneklein/tests/pyside-setup/pyside_build/py2.7-qt4.8.4-64bit-release...
Creating install folder /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release...
Building module shiboken...
Creating module build folder /Users/stephaneklein/tests/pyside-setup/pyside_build/py2.7-qt4.8.4-64bit-release/shiboken...
Configuring module shiboken (/Users/stephaneklein/tests/pyside-setup/sources/shiboken)...
/usr/local/bin/cmake -G Unix Makefiles -DQT_QMAKE_EXECUTABLE=/usr/local/bin/qmake -DBUILD_TESTS=False -DDISABLE_DOCSTRINGS=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release /Users/stephaneklein/tests/pyside-setup/sources/shiboken -DPYTHON_EXECUTABLE=/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=yes
-- The C compiler identification is Clang 3.1.0
-- The CXX compiler identification is Clang 3.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.4", minimum required is "4.5.0")
-- Found PythonLibs: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib (found suitable version "2.7.3", minimum required is "2.6")
-- !!! The generated bindings will be installed on /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/lib/python2.7/site-packages, is it right!?
-- Found LibXml2: /usr/lib/libxml2.dylib (found suitable version "2.7.3", minimum required is "2.6.32")
-- Found LibXslt: /usr/lib/libxslt.dylib (found suitable version "1.1.24", minimum required is "1.1.19")
-- sphinx-build - not found! doc target disabled
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/stephaneklein/tests/pyside-setup/pyside_build/py2.7-qt4.8.4-64bit-release/shiboken
Compiling module shiboken...
/usr/bin/make
[ 1%] Generating qrc_generator.cxx
Scanning dependencies of target apiextractor
[ 3%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor.cpp.o
[ 5%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetabuilder.cpp.o
[ 7%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/abstractmetalang.cpp.o
[ 9%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/asttoxml.cpp.o
[ 11%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/fileout.cpp.o
[ 12%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/graph.cpp.o
[ 14%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/reporthandler.cpp.o
[ 16%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/typeparser.cpp.o
[ 18%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/typesystem.cpp.o
[ 20%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/include.cpp.o
[ 22%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/typedatabase.cpp.o
[ 24%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/ast.cpp.o
[ 25%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/binder.cpp.o
[ 27%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/class_compiler.cpp.o
[ 29%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/codemodel.cpp.o
[ 31%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/codemodel_finder.cpp.o
[ 33%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/compiler_utils.cpp.o
[ 35%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/control.cpp.o
^[[6~[ 37%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/declarator_compiler.cpp.o
^[[5~/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/declarator_compiler.cpp:109:2: warning: #warning "ptr to mem -- not implemented" [-W#warnings]
#warning "ptr to mem -- not implemented"
^
1 warning generated.
[ 38%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/default_visitor.cpp.o
[ 40%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/dumptree.cpp.o
[ 42%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/lexer.cpp.o
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/lexer.cpp:688:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result]
errmsg.arg(int(*cursor));
^~~~~~~~~~
1 warning generated.
[ 44%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/list.cpp.o
[ 46%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/name_compiler.cpp.o
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/name_compiler.cpp:65:2: warning: #warning "NameCompiler::visitUnqualifiedName() -- implement me" [-W#warnings]
#warning "NameCompiler::visitUnqualifiedName() -- implement me"
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/name_compiler.cpp:75:2: warning: #warning "don't use an hardcoded string as cast' name" [-W#warnings]
#warning "don't use an hardcoded string as cast' name"
^
2 warnings generated.
[ 48%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/parser.cpp.o
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/parser.cpp:733:2: warning: #warning "implement me" [-W#warnings]
#warning "implement me"
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/parser.cpp:2111:2: warning: #warning "implement me" [-W#warnings]
#warning "implement me"
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/parser.cpp:2131:2: warning: #warning "implemente me (AST)" [-W#warnings]
#warning "implemente me (AST)"
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/parser.cpp:2288:2: warning: #warning "implement me" [-W#warnings]
#warning "implement me"
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/parser.cpp:2296:2: warning: #warning "implement me" [-W#warnings]
#warning "implement me"
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/parser.cpp:2891:2: warning: #warning "mark the ast as constant" [-W#warnings]
#warning "mark the ast as constant"
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/parser.cpp:2981:2: warning: #warning "Parser::skipFunctionBody() -- implement me" [-W#warnings]
#warning "Parser::skipFunctionBody() -- implement me"
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/ApiExtractor/parser/parser.cpp:3010:2: warning: #warning "implement me" [-W#warnings]
#warning "implement me"
^
8 warnings generated.
[ 50%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/smallobject.cpp.o
[ 51%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/tokens.cpp.o
[ 53%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/type_compiler.cpp.o
[ 55%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/visitor.cpp.o
[ 57%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/rpp/builtin-macros.cpp.o
[ 59%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/parser/rpp/preprocessor.cpp.o
[ 61%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/qrc_generator.cxx.o
Linking CXX static library libapiextractor.a
/usr/bin/ranlib: file: libapiextractor.a(list.cpp.o) has no symbols
/usr/bin/ranlib: file: libapiextractor.a(smallobject.cpp.o) has no symbols
/usr/bin/ranlib: file: libapiextractor.a(builtin-macros.cpp.o) has no symbols
/usr/bin/ranlib: file: libapiextractor.a(list.cpp.o) has no symbols
/usr/bin/ranlib: file: libapiextractor.a(smallobject.cpp.o) has no symbols
/usr/bin/ranlib: file: libapiextractor.a(builtin-macros.cpp.o) has no symbols
[ 61%] Built target apiextractor
Scanning dependencies of target libshiboken
[ 62%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/basewrapper.cpp.o
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/basewrapper.cpp:27:
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: warning: class 'SbkObject' was previously declared as a struct [-Wmismatched-tags]
class SbkObject;
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/basewrapper.h:40:24: note: previous use is here
struct LIBSHIBOKEN_API SbkObject
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: note: did you mean struct here?
class SbkObject;
^~~~~
struct
1 warning generated.
[ 64%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/debugfreehook.cpp.o
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/debugfreehook.cpp:119:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif __APPLE__
^
//
1 warning generated.
[ 66%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/gilstate.cpp.o
[ 68%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/helper.cpp.o
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/helper.cpp:23:
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/helper.h:28:
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/conversions.h:41:
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: warning: class 'SbkObject' was previously declared as a struct [-Wmismatched-tags]
class SbkObject;
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/basewrapper.h:40:24: note: previous use is here
struct LIBSHIBOKEN_API SbkObject
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: note: did you mean struct here?
class SbkObject;
^~~~~
struct
1 warning generated.
[ 70%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/sbkconverter.cpp.o
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/sbkconverter.cpp:27:
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: warning: class 'SbkObject' was previously declared as a struct [-Wmismatched-tags]
class SbkObject;
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/basewrapper.h:40:24: note: previous use is here
struct LIBSHIBOKEN_API SbkObject
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: note: did you mean struct here?
class SbkObject;
^~~~~
struct
1 warning generated.
[ 72%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/sbkenum.cpp.o
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/sbkenum.cpp:28:
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: warning: class 'SbkObject' was previously declared as a struct [-Wmismatched-tags]
class SbkObject;
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/basewrapper.h:40:24: note: previous use is here
struct LIBSHIBOKEN_API SbkObject
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: note: did you mean struct here?
class SbkObject;
^~~~~
struct
1 warning generated.
[ 74%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/sbkmodule.cpp.o
[ 75%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/sbkstring.cpp.o
[ 77%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/bindingmanager.cpp.o
[ 79%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/threadstatesaver.cpp.o
[ 81%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/typeresolver.cpp.o
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/typeresolver.cpp:23:
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/typeresolver.h:27:
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/conversions.h:41:
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: warning: class 'SbkObject' was previously declared as a struct [-Wmismatched-tags]
class SbkObject;
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/basewrapper.h:40:24: note: previous use is here
struct LIBSHIBOKEN_API SbkObject
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: note: did you mean struct here?
class SbkObject;
^~~~~
struct
1 warning generated.
[ 83%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/shibokenbuffer.cpp.o
Linking CXX shared library libshiboken-python2.7.dylib
[ 83%] Built target libshiboken
Scanning dependencies of target shiboken
[ 85%] Building CXX object generator/CMakeFiles/shiboken.dir/generator.cpp.o
[ 87%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/cppgenerator.cpp.o
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/generator/shiboken/cppgenerator.cpp:1742:32: warning: equality comparison result unused [-Wunused-comparison]
strArg == "2-tuple";
~~~~~~~^~~~~~~~~~~~
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/generator/shiboken/cppgenerator.cpp:1742:32: note: use '=' to turn this equality comparison into an assignment
strArg == "2-tuple";
^~
=
1 warning generated.
[ 88%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/headergenerator.cpp.o
[ 90%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/overloaddata.cpp.o
[ 92%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/shibokengenerator.cpp.o
[ 94%] Building CXX object generator/CMakeFiles/shiboken.dir/shiboken/shibokennormalize.cpp.o
[ 96%] Building CXX object generator/CMakeFiles/shiboken.dir/main.cpp.o
Linking CXX executable shiboken
ld: warning: direct access in __GLOBAL__I_a to global weak symbol __ZN7QStringD1Ev means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in __ZN17ShibokenGenerator14writeCodeSnipsER11QTextStreamRK5QListI8CodeSnipENS3_8PositionEN10TypeSystem8LanguageEPK20AbstractMetaFunctionPK20AbstractMetaArgument to global weak symbol __ZN7QStringD1Ev means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
[ 96%] Built target shiboken
[ 98%] Running generator for 'shiboken'...
Detecting inconsistencies in typesystem... [OK]
No C++ classes found!
Done, 1 warnings (0 known issues)
Scanning dependencies of target shibokenmodule
[100%] Building CXX object shibokenmodule/CMakeFiles/shibokenmodule.dir/shiboken/shiboken_module_wrapper.cpp.o
In file included from /Users/stephaneklein/tests/pyside-setup/pyside_build/py2.7-qt4.8.4-64bit-release/shiboken/shibokenmodule/shiboken/shiboken_module_wrapper.cpp:3:
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/shiboken.h:28:
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/basewrapper.h:27:
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/bindingmanager.h:30:1: warning: struct 'SbkObject' was previously declared as a class [-Wmismatched-tags]
struct SbkObject;
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:7: note: previous use is here
class SbkObject;
^
In file included from /Users/stephaneklein/tests/pyside-setup/pyside_build/py2.7-qt4.8.4-64bit-release/shiboken/shibokenmodule/shiboken/shiboken_module_wrapper.cpp:3:
In file included from /Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/shiboken.h:28:
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/basewrapper.h:40:1: warning: 'SbkObject' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct LIBSHIBOKEN_API SbkObject
^
/Users/stephaneklein/tests/pyside-setup/sources/shiboken/libshiboken/autodecref.h:29:1: note: did you mean struct here?
class SbkObject;
^~~~~
struct
2 warnings generated.
Linking CXX shared module shiboken.so
[100%] Built target shibokenmodule
Installing module shiboken...
/usr/bin/make install/fast
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/autodecref.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/basewrapper.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/bindingmanager.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/conversions.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/gilstate.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/helper.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/sbkconverter.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/sbkenum.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/sbkmodule.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/python25compat.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/sbkdbg.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/sbkstring.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/shiboken.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/shibokenmacros.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/threadstatesaver.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/typeresolver.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/shibokenbuffer.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/sbkpython.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/include/shiboken/sbkversion.h
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/lib/libshiboken-python2.7.1.1.2.dylib
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/lib/libshiboken-python2.7.1.1.dylib
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/lib/libshiboken-python2.7.dylib
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/share/man/man1/shiboken.1
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/bin/shiboken
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/lib/python2.7/site-packages/shiboken.so
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/lib/cmake/Shiboken-1.1.2/ShibokenConfig.cmake
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/lib/cmake/Shiboken-1.1.2/ShibokenConfig-python2.7.cmake
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/lib/cmake/Shiboken-1.1.2/ShibokenConfigVersion.cmake
-- Installing: /Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release/lib/pkgconfig/shiboken.pc
Building module pyside...
Creating module build folder /Users/stephaneklein/tests/pyside-setup/pyside_build/py2.7-qt4.8.4-64bit-release/pyside...
Configuring module pyside (/Users/stephaneklein/tests/pyside-setup/sources/pyside)...
/usr/local/bin/cmake -G Unix Makefiles -DQT_QMAKE_EXECUTABLE=/usr/local/bin/qmake -DBUILD_TESTS=False -DDISABLE_DOCSTRINGS=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/stephaneklein/tests/pyside-setup/pyside_install/py2.7-qt4.8.4-64bit-release /Users/stephaneklein/tests/pyside-setup/sources/pyside -DPYTHON_EXECUTABLE=/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DALTERNATIVE_QT_INCLUDE_DIR=/Library/Frameworks
-- The C compiler identification is Clang 3.1.0
-- The CXX compiler identification is Clang 3.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using default python: -python2.7
CMake Error at /usr/lib/cmake/Shiboken-1.1.1/ShibokenConfig.cmake:5 (include):
include could not find load file:
/Volumes/ramdisk/install/usr/lib/cmake/Shiboken-1.1.1/ShibokenConfig-python2.7.cmake
Call Stack (most recent call first):
CMakeLists.txt:8 (find_package)
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.4", minimum required is "4.5.0")
-- Detected OS: mac
CMake Error at CMakeLists.txt:148 (message):
Could not detect Python module installation directory.
-- Configuring incomplete, errors occurred!
error: Error configuring pyside
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment