[SERVER-10166] compile failure: d_state.cpp on Linux RHEL 32-bit Build #1666 Created: 10/Jul/13  Updated: 11/Jul/16  Resolved: 10/Jul/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.5.1

Type: Bug Priority: Major - P3
Reporter: Matt Kangas Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Linux RHEL 32-bit Build #1666

Greg, it looks like you touched this file re SERVER-8598

http://buildbot.mongodb.org/builders/Linux%20RHEL%2032-bit/builds/1666/steps/compile/logs/stdio

g++ -o build/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/mongo/s/d_state.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -pipe -O3 -Wno-unused-function -Wno-deprecated-declarations -fno-builtin-memcmp -DBOOST_ALL_NO_LIB -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_EXECINFO_BACKTRACE -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/snappy -Isrc/third_party/snappy -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/libstemmer_c/include -Isrc/third_party/libstemmer_c/include -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/s2 -Isrc/third_party/s2 -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/boost -Isrc/third_party/boost -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/pcre-8.30 -Isrc/third_party/pcre-8.30 -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_ -Isrc -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/mongo -Isrc/mongo -I/usr/include/boost141 -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/s2 -Isrc/third_party/s2 -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/snappy -Isrc/third_party/snappy -Ibuild/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/third_party/v8/include -Isrc/third_party/v8/include src/mongo/s/d_state.cpp
src/mongo/s/d_state.cpp: In member function 'bool mongo::ShardingState::forgetPending(const std::string&, const mongo::BSONObj&, const mongo::BSONObj&, const mongo::OID&, std::string*)':
src/mongo/s/d_state.cpp:239: error: redeclaration of 'std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<const mongo::CollectionMetadata> > > it'
src/mongo/s/d_state.cpp:237: error: 'std::_Rb_tree_const_iterator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<const mongo::CollectionMetadata> > > it' previously declared here
cc1plus: warnings being treated as errors
src/third_party/boost/boost/system/error_code.hpp: At global scope:
src/third_party/boost/boost/system/error_code.hpp:214: warning: 'boost::system::posix_category' defined but not used
src/third_party/boost/boost/system/error_code.hpp:215: warning: 'boost::system::errno_ecat' defined but not used
src/third_party/boost/boost/system/error_code.hpp:216: warning: 'boost::system::native_ecat' defined but not used
scons: *** [build/linux2/cpppath__usr_include_boost141_/libpath__usr_lib_boost141_/mongo/s/d_state.o] Error 1



 Comments   
Comment by Matt Kangas [ 10/Jul/13 ]

Ah, fixed in 1556be30b24b7a00038182e233a52e6c20385c26

Generated at Thu Feb 08 03:22:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.