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)
>
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: solace. inaugust. com/builders/ centos5. 64.1/builds/ 101/steps/ compile/ logs/stdio age.la && ln -s ../libdrizzledm essage. la libdrizzledmess age.la) *$|.deps/ &|;s|\. o$||'`; \ 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; \ message/ table.pb. h: In function ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ StorageEngine_ EngineOption_ EngineOptionTyp e]’: message/ table.pb. h:4766: warning: lowering visibility of ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ StorageEngine_ EngineOption_ EngineOptionTyp e]’ to match its type [-Wattributes] message/ table.pb. h: In function ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ TableOptions_ RowType] ’: message/ table.pb. h:4770: warning: lowering visibility of ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ TableOptions_ RowType] ’ to match its type [-Wattributes] message/ table.pb. h: In function ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ Field_FieldType ]’: message/ table.pb. h:4774: warning: lowering visibility of ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ Field_FieldType ]’ to match its type [-Wattributes] message/ table.pb. h: In function ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ Field_FieldForm atType] ’: message/ table.pb. h:4778: warning: lowering visibility of ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ Field_FieldForm atType] ’ to match its type [-Wattributes] message/ table.pb. h: In function ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ Index_IndexType ]’: message/ table.pb. h:4782: warning: lowering visibility of ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ Index_IndexType ]’ to match its type [-Wattributes] message/ table.pb. h: In function ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ TableType] ’: message/ table.pb. h:4786: warning: lowering visibility of ‘const google: :protobuf: :EnumDescriptor * google: :protobuf: :GetEnumDescrip tor() [with E = drizzled: :message: :Table_ TableType] ’ to match its type [-Wattributes] buildbot/ slave/build00/ build/drizzled/ message' buildbot/ slave/build00/ build/drizzled/ message' buildbot/ slave/build00/ build'
> Public bug reported:
>
> After Ronald upgrade to protobuf 2.1 he is now getting compilation errors.
> See http://
>
> (cd .libs && rm -f libdrizzledmess
> depbase=`echo table_reader.o | sed 's|[^/]
> if g++ -DHAVE_CONFIG_H -I../.. -I../.. -ggdb3 -pthread -pipe -O3 -Werror -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-
> then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
> cc1plus: warnings being treated as errors
> ../../drizzled/
> ../../drizzled/
> ../../drizzled/
> ../../drizzled/
> ../../drizzled/
> ../../drizzled/
> ../../drizzled/
> ../../drizzled/
> ../../drizzled/
> ../../drizzled/
> ../../drizzled/
> ../../drizzled/
> make[3]: *** [table_reader.o] Error 1
> make[3]: Leaving directory `/home/
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/
> 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)
>