[MacPorts] #68630: bazel @6.4.0: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead (was: bazel @6.4.0 build failure on Ventura arm64 - deprecation warnings, tolerated earlier in the build, become errors)
MacPorts
noreply at macports.org
Fri Nov 3 22:17:33 UTC 2023
#68630: bazel @6.4.0: error: builtin __has_trivial_destructor is deprecated; use
__is_trivially_destructible instead
-------------------------+---------------------------
Reporter: JGoldstone | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: ventura arm64
Port: bazel |
-------------------------+---------------------------
Changes (by ryandesign):
* status: new => assigned
* cc: missa-prime (added)
* keywords: => ventura arm64
* owner: (none) => herbygillot
Old description:
> Whereas when previous external components would warn for deprecation
> errors, when
>
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bazel/bazel/work/.tmp/bazel_32mLDwWa/out/external/upb/upbc/BUILD:44:10:
> Compiling upbc/protoc-gen-upb.cc [for tool] failed: (Exit 1):
> wrapped_clang_pp failed: error executing command (from target @upb//upbc
> :protoc-gen-upb)
> ...
> :info:build In file included from external/upb/upbc/protoc-gen-upb.cc:28:
> :info:build In file included from
> external/com_google_absl/absl/container/flat_hash_map.h:38:
> :info:build In file included from
> external/com_google_absl/absl/algorithm/container.h:55:
> :info:build external/com_google_absl/absl/meta/type_traits.h:301:36:
> error: builtin __has_trivial_destructor is deprecated; use
> __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
> :info:build : std::integral_constant<bool,
> __has_trivial_destructor(T) &&
> :info:build ^
New description:
Whereas when previous external components would warn for deprecation
errors, when
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_bazel/bazel/work/.tmp/bazel_32mLDwWa/out/external/upb/upbc/BUILD:44:10:
Compiling upbc/protoc-gen-upb.cc [for tool] failed: (Exit 1):
wrapped_clang_pp failed: error executing command (from target @upb//upbc
:protoc-gen-upb)
...
:info:build In file included from external/upb/upbc/protoc-gen-upb.cc:28:
:info:build In file included from
external/com_google_absl/absl/container/flat_hash_map.h:38:
:info:build In file included from
external/com_google_absl/absl/algorithm/container.h:55:
:info:build external/com_google_absl/absl/meta/type_traits.h:301:36:
error: builtin __has_trivial_destructor is deprecated; use
__is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
:info:build : std::integral_constant<bool, __has_trivial_destructor(T)
&&
:info:build ^
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/68630#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list