[tor-bugs] #26564 [Core Tor/Tor]: Tor compilation fails when cross-compiling for macOS
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Fri Jun 29 06:52:36 UTC 2018
    
    
  
#26564: Tor compilation fails when cross-compiling for macOS
------------------------------+--------------------
     Reporter:  gk            |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 Our latest nightly build is failing when (cross)-compiling `tor` for
 macOS:
 {{{
   CC       src/lib/process/env.o
 src/lib/process/env.c:40:11: warning: implicit declaration of function
 '_NSGetEnviron' is invalid in C99 [-Wimplicit-function-declaration]
   return *_NSGetEnviron();
           ^
 src/lib/process/env.c:40:10: error: indirection requires pointer operand
 ('int' invalid)
   return *_NSGetEnviron();
          ^~~~~~~~~~~~~~~~
 1 warning and 1 error generated.
 Makefile:7498: recipe for target 'src/lib/process/env.o' failed
 }}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26564>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list