Am Sonntag, 3. November 2013, 13:27:51 schrieb Albert Astals Cid: > > > > base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginf > > act ory.cpp:28: /usr/include/python3.2/object.h:402:23: error: expected > > unqualified-id before ‘;’ token > > This is not useful, tell us what command is giving this error. >
Here's a longer snippet from a -j1 verbose build log. Full log here: http://dev.gentoo.org/~dilfridge/pykde4-4.11.3-build.log.bz2 There is something seriously weird going on in the log. If other people can build pykde4 fine, it may be a Gentoo specific problem. [Python-related stuff is really transparent only to the Gentoo Python team, I'll ask them. Bunch of wizards. :|] [100%] Building CXX object kpythonpluginfactory/CMakeFiles/kpython2.7pluginfactory.dir/kpythonpluginfactory.cpp.o cd /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3_build-/kpythonpluginfactory && /usr/bin/x86_64-pc-linux-gnu-g++ -DKDE_DEFAULT_DEBUG_AREA=15000 - DLIB_PYTHON=\"libpython3.2.so\" -DMAKE_KPYTHON2_7PLUGINFACTORY_LIB - DQT_CORE_LIB -DQT_GUI_LIB -DSIP_PROTECTED_IS_PUBLIC - DUSING_SOPRANO_NRLMODEL_UNSTABLE_API -D_BSD_SOURCE -D_REENTRANT - Dprotected=public -DQT_NO_DEBUG -DNDEBUG -DQT_NO_DEBUG -DNDEBUG -march=native -O2 -pipe -ggdb -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align - Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions - DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno- threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fPIC - I/var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3_build-/kpythonpluginfactory - I/var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml - I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools - I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql - I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript - I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork - I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtHelp - I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative - I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtAssistant - I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui - I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt - I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/python3.2 - I/usr/include/python2.7 -I/usr/include/solid -I/usr/include/kio - I/usr/include/dom -I/usr/include/ksettings -I/usr/include/knewstuff2 - I/usr/include/dnssd -o CMakeFiles/kpython2.7pluginfactory.dir/kpythonpluginfactory.cpp.o -c /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp In file included from /usr/include/python3.2/Python.h:8:0, from /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp:28: /usr/include/python3.2/pyconfig.h:1191:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default] In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++- v4/x86_64-pc-linux-gnu/bits/os_defines.h:40:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++- v4/x86_64-pc-linux-gnu/bits/c++config.h:414, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++- v4/utility:70, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++- v4/algorithm:61, from /usr/include/qt4/QtCore/qglobal.h:68, from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp:21: /usr/include/features.h:164:0: note: this is the location of the previous definition In file included from /usr/include/python3.2/Python.h:8:0, from /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp:28: /usr/include/python3.2/pyconfig.h:1213:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++- v4/x86_64-pc-linux-gnu/bits/os_defines.h:40:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++- v4/x86_64-pc-linux-gnu/bits/c++config.h:414, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++- v4/utility:70, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++- v4/algorithm:61, from /usr/include/qt4/QtCore/qglobal.h:68, from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtCore/QCoreApplication:1, from /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp:21: /usr/include/features.h:166:0: note: this is the location of the previous definition In file included from /usr/include/python3.2/Python.h:67:0, from /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp:28: /usr/include/python3.2/object.h:402:23: error: expected unqualified-id before ‘;’ token /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp:121:10: warning: unused parameter ‘args’ [-Wunused-parameter] /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp: In function ‘int kdemain(int, char**)’: /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp:356:30: error: cannot convert ‘char*’ to ‘wchar_t*’ for argument ‘1’ to ‘void Py_SetProgramName(wchar_t*)’ /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp:360:26: error: cannot convert ‘char**’ to ‘wchar_t**’ for argument ‘2’ to ‘void PySys_SetArgv(int, wchar_t**)’ /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp:391:40: error: ‘PyString_FromString’ was not declared in this scope /var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3/kpythonpluginfactory/kpythonpluginfactory.cpp:354:15: warning: unused variable ‘pyLib’ [-Wunused-variable] make[2]: *** [kpythonpluginfactory/CMakeFiles/kpython2.7pluginfactory.dir/kpythonpluginfactory.cpp.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3_build-' make[1]: *** [kpythonpluginfactory/CMakeFiles/kpython2.7pluginfactory.dir/all] Error 2 make[1]: Leaving directory `/var/tmp/portage/kde- base/pykde4-4.11.3/work/pykde4-4.11.3_build-' make: *** [all] Error 2 * ERROR: kde-base/pykde4-4.11.3::kde failed (compile phase): * emake failed * -- Andreas K. Huettel Gentoo Linux developer (council, kde) [email protected] http://www.akhuettel.de/
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ release-team mailing list [email protected] https://mail.kde.org/mailman/listinfo/release-team
