Wont build with ffmpeg-full-git; "Invalid conversion from 'const AVCodec' to 'AVCodec'"
Search Criteria
Package Details: telegram-desktop-git 5.7.2.r0.g02c01e2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/telegram-desktop-git.git (read-only, click to copy) |
---|---|
Package Base: | telegram-desktop-git |
Description: | Official Telegram Desktop client |
Upstream URL: | https://github.com/telegramdesktop/tdesktop |
Licenses: | GPL-3.0-or-later |
Conflicts: | telegram-desktop |
Provides: | telegram-desktop |
Submitter: | tredaelli |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 14 |
Popularity: | 0.000012 |
First Submitted: | 2015-05-21 08:28 (UTC) |
Last Updated: | 2024-11-05 16:42 (UTC) |
Dependencies (35)
- ada
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR)
- hunspell (hunspell-gitAUR)
- jemalloc (jemalloc-gitAUR)
- kcoreaddons (kcoreaddons-gitAUR)
- libdispatch (libdispatch-gitAUR)
- libpipewire (libpipewire-full-gitAUR, libpipewire-gitAUR)
- libvpx (libvpx-full-gitAUR, libvpx-gitAUR)
- libxcomposite
- libxdamage
- libxrandr (libxrandr-gitAUR)
- libxtst
- minizip (minizip-gitAUR)
- openal (openal-gitAUR)
- openh264 (openh264-gitAUR)
- opus (opus-gitAUR)
- protobuf (protobuf-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-declarative (qt6-declarative-gitAUR)
- qt6-svg
- qt6-wayland
- rnnoise (rnnoise-gitAUR)
- xcb-util-keysyms
- xxhash (xxhash-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- fmt (fmt-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2-devel (make)
- gobject-introspection (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- yasm (yasm-gitAUR) (make)
- webkit2gtk (webkit2gtk-imgpasteAUR) (optional) – embedded browser features
- xdg-desktop-portal (xdg-desktop-portal-gitAUR) (optional) – desktop integration
Required by (2)
- purpose-git (requires telegram-desktop) (optional)
- tmulti-git (requires telegram-desktop)
Sources (37)
- abseil.abseil-cpp
- chromiumsrc.libyuv
- cisco.libsrtp
- cyan4973.xxhash
- desktop-app.cmake_helpers
- desktop-app.codegen
- desktop-app.libprisma
- desktop-app.lib_base
- desktop-app.lib_crl
- desktop-app.lib_lottie
- desktop-app.lib_qr
- desktop-app.lib_rpl
- desktop-app.lib_spellcheck
- desktop-app.lib_storage
- desktop-app.lib_tl
- desktop-app.lib_ui
- desktop-app.lib_webrtc
- desktop-app.lib_webview
- desktop-app.rlottie
- ericniebler.range-v3
- fcitx.fcitx5-qt
- flatpak.xdg-desktop-portal
- google.cld3
- google.crc32c
- hamonikr.nimf
- hime-ime.hime
- lz4
- martinmoene.expected-lite
- microsoft.gsl
- mnauw.cppgir
- nayuki.qr-code-generator
- tartanllama.expected
- telegram-desktop
- telegram-tg_owt
- telegramdesktop.libtgvoip
- telegrammessenger.tgcalls
- yugr.implib.so
EndlessEden commented on 2021-06-05 03:25 (UTC)
devcexx commented on 2021-03-19 13:15 (UTC)
Having this compilation error right now:
FAILED: Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp.o
/usr/bin/c++ -DDESKTOP_APP_DISABLE_CRASH_REPORTS -DDESKTOP_APP_USE_PACKAGED -DDESKTOP_APP_USE_PACKAGED_FONTS -DHAVE_WEBRTC_VIDEO -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS -DRTC_ENABLE_VP9 -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_APP_TDESKTOP -DWEBRTC_ENABLE_LINUX_ALSA -DWEBRTC_ENABLE_LINUX_PULSE -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_LINUX -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_POSIX -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -I../Telegram/ThirdParty/tgcalls -I../Telegram/ThirdParty/tgcalls/tgcalls -isystem /usr/include/tg_owt -isystem /usr/include/tg_owt/third_party/abseil-cpp -isystem /usr/include/tg_owt/third_party/libyuv/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O3 -DNDEBUG -fPIC -fno-strict-aliasing -pipe -Wall -W -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-sign-compare -Wno-attributes -Wno-parentheses -Wno-stringop-overflow -Wno-maybe-uninitialized -Wno-error=class-memaccess -Wno-register -std=gnu++17 -MD -MT Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp.o -MF Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp.o.d -o Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp.o -c ../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp
In file included from ../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp:1:
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.h:14:9: error: ‘uint32_t’ does not name a type; did you mean ‘u_int32_t’?
14 | uint32_t ssrc = 0;
| ^~~~~~~~
| u_int32_t
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.h:18:40: error: ‘uint8_t’ was not declared in this scope; did you mean ‘u_int8_t’?
18 | explicit StreamingPart(std::vector<uint8_t> &&data);
| ^~~~~~~
| u_int8_t
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.h:18:47: error: template argument 1 is invalid
18 | explicit StreamingPart(std::vector<uint8_t> &&data);
| ^
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.h:18:47: error: template argument 2 is invalid
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp: In member function ‘std::vector<tgcalls::StreamingPart::StreamingPartChannel> tgcalls::StreamingPartState::get10msPerChannel()’:
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp:460:23: error: ‘struct tgcalls::StreamingPart::StreamingPartChannel’ has no member named ‘ssrc’
460 | emptyPart.ssrc = ssrc;
| ^~~~
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp:465:76: error: ‘struct tgcalls::StreamingPart::StreamingPartChannel’ has no member named ‘ssrc’
465 | auto mappedChannelIndex = getCurrentMappedChannelIndex(channel.ssrc);
| ^~~~
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp: At global scope:
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp:522:1: error: no declaration matches ‘tgcalls::StreamingPart::StreamingPart(std::vector<unsigned char>&&)’
522 | StreamingPart::StreamingPart(std::vector<uint8_t> &&data) {
| ^~~~~~~~~~~~~
In file included from ../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp:1:
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.h:22:5: note: candidates are: ‘tgcalls::StreamingPart::StreamingPart(tgcalls::StreamingPart&&)’
22 | StreamingPart(StreamingPart&& other) {
| ^~~~~~~~~~~~~
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.h:21:5: note: ‘tgcalls::StreamingPart::StreamingPart(const tgcalls::StreamingPart&)’
21 | StreamingPart(const StreamingPart&) = delete;
| ^~~~~~~~~~~~~
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.h:18:14: note: ‘tgcalls::StreamingPart::StreamingPart(int&&)’
18 | explicit StreamingPart(std::vector<uint8_t> &&data);
| ^~~~~~~~~~~~~
../Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.h:11:7: note: ‘class tgcalls::StreamingPart’ defined here
11 | class StreamingPart {
| ^~~~~~~~~~~~~
Any ideas?
farseerfc commented on 2020-12-18 07:21 (UTC)
Updated to keep up changes in the community package. This should build (at least for now)
slondr commented on 2020-12-09 20:01 (UTC) (edited on 2020-12-09 20:01 (UTC) by slondr)
==> Starting build()...
Version: 2.4.13.beta
-- Checking for module 'rlottie'
-- Package 'rlottie', required by 'virtual:world', not found
CMake Error at cmake/external/webrtc/CMakeLists.txt:11 (find_package):
By not providing "Findtg_owt.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "tg_owt", but
CMake did not find one.
Could not find a package configuration file provided by "tg_owt" with any
of the following names:
tg_owtConfig.cmake
tg_owt-config.cmake
Add the installation prefix of "tg_owt" to CMAKE_PREFIX_PATH or set
"tg_owt_DIR" to a directory containing one of the above files. If "tg_owt"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
melkor217 commented on 2020-08-16 13:25 (UTC)
webrtc related issue during da build:
-- Configuring done
CMake Error in Telegram/CMakeLists.txt:
Imported target "external_webrtc" includes non-existent path
"/home/dan/.cache/yay/telegram-desktop-git/src/Libraries/webrtc/src"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
melkor217 commented on 2020-08-16 13:25 (UTC)
webrtc related issue during da build:
-- Configuring done
CMake Error in Telegram/CMakeLists.txt:
Imported target "external_webrtc" includes non-existent path
"/home/dan/.cache/yay/telegram-desktop-git/src/Libraries/webrtc/src"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
mattf commented on 2020-07-20 22:18 (UTC)
Having this problem duringthe build:
In file included from /usr/include/qt/QtGui/QtEvents:1,
from /home/matheus/projects/telegram-desktop-git/src/tdesktop/Telegram/SourceFiles/stdafx.h:64,
from /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/qt/QtGui/qevent.h:222:28: note: declared here
222 | inline Qt::Orientation orientation() const { return qt4O; }
| ^~~~~~~~~~~
[897/1016] Building CXX object Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/specific_linux.cpp.o
FAILED: Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/specific_linux.cpp.o
/usr/lib/ccache/bin/c++ -DAL_ALEXT_PROTOTYPES -DDESKTOP_APP_DISABLE_CRASH_REPORTS -DDESKTOP_APP_USE_PACKAGED -DDESKTOP_APP_USE_PACKAGED_FONTS -DLOTTIE_USE_CACHE -DLOT_BUILD -DNDEBUG -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WAYLANDCLIENT_LIB -DQT_WIDGETS_LIB -DTDESKTOP_API_HASH=344583e45741c457fe1862106095a5eb -DTDESKTOP_API_ID=17349 -DTDESKTOP_DISABLE_AUTOUPDATE -DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME -DTDESKTOP_LAUNCHER_BASENAME=telegramdesktop -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_LINUX -DWEBRTC_NS_FLOAT -DWEBRTC_POSIX -ITelegram/Telegram_autogen/include -ITelegram/gen -I../Telegram/SourceFiles -I../Telegram/lib_spellcheck -ITelegram/lib_ui/gen -I../Telegram/lib_ui -I../Telegram/lib_ui/emoji_suggestions -I../Telegram/lib_base -I../Telegram/lib_rpl -I../Telegram/lib_crl -I../Telegram/ThirdParty/statusnotifieritem -Icmake/external/statusnotifieritem -I../Telegram/lib_tl -I../Telegram/lib_storage -I../Telegram/lib_lottie -I../Telegram/lib_qr -I../Telegram/ThirdParty/QR/cpp -I../Telegram/ThirdParty/rlottie/inc -I../Telegram/ThirdParty/libtgvoip -isystem /usr/include/hunspell -isystem /usr/include/qt/QtCore/5.15.0 -isystem /usr/include/qt/QtCore/5.15.0/QtCore -isystem /usr/include/qt/QtGui/5.15.0 -isystem /usr/include/qt/QtGui/5.15.0/QtGui -isystem /usr/include/qt/QtWaylandClient/5.15.0 -isystem /usr/include/qt/QtWaylandClient/5.15.0/QtWaylandClient -isystem /usr/include/qt -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtDBus -isystem /usr/include/qt/QtWaylandClient -isystem ../Telegram/ThirdParty/variant/include -isystem /usr/include/dbusmenu-qt5 -isystem /usr/include/minizip -isystem /usr/include/AL -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/pixman-1 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/atk-1.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include -isystem /usr/include/at-spi-2.0 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fcommon -ffile-prefix-map=/home/matheus/projects/telegram-desktop-git/src/tdesktop= -O3 -DNDEBUG -Wno-register -fno-strict-aliasing -pipe -Wall -W -fPIC -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-sign-compare -Wno-attributes -Wno-parentheses -Wno-stringop-overflow -Wno-maybe-uninitialized -Wno-error=class-memaccess -pthread -std=gnu++17 -Winvalid-pch -include /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx -MD -MT Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/specific_linux.cpp.o -MF Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/specific_linux.cpp.o.d -o Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/specific_linux.cpp.o -c ../Telegram/SourceFiles/platform/linux/specific_linux.cpp
In file included from ../Telegram/SourceFiles/platform/linux/specific_linux.cpp:30:
/usr/include/qt/QtWaylandClient/5.15.0/QtWaylandClient/private/qwaylanddisplay_p.h:69:10: fatal error: QtXkbCommonSupport/private/qxkbcommon_p.h: No such file or directory
69 | #include <QtXkbCommonSupport/private/qxkbcommon_p.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[902/1016] Building CXX object Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/file_utilities_linux.cpp.o
In file included from ../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:8:
../Telegram/SourceFiles/platform/linux/file_utilities_linux.h:147:38: warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = QFileDialog::Option; QFlags<T>::Zero = int QFlags<QFileDialog::Option>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
147 | QFileDialog::Options _options = { 0 };
| ^
In file included from /usr/include/qt/QtCore/qglobal.h:1302,
from /usr/include/qt/QtCore/qiterator.h:43,
from /usr/include/qt/QtCore/qmap.h:43,
from /usr/include/qt/QtCore/QMap:1,
from /home/matheus/projects/telegram-desktop-git/src/tdesktop/Telegram/SourceFiles/stdafx.h:26,
from /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/qt/QtCore/qflags.h:123:80: note: declared here
123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
| ^~~~~~
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp: In function ‘QStringList Platform::FileDialog::internal::{anonymous}::cleanFilterList(const QString&)’:
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:392:44: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
392 | return f.split(QLatin1Char(' '), QString::SkipEmptyParts);
| ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
from /usr/include/qt/QtCore/qlist.h:47,
from /usr/include/qt/QtCore/qmap.h:44,
from /usr/include/qt/QtCore/QMap:1,
from /home/matheus/projects/telegram-desktop-git/src/tdesktop/Telegram/SourceFiles/stdafx.h:26,
from /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/qt/QtCore/qstring.h:600:9: note: declared here
600 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
| ^~~~~~~~~~~~~~
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:392:44: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
392 | return f.split(QLatin1Char(' '), QString::SkipEmptyParts);
| ^~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
from /usr/include/qt/QtCore/qlist.h:47,
from /usr/include/qt/QtCore/qmap.h:44,
from /usr/include/qt/QtCore/QMap:1,
from /home/matheus/projects/telegram-desktop-git/src/tdesktop/Telegram/SourceFiles/stdafx.h:26,
from /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/qt/QtCore/qstring.h:600:9: note: declared here
600 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
| ^~~~~~~~~~~~~~
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:392:58: warning: ‘QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations]
392 | return f.split(QLatin1Char(' '), QString::SkipEmptyParts);
| ^
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
from /usr/include/qt/QtCore/qlist.h:47,
from /usr/include/qt/QtCore/qmap.h:44,
from /usr/include/qt/QtCore/QMap:1,
from /home/matheus/projects/telegram-desktop-git/src/tdesktop/Telegram/SourceFiles/stdafx.h:26,
from /home/matheus/projects/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/qt/QtCore/qstring.h:610:17: note: declared here
610 | QStringList split(QChar sep, SplitBehavior behavior,
| ^~~~~
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp: In function ‘GtkFileChooserAction Platform::FileDialog::internal::gtkFileChooserAction(QFileDialog::FileMode, QFileDialog::AcceptMode)’:
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:596:20: warning: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead [-Wdeprecated-declarations]
596 | case QFileDialog::DirectoryOnly:
| ^~~~~~~~~~~~~
In file included from /usr/include/qt/QtWidgets/QFileDialog:1,
from ../Telegram/SourceFiles/platform/linux/file_utilities_linux.h:13,
from ../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:8:
/usr/include/qt/QtWidgets/qfiledialog.h:84:21: note: declared here
84 | DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")};
| ^~~~~~~~~~~~~
../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:596:20: warning: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead [-Wdeprecated-declarations]
596 | case QFileDialog::DirectoryOnly:
| ^~~~~~~~~~~~~
In file included from /usr/include/qt/QtWidgets/QFileDialog:1,
from ../Telegram/SourceFiles/platform/linux/file_utilities_linux.h:13,
from ../Telegram/SourceFiles/platform/linux/file_utilities_linux.cpp:8:
/usr/include/qt/QtWidgets/qfiledialog.h:84:21: note: declared here
84 | DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")};
| ^~~~~~~~~~~~~
[906/1016] Building CXX object Telegram/CMakeFiles/Telegram.dir/SourceFiles/platform/linux/main_window_linux.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
beaux_monde commented on 2020-06-13 20:47 (UTC)
Update source URI for the telegram-desktop.sh file. It was removed from the upstream. Specify a commit which contains it.
DarkMind commented on 2020-03-10 01:01 (UTC)
/5.14.1/QtCore -isystem /usr/include/qt/QtGui/5.14.1 -isystem /usr/include/qt/QtGui/5.14.1/QtGui -isystem /usr/include/qt -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtDBus -isystem ../Telegram/ThirdParty/variant/include -isystem ../Telegram/ThirdParty/expected/include -isystem /usr/include/dbusmenu-qt5 -isystem /usr/include/minizip -isystem /usr/include/AL -march=native -O2 -pipe -fno-plt -ffile-prefix-map=/makepkg/telegram-desktop-git/src/tdesktop= -O3 -DNDEBUG -fno-strict-aliasing -pipe -Wall -W -fPIC -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-switch -Wno-comment -Wno-unused-but-set-variable -Wno-missing-field-initializers -Wno-sign-compare -Wno-attributes -Wno-parentheses -Wno-stringop-overflow -Wno-maybe-uninitialized -Wno-error=class-memaccess -std=gnu++17 -Winvalid-pch -include /makepkg/telegram-desktop-git/src/tdesktop/build/Telegram/CMakeFiles/Telegram.dir/cmake_pch.hxx -MD -MT Telegram/CMakeFiles/Telegram.dir/gen/lang_auto.cpp.o -MF Telegram/CMakeFiles/Telegram.dir/gen/lang_auto.cpp.o.d -o Telegram/CMakeFiles/Telegram.dir/gen/lang_auto.cpp.o -c Telegram/gen/lang_auto.cpp {entrada estándar}: Mensajes del ensamblador: {entrada estándar}:2476: Aviso: final de fichero no está al final de una línea: se insertó línea nueva c++: error fatal: la señal Terminado (killed) terminó el programa cc1plus compilación terminada. [586/972] Building CXX object Telegram/CMakeFile...urceFiles/boxes/peers/edit_participant_box.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: Se produjo un fallo en build().
Hi-Angel commented on 2019-11-03 14:55 (UTC) (edited on 2019-11-03 14:56 (UTC) by Hi-Angel)
Please, remove from PKGBUILD line make -j17
the option -j17
. First of, it gonna eat up user's RAM because that takes a lot of memory. I just had a lock up because of this. Second, users usually set the -jX
number they prefer inside MAKEFLAGS
in their /etc/makepkg.conf
.
(ideally one wouldn't use make
at all in preference of modern ninja
since cmake
does support such generator. But tdesktop seems to have something broken in their cmake configuration, and -GNinja
option to cmake makes cmake configuration fail)
Pinned Comments