Date: Sun, 16 Apr 2023 01:02:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270872] devel/bazel fails to build with poudriere with error builtin __has_trivial_destructor is deprecated on stable-13.2 amd64 Message-ID: <bug-270872-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270872 Bug ID: 270872 Summary: devel/bazel fails to build with poudriere with error builtin __has_trivial_destructor is deprecated on stable-13.2 amd64 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: transitive@gmail.com The port devel/bazel fails to build using poudriere on FreeBSD 13.2-STABLE 1302505 amd64. The following is the output of the build log with the error: [31m[1mERROR: [0m/wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_HxJQn3us/out/externa= l/upb/upbc/BUILD:33:11: Compiling upbc/common.cc [for host] failed: (Exit 1): clang failed: error executing command=20 (cd /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_HxJQn3us/out/execroot/i= o_bazel && \ exec env - \ =20=20=20 PATH=3D/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/lo= cal/bin:/root/bin \ PWD=3D/proc/self/cwd \ /usr/bin/clang -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=3D1' -fstack-protector -Wall -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections '-std=3Dc++0x' -MD -MF bazel-out/host/bin/external/upb/upbc/_objs/common/common.d '-frandom-seed=3Dbazel-out/host/bin/external/upb/upbc/_objs/common/common.o' -iquote external/upb -iquote bazel-out/host/bin/external/upb -iquote external/com_google_protobuf -iquote bazel-out/host/bin/external/com_google_protobuf -iquote . -iquote bazel-out/host/bin -iquote external/com_google_absl -iquote bazel-out/host/bin/external/com_google_absl -isystem external/com_google_protobuf/src -isystem bazel-out/host/bin/external/com_google_protobuf/src -isystem third_party/zl= ib -isystem bazel-out/host/bin/third_party/zlib -g0 -g0 -Wextra -Werror -Wno-long-long -Wno-deprecated-copy -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__=3D"redacted"' '-D__TIMESTAMP__=3D"redacted"' '-D__TIME__=3D"redacted"' -c external/upb/upbc/common.cc -o bazel-out/host/bin/external/upb/upbc/_objs/common/common.o) # Configuration: 8032fb6fd79c240b678e30035e2c12ae73fb1402fea250028445d494c696b995 # Execution platform: //:default_host_platform In file included from external/upb/upbc/common.cc:27: In file included from external/upb/upbc/common.h:33: In file included from external/com_google_absl/absl/strings/substitute.h:81: In file included from external/com_google_absl/absl/strings/escaping.h:32: In file included from external/com_google_absl/absl/strings/str_join.h:59: In file included from external/com_google_absl/absl/strings/internal/str_join_internal.h:42: In file included from external/com_google_absl/absl/strings/internal/resize_uninitialized.h:26: external/com_google_absl/absl/meta/type_traits.h:301:36: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible ins= tead [-Werror,-Wdeprecated-builtins] : std::integral_constant<bool, __has_trivial_destructor(T) && ^ external/com_google_absl/absl/meta/type_traits.h:350:36: error: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Werror,-Wdeprecated-builtins] : std::integral_constant<bool, __has_trivial_constructor(T) && ^ external/com_google_absl/absl/meta/type_traits.h:494:17: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins] bool, __has_trivial_assign(typename std::remove_reference<T>::typ= e) && ^ external/com_google_absl/absl/meta/type_traits.h:559:8: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins] (__has_trivial_copy(ExtentsRemoved) || !kIsCopyOrMoveConstructible) && ^ external/com_google_absl/absl/meta/type_traits.h:560:8: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins] (__has_trivial_assign(ExtentsRemoved) || !kIsCopyOrMoveAssignable) && ^ 5 errors generated. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270872-7788>