[ci announce] bionic: compile failure
testing at tester.lyx.org
testing at tester.lyx.org
Thu Jan 23 22:42:05 UTC 2025
make all-recursive
make[1]: Entering directory '/home/lyx/lyx'
Making all in autotests
make[2]: Entering directory '/home/lyx/lyx/autotests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/lyx/lyx/autotests'
Making all in config
make[2]: Entering directory '/home/lyx/lyx/config'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/lyx/lyx/config'
Making all in development
make[2]: Entering directory '/home/lyx/lyx/development'
make[3]: Entering directory '/home/lyx/lyx/development'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/lyx/lyx/development'
make[2]: Leaving directory '/home/lyx/lyx/development'
Making all in po
make[2]: Entering directory '/home/lyx/lyx/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/lyx/lyx/po'
Making all in 3rdparty
make[2]: Entering directory '/home/lyx/lyx/3rdparty'
Making all in nod
make[3]: Entering directory '/home/lyx/lyx/3rdparty/nod'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/lyx/lyx/3rdparty/nod'
make[3]: Entering directory '/home/lyx/lyx/3rdparty'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/lyx/lyx/3rdparty'
make[2]: Leaving directory '/home/lyx/lyx/3rdparty'
Making all in src
make[2]: Entering directory '/home/lyx/lyx/src'
CHK lyx_commit_hash.h
make all-recursive
make[3]: Entering directory '/home/lyx/lyx/src'
Making all in support
make[4]: Entering directory '/home/lyx/lyx/src/support'
make all-am
make[5]: Entering directory '/home/lyx/lyx/src/support'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/lyx/lyx/src/support'
make[4]: Leaving directory '/home/lyx/lyx/src/support'
Making all in frontends
make[4]: Entering directory '/home/lyx/lyx/src/frontends'
Making all in qt
make[5]: Entering directory '/home/lyx/lyx/src/frontends/qt'
make all-am
make[6]: Entering directory '/home/lyx/lyx/src/frontends/qt'
CXX GuiInputMethod.o
GuiInputMethod.cpp: In member function 'std::array<int, 2> lyx::frontend::GuiInputMethod::setCaretOffset(lyx::pos_type)':
GuiInputMethod.cpp:551:26: error: 'class QFontMetrics' has no member named 'horizontalAdvance'
caret_offset[0] = qfm.horizontalAdvance(lastline_str);
^~~~~~~~~~~~~~~~~
GuiInputMethod.cpp:554:33: error: 'class QFontMetrics' has no member named 'horizontalAdvance'
+ inset_offset + qfm.horizontalAdvance(lastline_str);
^~~~~~~~~~~~~~~~~
GuiInputMethod.cpp:560:34: error: 'class QFontMetrics' has no member named 'horizontalAdvance'
left_margin_diff + qfm.horizontalAdvance(str_before_caret);
^~~~~~~~~~~~~~~~~
GuiInputMethod.cpp: In member function 'void lyx::frontend::GuiInputMethod::setSurroundingText(const lyx::Cursor&)':
GuiInputMethod.cpp:1066:56: error: invalid conversion from 'unsigned int' to 'Qt::InputMethodQuery' [-fpermissive]
Q_EMIT inputMethodStateChanged(Qt::ImSurroundingText |
~~~~~~~~~~~~~~~~~~~~~~~
Qt::ImTextBeforeCursor |
~~~~~~~~~~~~~~~~~~~~~~~^
Qt::ImTextAfterCursor);
~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1156:0,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:41,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVariant:1,
from ui_WorkAreaUi.h:12,
from GuiWorkArea.h:16,
from GuiInputMethod.h:16,
from GuiInputMethod.cpp:15:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:120:29: note: initializing argument 1 of 'constexpr QFlags<T>::QFlags(Enum) [with Enum = Qt::InputMethodQuery]'
Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {}
^~~~~~
GuiInputMethod.cpp: In member function 'virtual int lyx::frontend::GuiInputMethod::horizontalAdvance(const docstring&, lyx::pos_type)':
GuiInputMethod.cpp:1127:13: error: 'class QFontMetrics' has no member named 'horizontalAdvance'
return qfm.horizontalAdvance(toqstr(s));
^~~~~~~~~~~~~~~~~
GuiInputMethod.cpp: In member function 'int lyx::frontend::GuiInputMethod::horizontalAdvance(const docstring&)':
GuiInputMethod.cpp:1134:13: error: 'class QFontMetrics' has no member named 'horizontalAdvance'
return qfm.horizontalAdvance(toqstr(s));
^~~~~~~~~~~~~~~~~
Makefile:948: recipe for target 'GuiInputMethod.o' failed
make[6]: *** [GuiInputMethod.o] Error 1
make[6]: Leaving directory '/home/lyx/lyx/src/frontends/qt'
Makefile:790: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/home/lyx/lyx/src/frontends/qt'
Makefile:784: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/lyx/lyx/src/frontends'
Makefile:2396: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/lyx/lyx/src'
Makefile:1496: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/lyx/lyx/src'
Makefile:579: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/lyx/lyx'
Makefile:474: recipe for target 'all' failed
make: *** [all] Error 2
More information about the lyx-devel
mailing list