Protobuf-2.1 breaks build

Bug #376747 reported by Andrew Ettinger
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Monty Taylor

Bug Description

Protobuf 2.1 just came out and it breaks:

 mv -f $depbase.Tpo $depbase.Po
depbase=`echo binary_log.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I../.. -I../.. -isystem ../../gnulib -isystem ../../gnulib -I/usr/local/include -isystem /usr/local/include -Wall -Wextra -Werror -Wno-cast-align -pedantic -Wundef -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-redundant-decls -Wno-long-long -Wno-strict-aliasing -Wshadow -O3 -std=gnu++98 -ggdb3 -Wno-effc++ -Wno-shadow -MT binary_log.o -MD -MP -MF $depbase.Tpo -c -o binary_log.o binary_log.cc &&\
 mv -f $depbase.Tpo $depbase.Po
binary_log.cc: In member function ‘bool BinaryLog::Event::write(google::protobuf::io::CodedOutputStream*) const’:
binary_log.cc:21: error: could not convert ‘out-> google::protobuf::io::CodedOutputStream::WriteRaw(((const void*)((unsigned char*)(& buf))), (((int)end) - ((int)(& buf))))’ to ‘bool’
binary_log.cc:21: error: in argument to unary !
binary_log.cc:23: error: could not convert ‘out-> google::protobuf::io::CodedOutputStream::WriteRaw(((const void*)((char*)(& cs))), 4)’ to ‘bool’
binary_log.cc:23: error: in argument to unary !
make[3]: *** [binary_log.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Changed in drizzle:
assignee: nobody → Monty Taylor (mordred)
importance: Undecided → Medium
milestone: none → aloha
status: New → Confirmed
Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

Was resolved back in build 1068

Changed in drizzle:
status: Confirmed → Fix Released
Revision history for this message
zugzwang (lowell-liwat) wrote : Re: [Bug 376747] Re: Protobuf-2.1 breaks build

UNSUBSCRIBE

On Fri, Jul 31, 2009 at 5:54 AM, Lee Bieber <email address hidden> wrote:

> Was resolved back in build 1068
>
> ** Changed in: drizzle
> Status: Confirmed => Fix Released
>
> --
> Protobuf-2.1 breaks build
> https://bugs.launchpad.net/bugs/376747
> You received this bug notification because you are a member of Drizzle-
> developers, which is subscribed to Drizzle.
>
> Status in A Lightweight SQL Database for Cloud and Web: Fix Released
>
> Bug description:
> Protobuf 2.1 just came out and it breaks:
>
> mv -f $depbase.Tpo $depbase.Po
> depbase=`echo binary_log.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I../.. -I../.. -isystem
> ../../gnulib -isystem ../../gnulib -I/usr/local/include -isystem
> /usr/local/include -Wall -Wextra -Werror -Wno-cast-align -pedantic -Wundef
> -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy
> -Wno-redundant-decls -Wno-long-long -Wno-strict-aliasing -Wshadow
> -O3 -std=gnu++98 -ggdb3 -Wno-effc++ -Wno-shadow -MT binary_log.o -MD
> -MP -MF $depbase.Tpo -c -o binary_log.o binary_log.cc &&\
> mv -f $depbase.Tpo $depbase.Po
> binary_log.cc: In member function ‘bool
> BinaryLog::Event::write(google::protobuf::io::CodedOutputStream*) const’:
> binary_log.cc:21: error: could not convert ‘out->
> google::protobuf::io::CodedOutputStream::WriteRaw(((const void*)((unsigned
> char*)(& buf))), (((int)end) - ((int)(& buf))))’ to ‘bool’
> binary_log.cc:21: error: in argument to unary !
> binary_log.cc:23: error: could not convert ‘out->
> google::protobuf::io::CodedOutputStream::WriteRaw(((const void*)((char*)(&
> cs))), 4)’ to ‘bool’
> binary_log.cc:23: error: in argument to unary !
> make[3]: *** [binary_log.o] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>

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.