From nobody Thu Nov 25 08:45:27 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C6080189D781 for ; Thu, 25 Nov 2021 08:45:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0BKM4PTmz3jcP for ; Thu, 25 Nov 2021 08:45:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 73A321A8F8 for ; Thu, 25 Nov 2021 08:45:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1AP8jRsb013499 for ; Thu, 25 Nov 2021 08:45:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AP8jRM2013498 for ports-bugs@FreeBSD.org; Thu, 25 Nov 2021 08:45:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260040] net-im/telegram-desktop: fails to build on recent head (after clang 13 import) Date: Thu, 25 Nov 2021 08:45:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: madpilot@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: glebius@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637829927; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3ID3JzF6SMfd5XQ0nfV7xORfnOonyYyFHERV00ErsSM=; b=MmECPQAybgOzytexnKEPM59MgYvAGFfk1+REGk07liG06LWrb6cLcK2g3nl1GtlE4M5xRF O5wj0WJxH71GgCEO9oyHkz06GcGNFJBx07N78j4q3dfFyru+6i5kHFcEWOyBt4EN9mi8uZ qnFSIghV3NWde07xSWHrK5z6XDyq6itMiIdxhFPzCUGKAGJ4XDl16fpvcSl/n55QtMF01o 2DPvtTcp3y2g5gzzMi6N5dqPgSaOZh771BKXCCizUW4H8Y78cuqGXu4MCImGRJIn2PNZzS bXfoh78h7BakXb791s8cHZp+L7gK8t/dzS9Jc8mTqUeoO6gxvEGU3hHeupPFDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637829927; a=rsa-sha256; cv=none; b=hsaiweYIU0rq1OJnv7kWnmpRTGhypmd12Lguzk/VefEFzr6QfBGpZVXl8lkgL/jJtkVJ7K 8ckOY2OpYqJzRqk9NhuvUmzcn7RBmztdtjUdpeFZjx91HTZtHNltu2JoH9lMqnvD55/n10 lHNA+11tMLOYt9HN9y8XRZwVhlXfLsK7r6nWHuFwkZqsDeDxZAVwJQYbw1DVgYsyk/0Vmq KMyvKP+1IXwfPel5T458Ec/9GAkuvFcy/omaq3cMpjWWliMINyW2yAG15Gde/s8xYjAm2v AsxGqCHrfSjcrjxBYc63X+nkjrkkLUkiRCkEFKaUadGmvWhF3SO+/3/7syaUqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260040 Bug ID: 260040 Summary: net-im/telegram-desktop: fails to build on recent head (after clang 13 import) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: glebius@FreeBSD.org Reporter: madpilot@FreeBSD.org Flags: maintainer-feedback?(glebius@FreeBSD.org) Assignee: glebius@FreeBSD.org Hi, I have recently updated my head installation and this port now fails to bui= ld. I was actually able to fix this and the failures are caused by these two dependencies: net-im/tg_owt devel/range-v3 which install include files that are invalid with clang 13 (Looks like incompatibilities with C++17 and/or C++20) No change is required in the telegram-desktop port, but I'm filing this to = keep everyone informed. I'll file separate bug reports with patches for the two mentioned ports and= set those as dependencies of this one. Both patches are imported from upstream sources. These are the two errors I'm seeing: ------------------- FAILED: Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/CodecSelectH= elper.cpp.o=20 /usr/bin/c++ -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=3D0 -DDESKTOP_APP_DISABLE_CRASH_REPORTS -DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATI= ON -DDESKTOP_APP_USE_PACKAGED -DHAVE_WEBRTC_VIDEO -DNO_MAIN_THREAD_WRAPPING -DQT_IMPLICIT_QCHAR_CONSTRUCTION -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWOR= DS -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_VP9 -DTGCALLS_USE_STD_OPTIONAL -DWEBRTC_APM_DEBUG_DUMP=3D0 -DWEBRTC_APP_TDESKTOP -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=3D0 -DWEBRTC_FREEBSD -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=3D1 -DWEBRTC_OPUS_SUPPORT_120MS_PT= IME=3D1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=3D0 -DWEBRTC_POSIX -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -DWEBRTC_USE_PIPEWIRE -DWEBRTC_USE_X11 -D_FORTIFY_SOURCE=3D2 -I/wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-3.2.5-full/Teleg= ram/ThirdParty/tgcalls -I/wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-3.2.5-full/Teleg= ram/ThirdParty/tgcalls/tgcalls -isystem /usr/local/include/tg_owt -isystem /usr/local/include/tg_owt/third_party/libyuv/include -isystem /usr/local/include/tg_owt/third_party/abseil-cpp -isystem /usr/local/include -O2 -pipe -march=3Dnehalem -fstack-protector-strong -fno-strict-aliasing=20 -DNDEBUG -O2 -pipe -march=3Dnehalem -fstack-protector-strong -fno-strict-al= iasing -DNDEBUG -Wno-deprecated-volatile -Wno-ambiguous-reversed-operator -fstack-protector-all -fstack-clash-protection -fPIC -fno-strict-aliasing -= pipe -Wall -W -Wno-unused-parameter -Wno-switch -Wno-missing-field-initializers -Wno-sign-compare -std=3Dgnu++20 -MD -MT Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/CodecSelectH= elper.cpp.o -MF Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/CodecSelectH= elper.cpp.o.d -o Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/CodecSelectH= elper.cpp.o -c /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-3.2.5-full/Telegra= m/ThirdParty/tgcalls/tgcalls/CodecSelectHelper.cpp In file included from /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-3.2.5-full/Telegra= m/ThirdParty/tgcalls/tgcalls/CodecSelectHelper.cpp:1: In file included from /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-3.2.5-full/Telegra= m/ThirdParty/tgcalls/tgcalls/CodecSelectHelper.h:4: In file included from /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-3.2.5-full/Telegra= m/ThirdParty/tgcalls/tgcalls/Message.h:4: In file included from /usr/local/include/tg_owt/api/candidate.h:20: In file included from /usr/local/include/tg_owt/rtc_base/checks.h:57: /usr/local/include/tg_owt/third_party/abseil-cpp/absl/meta/type_traits.h:63= 0:35: error: no type named 'result_of' in namespace 'std' using result_of_t =3D typename std::result_of::type; ~~~~~~~~~~~~~~^~~~~~~~~ /usr/local/include/tg_owt/third_party/abseil-cpp/absl/meta/type_traits.h:63= 0:44: error: expected ';' after alias declaration using result_of_t =3D typename std::result_of::type; ^ 2 errors generated. ------------------------ ------------------------ FAILED: Telegram/lib_base/CMakeFiles/lib_base_crash_report_writer.dir/cmake_pch.hxx= .pch=20 /usr/bin/c++ -DDESKTOP_APP_DISABLE_CRASH_REPORTS -DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION -DDESKTOP_APP_USE_PACKAGED -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_IMPLICIT_QCHAR_CONSTRUCTION -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_SVG_LIB -DQT_WIDGETS_LIB -D_FORTIFY_SOURCE=3D2 -I/wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-3.2.5-full/Teleg= ram/lib_base -I/wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-3.2.5-full/Teleg= ram/lib_rpl -I/wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-3.2.5-full/Teleg= ram/lib_crl -isystem /usr/local/include -isystem /usr/local/include/qt5/QtCore/5.15.2 -isystem /usr/local/include/qt5/QtCore/5.15.2/QtCore -isystem /usr/local/include/qt5/QtGui/5.15.2 -isystem /usr/local/include/qt5/QtGui/5.15.2/QtGui -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/Qt= Gui -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtNetwork -isystem /usr/local/include/qt5/QtSvg -isy= stem /usr/local/include/qt5/QtDBus -isystem /usr/local/include/giomm-2.4 -isystem /usr/local/lib/giomm-2.4/include -isystem /usr/local/include/glib-2.0 -isys= tem /usr/local/lib/glib-2.0/include -isystem /usr/local/include/glibmm-2.4 -isy= stem /usr/local/lib/glibmm-2.4/include -isystem /usr/local/include/sigc++-2.0 -isystem /usr/local/lib/sigc++-2.0/include -isystem /usr/local/include/gio-unix-2.0 -O2 -pipe -march=3Dnehalem -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -O2 -pipe -march=3Dnehalem -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fstack-protector-all -fstack-clash-protection -fPIC -fno-strict-aliasing -= pipe -Wall -W -Wno-unused-parameter -Wno-switch -Wno-missing-field-initializers -Wno-sign-compare -pthread -std=3Dgnu++20 -Winvalid-pch -fpch-instantiate-templates -Xclang -emit-pch -Xclang -include -Xclang /wrkdirs/usr/ports/net-im/telegram-desktop/work/.build/Telegram/lib_base/CM= akeFiles/lib_base_crash_report_writer.dir/cmake_pch.hxx -x c++-header -MD -MT Telegram/lib_base/CMakeFiles/lib_base_crash_report_writer.dir/cmake_pch.hxx= .pch -MF Telegram/lib_base/CMakeFiles/lib_base_crash_report_writer.dir/cmake_pch.hxx= .pch.d -o Telegram/lib_base/CMakeFiles/lib_base_crash_report_writer.dir/cmake_pch.hxx= .pch -c /wrkdirs/usr/ports/net-im/telegram-desktop/work/.build/Telegram/lib_base/CM= akeFiles/lib_base_crash_report_writer.dir/cmake_pch.hxx.cxx In file included from :1: In file included from /wrkdirs/usr/ports/net-im/telegram-desktop/work/.build/Telegram/lib_base/CM= akeFiles/lib_base_crash_report_writer.dir/cmake_pch.hxx:5: In file included from /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-3.2.5-full/Telegra= m/lib_base/base/base_pch.h:23: In file included from /usr/local/include/range/v3/all.hpp:17: In file included from /usr/local/include/range/v3/action.hpp:17: In file included from /usr/local/include/range/v3/action/action.hpp:23: In file included from /usr/local/include/range/v3/action/concepts.hpp:23: In file included from /usr/local/include/range/v3/range/concepts.hpp:37: In file included from /usr/local/include/range/v3/iterator/concepts.hpp:30: In file included from /usr/local/include/range/v3/iterator/access.hpp:22: /usr/local/include/std/detail/associated_types.hpp:270:60: error: too many template arguments for class template '__iterator_traits' &is_std_iterator_traits_specialized_impl_(std::__iterator_trait= s *))[2]; ^=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ~~ /usr/include/c++/v1/__iterator/iterator_traits.h:326:8: note: template is declared here struct __iterator_traits {}; ^ 1 error generated. ------------------------ --=20 You are receiving this mail because: You are the assignee for the bug.=