Opened 2 years ago
Closed 2 years ago
#68630 closed defect (fixed)
bazel @6.4.0: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead
| Reported by: | JGoldstone (Joseph Goldstone) | Owned by: | herbygillot (Herby Gillot) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.8.1 |
| Keywords: | ventura arm64 | Cc: | missa-prime (Mohamed Issa) |
| Port: | bazel |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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 ^
Attachments (1)
Change History (3)
Changed 2 years ago by JGoldstone (Joseph Goldstone)
comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | missa-prime added |
|---|---|
| Description: | modified (diff) |
| Keywords: | ventura arm64 added |
| Owner: | set to herbygillot |
| Status: | new → assigned |
| Summary: | bazel @6.4.0 build failure on Ventura arm64 - deprecation warnings, tolerated earlier in the build, become errors → bazel @6.4.0: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead |
comment:2 Changed 2 years ago by FlyingSamson
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

Log file from failing build