


























When I rebuild from current sources, I do not get 0.7.2 but 0.7.1.r28.g314dc0d-1 and it tries to reinstall again and again.
It seems there is no upstream tag for 0.7.2
My bad, forgot to commit a chunk of code, it's gonna surely work now!
Thanks! It still fails to compile, though.
[ 41%] Building CXX object CMakeFiles/lektra.dir/src/MessageBar.cpp.o
[ 44%] Building CXX object CMakeFiles/lektra.dir/src/Annotations/Annotation.cpp.o
/home/lito/.cache/yay/lektra-git/src/lektra/src/Lektra.cpp: In member function ‘void Lektra::reloadDocument()’:
/home/lito/.cache/yay/lektra-git/src/lektra/src/Lektra.cpp:3880:16: error: ‘class DocumentView’ has no member named ‘reloadDocument’
3880 | m_doc->reloadDocument();
| ^~~~~~~~~~~~~~
[ 47%] Building CXX object CMakeFiles/lektra.dir/src/EditLastPagesWidget.cpp.o
/home/lito/.cache/yay/lektra-git/src/lektra/src/Model.cpp: In member function ‘std::vector<Model::SearchHit> Model::searchHelperRegex(int, const QRegularExpression&)’:
/home/lito/.cache/yay/lektra-git/src/lektra/src/Model.cpp:2432:69: aviso: ‘static QString QString::fromUcs4(const uint*, qsizetype)’ es obsoleto: Use char32_t* overload. [-Wdeprecated-declarations]
2432 | = (r == '\n') ? QStringLiteral("\n") : QString::fromUcs4(&r, 1);
| ~~~~~~~~~~~~~~~~~^~~~~~~
En el fichero incluido desde /usr/include/qt6/QtCore/qhashfunctions.h:9,
desde /usr/include/qt6/QtCore/qlist.h:11,
desde /usr/include/qt6/QtGui/qbrush.h:8,
desde /usr/include/qt6/QtGui/QBrush:1,
desde /home/lito/.cache/yay/lektra-git/src/lektra/src/Annotations/Annotation.hpp:3,
desde /home/lito/.cache/yay/lektra-git/src/lektra/src/Model.hpp:5,
desde /home/lito/.cache/yay/lektra-git/src/lektra/src/Model.cpp:1:
/usr/include/qt6/QtCore/qstring.h:778:20: nota: se declara aquí
778 | static QString fromUcs4(const uint *str, qsizetype size = -1)
| ^~~~~~~~
[ 50%] Building CXX object CMakeFiles/lektra.dir/src/RecentFilesStore.cpp.o
[ 52%] Building CXX object CMakeFiles/lektra.dir/src/RecentFilesModel.cpp.o
[ 55%] Building CXX object CMakeFiles/lektra.dir/src/SearchBar.cpp.o
[ 58%] Building CXX object CMakeFiles/lektra.dir/src/SaveSessionDialog.cpp.o
[ 61%] Building CXX object CMakeFiles/lektra.dir/src/FloatingOverlayWidget.cpp.o
[ 64%] Building CXX object CMakeFiles/lektra.dir/src/HighlightSearchPicker.cpp.o
make[2]: *** [CMakeFiles/lektra.dir/build.make:126: CMakeFiles/lektra.dir/src/Lektra.cpp.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
make[1]: *** [CMakeFiles/Makefile2:90: CMakeFiles/lektra.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: Se produjo un fallo en build().
Cancelando...
-> error al compilar: lektra-git-exit status 4
-> No se pudieron instalar los siguientes paquetes. Se requiere intervención manual:
lektra-git - exit status 4
Thank you for reporting this issue, I have fixed it now on the upstream.
This fails to compile.
[ 47%] Building CXX object CMakeFiles/lektra.dir/src/EditLastPagesWidget.cpp.o
/home/lito/.cache/yay/lektra-git/src/lektra/src/Model.cpp: In lambda function:
/home/lito/.cache/yay/lektra-git/src/lektra/src/Model.cpp:267:9: error: 'cleanup_djvu' was not declared in this scope
267 | cleanup_djvu();
| ^~~~~~~~~~~~
/home/lito/.cache/yay/lektra-git/src/lektra/src/DocumentView.cpp: In member function 'void DocumentView::handleTextSelection(QPointF, QPointF)':
/home/lito/.cache/yay/lektra-git/src/lektra/src/DocumentView.cpp:796:31: error: 'DJVU' is not a member of 'Model::FileType'
796 | case Model::FileType::DJVU:
| ^~~~
/home/lito/.cache/yay/lektra-git/src/lektra/src/Model.cpp: In member function 'std::vector<Model::SearchHit> Model::searchHelperRegex(int, const QRegularExpression&)':
/home/lito/.cache/yay/lektra-git/src/lektra/src/Model.cpp:2411:69: warning: 'static QString QString::fromUcs4(const uint*, qsizetype)' is deprecated: Use char32_t* overload. [-Wdeprecated-declarations]
2411 | = (r == '\n') ? QStringLiteral("\n") : QString::fromUcs4(&r, 1);
| ~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qlist.h:11,
from /usr/include/qt6/QtGui/qbrush.h:8,
from /usr/include/qt6/QtGui/QBrush:1,
from /home/lito/.cache/yay/lektra-git/src/lektra/src/Annotations/Annotation.hpp:3,
from /home/lito/.cache/yay/lektra-git/src/lektra/src/Model.hpp:5,
from /home/lito/.cache/yay/lektra-git/src/lektra/src/Model.cpp:1:
/usr/include/qt6/QtCore/qstring.h:778:20: note: declared here
778 | static QString fromUcs4(const uint *str, qsizetype size = -1)
| ^~~~~~~~
[ 50%] Building CXX object CMakeFiles/lektra.dir/src/RecentFilesStore.cpp.o
[ 52%] Building CXX object CMakeFiles/lektra.dir/src/RecentFilesModel.cpp.o
make[2]: *** [CMakeFiles/lektra.dir/build.make:154: CMakeFiles/lektra.dir/src/Model.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/lektra.dir/build.make:224: CMakeFiles/lektra.dir/src/DocumentView.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:90: CMakeFiles/lektra.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: lektra-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
lektra-git - exit status 4
~>
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Sorry, I had not released the 0.7.2 yet, it should work now.