You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Dinesh Bhat (JIRA)" <ji...@apache.org> on 2016/07/19 22:15:21 UTC

[jira] [Resolved] (KUDU-1530) Update the docs about OS X build dependency on Xcode package

     [ https://issues.apache.org/jira/browse/KUDU-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dinesh Bhat resolved KUDU-1530.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 0.10.0

> Update the docs about OS X build dependency on Xcode package
> ------------------------------------------------------------
>
>                 Key: KUDU-1530
>                 URL: https://issues.apache.org/jira/browse/KUDU-1530
>             Project: Kudu
>          Issue Type: Task
>            Reporter: Dinesh Bhat
>            Assignee: Dinesh Bhat
>            Priority: Trivial
>             Fix For: 0.10.0
>
>
> Fresh kudu build on my mac (OS X version 10.11.5) fails to compile during thirdparty/build-if-necessary.sh:
> {noformat}
> ] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Program.cpp.o
> [ 25%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_x86_64_osx.dir/ffsdi2.c.o
> [ 25%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_x86_64_osx.dir/ffsti2.c.o
> Scanning dependencies of target clang_rt.eprintf
> [ 25%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.cc_kext_x86_64_osx.dir/fixdfdi.c.o
> [ 25%] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.eprintf.dir/eprintf.c.o
> clang: warning: no such sysroot directory: '-mmacosx-version-min=10.5'
> /Users/dinesh/Documents/kudu_exp/kudu/thirdparty/llvm-3.8.0.src/projects/compiler-rt/lib/builtins/eprintf.c:14:10: fatal error: 'stdio.h' file not found
> #include <stdio.h>
>          ^
> 1 error generated.
> [ 25%] make[2]: *** [projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.eprintf.dir/eprintf.c.o] Error 1
> make[1]: *** [projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.eprintf.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs….
> {noformat}
> After installing Xcode, the builds succeeded.
> In discussion with [~mpercy], we thought it would be better to explicitly update the docs about OS X dependency on Xcode along with the xcode cmdline utilities. Mike mentioned something about not being able to recollect any extra dependency other than xcode-select utilities. However, as mentioned above, I had to install Xcode as well for a successfull build on latest OS X.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)