[MDEV-20779] Fail to build with homebrew's openssl Created: 2019-10-09 Updated: 2020-09-02 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | libmariadb |
| Affects Version/s: | 10.4.7, 10.4.8 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andy Li | Assignee: | Georg Richter |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
macOS |
||
| Description |
|
Since commit d5a11a1f0208df87ee9885f5eb7a7427ee9a6f4a (first bad commit), the server cannot be build with homebrew's openssl@1.1. To reproduce:
Result in:
|
| Comments |
| Comment by Andy Li [ 2019-10-09 ] |
|
Further git bisecting the libmariadb submodule shows that the it's caused by https://github.com/MariaDB/mariadb-connector-c/commit/11a2d035dde02b2a4379d5c5b978ada7447e9bfd |
| Comment by Daniel Black [ 2020-09-02 ] |
|
I suspect this just needs -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl as the cmake option. It might also depend on your OSX version xcode10.1 was failing: However later the later version xcode12u built successfully I haven't investigated where inbetween those version cause or fixed the build failure you observed. |