[Bug 277366] net-im/telegram-desktop: Not launching after QT6 updates (quarterly)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 28 Feb 2024 14:59:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277366

--- Comment #1 from Henrich Hartzer <henrichhartzer@tuta.io> ---
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.