From nobody Thu Nov 25 08:50:07 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 71F0818A12F2 for ; Thu, 25 Nov 2021 08:50:07 +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 4J0BQl0x9Hz3lM5 for ; Thu, 25 Nov 2021 08:50:07 +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 011F61A71F for ; Thu, 25 Nov 2021 08:50:07 +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 1AP8o66h014464 for ; Thu, 25 Nov 2021 08:50:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AP8o6rT014463 for ports-bugs@FreeBSD.org; Thu, 25 Nov 2021 08:50:06 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 260042] net-im/tg_owt: Installs include file incompatible with clang13 (C++20) Date: Thu, 25 Nov 2021 08:50:07 +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 blocked flagtypes.name attachments.created 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=1637830207; 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=oZ9ZpMCo2MrFkenxlyxMOIG48dYCO7nbx4suQqD/sNY=; b=x6V4O2sERJ+QW6laXyfCyzEIdmPviy22Wh6MwEc4RlBSRGDeyceekPvds6ueGDB8Dbf4v4 15iKzmEuuAbNoVrQUd80rRTwblxEjqB0M0Dzn7RgH9g0LsKej4uQ0M1nWuagyIZHaHyiu3 RMH5v8L/68eUaJAhsE+2BH4wMxfXN4wYWRvONWmEs1MTivSQ2RhVXtWQXi5DykrHZken+h 8bpGiCEOZpeU/4H+hgRYuA7pzSOsONhwPak/uOkK/C3Cj2W6bGqvCO0pBcElHhZOKAynb3 62BNj8ZkTx8pridQe/6OZTpjIfg7jPjOCeHvmptQeg+Bk+TVpL8Ovei1oca/Tw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637830207; a=rsa-sha256; cv=none; b=NbgGeUqXClS1ntHfJFbs4lMUQ841orHQo+1FfjuywhGOGuAkCai9O2aNFWIz5lF0pgUeK+ Q93x4EO2S/ZnI5YWeYEfKsJqCEjTeJBnkxznu5L/s65QuJaqcmB5JixfNihuZAsK69XtX5 5LdviCjGfzKYvH1ykPIfSUxvG4XpXmS8O1moJu+8oKYNqFHuC1QlGRKyAmYBsrj7rXgI30 hxa2fRz45mQV8BlS5Kv3glNWk/l1Gft5QW3CO+OG4ci1r5WtqKnf2ytGsck7reT/PAP33o 2cU3QsUG+jHojynwzspRe/F90XUC8xUSOvoDYyGEWbSwVQz5oR8vw58H3NGjKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260042 Bug ID: 260042 Summary: net-im/tg_owt: Installs include file incompatible with clang13 (C++20) 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 Blocks: 260040 Assignee: glebius@FreeBSD.org Flags: maintainer-feedback?(glebius@FreeBSD.org) Created attachment 229721 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229721&action= =3Dedit patch Hi, I recently updated my system to latest HEAD and I noticed the telegram port failed to build with the error at the end of the message. I'm attaching a patch which imports changes from upstream that fixes it. obtained from: https://github.com/abseil/abseil-cpp/commit/e19260fd7dbef881492fd73891e0be5= bd4a09b95 ------------------- 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. ------------------------ Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260040 [Bug 260040] net-im/telegram-desktop: fails to build on recent head (after clang 13 import) --=20 You are receiving this mail because: You are the assignee for the bug.=