[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #23602 [Core Tor/Tor]: Fix compilation on macOS



#23602: Fix compilation on macOS
--------------------------+------------------------
 Reporter:  hellais       |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------
Description changed by hellais:

Old description:

> On macOS the build toolchain is broken in the latest master
> (commit://4a3b61a5b32d4df7d627f993deec97f1db451910).
>
> This is due to the fact that macOS comes with an ancient version of
> openssl that the tor autoconf script will resolve to first. Instead, if
> the user has installed homebrew, it should first pick the homebrew
> version.
>
> In this branch I added a patch to the autoconf script that fixes this:
> https://github.com/hellais/tor/commit/e55a198c517bb5e40acd395e562891c4927e54a9.
>
> More details about the fix are in the commit message and comment in the
> code.

New description:

 On macOS the build toolchain is broken in the latest master
 (commit://4a3b61a5b32d4df7d627f993deec97f1db451910).

 This is due to the fact that macOS comes with an ancient version of
 openssl that the tor autoconf script will resolve to first. Instead, if
 the user has installed homebrew, it should first pick the homebrew
 version.

 In this branch I added a patch to the autoconf script that fixes this:
 https://github.com/hellais/tor/commit/e55a198c517bb5e40acd395e562891c4927e54a9.

 More details about the fix are in the commit message and comment in the
 code.

 I tested that this works as expected on macOS 10.12.6 with homebrew 1.3.2
 and openssl 1.0.2l.

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23602#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs