KDE CI: Frameworks kcoreaddons kf5-qt5 XenialQt5.7 - Build # 23 - Failure!

Stephen Kelly steveire at gmail.com
Fri Jun 16 18:44:57 UTC 2017


Hi Ben,

Thanks for looking into this!

>From reading your email, it seems that the correct path is in
GPB_PYTHON3_INCLUDE_DIR, but that is not being added as an include
directory to compile the code.

>From reading the ECM code (FindPythonModuleGeneration.cmake) I don't see
how that could be. Also, I would expect to see some error message in the
build failure log about not being able to find sip.h, but I don't see
that. Maybe it's stripped out or abstracted away? Am I missing something?

Thanks,

Steve.

On 06/13/2017 09:49 AM, Ben Cooksley wrote:
> I've investigated this failure.
> It's initial cause was an upgrade of SIP, likely from Neon.
>
> However it has revealed a weakness within the Python bindings code.
> The header sip.h can be found at two places:
>
> /usr/include/python3.5dm/sip.h
> /usr/include/python3.5m/sip.h
>
> It would appear that /usr/include/python3.5m/ needs to be added to the
> compiler include search path.
> A check of CMakeCache.txt shows that GPB_PYTHON3_INCLUDE_DIR contains
> the necessary path in this instance.
>
> Stephen, can you please fix this?
>
> For anyone wanting to investigate such failings, a copy of the full
> build workspace for each failed/unstable job can be found
> at https://build-artifacts.kde.org/production/Workspaces/
>
> Thanks,
> Ben
>
> On Tue, Jun 13, 2017 at 8:42 PM, <no-reply at kde.org
> <mailto:no-reply at kde.org>> wrote:
>
>     	*BUILD FAILURE*
>     Build URL
>     https://build-sandbox.kde.org/job/Frameworks%20kcoreaddons%20kf5-qt5%20XenialQt5.7/23/
>     <https://build-sandbox.kde.org/job/Frameworks%20kcoreaddons%20kf5-qt5%20XenialQt5.7/23/>
>
>     Project: 	Frameworks kcoreaddons kf5-qt5 XenialQt5.7
>     Date of build: 	Tue, 13 Jun 2017 08:40:43 +0000
>     Build duration: 	1 min 24 sec and counting
>
>
>     *CONSOLE OUTPUT *
>     [...truncated 384.25 KB...]
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:73:10:
>     warning: 'virtual bool sipKProcess::waitForReadyRead(int)' can be
>     marked override [-Wsuggest-override]
>     bool waitForReadyRead(int);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:74:10:
>     warning: 'virtual bool sipKProcess::canReadLine() const' can be
>     marked override [-Wsuggest-override]
>     bool canReadLine() const;
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:75:15:
>     warning: 'virtual qint64 sipKProcess::bytesToWrite() const' can be
>     marked override [-Wsuggest-override]
>     ::qint64 bytesToWrite() const;
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:76:15:
>     warning: 'virtual qint64 sipKProcess::bytesAvailable() const' can
>     be marked override [-Wsuggest-override]
>     ::qint64 bytesAvailable() const;
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:77:10:
>     warning: 'virtual bool sipKProcess::reset()' can be marked
>     override [-Wsuggest-override]
>     bool reset();
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:78:10:
>     warning: 'virtual bool sipKProcess::atEnd() const' can be marked
>     override [-Wsuggest-override]
>     bool atEnd() const;
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:79:10:
>     warning: 'virtual bool sipKProcess::seek(qint64)' can be marked
>     override [-Wsuggest-override]
>     bool seek( ::qint64);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:80:15:
>     warning: 'virtual qint64 sipKProcess::size() const' can be marked
>     override [-Wsuggest-override]
>     ::qint64 size() const;
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:81:15:
>     warning: 'virtual qint64 sipKProcess::pos() const' can be marked
>     override [-Wsuggest-override]
>     ::qint64 pos() const;
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:82:10:
>     warning: 'virtual void sipKProcess::close()' can be marked
>     override [-Wsuggest-override]
>     void close();
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:83:10:
>     warning: 'virtual bool sipKProcess::open(QIODevice::OpenMode)' can
>     be marked override [-Wsuggest-override]
>     bool open( ::QIODevice::OpenMode);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:84:10:
>     warning: 'virtual bool sipKProcess::isSequential() const' can be
>     marked override [-Wsuggest-override]
>     bool isSequential() const;
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:85:10:
>     warning: 'virtual bool sipKProcess::event(QEvent*)' can be marked
>     override [-Wsuggest-override]
>     bool event( ::QEvent*);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:86:10:
>     warning: 'virtual bool sipKProcess::eventFilter(QObject*,
>     QEvent*)' can be marked override [-Wsuggest-override]
>     bool eventFilter( ::QObject*, ::QEvent*);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:87:10:
>     warning: 'virtual void sipKProcess::timerEvent(QTimerEvent*)' can
>     be marked override [-Wsuggest-override]
>     void timerEvent( ::QTimerEvent*);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:88:10:
>     warning: 'virtual void sipKProcess::childEvent(QChildEvent*)' can
>     be marked override [-Wsuggest-override]
>     void childEvent( ::QChildEvent*);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:89:10:
>     warning: 'virtual void sipKProcess::customEvent(QEvent*)' can be
>     marked override [-Wsuggest-override]
>     void customEvent( ::QEvent*);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:90:10:
>     warning: 'virtual void sipKProcess::connectNotify(const
>     QMetaMethod&)' can be marked override [-Wsuggest-override]
>     void connectNotify(const ::QMetaMethod&);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:91:10:
>     warning: 'virtual void sipKProcess::disconnectNotify(const
>     QMetaMethod&)' can be marked override [-Wsuggest-override]
>     void disconnectNotify(const ::QMetaMethod&);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKProcess.cpp:92:10:
>     warning: 'virtual void sipKProcess::setupChildProcess()' can be
>     marked override [-Wsuggest-override]
>     void setupChildProcess();
>     ^
>     In file included from /home/jenkins/workspace/Frameworks
>     kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/unifiedKCoreAddons.cpp:54:0:
>
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKTextToHTMLEmoticonsInterface.cpp:27:16:
>     warning: 'virtual QString
>     sipKTextToHTMLEmoticonsInterface::parseEmoticons(const QString&,
>     bool, const QStringList&)' can be marked override
>     [-Wsuggest-override]
>     ::QString parseEmoticons(const ::QString&,bool,const ::QStringList&);
>     ^
>     In file included from /home/jenkins/workspace/Frameworks
>     kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/unifiedKCoreAddons.cpp:55:0:
>
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKCharMacroExpander.cpp:35:10:
>     warning: 'virtual bool sipKCharMacroExpander::expandMacro(QChar,
>     QStringList&)' can be marked override [-Wsuggest-override]
>     bool expandMacro( ::QChar, ::QStringList&);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKCharMacroExpander.cpp:36:9:
>     warning: 'virtual int
>     sipKCharMacroExpander::expandPlainMacro(const QString&, int,
>     QStringList&)' can be marked override [-Wsuggest-override]
>     int expandPlainMacro(const ::QString&,int, ::QStringList&);
>     ^
>     /home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKCharMacroExpander.cpp:37:9:
>     warning: 'virtual int
>     sipKCharMacroExpander::expandEscapedMacro(const QString&, int,
>     QStringList&)' can be marked override [-Wsuggest-override]
>     int expandEscapedMacro(const ::QString&,int, ::QStringList&);
>     ^
>     [ 57%] Built target kdelibs4migrationtest
>     [ 58%] Linking CXX executable kdirwatch_fam_unittest
>     [ 59%] Linking CXX executable desktoptojsontest
>     [ 60%] Linking CXX executable kdirwatch_stat_unittest
>     [ 60%] Built target desktoptojsontest
>     [ 60%] Built target kdirwatch_fam_unittest
>     [ 60%] Built target kdirwatch_stat_unittest
>     [ 61%] Linking CXX executable kdirwatch_qfswatch_unittest
>     [ 61%] Built target kdirwatch_qfswatch_unittest
>     [ 62%] Linking CXX shared module
>     "/home/jenkins/workspace/Frameworks kcoreaddons kf5-qt5
>     XenialQt5.7/build/py3/PyKF5/KCoreAddons.so"
>     [ 63%] Built target Py3KF5KCoreAddons
>     Makefile:138: recipe for target 'all' failed
>     make: *** [all] Error 2
>     [Pipeline] }
>     [Pipeline] // stage
>     [Pipeline] }
>     ERROR: script returned exit code 1
>     [Pipeline] // catchError
>     [Pipeline] sh
>     [Frameworks kcoreaddons kf5-qt5 XenialQt5.7] Running shell script
>     + python3 -u ci-tooling/helpers/capture-workspace.py --environment
>     production
>     /usr/lib/python3/dist-packages/Crypto/Cipher/blockalgo.py:141:
>     FutureWarning: CTR mode needs counter parameter, not IV
>     self._cipher = factory.new(key, *args, **kwargs)
>     [Pipeline] emailextrecipients
>     [Pipeline] emailext
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170616/9528c92a/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list