Created attachment 882418 [details] build log FAILED: Telegram/CMakeFiles/td_export.dir/SourceFiles/export/export_api_wrap.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DCRL_FORCE_COMMON_QUEUE -DGI_INLINE -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DKCOREADDONS_EXPORT="" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x051500 -DQT_GUI_LIB -DQT_IMPLICIT_QCHAR_CONSTRUCTION -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -I/tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles -I/tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/lib_base -I/tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/lib_rpl -I/tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/lib_crl -I/tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/lib_tl -isystem /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/ThirdParty/GSL/include -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtCore/6.6.1 -isystem /usr/include/qt6/QtCore/6.6.1/QtCore -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtGui/6.6.1 -isystem /usr/include/qt6/QtGui/6.6.1/QtGui -isystem /usr/include/qt6/QtOpenGL -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtWidgets/6.6.1 -isystem /usr/include/qt6/QtWidgets/6.6.1/QtWidgets -isystem /usr/include/qt6/QtOpenGLWidgets -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtSvg -isystem /usr/include/qt6/QtDBus -isystem /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/ThirdParty/expected/include -isystem /usr/include/giomm-2.68-isystem /usr/lib64/giomm-2.68/include -isystem /usr/include/glibmm-2.68 -isystem /usr/lib64/glibmm-2.68/include -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sigc++-3.0 -isystem /usr/lib64/sigc++-3.0/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/lib64/libffi/include -isystem /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/ThirdParty/kcoreaddons/src/lib/io -isystem /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/ThirdParty/kcoreaddons/src/lib/util -isystem /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/cmake/external/kcoreaddons/headers/public -isystem /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full_build/Telegram/lib_base/gen -isystem /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full_build/gen -isystem /usr/include/cppgir -isystem /usr/include/cppgir/gi -isystem /usr/include/cppgir/override -isystem /usr/include/gio-unix-2.0 -isystem /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full_build/Telegram/gen -DNDEBUG -O3 -pipe -march=skylake -mtune=skylake -flto=16 -std=gnu++20 -fPIC -fno-strict-aliasing -pipe -Wall -Wextra -Wno-unused-parameter -Wno-switch -Wno-maybe-uninitialized-Wno-missing-field-initializers -Wno-sign-compare -Wno-deprecated -pthread -MD -MT Telegram/CMakeFiles/td_export.dir/SourceFiles/export/export_api_wrap.cpp.o -MF Telegram/CMakeFiles/td_export.dir/SourceFiles/export/export_api_wrap.cpp.o.d -o Telegram/CMakeFiles/td_export.dir/SourceFiles/export/export_api_wrap.cpp.o -c /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp In file included from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:11, from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp:8: /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/data/data_peer_id.h:232:40: error: ‘MTPPeer’ does not name a type 232 | [[nodiscard]] PeerId peerFromMTP(const MTPPeer &peer); | ^~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/data/data_peer_id.h:233:15: error: ‘MTPpeer’ does not name a type 233 | [[nodiscard]] MTPpeer peerToMTP(PeerId id); | ^~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:45:14: error: ‘producer’ in namespace ‘rpl’ does not name a template type 45 | rpl::producer<MTP::Error> errors() const; | ^~~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:46:14: error: ‘producer’ in namespace ‘rpl’ does not name a template type 46 | rpl::producer<Output::Result> ioErrors() const; | ^~~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:129:40: error: ‘MTPphotos_Photos’ does not name a type 129 | void handleUserpicsSlice(const MTPphotos_Photos &result); | ^~~~~~~~~~~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:137:39: error: ‘MTPstories_Stories’ does not name a type 137 | void handleStoriesSlice(const MTPstories_Stories &result); | ^~~~~~~~~~~~~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:181:28: error: ‘MTPmessages_Messages’ was not declared in this scope 181 | FnMut<void(MTPmessages_Messages&&)> done); | ^~~~~~~~~~~~~~~~~~~~ <snip> /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:181:17: note: or use ‘auto’ for an abbreviated function template In file included from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/lib_base/base/bytes.h:9, from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/mtproto/mtproto_concurrent_sender.h:10, from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:10: /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/lib_base/base/basic_types.h:37:7: note: ‘template<class Signature> using FnMut = base::unique_function<Signature>’ declared here 37 | using FnMut = base::unique_function<Signature>; | ^~~~~ ^ <snip> /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp:1711:27: error: ‘end’ was not declared in this scope 1711 | const auto till = end(_unresolvedCustomEmoji); | ^~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp:1711:27: note: suggested alternatives: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/string:53, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/streambuf:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/streambuf_iterator.h:35, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/iterator:66, from /usr/include/qt6/QtCore/qcontainertools_impl.h:20, from /usr/include/qt6/QtCore/qarraydataops.h:9, from /usr/include/qt6/QtCore/qarraydatapointer.h:7, from /usr/include/qt6/QtCore/qlist.h:8, from /usr/include/qt6/QtCore/qmap.h:9, from /usr/include/qt6/QtCore/QMap:1, from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/lib_base/base/ordered_set.h:9, from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/lib_base/base/basic_types.h:10: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/range_access.h:116:37: note: ‘std::end’ 116 | template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/utility:73, from /usr/include/qt6/QtCore/qglobal.h:15, from /usr/include/qt6/QtCore/qiterator.h:7, from /usr/include/qt6/QtCore/qmap.h:8: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/initializer_list:99:5: note: ‘std::end’ 99 | end(initializer_list<_Tp> __ils) noexcept | ^~~ In file included from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/ThirdParty/GSL/include/gsl/span:26, from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/ThirdParty/GSL/include/gsl/algorithm:21, from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/ThirdParty/GSL/include/gsl/gsl:20, from /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/lib_base/base/basic_types.h:24: /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/ThirdParty/GSL/include/gsl/span_ext:163:1: note: ‘gsl::end’ 163 | end(const span<ElementType, Extent>& s) noexcept | ^~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_util.h:34, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/tuple:44, from /usr/include/qt6/QtCore/qtypeinfo.h:13, from /usr/include/qt6/QtCore/qglobal.h:47: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:490:42: note: ‘std::ranges::__cust::end’ 490 | inline constexpr __cust_access::_End end{}; | ^~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/filesystem:50: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/fs_dir.h:612:3: note: ‘std::filesystem::__cxx11::end’ 612 | end(recursive_directory_iterator) noexcept | ^~~ In file included from /usr/include/range/v3/range/concepts.hpp:41, from /usr/include/range/v3/action/concepts.hpp:23, from /usr/include/range/v3/range/conversion.hpp:23: /usr/include/range/v3/range/access.hpp:197:14: note: ‘ranges::_end_::end’ 197 | void end(std::initializer_list<T>) = delete; | ^~~ In file included from /usr/include/range/v3/range_fwd.hpp:25, from /usr/include/range/v3/range/conversion.hpp:21: /usr/include/range/v3/range/access.hpp:313:5: note: ‘ranges::_::end’ 313 | RANGES_DEFINE_CPO(_end_::fn, end) | ^~~~~~~~~~~~~~~~~ /usr/include/range/v3/range/access.hpp:313:5: note: ‘ranges::_::end’ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ranges_base.h:137:10: note: ‘std::ranges::__cust_access::end’ 137 | void end(const auto&) = delete; | ^~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp: In lambda function: /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp:1735:17: error: ‘LOG’ was not declared in this scope 1735 | LOG(("Export Error: Failed to get documents for emoji.")); | ^~~ <snip> /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp: In lambda function: /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp:2244:58: error: cannot convert ‘const MTPmessages_Messages’ {aka ‘const tl::boxed<MTPmessages_messages>’} to ‘const int&’ 2244 | filePartExtractReference(offset, result); | ^~~~~~ | | | const MTPmessages_Messages {aka const tl::boxed<MTPmessages_messages>} /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:223:45: note: initializing argument 2 of ‘void Export::ApiWrap::filePartExtractReference(int64, const int&)’ 223 | const MTPmessages_Messages &result); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp: At global scope: /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp:2249:6: error: no declaration matches ‘void Export::ApiWrap::filePartExtractReference(int64, const MTPmessages_Messages&)’ 2249 | void ApiWrap::filePartExtractReference( | ^~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:221:14: note: candidate is: ‘void Export::ApiWrap::filePartExtractReference(int64, const int&)’ 221 | void filePartExtractReference( | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:41:7: note: ‘class Export::ApiWrap’ defined here 41 | class ApiWrap { | ^~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp:2292:6: error: no declaration matches ‘void Export::ApiWrap::filePartExtractReference(int64, const MTPstories_Stories&)’ 2292 | void ApiWrap::filePartExtractReference( | ^~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:221:14: note: candidate is: ‘void Export::ApiWrap::filePartExtractReference(int64, const int&)’ 221 | void filePartExtractReference( | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.h:41:7: note: ‘class Export::ApiWrap’ defined here 41 | class ApiWrap { | ^~~~~~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::filePartUnavailable()’: /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp:2328:9: error: ‘LOG’ was not declared in this scope 2328 | LOG(("Export Error: File unavailable.")); | ^~~ /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::error(const MTP::Error&)’: /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp:2334:9: error: ‘_errors’ was not declared in this scope; did you mean ‘error’? 2334 | _errors.fire_copy(error); | ^~~~~~~ | error /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp: In member function ‘void Export::ApiWrap::ioError(const Export::Output::Result&)’: /tmp/portage/net-im/telegram-desktop-4.13.1/work/tdesktop-4.13.1-full/Telegram/SourceFiles/export/export_api_wrap.cpp:2343:9: error: ‘_ioErrors’ was not declared in this scope; did you mean ‘ioError’? 2343 | _ioErrors.fire_copy(result); | ^~~~~~~~~ | ioError ninja: build stopped: subcommand failed.
Genuinely no idea how to even begin handling this one.
Possible duplicate? https://bugs.gentoo.org/921939
Yesterday I could consistently reproduce this, today it works fine. Possibly this was just some temporary fluke caused by the downgrade of protobuf that was forced by opencv.
I got the same issue. 100% reproduce, tested on both versions currently available: (~)4.12.2 (~)4.13.1 Attaching my infos. Could be due to missing dependencies? ^[[33mCMake Warning at /usr/lib64/cmake/Qt5/Qt5Config.cmake:39 (message): Failed to find Qt5 component "Quick" config file at "/usr/lib64/cmake/Qt5Quick/Qt5QuickConfig.cmake" Call Stack (most recent call first): Telegram/lib_webview/CMakeLists.txt:57 (find_package) ^[[0m ^[[33mCMake Warning at /usr/lib64/cmake/Qt5/Qt5Config.cmake:39 (message): Failed to find Qt5 component "QuickWidgets" config file at "/usr/lib64/cmake/Qt5QuickWidgets/Qt5QuickWidgetsConfig.cmake" Call Stack (most recent call first): Telegram/lib_webview/CMakeLists.txt:57 (find_package) ^[[0m ^[[33mCMake Warning at /usr/lib64/cmake/Qt5/Qt5Config.cmake:39 (message): Failed to find Qt5 component "WaylandCompositor" config file at "/usr/lib64/cmake/Qt5WaylandCompositor/Qt5WaylandCompositorConfig.cmake" Call Stack (most recent call first): Telegram/lib_webview/CMakeLists.txt:57 (find_package) This is a fresh gentoo install with gnome and wayland, but when I found out that Zoom is not able to share screen, I actually logged in into Xorg version of gnome, do not know if it affects compilation, but wanted to mention for reproduce.
Created attachment 882620 [details] tg-build.log
Created attachment 882621 [details] emerge --info
Created attachment 882622 [details] emerge -pqv
Here is the protobuf version which installed on my machine: $ emerge -pqv protobuf [ebuild R ] dev-libs/protobuf-21.12 USE="zlib -emacs -examples -test" ABI_X86="(64) -32 (-x32)"
-DCMAKE_DISABLE_PRECOMPILE_HEADERS=OFF is not in your cmake command. Have you synced your tree?
$ cat /var/db/repos/gentoo/metadata/timestamp.chk Sun, 14 Jan 2024 17:30:01 +0000 But let me re-do
It worked out, thanks a lot!
*** This bug has been marked as a duplicate of bug 921939 ***