| Summary: | net-im/telegram-desktop: update to 1.7.14 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Henry Hu <henry.hu.sh> | ||||
| Component: | Individual Port(s) | Assignee: | Xin LI <delphij> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | delphij, lapo, meta | ||||
| Priority: | --- | Keywords: | needs-patch, needs-qa | ||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Henry Hu
2019-07-28 18:30:50 UTC
Poudriere for 12.0/amd64: https://raw.githubusercontent.com/HenryHu/ports/master/logs/12.0-amd64/telegram-desktop-1.7.14.log Poudriere log for 11.2/i386: https://raw.githubusercontent.com/HenryHu/ports/master/logs/11-i386/telegram-desktop-1.7.14.log It fails to build for me.
===> Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/net-im/telegram-desktop/work/.build
-- The C compiler identification is Clang 8.0.0
-- The CXX compiler identification is Clang 8.0.0
-- Check for working C compiler: /usr/local/libexec/ccache/cc
-- Check for working C compiler: /usr/local/libexec/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/libexec/ccache/c++
-- Check for working CXX compiler: /usr/local/libexec/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM compiler identification is Clang
-- Found assembler: /usr/local/libexec/ccache/cc
-- Configuring done
CMake Error at CMakeLists.txt:13440 (add_executable):
Cannot find source file:
../../Telegram/SourceFiles/platform/freebsd/info_freebsd.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at CMakeLists.txt:10965 (add_custom_target):
Cannot find source file:
../../Telegram/SourceFiles/platform/freebsd/info_freebsd.h
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at CMakeLists.txt:13440 (add_executable):
No SOURCES given to target: Telegram
-- Build files have been written to: /wrkdirs/usr/ports/net-im/telegram-desktop/work/.build
*** Error code 1
Stop.
make: stopped in /usr/ports/net-im/telegram-desktop
build of net-im/telegram-desktop | telegram-desktop-1.7.14 ended at Thu Aug 1 15:26:21 JST 2019
build time: 00:00:47
!!! build failure encountered !!
(In reply to Koichiro Iwao from comment #3) Interesting, these 2 files should be created by the patch. Can you check if they are there? (In reply to Henry Hu from comment #4) It turned out some patches are not created on my side. I'll try to apply it again. BTW, if you submit the patch created by `svn diff`, it'll be easy to apply. Applies* and works for me, thanks! *: except Makefile.rej because version was dumped from _2 to _3. patch doesn't apply. Strangely the patch created patchfile to top directory. Giging up this. % curl -L 'https://bz-attachments.freebsd.org/attachment.cgi?id=206128' | patch % svn st M Makefile M distinfo M files/gyp-patches M files/patch-Telegram_SourceFiles___other_packer.cpp M files/patch-Telegram_SourceFiles_base_bytes.h M files/patch-Telegram_SourceFiles_core_launcher.cpp M files/patch-Telegram_SourceFiles_core_update__checker.cpp M files/patch-Telegram_SourceFiles_core_utils.h M files/patch-Telegram_SourceFiles_data_data__document.cpp M files/patch-Telegram_SourceFiles_export_data_export__data__types.cpp M files/patch-Telegram_SourceFiles_history_admin__log_history__admin__log__inner.cpp M files/patch-Telegram_SourceFiles_history_history__inner__widget.cpp M files/patch-Telegram_SourceFiles_history_view_history__view__list__widget.cpp M files/patch-Telegram_SourceFiles_logs.cpp ? files/patch-Telegram_SourceFiles_platform_freebsd_info__freebsd.cpp ? files/patch-Telegram_SourceFiles_platform_freebsd_info__freebsd.h M files/patch-Telegram_SourceFiles_platform_linux_main__window__linux.cpp ? files/patch-Telegram_SourceFiles_platform_platform__info.h M files/patch-Telegram_SourceFiles_settings.cpp M files/patch-Telegram_SourceFiles_settings_settings__notifications.cpp M files/patch-Telegram_SourceFiles_ui_text_text.cpp M files/patch-Telegram_SourceFiles_ui_text_text__block.cpp M files/patch-Telegram_SourceFiles_ui_twidget.cpp M files/patch-Telegram_SourceFiles_ui_widgets_labels.cpp M files/patch-Telegram_SourceFiles_window_main__window.cpp M files/patch-Telegram_ThirdParty_libtgvoip_VoIPController.cpp M files/patch-Telegram_gyp_PrecompiledHeader.cmake M files/patch-Telegram_gyp_settings__linux.gypi M files/patch-Telegram_gyp_telegram__sources.txt ? files/patch-issue-6219 ? patch-Telegram_SourceFiles_platform_freebsd_info__freebsd.cpp ? patch-Telegram_SourceFiles_platform_freebsd_info__freebsd.h ? patch-Telegram_SourceFiles_platform_platform__info.h ? patch-issue6219 Patch applies cleanly with 'patch -p0'. A commit references this bug: Author: delphij Date: Sat Aug 17 06:50:23 UTC 2019 New revision: 509139 URL: https://svnweb.freebsd.org/changeset/ports/509139 Log: Update to 1.7.14. PR: 239502 Submitted by: maintainer (Henry Hu <henry.hu.sh gmail.com>) Changes: head/net-im/telegram-desktop/Makefile head/net-im/telegram-desktop/distinfo head/net-im/telegram-desktop/files/gyp-patches head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles___other_packer.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_base_bytes.h head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_launcher.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_update__checker.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_utils.h head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_data_data__document.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_export_data_export__data__types.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_admin__log_history__admin__log__inner.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_history__inner__widget.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_view_history__view__list__widget.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_logs.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_freebsd_info__freebsd.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_freebsd_info__freebsd.h head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_main__window__linux.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_platform__info.h head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_settings.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_settings_settings__notifications.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_ui_text_text.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_ui_text_text__block.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_ui_twidget.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_ui_widgets_labels.cpp head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp head/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_VoIPController.cpp head/net-im/telegram-desktop/files/patch-Telegram_gyp_PrecompiledHeader.cmake head/net-im/telegram-desktop/files/patch-Telegram_gyp_settings__linux.gypi head/net-im/telegram-desktop/files/patch-Telegram_gyp_telegram__sources.txt head/net-im/telegram-desktop/files/patch-issue6219 Committed, thanks! |