You are not logged in.
Recent builds of telegram-desktop package changed a flag (https://bugs.archlinux.org/task/66681) which causes me a headache and I have put it in IgnorePkg so that it wouldn't update until today which I went to fix the issue with this procedure:
asp export telegram-desktop
cd telegram-desktop
makepkg -sri
Facing this error:
==> Starting build()...
Version: 2.1.7
-- Checking for module 'tgvoip'
-- Package 'tgvoip', required by 'virtual:world', not found
CMake Error at /usr/share/cmake-3.17/Modules/FindPkgConfig.cmake:497 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.17/Modules/FindPkgConfig.cmake:681 (_pkg_check_modules_internal)
Telegram/cmake/lib_tgvoip.cmake:12 (pkg_check_modules)
Telegram/CMakeLists.txt:36 (include)
-- Configuring incomplete, errors occurred!
Other packages of telegram-desktop in AUR have these packages in their PKGBUILD, why the official one does not have them and how does it gets build without them?
E.g.
https://aur.archlinux.org/cgit/aur.git/ … esktop-dev
Last edited by aminvakil (2020-06-04 16:20:40)
Offline
If it helps I face this error building telegram-desktop-dev AUR package (maybe both errors are because of the same reason):
[ 46%] Building C object Telegram/CMakeFiles/lib_tgvoip.dir/ThirdParty/libtgvoip/webrtc_dsp/common_audio/vad/vad_gmm.c.o
[ 46%] Linking CXX static library liblib_tgvoip.a
make[2]: Leaving directory '/path/to/telegram-desktop-dev/src/tdesktop/build'
[ 46%] Built target lib_tgvoip
make[2]: Leaving directory '/path/to/telegram-desktop-dev/src/tdesktop/build'
make[1]: *** [CMakeFiles/Makefile2:1835: Telegram/lib_ui/CMakeFiles/lib_ui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/path/to/telegram-desktop-dev/src/tdesktop/build'
[ 46%] Built target lib_scheme
make[1]: Leaving directory '/path/to/telegram-desktop-dev/src/tdesktop/build'
make: *** [Makefile:150: all] Error 2
make: Leaving directory '/path/to/telegram-desktop-dev/src/tdesktop/build'
==> ERROR: A failure occurred in build().
Aborting...
==> Removing installed dependencies...
Offline
Builds fine as written in a clean chroot.
Offline
@Scimmia, thanks for your reply, do you have any idea how does tgvoip and other dependencies get resolved?
Offline
Everything's in the tarball.
Offline
Yes, I deployed a clean archlinux vm and I can confirm it can be build cleanly.
I have executed sudo pacman -Suy base-devel before using makepkg -sri, what is wrong with my building?
Offline
I had changed PKGBUILD and put a # at beginning of line -DDESKTOP_APP_USE_PACKAGED_FONTS=OFF, so it became:
...
-DDESKTOP_APP_USE_PACKAGED_GSL=OFF \
# -DDESKTOP_APP_USE_PACKAGED_FONTS=OFF \
-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON \
I didn't think it mattered, so I haven't mentioned it in my question, that was the problem, sorry to take your time.
Offline