[MacPorts] #61252: Failed to build thrift +glib2

MacPorts noreply at macports.org
Wed Sep 30 15:56:42 UTC 2020


#61252: Failed to build thrift +glib2
---------------------+--------------------
  Reporter:  ve3m    |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  thrift  |
---------------------+--------------------

Comment (by mf2k):

 Error appears to be:
 {{{
 :info:build /bin/sh ../../libtool  --tag=CC   --mode=compile
 /usr/bin/clang -DHAVE_CONFIG_H   -Isrc -I src/thrift/c_glib
 -I/opt/local/include -DBOOST_TEST_DYN_LINK
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 -Wall -Wextra -pedantic -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include  -I../../lib/c_glib/src/thrift -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 -arch x86_64 -MT src/thrift/c_glib/protocol/libthrift_c_glib_la-
 thrift_binary_protocol_factory.lo -MD -MP -MF
 src/thrift/c_glib/protocol/.deps/libthrift_c_glib_la-
 thrift_binary_protocol_factory.Tpo -c -o src/thrift/c_glib/protocol
 /libthrift_c_glib_la-thrift_binary_protocol_factory.lo `test -f
 'src/thrift/c_glib/protocol/thrift_binary_protocol_factory.c' || echo
 './'`src/thrift/c_glib/protocol/thrift_binary_protocol_factory.c
 :info:build src/thrift/c_glib/protocol/thrift_multiplexed_protocol.c:60:9:
 error: implicit declaration of function
 'thrift_protocol_decorator_write_message_begin' is invalid in C99 [-Werror
 ,-Wimplicit-function-declaration]
 :info:build   ret =
 thrift_protocol_decorator_write_message_begin(protocol, service_name,
 message_type, seqid, error);
 :info:build         ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61252#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list