Source: protobuf Version: 3.21.12-2 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramac...@debian.org, hel...@debian.org
https://buildd.debian.org/status/fetch.php?pkg=protobuf&arch=i386&ver=3.21.12-2&stamp=1680729111&raw=0 g++ -DHAVE_CONFIG_H -I. -I.. -I./../third_party/googletest/googletest/include -I./../third_party/googletest/googlemock/include -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o google/protobuf/protobuf_test-extension_set_unittest.o `test -f 'google/protobuf/extension_set_unittest.cc' || echo './'`google/protobuf/extension_set_unittest.cc In file included from ./google/protobuf/implicit_weak_message.h:39, from ./google/protobuf/generated_message_util.h:54, from ./google/protobuf/generated_message_bases.h:40, from ./google/protobuf/unittest.pb.h:26, from google/protobuf/extension_set_unittest.cc:39: ./google/protobuf/repeated_field.h: In instantiation of ‘constexpr int google::protobuf::internal::RepeatedFieldLowerClampLimit() [with T = long long int; int kRepHeaderSize = 4]’: google/protobuf/extension_set_unittest.cc:871:3: required from here ./google/protobuf/repeated_field.h:81:27: error: static assertion failed 81 | static_assert(sizeof(T) <= kRepHeaderSize, ""); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./google/protobuf/repeated_field.h:81:27: note: the comparison reduces to ‘(8 <= 4)’ ./google/protobuf/repeated_field.h: In instantiation of ‘constexpr int google::protobuf::internal::RepeatedFieldLowerClampLimit() [with T = long long unsigned int; int kRepHeaderSize = 4]’: google/protobuf/extension_set_unittest.cc:873:3: required from here ./google/protobuf/repeated_field.h:81:27: error: static assertion failed ./google/protobuf/repeated_field.h:81:27: note: the comparison reduces to ‘(8 <= 4)’ ./google/protobuf/repeated_field.h: In instantiation of ‘constexpr int google::protobuf::internal::RepeatedFieldLowerClampLimit() [with T = double; int kRepHeaderSize = 4]’: google/protobuf/extension_set_unittest.cc:881:3: required from here ./google/protobuf/repeated_field.h:81:27: error: static assertion failed ./google/protobuf/repeated_field.h:81:27: note: the comparison reduces to ‘(8 <= 4)’ make[4]: *** [Makefile:6691: google/protobuf/protobuf_test-extension_set_unittest.o] Error 1 While I can understand the motivation behind #103398, please test such changes during the freeze in experimental first. Cheers -- Sebastian Ramacher