[X2Go-Commits] Build failed in Jenkins: x2goclient+nightly+epel-7 #648

jenkins at x2go.org jenkins at x2go.org
Sun Apr 6 15:27:36 CEST 2025


See <https://jenkins.x2go.org:8443/job/x2goclient+nightly+epel-7/648/display/redirect?page=changes>

Changes:

[ionic] src/sharewidget.h: fix configwidget.h include.

[ionic] src/{sharewidget,exportdialog,folder{button,explorer},httpbrokerclient,onmainwindow,session{button,explorer,managedialog,widget},sshmasterconnection}.h: include compat.h to avoid misdefinition in implementation files later on.

[ionic] src/folderbutton.cpp: try moving compat.h include down to not pollute the whole Qt namespace with our compat wrapper.


------------------------------------------
[...truncated 1.26 MiB...]
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/QtCore/qlist.h:847:24: note:   'QStringCompatWrapper' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
             if (n->t() == t)
                        ^
In file included from /usr/include/c++/4.8.2/string:52:0,
                 from /usr/include/QtCore/qstring.h:54,
                 from /usr/include/QtCore/qobject.h:48,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/c++/4.8.2/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator==(const _CharT* __lhs,
     ^
/usr/include/c++/4.8.2/bits/basic_string.h:2507:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/qobject.h:50:0,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/QtCore/qlist.h:847:24: note:   mismatched types 'const _CharT*' and 'QStringCompatWrapper'
             if (n->t() == t)
                        ^
In file included from /usr/include/c++/4.8.2/string:52:0,
                 from /usr/include/QtCore/qstring.h:54,
                 from /usr/include/QtCore/qobject.h:48,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/c++/4.8.2/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
     operator==(const basic_string<_CharT>& __lhs,
     ^
/usr/include/c++/4.8.2/bits/basic_string.h:2493:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/qobject.h:50:0,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/QtCore/qlist.h:847:24: note:   'QStringCompatWrapper' is not derived from 'const std::basic_string<_CharT>'
             if (n->t() == t)
                        ^
In file included from /usr/include/c++/4.8.2/string:52:0,
                 from /usr/include/QtCore/qstring.h:54,
                 from /usr/include/QtCore/qobject.h:48,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/c++/4.8.2/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
/usr/include/c++/4.8.2/bits/basic_string.h:2486:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/qobject.h:50:0,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/QtCore/qlist.h:847:24: note:   'QStringCompatWrapper' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
             if (n->t() == t)
                        ^
In file included from /usr/include/c++/4.8.2/bits/char_traits.h:40:0,
                 from /usr/include/c++/4.8.2/string:40,
                 from /usr/include/QtCore/qstring.h:54,
                 from /usr/include/QtCore/qobject.h:48,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/c++/4.8.2/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
     operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
     ^
/usr/include/c++/4.8.2/bits/postypes.h:216:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/qobject.h:50:0,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/QtCore/qlist.h:847:24: note:   'QStringCompatWrapper' is not derived from 'const std::fpos<_StateT>'
             if (n->t() == t)
                        ^
In file included from /usr/include/c++/4.8.2/ext/alloc_traits.h:38:0,
                 from /usr/include/c++/4.8.2/bits/stl_construct.h:61,
                 from /usr/include/c++/4.8.2/bits/stl_tempbuf.h:60,
                 from /usr/include/c++/4.8.2/bits/stl_algo.h:62,
                 from /usr/include/c++/4.8.2/algorithm:62,
                 from /usr/include/QtCore/qglobal.h:68,
                 from ../src/compat.h:23,
                 from ../src/configwidget.h:22,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/c++/4.8.2/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_Tp1>&, const std::allocator<_Tp1>&)
     operator==(const allocator<_Tp>&, const allocator<_Tp>&)
     ^
/usr/include/c++/4.8.2/bits/allocator.h:133:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/qobject.h:50:0,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/QtCore/qlist.h:847:24: note:   'QStringCompatWrapper' is not derived from 'const std::allocator<_Tp1>'
             if (n->t() == t)
                        ^
In file included from /usr/include/c++/4.8.2/ext/alloc_traits.h:38:0,
                 from /usr/include/c++/4.8.2/bits/stl_construct.h:61,
                 from /usr/include/c++/4.8.2/bits/stl_tempbuf.h:60,
                 from /usr/include/c++/4.8.2/bits/stl_algo.h:62,
                 from /usr/include/c++/4.8.2/algorithm:62,
                 from /usr/include/QtCore/qglobal.h:68,
                 from ../src/compat.h:23,
                 from ../src/configwidget.h:22,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/c++/4.8.2/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_Tp1>&, const std::allocator<_T2>&)
     operator==(const allocator<_T1>&, const allocator<_T2>&)
     ^
/usr/include/c++/4.8.2/bits/allocator.h:128:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/qobject.h:50:0,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/QtCore/qlist.h:847:24: note:   'QStringCompatWrapper' is not derived from 'const std::allocator<_Tp1>'
             if (n->t() == t)
                        ^
In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8.2/algorithm:61,
                 from /usr/include/QtCore/qglobal.h:68,
                 from ../src/compat.h:23,
                 from ../src/configwidget.h:22,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/c++/4.8.2/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator==(const reverse_iterator<_IteratorL>& __x,
     ^
/usr/include/c++/4.8.2/bits/stl_iterator.h:341:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/qobject.h:50:0,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/QtCore/qlist.h:847:24: note:   'QStringCompatWrapper' is not derived from 'const std::reverse_iterator<_Iterator>'
             if (n->t() == t)
                        ^
In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8.2/algorithm:61,
                 from /usr/include/QtCore/qglobal.h:68,
                 from ../src/compat.h:23,
                 from ../src/configwidget.h:22,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/c++/4.8.2/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator==(const reverse_iterator<_Iterator>& __x,
     ^
/usr/include/c++/4.8.2/bits/stl_iterator.h:291:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/qobject.h:50:0,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/QtCore/qlist.h:847:24: note:   'QStringCompatWrapper' is not derived from 'const std::reverse_iterator<_Iterator>'
             if (n->t() == t)
                        ^
In file included from /usr/include/c++/4.8.2/utility:70:0,
                 from /usr/include/c++/4.8.2/algorithm:60,
                 from /usr/include/QtCore/qglobal.h:68,
                 from ../src/compat.h:23,
                 from ../src/configwidget.h:22,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/c++/4.8.2/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^
/usr/include/c++/4.8.2/bits/stl_pair.h:214:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/qobject.h:50:0,
                 from /usr/include/QtGui/qwidget.h:47,
                 from /usr/include/QtGui/qframe.h:45,
                 from /usr/include/QtGui/QFrame:1,
                 from ../src/configwidget.h:24,
                 from ../src/sessionwidget.h:21,
                 from ../src/sessionwidget.cpp:18:
/usr/include/QtCore/qlist.h:847:24: note:   'QStringCompatWrapper' is not derived from 'const std::pair<_T1, _T2>'
             if (n->t() == t)
                        ^
make[2]: *** [sessionwidget.o] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/x2goclient-4.1.2.4/client_build'
make[1]: *** [build_client] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/x2goclient-4.1.2.4'
make: *** [build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.b3CRda (%build)
    Bad exit status from /var/tmp/rpm-tmp.b3CRda (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mockbuild/trace_decorator.py", line 89, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3/dist-packages/mockbuild/util.py", line 568, in do
    raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec
+ exit 1
+ cleanup
+ '[' -n /var/lib/jenkins/tmp/x2go-mock-x2NvNZqfq8GrOl6rvZCeDiZG ']'
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-x2NvNZqfq8GrOl6rvZCeDiZG ']'
+ case "${TMP_MOCK_CFG_DIR}" in
+ typeset file=
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-x2NvNZqfq8GrOl6rvZCeDiZG/epel-7-x86_64-x2go-nightly-full.meY1ejcW7ngseTZCor6wIJdd.cfg ']'
+ rm -- /var/lib/jenkins/tmp/x2go-mock-x2NvNZqfq8GrOl6rvZCeDiZG/epel-7-x86_64-x2go-nightly-full.meY1ejcW7ngseTZCor6wIJdd.cfg
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-x2NvNZqfq8GrOl6rvZCeDiZG/epel-7-x86_64-x2go-nightly-full.Sh1aGgySLa0twsLWIyxZKEEW.cfg ']'
+ rm -- /var/lib/jenkins/tmp/x2go-mock-x2NvNZqfq8GrOl6rvZCeDiZG/epel-7-x86_64-x2go-nightly-full.Sh1aGgySLa0twsLWIyxZKEEW.cfg
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-x2NvNZqfq8GrOl6rvZCeDiZG ']'
+ '[' -d /var/lib/jenkins/tmp/x2go-mock-x2NvNZqfq8GrOl6rvZCeDiZG ']'
+ rmdir -- /var/lib/jenkins/tmp/x2go-mock-x2NvNZqfq8GrOl6rvZCeDiZG
+ typeset temp_dir=
+ for temp_dir in "${temp_cleanup[@]}"
+ '[' -n /var/lib/jenkins/tmp/tmp.tcjAtEuxRME5m2F0sYQpHZzh ']'
+ '[' -d /var/lib/jenkins/tmp/tmp.tcjAtEuxRME5m2F0sYQpHZzh ']'
+ rm -Rf -- /var/lib/jenkins/tmp/tmp.tcjAtEuxRME5m2F0sYQpHZzh
Build step 'Execute shell' marked build as failure


More information about the x2go-commits mailing list