← Back to team overview

bazel-team team mailing list archive

Bug#1068202: bazel-bootstrap: FTBFS: /usr/include/absl/base/policy_checks.h:79:2: error: #error "C++ versions less than C++14 are not supported."

 

Source: bazel-bootstrap
Version: 4.2.3+ds-9
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@xxxxxxxxxx

https://buildd.debian.org/status/fetch.php?pkg=bazel-bootstrap&arch=amd64&ver=4.2.3%2Bds-9%2Bb2&stamp=1711976723&raw=0

  /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g '-std=c++0x' -Wdate-time '-D_FORTIFY_SOURCE=2' -g -O2 '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' -fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-security' -fcf-protection -MD -MF bazel-out/k8-dbg/bin/src/main/protobuf/_objs/command_server_cc_grpc/command_server.grpc.pb.pic.d '-frandom-seed=bazel-out/k8-dbg/bin/src/main/protobuf/_objs/command_server_cc_grpc/command_server.grpc.pb.pic.o' -fPIC '-DGRPC_USE_PROTO_LITE=ON' -iquote . -iquote bazel-out/k8-dbg/bin -iquote external/debian_cc_deps -iquote bazel-out/k8-dbg/bin/external/debian_cc_deps -iquote external/debian_proto_deps -iquote bazel-out/k8-dbg/bin/external/debian_proto_deps -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c bazel-out/k8-dbg/bin/src/main/protobuf/command_server.grpc.pb.cc -o bazel-out/k8-dbg/bin/src/main/protobuf/_objs/command_server_cc_grpc/command_server.grpc.pb.pic.o)
Execution platform: //:default_host_platform
␛[32m[256 / 1,677]␛[0m 5 actions running
    JavacBootstrap .../devtools/build/buildjar/libstarlark-deps.jar; 18s local
    Compiling src/main/cpp/blaze.cc; 3s local
    @debian_proto_deps//:descriptor_proto; 3s local
    Compiling src/main/protobuf/command_server.pb.cc; 3s local
    Compiling src/main/cpp/option_processor.cc; 1s local

␛[1A␛[K
␛[1A␛[K
␛[1A␛[K
␛[1A␛[K
␛[1A␛[K
␛[1A␛[KIn file included from /usr/include/absl/base/config.h:86,
                 from /usr/include/absl/base/const_init.h:25,
                 from /usr/include/absl/synchronization/mutex.h:67,
                 from /usr/include/grpcpp/impl/codegen/sync.h:32,
                 from /usr/include/grpcpp/client_context.h:46,
                 from /usr/include/grpcpp/impl/call_op_set.h:29,
                 from /usr/include/grpcpp/support/server_callback.h:27,
                 from /usr/include/grpcpp/impl/codegen/server_callback.h:24,
                 from /usr/include/grpcpp/impl/codegen/server_callback_handlers.h:25,
                 from /usr/include/grpcpp/generic/async_generic_service.h:24,
                 from bazel-out/k8-dbg/bin/src/main/protobuf/command_server.grpc.pb.h:31,
                 from bazel-out/k8-dbg/bin/src/main/protobuf/command_server.grpc.pb.cc:6:
/usr/include/absl/base/policy_checks.h:79:2: error: #error "C++ versions less than C++14 are not supported."
   79 | #error "C++ versions less than C++14 are not supported."
      |  ^~~~~

Cheers
-- 
Sebastian Ramacher