Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protobuf 3.21.12 fails to build #231215

Closed
evrim opened this issue May 11, 2023 · 1 comment
Closed

protobuf 3.21.12 fails to build #231215

evrim opened this issue May 11, 2023 · 1 comment

Comments

@evrim
Copy link
Contributor

evrim commented May 11, 2023

Describe the bug

protobuf 3.21.12 fails to build on staging-next. Btw, there is 3.22.4 available on gh.

Steps To Reproduce

nix log /nix/store/a0hi9pk42dd0ldj7h2k6qcxqyzq7vdsp-protobuf-3.21.12.drv

[ 12%] Building CXX object CMakeFiles/libprotobuf-lite.dir/build/source/src/google/protobuf/stubs/status.cc.o                                                                                                                                  
[ 12%] Building CXX object CMakeFiles/libprotobuf-lite.dir/build/source/src/google/protobuf/stubs/statusor.cc.o                                                                                                                                
[ 12%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/stubs/status.cc.o                                                                                                                                       
[ 13%] Building CXX object CMakeFiles/libprotobuf-lite.dir/build/source/src/google/protobuf/stubs/stringpiece.cc.o                                                                                                                             
[ 13%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/stubs/statusor.cc.o                                                                                                                                     
[ 13%] Building CXX object CMakeFiles/libprotobuf-lite.dir/build/source/src/google/protobuf/stubs/stringprintf.cc.o                                                                                                                            
[ 13%] Building CXX object CMakeFiles/libprotobuf-lite.dir/build/source/src/google/protobuf/stubs/structurally_valid.cc.o                                                                                                                      
[ 13%] Building CXX object CMakeFiles/libprotobuf-lite.dir/build/source/src/google/protobuf/stubs/strutil.cc.o                                                                                                                                 
[ 13%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/stubs/stringpiece.cc.o                                                                                                                                  
[ 14%] Building CXX object CMakeFiles/libprotobuf-lite.dir/build/source/src/google/protobuf/stubs/time.cc.o                                                                                                                                    
[ 15%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/stubs/stringprintf.cc.o                                                                                                                                 
[ 15%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/stubs/structurally_valid.cc.o                                                                                                                           
In file included from /build/source/third_party/googletest/googlemock/include/gmock/internal/gmock-port.h:57,                                                                                                                                  
                 from /build/source/third_party/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:49,                                                                                                                        
                 from /build/source/third_party/googletest/googlemock/include/gmock/gmock-actions.h:145,                                                                                                                                       
                 from /build/source/third_party/googletest/googlemock/include/gmock/gmock.h:56,                                                                                                                                                
                 from /build/source/third_party/googletest/googlemock/src/gmock-all.cc:39:                                                                                                                                                     
/build/source/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported.                                                                                       
  270 | #error C++ versions less than C++14 are not supported.                                                                                                                                                                                 
      |  ^~~~~                                                                                                                                                                                                                                 
In file included from /build/source/third_party/googletest/googletest/include/gtest/gtest-message.h:57,                                                                                                                                        
                 from /build/source/third_party/googletest/googletest/include/gtest/gtest-assertion-result.h:46,                                                                                                                               
                 from /build/source/third_party/googletest/googletest/include/gtest/gtest.h:64,                                                                                                                                                
                 from /build/source/third_party/googletest/googletest/src/gtest-all.cc:38:                                                                                                                                                     
/build/source/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported.                                                                                       
  270 | #error C++ versions less than C++14 are not supported.                                                                                                                                                                                 
      |  ^~~~~                                                                                                                                                                                                                                 
[ 15%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/stubs/strutil.cc.o                                                                                                                                      
[ 15%] Building CXX object CMakeFiles/libprotobuf-lite.dir/build/source/src/google/protobuf/wire_format_lite.cc.o                                                                                                                              
[ 15%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/stubs/time.cc.o                                                                                                                                         
[ 16%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/wire_format_lite.cc.o                                                                                                                                   
[ 16%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/any.cc.o                                                                                                                                                
[ 16%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/compiler/parser.cc.o                                                                                                                                    
[ 16%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/any.pb.cc.o                                                                                                                                             
[ 16%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/api.pb.cc.o                                                                                                                                             
[ 17%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/compiler/importer.cc.o                                                                                                                                  
[ 17%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/descriptor.cc.o                                                                                                                                         
[ 17%] Building CXX object CMakeFiles/libprotobuf.dir/build/source/src/google/protobuf/descriptor.pb.cc.o                                                                                                                                      

I believe this is due to gtest updates.

thnx,
evrim.

@mweinelt
Copy link
Member

The gtest update has since been reverted.

#228209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants