[ci announce] bionic: compile failure

[email protected] Tue, 21 Jul 2026 00:52:01 +0000
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
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      GuiDocument.o
GuiDocument.cpp: In member function 'void lyx::frontend::GuiDocument::addSpecialFont()':
GuiDocument.cpp:3009:39: error: invalid conversion from 'int' to 'Qt::ItemFlag' [-fpermissive]
   item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
                  ~~~~~~~~~~~~~~~~~~~~~^~~~
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/qchar.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1,
                 from Dialog.h:19,
                 from GuiDialog.h:15,
                 from GuiDocument.h:17,
                 from GuiDocument.cpp:14:
/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::ItemFlag]'
     Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {}
                             ^~~~~~
GuiDocument.cpp:3055:39: error: invalid conversion from 'int' to 'Qt::ItemFlag' [-fpermissive]
   item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
                  ~~~~~~~~~~~~~~~~~~~~~^~~~
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/qchar.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1,
                 from Dialog.h:19,
                 from GuiDialog.h:15,
                 from GuiDocument.h:17,
                 from GuiDocument.cpp:14:
/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::ItemFlag]'
     Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {}
                             ^~~~~~
GuiDocument.cpp:3102:39: error: invalid conversion from 'int' to 'Qt::ItemFlag' [-fpermissive]
   item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
                  ~~~~~~~~~~~~~~~~~~~~~^~~~
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/qchar.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1,
                 from Dialog.h:19,
                 from GuiDialog.h:15,
                 from GuiDocument.h:17,
                 from GuiDocument.cpp:14:
/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::ItemFlag]'
     Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {}
                             ^~~~~~
Makefile:956: recipe for target 'GuiDocument.o' failed
make[6]: *** [GuiDocument.o] Error 1
make[6]: Leaving directory '/home/lyx/lyx/src/frontends/qt'
Makefile:796: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/home/lyx/lyx/src/frontends/qt'
Makefile:780: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/lyx/lyx/src/frontends'
Makefile:2355: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/lyx/lyx/src'
Makefile:1499: 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
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel