[tor-bugs] #25319 [Core Tor/Tor]: commit 4438ef3288256e1f1ba706c157206a2ac190781d breaks tor macOS cross builds

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 21 11:46:46 UTC 2018


#25319: commit 4438ef3288256e1f1ba706c157206a2ac190781d breaks tor macOS cross
builds
------------------------------+--------------------------------
     Reporter:  gk            |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 The macOS cross build we do for Tor Browser is broken after removing a
 bunch of redundant #includes (i.e.
 4438ef3288256e1f1ba706c157206a2ac190781d):
 {{{
   CC       src/test/src_test_test-test_address_set.o
 In file included from src/test/test_address.c:15:
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:300:19: error:
 field has incomplete type 'struct sockaddr'
                 struct  sockaddr ifru_addr;
                                  ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:300:10: note:
 forward declaration of 'struct sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:301:19: error:
 field has incomplete type 'struct sockaddr'
                 struct  sockaddr ifru_dstaddr;
                                  ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:300:10: note:
 forward declaration of 'struct sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:302:19: error:
 field has incomplete type 'struct sockaddr'
                 struct  sockaddr ifru_broadaddr;
                                  ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:300:10: note:
 forward declaration of 'struct sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:346:18: error:
 field has incomplete type 'struct sockaddr'
         struct  sockaddr ifra_addr;
                          ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:300:10: note:
 forward declaration of 'struct sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:347:18: error:
 field has incomplete type 'struct sockaddr'
         struct  sockaddr ifra_broadaddr;
                          ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:300:10: note:
 forward declaration of 'struct sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:348:18: error:
 field has incomplete type 'struct sockaddr'
         struct  sockaddr ifra_mask;
                          ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:300:10: note:
 forward declaration of 'struct sockaddr'
                 struct  sockaddr ifru_addr;
                         ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:431:26: error:
 field has incomplete type 'struct sockaddr_storage'
         struct sockaddr_storage addr;   /* in/out */
                                 ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:431:9: note:
 forward declaration of 'struct sockaddr_storage'
         struct sockaddr_storage addr;   /* in/out */
                ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:432:26: error:
 field has incomplete type 'struct sockaddr_storage'
         struct sockaddr_storage dstaddr; /* out */
                                 ^
 /var/tmp/dist/macosx-toolchain/SDK//usr/include/net/if.h:431:9: note:
 forward declaration of 'struct sockaddr_storage'
         struct sockaddr_storage addr;   /* in/out */
                ^
 8 errors generated.
 Makefile:9761: recipe for target 'src/test/src_test_test-test_address.o'
 failed
 make[1]: *** [src/test/src_test_test-test_address.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: Leaving directory '/var/tmp/build/tor-master'
 make: *** [all] Error 2
 Makefile:3394: recipe for target 'all' failed
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25319>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list