[X2Go-Commits] Build failed in Jenkins: x2goclient+nightly+raspbian-buster #98
jenkins at x2go.org
jenkins at x2go.org
Sun Apr 6 11:21:47 CEST 2025
See <https://jenkins.x2go.org:8443/job/x2goclient+nightly+raspbian-buster/98/display/redirect?page=changes>
Changes:
[ionic] src/compat.h: only try to include QtCore/qflags.h with Qt 5.0+.
[ionic] debian/changelog: typo fix.
------------------------------------------
[...truncated 106.30 KiB...]
Q_DECLARE_OPERATORS_FOR_FLAGS (SplitBehavior)
^~~~~~~~~~~~~
/usr/include/qt4/QtCore/qglobal.h:2475:60: note: in definition of macro 'Q_DECLARE_OPERATORS_FOR_FLAGS'
Q_DECL_CONSTEXPR inline QFlags<Flags::enum_type> operator|(Flags::enum_type f1, QFlags<Flags::enum_type> f2) \
^~~~~
../src/compat.h:49:34: error: 'SplitBehavior' was not declared in this scope
Q_DECLARE_OPERATORS_FOR_FLAGS (SplitBehavior)
^~~~~~~~~~~~~
/usr/include/qt4/QtCore/qglobal.h:2475:88: note: in definition of macro 'Q_DECLARE_OPERATORS_FOR_FLAGS'
Q_DECL_CONSTEXPR inline QFlags<Flags::enum_type> operator|(Flags::enum_type f1, QFlags<Flags::enum_type> f2) \
^~~~~
../src/compat.h:49:34: note: suggested alternative: 'SplitBehaviorFlags'
Q_DECLARE_OPERATORS_FOR_FLAGS (SplitBehavior)
^~~~~~~~~~~~~
/usr/include/qt4/QtCore/qglobal.h:2475:88: note: in definition of macro 'Q_DECLARE_OPERATORS_FOR_FLAGS'
Q_DECL_CONSTEXPR inline QFlags<Flags::enum_type> operator|(Flags::enum_type f1, QFlags<Flags::enum_type> f2) \
^~~~~
/usr/include/qt4/QtCore/qglobal.h:2475:104: error: template argument 1 is invalid
Q_DECL_CONSTEXPR inline QFlags<Flags::enum_type> operator|(Flags::enum_type f1, QFlags<Flags::enum_type> f2) \
^
../src/compat.h:49:3: note: in expansion of macro 'Q_DECLARE_OPERATORS_FOR_FLAGS'
Q_DECLARE_OPERATORS_FOR_FLAGS (SplitBehavior)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/compat.h:49:34: error: declaration of 'operator|' as non-function
Q_DECLARE_OPERATORS_FOR_FLAGS (SplitBehavior)
^~~~~~~~~~~~~
/usr/include/qt4/QtCore/qglobal.h:2469:36: note: in definition of macro 'Q_DECLARE_INCOMPATIBLE_FLAGS'
inline QIncompatibleFlag operator|(Flags::enum_type f1, int f2) \
^~~~~
../src/compat.h:49:3: note: in expansion of macro 'Q_DECLARE_OPERATORS_FOR_FLAGS'
Q_DECLARE_OPERATORS_FOR_FLAGS (SplitBehavior)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/compat.h:49:34: error: 'SplitBehavior' has not been declared
Q_DECLARE_OPERATORS_FOR_FLAGS (SplitBehavior)
^~~~~~~~~~~~~
/usr/include/qt4/QtCore/qglobal.h:2469:36: note: in definition of macro 'Q_DECLARE_INCOMPATIBLE_FLAGS'
inline QIncompatibleFlag operator|(Flags::enum_type f1, int f2) \
^~~~~
../src/compat.h:49:3: note: in expansion of macro 'Q_DECLARE_OPERATORS_FOR_FLAGS'
Q_DECLARE_OPERATORS_FOR_FLAGS (SplitBehavior)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt4/QtCore/qglobal.h:2469:57: error: expected primary-expression before 'int'
inline QIncompatibleFlag operator|(Flags::enum_type f1, int f2) \
^~~
/usr/include/qt4/QtCore/qglobal.h:2476:21: note: in expansion of macro 'Q_DECLARE_INCOMPATIBLE_FLAGS'
{ return f2 | f1; } Q_DECLARE_INCOMPATIBLE_FLAGS(Flags)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/compat.h:49:3: note: in expansion of macro 'Q_DECLARE_OPERATORS_FOR_FLAGS'
Q_DECLARE_OPERATORS_FOR_FLAGS (SplitBehavior)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/sharewidget.cpp:38:
../src/compat.h:55:47: error: 'Qt::SplitBehavior' has not been declared
QStringList split(const QString &sep, Qt::SplitBehavior behavior = Qt::KeepEmptyParts,
^~~~~~~~~~~~~
../src/compat.h:61:38: error: 'Qt::SplitBehavior' has not been declared
Qt::SplitBehavior behavior = Qt::KeepEmptyParts,
^~~~~~~~~~~~~
../src/compat.h:66:38: error: 'Qt::SplitBehavior' has not been declared
QStringList split(QChar sep, Qt::SplitBehavior behavior = Qt::KeepEmptyParts,
^~~~~~~~~~~~~
../src/compat.h:71:49: error: 'Qt::SplitBehavior' has not been declared
QVector<QStringRef> splitRef(QChar sep, Qt::SplitBehavior behavior = Qt::KeepEmptyParts,
^~~~~~~~~~~~~
../src/compat.h:78:27: error: 'Qt::SplitBehavior' has not been declared
Qt::SplitBehavior behavior = Qt::KeepEmptyParts) const {
^~~~~~~~~~~~~
../src/compat.h:83:38: error: 'Qt::SplitBehavior' has not been declared
Qt::SplitBehavior behavior = Qt::KeepEmptyParts) const {
^~~~~~~~~~~~~
../src/compat.h:89:29: error: 'QRegularExpression' does not name a type
QStringList split(const QRegularExpression &sep,
^~~~~~~~~~~~~~~~~~
../src/compat.h:90:27: error: 'Qt::SplitBehavior' has not been declared
Qt::SplitBehavior behavior = Qt::KeepEmptyParts) const {
^~~~~~~~~~~~~
../src/compat.h:94:40: error: 'QRegularExpression' does not name a type
QVector<QStringRef> splitRef(const QRegularExpression &sep,
^~~~~~~~~~~~~~~~~~
../src/compat.h:95:38: error: 'Qt::SplitBehavior' has not been declared
Qt::SplitBehavior behavior = Qt::KeepEmptyParts) const {
^~~~~~~~~~~~~
../src/compat.h: In member function 'QVector<QStringRef> QStringCompatWrapper::splitRef(const QString&, int, Qt::CaseSensitivity) const':
../src/compat.h:63:24: error: 'splitRef' is not a member of 'QString'
return (QString::splitRef (sep, static_cast<QString::SplitBehavior> (behavior), cs));
^~~~~~~~
../src/compat.h: In member function 'QVector<QStringRef> QStringCompatWrapper::splitRef(QChar, int, Qt::CaseSensitivity) const':
../src/compat.h:73:24: error: 'splitRef' is not a member of 'QString'
return (QString::splitRef (sep, static_cast<QString::SplitBehavior> (behavior), cs));
^~~~~~~~
../src/compat.h: In member function 'QVector<QStringRef> QStringCompatWrapper::splitRef(const QRegExp&, int) const':
../src/compat.h:84:24: error: 'splitRef' is not a member of 'QString'
return (QString::splitRef (sep, static_cast<QString::SplitBehavior> (behavior)));
^~~~~~~~
../src/compat.h: In member function 'QVector<QStringRef> QStringCompatWrapper::splitRef(const int&, int) const':
../src/compat.h:96:24: error: 'splitRef' is not a member of 'QString'
return (QString::splitRef (sep, static_cast<QString::SplitBehavior> (behavior)));
^~~~~~~~
../src/sharewidget.cpp: At global scope:
../src/sharewidget.cpp:40:1: error: no declaration matches 'ShareWidget::ShareWidget(QStringCompatWrapper, ONMainWindow*, QWidget*, Qt::WindowFlags)'
ShareWidget::ShareWidget ( QString id, ONMainWindow * mw,
^~~~~~~~~~~
In file included from ../src/sharewidget.cpp:18:
../src/sharewidget.h:32:7: note: candidates are: 'ShareWidget::ShareWidget(const ShareWidget&)'
class ShareWidget : public ConfigWidget
^~~~~~~~~~~
../src/sharewidget.h:36:3: note: 'ShareWidget::ShareWidget(QString, ONMainWindow*, QWidget*, Qt::WindowFlags)'
ShareWidget ( QString id, ONMainWindow * mw,
^~~~~~~~~~~
../src/sharewidget.h:32:7: note: 'class ShareWidget' defined here
class ShareWidget : public ConfigWidget
^~~~~~~~~~~
../src/sharewidget.cpp: In member function 'void ShareWidget::slot_openDir()':
../src/sharewidget.cpp:146:52: error: conversion from 'QString' to non-scalar type 'QStringCompatWrapper' requested
QString startDir=ONMainWindow::getHomeDirectory();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../src/sharewidget.cpp:155:53: error: conversion from 'QString' to non-scalar type 'QStringCompatWrapper' requested
QString path= QFileDialog::getExistingDirectory (
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
this,
~~~~~
tr ( "Select folder" ),
~~~~~~~~~~~~~~~~~~~~~~~
startDir );
~~~~~~~~~~
../src/sharewidget.cpp: In member function 'void ShareWidget::slot_addDir()':
../src/sharewidget.cpp:189:28: error: conversion from 'QString' to non-scalar type 'QStringCompatWrapper' requested
QString path=ldir->text();
~~~~~~~~~~^~
../src/sharewidget.cpp: In member function 'void ShareWidget::readConfig()':
../src/sharewidget.cpp:217:78: error: conversion from 'QString' to non-scalar type 'QStringCompatWrapper' requested
QString exportDir=st.setting()->value ( sessionId+"/export",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
( QVariant ) QString() ).toString();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../src/sharewidget.cpp:224:73: error: conversion from 'QString' to non-scalar type 'QStringCompatWrapper' requested
QString toCode=st.setting()->value ( sessionId+"/iconvto",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
( QVariant ) "UTF-8" ).toString();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../src/sharewidget.cpp:239:76: error: conversion from 'QString' to non-scalar type 'QStringCompatWrapper' requested
QString fromCode=st.setting()->value ( sessionId+"/iconvfrom",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
( QVariant ) tr (
~~~~~~~~~~~~~~~~~
"ISO8859-1" ) ).toString();
~~~~~~~~~~~~~~~~~~~~~~~~^~
../src/sharewidget.cpp:257:65: error: no matching function for call to 'QString::split(const char [2], Qt::SplitBehaviorFlags)'
QStringList tails=lst[i].split ( ":",Qt::SkipEmptyParts );
^
In file included from /usr/include/qt4/QtCore/qobject.h:48,
from /usr/include/qt4/QtGui/qwidget.h:47,
from /usr/include/qt4/QtGui/qframe.h:45,
from /usr/include/qt4/QtGui/QFrame:1,
from ../src/configwidget.h:21,
from ../src/sharewidget.h:21,
from ../src/sharewidget.cpp:18:
/usr/include/qt4/QtCore/qstring.h:301:17: note: candidate: 'QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const'
QStringList split(const QString &sep, SplitBehavior behavior = KeepEmptyParts,
^~~~~
/usr/include/qt4/QtCore/qstring.h:301:17: note: no known conversion for argument 2 from 'Qt::SplitBehaviorFlags' to 'QString::SplitBehavior'
/usr/include/qt4/QtCore/qstring.h:303:17: note: candidate: 'QStringList QString::split(const QChar&, QString::SplitBehavior, Qt::CaseSensitivity) const'
QStringList split(const QChar &sep, SplitBehavior behavior = KeepEmptyParts,
^~~~~
/usr/include/qt4/QtCore/qstring.h:303:17: note: no known conversion for argument 2 from 'Qt::SplitBehaviorFlags' to 'QString::SplitBehavior'
/usr/include/qt4/QtCore/qstring.h:306:17: note: candidate: 'QStringList QString::split(const QRegExp&, QString::SplitBehavior) const'
QStringList split(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const Q_REQUIRED_RESULT;
^~~~~
/usr/include/qt4/QtCore/qstring.h:306:17: note: no known conversion for argument 1 from 'const char [2]' to 'const QRegExp&'
../src/sharewidget.cpp: In member function 'void ShareWidget::setDefaults()':
../src/sharewidget.cpp:276:20: error: conversion from 'const char [6]' to non-scalar type 'QStringCompatWrapper' requested
QString toCode="UTF-8";
^~~~~~~
../src/sharewidget.cpp:283:25: error: conversion from 'QString' to non-scalar type 'QStringCompatWrapper' requested
QString fromCode=tr ( "ISO8859-1" );
~~~^~~~~~~~~~~~~~~
../src/sharewidget.cpp: In member function 'void ShareWidget::loadEnc(QComboBox*)':
../src/sharewidget.cpp:338:35: error: conversion from 'QString' to non-scalar type 'QStringCompatWrapper' requested
QString line = in.readLine();
~~~~~~~~~~~^~
../src/sharewidget.cpp:339:37: error: no match for 'operator=' (operand types are 'QStringCompatWrapper' and 'QString')
line=line.replace ( "//","" );
^
In file included from ../src/sharewidget.cpp:38:
../src/compat.h:52:7: note: candidate: 'QStringCompatWrapper& QStringCompatWrapper::operator=(const QStringCompatWrapper&)'
class QStringCompatWrapper : public QString {
^~~~~~~~~~~~~~~~~~~~
../src/compat.h:52:7: note: no known conversion for argument 1 from 'QString' to 'const QStringCompatWrapper&'
../src/compat.h:52:7: note: candidate: 'QStringCompatWrapper& QStringCompatWrapper::operator=(QStringCompatWrapper&&)'
../src/compat.h:52:7: note: no known conversion for argument 1 from 'QString' to 'QStringCompatWrapper&&'
make[4]: *** [Makefile:627: sharewidget.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/client_build'
make[3]: *** [Makefile:85: build_client] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:80: build] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j2 QT_VERSION=4 returned exit code 2
make[1]: *** [debian/rules:148: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:140: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-04-06T09:21:37Z
Finished
--------
+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+
Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)
+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+
Build Architecture: armhf
Build Type: full
Build-Space: 33112
Build-Time: 65
Distribution: buster
Fail-Stage: build
Host Architecture: armhf
Install-Time: 132
Job: /home/_jenkins_/tmp/tmp.Y9OHIhUQRujTx6XbJOSBt2j7/x2goclient_4.1.2.4-0x2go1~git20250406.2111+10.heuler.1.dsc
Machine Architecture: amd64
Package: x2goclient
Package-Time: 241
Source-Version: 4.1.2.4-0x2go1~git20250406.2111+10.heuler.1
Space: 33112
Status: attempted
Version: 4.1.2.4-0x2go1~git20250406.2111+10.heuler.1
--------------------------------------------------------------------------------
Finished at 2025-04-06T09:21:37Z
Build needed 00:04:01, 33112k disk space
E: Build failure (dpkg-buildpackage died)
+ cleanup
+ typeset temp_dir=
+ for temp_dir in "${temp_cleanup[@]}"
+ '[' -n '' ']'
+ for temp_dir in "${temp_cleanup[@]}"
+ '[' -n /var/lib/jenkins/tmp/tmp.Y9OHIhUQRujTx6XbJOSBt2j7 ']'
+ '[' -d /var/lib/jenkins/tmp/tmp.Y9OHIhUQRujTx6XbJOSBt2j7 ']'
+ rm -Rf -- /var/lib/jenkins/tmp/tmp.Y9OHIhUQRujTx6XbJOSBt2j7
Build step 'Execute shell' marked build as failure
More information about the x2go-commits
mailing list