Opened 11 months ago

Last modified 7 months ago

#68630 closed defect

bazel @6.4.0: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead — at Version 1

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                                    ^

Change History (2)

Changed 11 months ago by JGoldstone (Joseph Goldstone)

Attachment: main.log added

Log file from failing build

comment:1 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: missa-prime added
Description: modified (diff)
Keywords: ventura arm64 added
Owner: set to herbygillot
Status: newassigned
Summary: bazel @6.4.0 build failure on Ventura arm64 - deprecation warnings, tolerated earlier in the build, become errorsbazel @6.4.0: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead
Note: See TracTickets for help on using tickets.