You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/02/10 20:06:59 UTC

[jira] Created: (THRIFT-337) trunk does not build on debian etch

trunk does not build on debian etch
-----------------------------------

                 Key: THRIFT-337
                 URL: https://issues.apache.org/jira/browse/THRIFT-337
             Project: Thrift
          Issue Type: Bug
          Components: Compiler (C++)
         Environment: etch 32-bit
            Reporter: Jonathan Ellis
            Priority: Blocker


trunk gen-cpp does not build on debian etch:

/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
make[3]: *** [DebugProtoTest_types.lo] Error 1

After configure --disable-gen-cpp, a different error:

/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
make[3]: *** [DebugProtoTest_types.lo] Error 1

I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (THRIFT-337) trunk does not build on debian etch

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Reiss reassigned THRIFT-337:
----------------------------------

    Assignee: David Reiss

> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-337) trunk does not build on debian etch

Posted by "Esteve Fernandez (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Esteve Fernandez updated THRIFT-337:
------------------------------------

    Attachment: thrift-337.patch

Changed readBool to take bool and not a reference, std::vector<bool> is a specialization for std::vector which returns std::_Bit_reference

> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>         Attachments: thrift-337.patch
>
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-337) trunk does not build on debian etch

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672401#action_12672401 ] 

David Reiss commented on THRIFT-337:
------------------------------------

You can roll back to r742192, or just wait a few minutes and I'll have this fixed.

> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-337) trunk does not build on debian etch

Posted by "Esteve Fernandez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672414#action_12672414 ] 

Esteve Fernandez commented on THRIFT-337:
-----------------------------------------

Latest trunk works for me. As for the patch, I don't mind failing publicly, it'll probably become my new motto :-)

> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>         Attachments: thrift-337.patch
>
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (THRIFT-337) trunk does not build on debian etch

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved THRIFT-337.
-----------------------------------

    Resolution: Fixed

compiles fine now.  thanks!

> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>         Attachments: thrift-337.patch
>
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-337) trunk does not build on debian etch

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672370#action_12672370 ] 

David Reiss commented on THRIFT-337:
------------------------------------

Congratulations, Bryan.  You're the first person to ever use list<bool>.

> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-337) trunk does not build on debian etch

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672411#action_12672411 ] 

David Reiss commented on THRIFT-337:
------------------------------------

Please test with the latest trunk and resolve the issue if it works.

> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>         Attachments: thrift-337.patch
>
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-337) trunk does not build on debian etch

Posted by "David Snopek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672390#action_12672390 ] 

David Snopek commented on THRIFT-337:
-------------------------------------


I am also experiencing this problem on Debian Etch.  I was able to get it to finish building successfully by removing the "test" directory from the build by taking it out of the Makefile.am.  I'm not sure if it actually works because I have nothing to try it with, since I am evaluating Thrift now for the first time.

Here is a patch representing the change I made to get it build:

--- Makefile.am (revision 743071)
+++ Makefile.am (working copy)
@@ -1,6 +1,6 @@
 ACLOCAL_AMFLAGS = -I ./aclocal
 
-SUBDIRS = compiler/cpp lib test
+SUBDIRS = compiler/cpp lib
 ## Don't run make dist from a subversion working copy
 ## because it will pull in your .svn directories.
 EXTRA_DIST = bootstrap.sh cleanup.sh doc test tutorial contrib \


> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-337) trunk does not build on debian etch

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672409#action_12672409 ] 

David Reiss commented on THRIFT-337:
------------------------------------

value is an out parameter, so this patch won't work.  (It'll compile, but reading bools won't work.)

> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>         Attachments: thrift-337.patch
>
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-337) trunk does not build on debian etch

Posted by "Esteve Fernandez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672408#action_12672408 ] 

Esteve Fernandez commented on THRIFT-337:
-----------------------------------------

Oops, I didn't notice David's comment, sorry.

> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>         Attachments: thrift-337.patch
>
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (THRIFT-337) trunk does not build on debian etch

Posted by "David Snopek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672390#action_12672390 ] 

dsnopek edited comment on THRIFT-337 at 2/10/09 12:32 PM:
---------------------------------------------------------------

I am also experiencing this problem on Debian Etch.  I was able to get it to finish building successfully by removing the "test" directory from the build by taking it out of the Makefile.am.  I'm not sure if it actually works because I have nothing to try it with, since I am evaluating Thrift now for the first time.

Here is a patch representing the change I made to get it build:

--- Makefile.am (revision 743071)
+++ Makefile.am (working copy)
@@ -1,6 +1,6 @@
 ACLOCAL_AMFLAGS = -I ./aclocal
 
-SUBDIRS = compiler/cpp lib test
+SUBDIRS = compiler/cpp lib
 \#\# Don't run make dist from a subversion working copy
 \#\# because it will pull in your .svn directories.
 EXTRA_DIST = bootstrap.sh cleanup.sh doc test tutorial contrib \


      was (Author: dsnopek):
    
I am also experiencing this problem on Debian Etch.  I was able to get it to finish building successfully by removing the "test" directory from the build by taking it out of the Makefile.am.  I'm not sure if it actually works because I have nothing to try it with, since I am evaluating Thrift now for the first time.

Here is a patch representing the change I made to get it build:

--- Makefile.am (revision 743071)
+++ Makefile.am (working copy)
@@ -1,6 +1,6 @@
 ACLOCAL_AMFLAGS = -I ./aclocal
 
-SUBDIRS = compiler/cpp lib test
+SUBDIRS = compiler/cpp lib
 ## Don't run make dist from a subversion working copy
 ## because it will pull in your .svn directories.
 EXTRA_DIST = bootstrap.sh cleanup.sh doc test tutorial contrib \

  
> trunk does not build on debian etch
> -----------------------------------
>
>                 Key: THRIFT-337
>                 URL: https://issues.apache.org/jira/browse/THRIFT-337
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (C++)
>         Environment: etch 32-bit
>            Reporter: Jonathan Ellis
>            Assignee: David Reiss
>            Priority: Blocker
>
> trunk gen-cpp does not build on debian etch:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> After configure --disable-gen-cpp, a different error:
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include   -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c -o DebugProtoTest_types.lo `test -f 'gen-cpp/DebugProtoTest_types.cpp' || echo './'`gen-cpp/DebugProtoTest_types.cpp
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib/cpp/src -I/usr/include -g -O2 -MT DebugProtoTest_types.lo -MD -MP -MF .deps/DebugProtoTest_types.Tpo -c gen-cpp/DebugProtoTest_types.cpp  -fPIC -DPIC -o .libs/DebugProtoTest_types.o
> gen-cpp/DebugProtoTest_types.cpp: In member function 'uint32_t thrift::test::debug::CompactProtoTestStruct::read(apache::thrift::protocol::TProtocol*)':
> gen-cpp/DebugProtoTest_types.cpp:2634: error: no matching function for call to 'apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)'
> ../lib/cpp/src/protocol/TProtocol.h:200: note: candidates are: virtual uint32_t apache::thrift::protocol::TProtocol::readBool(bool&)
> make[3]: *** [DebugProtoTest_types.lo] Error 1
> I'm on revision 743059.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.