Build failures on Centos after upgrading to protobuf 2.1

Bug #421683 reported by Lee Bieber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Critical
Monty Taylor

Bug Description

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

Related branches

Changed in drizzle:
assignee: nobody → Monty Taylor (mordred)
importance: Undecided → Critical
milestone: none → bell
status: New → Confirmed
Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 421683] [NEW] Build failures on Centos after upgrading to protobuf 2.1
Download full text (4.4 KiB)

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 ‘con...

Read more...

Revision history for this message
Ronald Bradford (ronaldbradford) wrote :
Download full text (4.0 KiB)

Errors still occur with 2.2 and latest revision 1126

make all-am
make[3]: Entering directory `/home/drizzle/bzr/drizzle/drizzled/message'
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 ...

Read more...

Changed in drizzle:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.