[MacPorts] #59713: grpc @1.22.0: error: field has incomplete type 'struct sockaddr'

MacPorts noreply at macports.org
Sun Nov 17 16:10:29 UTC 2019


#59713: grpc @1.22.0: error: field has incomplete type 'struct sockaddr'
------------------------+--------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  grpc
------------------------+--------------------
 [https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/8762/steps
 /install-port/logs/stdio grpc fails to build on 10.6]:

 {{{
 /usr/include/net/if.h:265:19: error: field has incomplete type 'struct
 sockaddr'
                 struct  sockaddr ifru_addr;
                                  ^
 /usr/include/net/if.h:265:10: note: forward declaration of 'sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /usr/include/net/if.h:266:19: error: field has incomplete type 'struct
 sockaddr'
                 struct  sockaddr ifru_dstaddr;
                                  ^
 /usr/include/net/if.h:265:10: note: forward declaration of 'sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /usr/include/net/if.h:267:19: error: field has incomplete type 'struct
 sockaddr'
                 struct  sockaddr ifru_broadaddr;
                                  ^
 /usr/include/net/if.h:265:10: note: forward declaration of 'sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /usr/include/net/if.h:308:18: error: field has incomplete type 'struct
 sockaddr'
         struct  sockaddr ifra_addr;
                          ^
 /usr/include/net/if.h:265:10: note: forward declaration of 'sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /usr/include/net/if.h:309:18: error: field has incomplete type 'struct
 sockaddr'
         struct  sockaddr ifra_broadaddr;
                          ^
 /usr/include/net/if.h:265:10: note: forward declaration of 'sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /usr/include/net/if.h:310:18: error: field has incomplete type 'struct
 sockaddr'
         struct  sockaddr ifra_mask;
                          ^
 /usr/include/net/if.h:265:10: note: forward declaration of 'sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /usr/include/net/if.h:393:26: error: field has incomplete type 'struct
 sockaddr_storage'
         struct sockaddr_storage addr;   /* in/out */
                                 ^
 /usr/include/net/if.h:393:9: note: forward declaration of
 'sockaddr_storage'
         struct sockaddr_storage addr;   /* in/out */
                ^
 /usr/include/net/if.h:394:26: error: field has incomplete type 'struct
 sockaddr_storage'
         struct sockaddr_storage dstaddr; /* out */
                                 ^
 /usr/include/net/if.h:393:9: note: forward declaration of
 'sockaddr_storage'
         struct sockaddr_storage addr;   /* in/out */
                ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59713>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list