Fails to build with Xcode 10 on macOS Mojave, openssl and yaracpp issue
envgap__avast__retdec-439
01 / FAILURE SIGNATURE
As reported upstream
Command failed: 2
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
c2a003c4c17c2a473a3a765a9203c288ecda5d9e- Manifest
deps/yaracpp/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
avast/retdec #439 · read the original issue
I've been trying to get this to build with Xcode 10 on macOS Mojave, but it seems to be running into trouble with 2 of the dependencies.
```
CMake Error at /Users/user/Software/RetDec/0.7/retdec-master/build/deps/openssl/openssl/src/openssl-stamp/openssl-build-Release.cmake:16 (message):
Command failed: 2
'make' '-j8'
See also
/Users/user/Software/RetDec/0.7/retdec-master/build/deps/openssl/openssl/src/openssl-stamp/openssl-build-*.log
make[2]: *** [deps/openssl/openssl/src/openssl-stamp/openssl-build] Error 1
make[1]: *** [deps/openssl/CMakeFiles/openssl.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
```
...
```
CMake Error at /Users/user/Software/RetDec/0.7/retdec-master/build/external/src/yaracpp-project-stamp/yaracpp-project-build-Release.cmake:16 (message):
Command failed: 2
'/Applications/Xcode.app/Contents/Developer/usr/bin/make'
See also
/Users/user/Software/RetDec/0.7/retdec-master/build/external/src/yaracpp-project-stamp/yaracpp-project-build-*.log
make[2]: *** [external/src/yaracpp-project-stamp/yaracpp-project-build] Error 1
make[1]: *** [deps/yaracpp/CMakeFiles/yaracpp-project.dir/all] Error 2
```
Attached are the log files detailing the errors.
[openssl-build-err.log](https://github.com/avast-tl/retdec/files/2665301/openssl-build-err.log)
[yaracpp-project-build-err.log](https://github.com/avast-tl/retdec/files/2665302/yaracpp-project-build-err.log)
Based on the log file info, I suspect this issue may be related to Apple dropping support for 32-bit code.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]