Comment 1 for bug 421683

Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 421683] [NEW] Build failures on Centos after upgrading to protobuf 2.1

Yes. Please try protobuf 2.2 at this point instead. I'm pretty sure
there is a patch you'd need to apply to 2.1 for it to work, but 2.2
should work out of the box.

Lee Bieber wrote:
> Public bug reported:
>
> After Ronald upgrade to protobuf 2.1 he is now getting compilation errors.
> See http://solace.inaugust.com/builders/centos5.64.1/builds/101/steps/compile/logs/stdio
>
> (cd .libs && rm -f libdrizzledmessage.la && ln -s ../libdrizzledmessage.la libdrizzledmessage.la)
> depbase=`echo table_reader.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
> if g++ -DHAVE_CONFIG_H -I../.. -I../.. -ggdb3 -pthread -pipe -O3 -Werror -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat -fno-strict-aliasing -Wno-strict-aliasing -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long -Wno-redundant-decls -Wno-effc++ -Wno-shadow -Wno-missing-braces -std=gnu++98 -MT table_reader.o -MD -MP -MF "$depbase.Tpo" -c -o table_reader.o table_reader.cc; \
> then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
> cc1plus: warnings being treated as errors
> ../../drizzled/message/table.pb.h: In function ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_StorageEngine_EngineOption_EngineOptionType]’:
> ../../drizzled/message/table.pb.h:4766: warning: lowering visibility of ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_StorageEngine_EngineOption_EngineOptionType]’ to match its type [-Wattributes]
> ../../drizzled/message/table.pb.h: In function ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_TableOptions_RowType]’:
> ../../drizzled/message/table.pb.h:4770: warning: lowering visibility of ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_TableOptions_RowType]’ to match its type [-Wattributes]
> ../../drizzled/message/table.pb.h: In function ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_Field_FieldType]’:
> ../../drizzled/message/table.pb.h:4774: warning: lowering visibility of ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_Field_FieldType]’ to match its type [-Wattributes]
> ../../drizzled/message/table.pb.h: In function ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_Field_FieldFormatType]’:
> ../../drizzled/message/table.pb.h:4778: warning: lowering visibility of ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_Field_FieldFormatType]’ to match its type [-Wattributes]
> ../../drizzled/message/table.pb.h: In function ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_Index_IndexType]’:
> ../../drizzled/message/table.pb.h:4782: warning: lowering visibility of ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_Index_IndexType]’ to match its type [-Wattributes]
> ../../drizzled/message/table.pb.h: In function ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_TableType]’:
> ../../drizzled/message/table.pb.h:4786: warning: lowering visibility of ‘const google::protobuf::EnumDescriptor* google::protobuf::GetEnumDescriptor() [with E = drizzled::message::Table_TableType]’ to match its type [-Wattributes]
> make[3]: *** [table_reader.o] Error 1
> make[3]: Leaving directory `/home/buildbot/slave/build00/build/drizzled/message'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/buildbot/slave/build00/build/drizzled/message'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/buildbot/slave/build00/build'
> make: *** [all] Error 2
>
> ** Affects: drizzle
> Importance: Critical
> Assignee: Monty Taylor (mordred)
> Status: Confirmed
>
> ** Changed in: drizzle
> Importance: Undecided => Critical
>
> ** Changed in: drizzle
> Status: New => Confirmed
>
> ** Changed in: drizzle
> Milestone: None => bell
>
> ** Changed in: drizzle
> Assignee: (unassigned) => Monty Taylor (mordred)
>