Hi, I'm on quarterly and Telegram Desktop quit launching for me after the latest updates. It sounds like if the package is rebuilt, all might be well. $ telegram-desktop ** (telegram-desktop:17453): WARNING **: 00:36:15.896: Glib::Error::throw_exception(): unknown error domain 'g-spawn-exit-error-quark': throwing generic Glib::Error exception ** (telegram-desktop:17453): WARNING **: 00:36:15.901: Unable to load patched fonts with Qt workarounds, expect font issues. Cannot mix incompatible Qt library (6.6.1) with this library (6.6.2) Abort trap Thank you!
I tried to compile Telegram Desktop with ports quarterly and am getting this error. -- Found Python3: /usr/local/bin/python3.9 (found version "3.9.18") found components: Interpreter -- Configuring done (6.7s) CMake Error at cmake/nice_target_sources.cmake:53 (target_sources): Cannot find source file: /usr/ports/net-im/telegram-desktop/work-qt5/tdesktop-4.14.2-full/Telegram/ThirdParty/kcoreaddons/src/lib/io/kurlmimedata.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc Call Stack (most recent call first): cmake/external/kcoreaddons/CMakeLists.txt:29 (nice_target_sources) CMake Error at cmake/external/kcoreaddons/CMakeLists.txt:23 (add_library): No SOURCES given to target: external_kcoreaddons_bundled CMake Generate step failed. Build files cannot be regenerated correctly. *** Error code 1 Stop. make[1]: stopped in /usr/ports/net-im/telegram-desktop *** Error code 1 Stop. make: stopped in /usr/ports/net-im/telegram-desktop It sounds like there's a QT5 and a QT6 flavor of the package. I'm confused as it seems the package built upstream is QT6, but the default is QT5?
Ok, it looks like I actually did explicitly install telegram-desktop-qt6. telegram-desktop is also available. Nonetheless, I'm running a compile of telegram-desktop-qt6. I did try to disable ALSA support, but that broke the build. So far so good compiling my own telegram-desktop-qt6. Summary: telegram-desktop-qt6 quarterly package is broken after latest QT6 updates (I think it just has to be rebuilt). telegram-desktop (QT5) has a build error for me. telegram-desktop-qt6 build fails if ALSA is not selected.
The compile did work fine and Telegram Desktop is working for me once again. I'm not sure if there's a way to trigger telegram-desktop-qt6 to be rebuilt automatically with new QT6 releases, or if it's best to just manually bump the release number for this package and call it a day.
Hi Dirk, Could you show me the commit or other bug report that covered this? Thank you!
Sorry no explicit commit. I was able to run telegram-desktop-qt6-4.15.2 on FreeBSD-13.2 amd64 all ports up to date, snapshot from 2024-03-15. telegram-desktop (QT5) also builds and runs. The telegram-desktop-qt6 quarterly package will be rebuild for the new quarter in 3 days.
No problem, thank you! That sounds good.