abseil / abseil/abseil-cpp

bazel build/test fails on centos 7.2

Abierto
#137 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
18.1k
Forks
3.2k
Merge medio
20 h 36 min
PR fusionados (30 d)
1

Descripción

bazel version:
```
Build label: 0.14.1- (@non-git)
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Jun 21 14:01:44 2018 (1529589704)
Build timestamp: 1529589704
Build timestamp as int: 1529589704
```
gcc version:
```
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
build failures:
absl/types/variant_exception_safety_test.cc
absl/types/optional_exception_safety_test.cc
assignment operator is deleted
```
ERROR: /data0/sangwu/abseil-cpp/absl/types/BUILD.bazel:263:1: C++ compilation of rule '//absl/types:variant_exception_safety_test' failed (Exit 1)
In file included from external/com_google_googletest/googletest/include/gtest/gtest.h:58:0,
from external/com_google_googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:46,
from external/com_google_googletest/googlemock/include/gmock/gmock-actions.h:46,
from external/com_google_googletest/googlemock/include/gmock/gmock.h:58,
from absl/types/variant_exception_safety_test.cc:21:
absl/types/variant_exception_safety_test.cc: In lambda function:
absl/types/variant_exception_safety_test.cc:202:43: error: use of deleted function 'absl::lts_2018_06_20::variant& absl::lts_2018_06_20::variant::operator=(const absl::lts_2018_06_20::variant&) [with T0 = testing::ThrowingValue<>; Tn = {testing::ThrowingValue<(testing::TypeSpec)1>, testing::ThrowingValue<(testing::TypeSpec)2>, std::vector, testing::ThrowingAllocator, (testing::AllocSpec)0> >}]'
EXPECT_TRUE(TestNothrowOp([&]() { lhs = rhs; }));
```
test failures:
```
[ RUN ] Format.ExtendedSecondOffset
absl/time/internal/cctz/src/time_zone_format_test.cc:70: Failure
Expected equality of these values:
ans
Which is: "+04:31:19"
format(fmt, tp, tz)
Which is: "+04:00:00"
%E*z
absl/time/internal/cctz/src/time_zone_format_test.cc:71: Failure
Expected equality of these values:
"xxx " + ans
Which is: "xxx +04:31:19"
format("xxx " + fmt, tp, tz)
Which is: "xxx +04:00:00"
absl/time/internal/cctz/src/time_zone_format_test.cc:72: Failure
Expected equality of these values:
ans + " yyy"
Which is: "+04:31:19 yyy"
format(fmt + " yyy", tp, tz)
Which is: "+04:00:00 yyy"
absl/time/internal/cctz/src/time_zone_format_test.cc:73: Failure
Expected equality of these values:
"xxx " + ans + " yyy"
Which is: "xxx +04:31:19 yyy"
format("xxx " + fmt + " yyy", tp, tz)
Which is: "xxx +04:00:00 yyy"
absl/time/internal/cctz/src/time_zone_format_test.cc:70: Failure
Expected equality of these values:
ans
Which is: "+04:31"
format(fmt, tp, tz)
Which is: "+04:00"
%Ez
absl/time/internal/cctz/src/time_zone_format_test.cc:71: Failure
Expected equality of these values:
"xxx " + ans
Which is: "xxx +04:31"
format("xxx " + fmt, tp, tz)
Which is: "xxx +04:00"
absl/time/internal/cctz/src/time_zone_format_test.cc:72: Failure
Expected equality of these values:
ans + " yyy"
Which is: "+04:31 yyy"
format(fmt + " yyy", tp, tz)
Which is: "+04:00 yyy"
absl/time/internal/cctz/src/time_zone_format_test.cc:73: Failure
Expected equality of these values:
"xxx " + ans + " yyy"
Which is: "xxx +04:31 yyy"
format("xxx " + fmt + " yyy", tp, tz)
Which is: "xxx +04:00 yyy"
[ FAILED ] Format.ExtendedSecondOffset (0 ms)
```
```
[ RUN ] TimeZones.LoadZonesConcurrently
absl/time/internal/cctz/src/time_zone_lookup_test.cc:709: Failure
Expected: (failures.size()) <= (max_failures), actual: 10 vs 3
{ "America/Punta_Arenas", "Asia/Atyrau", "Asia/Barnaul", "Asia/Famagusta", "Asia/Tomsk", "Asia/Yangon", "Europe/Astrakhan", "Europe/Kirov", "Europe/Saratov", "Europe/Ulyanovsk" }
[ FAILED ] TimeZones.LoadZonesConcurrently (333 ms)
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.