-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macosx 10.13.4 corefx build errors #26017
Comments
Looks like new MacOS release has new compiler which is more sensitive. |
Looks like the main error is in:
|
hey karelz how can i submit a pull request ? |
I will put up the PR with fixes |
hey karelz is there a workaround ????? alsao here is the link for my repo https://github.com/CliffordOzewell/corefx.git |
@CliffordOzewell I think we need to either downgrade the compiler, or fix the problem: Offensive line: c_static_assert(sizeof_member(struct xsocket, so_linger) == 2); It seems that the definition of It causes duplicate type definitions. I wonder if it is side-effect of migrating C++ to C for Mono ... |
I can see 2 solutions here:
The problem lies with C compilers that don't support static assert (it's only C11), and there is no good way to fix it. Whatever approach you take is fine by Mono. |
This is strange, I've recently fixed exactly the same error by adding the |
Cliffs-iMac:corefx cliffozewell$ clang --version |
@CliffordOzewell ah, I can see your problem. I have taken a look at your repo and it doesn't have the fix I have made in dotnet/corefx#28768. That's why you are hitting that issue. You'll need to update your master from the upstream master. |
@janvorli @karelz @jkotas I'll upsteam mono/corefx#46 as well soon, since it turns out |
@luhenry I am not sure what do you mean by that. It is supposed to work on clang only. Are you saying that it doesn't work on clang? |
Guys , So i pulled @janvorli's Repo and tried to build and this was my outcome now : Cliffs-iMac:corefx cliffozewell$ ./build.sh NuGet Config files used: Feeds used: Installed: -- Configuring incomplete, errors occurred! Is this because openssl wont link unless i add the PATH the my complier ? |
@luhenry btw, one more option to make the typedef work is to create a unique name of the type. The GNU C has #define CONCAT2(x, y, z) x##y##z
#define CONCAT(x, y, z) CONCAT2(x, y, z)
#define c_static_assert(e) typedef char CONCAT(__c_static_assert_, __COUNTER__, __[(e)?1:-1]) |
@CliffordOzewell you can just set the OPENSSL_ROOT_DIR as the error message suggests to the root of your openssl installation. On my Mac, it is |
here is the output after i added the path suggested : Cliffs-iMac:corefx cliffozewell$ ./build.sh -- Configuring incomplete, errors occurred! |
also looks like clang is old : Error: No available formula with the name "clang" |
For some reasons, some compilers will complain about the second
It seems like a good option, but we need to guard against the existence of |
@CliffordOzewell the clang is not old, I have the same version on my Mac installed by the xcode 9.3. The clang version number has clearly nothing to do with the xcode version number, although it is part of xcode. |
@luhenry sure, we would need to check if |
@janvorli i have set the env var by using adding the export path command i wlll send the modded ~/.bash profile shortly to confirm its done correctly as well as start from scratch on the bin folder so cmake not cached |
@janvorli here is the output of my bash
|
@CliffordOzewell I don't see the OPENSSL_ROOT_DIR being set there. export OPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2n or you can just prefix the build.sh with the variable setting like this instead: OPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2n build.sh |
@janvorli ok let me correct that. |
@janvorli now this is what the compiler is complaining about : Cliffs-iMac:corefx-new cliffozewell$ ./build.sh -- Configuring incomplete, errors occurred! this is even after i set the correct path as you mentioned |
I assume you have opened a new console after modifying the echo $OPENSSL_ROOT_DIR If it prints the right value and the build still fails with the same issue, my guess would would be that either the openssl installation is broken or some of its dependencies are missing. |
Yes I will post them right now
…Sent from my iPhone
On May 2, 2018, at 12:01 PM, Jan Vorlicek <notifications@github.com<mailto:notifications@github.com>> wrote:
I assume you have opened a new console after modifying the .bash file, because without that, the env vars would not be set.
You can also verify that the variable is set by
echo $OPENSSL_ROOT_DIR
If it prints the right value and the build still fails with the same issue, my guess would would be that either the openssl installation is broken or some of its dependencies are missing.
We can actually get more details from the /Users/cliffozewell/Desktop/Repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeOutput.log and /Users/cliffozewell/Desktop/Repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeError.log files. Could you please share them via gist?
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/dotnet/corefx/issues/29380#issuecomment-386085421>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AjplEGm3gQvz-U4E7L0BnQSBvdv9sopVks5tugKkgaJpZM4TrBXM>.
|
@janvorli here is the output of the CMakeOutput.log : Cliffs-iMac:CMakeFiles cliffozewell$ cat CMakeOutput.log The output was: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is AppleClang, found in "/Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/3.11.1/CompilerIdC/a.out" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. The output was: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" The CXX compiler identification is AppleClang, found in "/Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/3.11.1/CompilerIdCXX/a.out" Determining if the C compiler works passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_79508/fast" Detecting C compiler ABI info compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_076ae/fast" Parsed C implicit link information from above output: Detecting C [-std=c11] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_a3160/fast"
Detecting C [-std=c99] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_054e9/fast"
Detecting C [-std=c90] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_a2a52/fast"
Determining if the CXX compiler works passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_d93ed/fast" Detecting CXX compiler ABI info compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_84735/fast" Parsed CXX implicit link information from above output: Detecting CXX [-std=c++1z] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_f703b/fast"
Detecting CXX [-std=c++14] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_5b14d/fast"
Detecting CXX [-std=c++11] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_21ca8/fast"
Detecting CXX [-std=c++98] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_143d5/fast"
Performing C SOURCE FILE Test HAVE_IN_PKTINFO succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_cc6f0/fast" Source file was:
Performing C SOURCE FILE Test HAVE_IP_MREQN succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_80313/fast" Source file was:
Determining if the function stat64 exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_afd4d/fast" Determining if the function getmntinfo exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_29b92/fast" Determining if the function strlcpy exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_d31a7/fast" Determining if the function ioctl exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_12c02/fast" Determining if the TIOCGWINSZ exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_a5b7e/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if the function tcgetattr exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_dd1d5/fast" Determining if the function tcsetattr exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_3d3dd/fast" Determining if the ECHO exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_62055/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if the ICANON exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_57b92/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if the TCSANOW exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_21ed8/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Performing C SOURCE FILE Test HAVE_STAT_BIRTHTIME succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_a24ec/fast" Source file was: #include <sys/types.h> int main() Performing C SOURCE FILE Test HAVE_DIRENT_NAME_LEN succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_ec65d/fast" Source file was: #include <dirent.h> int main() Performing C SOURCE FILE Test HAVE_STATFS_FSTYPENAME succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_f3636/fast" Source file was: #include <sys/mount.h> int main() Determining size of struct statfs passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_88f0d/fast" Performing C++ SOURCE FILE Test HAVE_READDIR_R succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_b0182/fast" Source file was:
Performing C++ SOURCE FILE Test KEVENT_HAS_VOID_UDATA succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_eb3e8/fast" Source file was:
Performing C SOURCE FILE Test HAVE_FDS_BITS succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_8c795/fast" Source file was: #include <sys/select.h> int main() Performing C++ SOURCE FILE Test HAVE_SENDFILE_6 succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_6a8c1/fast" Source file was:
Determining if the function fcopyfile exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_81e31/fast" Determining if the function kqueue exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_79b95/fast" Performing C++ SOURCE FILE Test HAVE_GETNAMEINFO_SIGNED_FLAGS succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_58ea4/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_CLOCK_MONOTONIC succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_238cd/fast" Return value: 1
Performing C++ SOURCE FILE Test HAVE_CLOCK_REALTIME succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_dae30/fast" Return value: 1
Determining if the function mach_absolute_time exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_1998a/fast" Determining if the function mach_timebase_info exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_f9564/fast" Determining if the function futimes exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_f70ab/fast" Determining if the function futimens exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_19e72/fast" Performing C++ SOURCE FILE Test BIND_ADDRLEN_UNSIGNED succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_ee899/fast" Source file was:
Performing C++ SOURCE FILE Test IPV6MR_INTERFACE_UNSIGNED succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_898b8/fast" Source file was:
Determining if the prototype kevent exists for KEVENT_REQUIRES_INT_PARAMS passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_d6699/fast" Performing C++ SOURCE FILE Test HAVE_MKSTEMPS succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_a5972/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_MKSTEMP succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_e623c/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_TCP_VAR_H succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_38552/fast" Source file was:
Determining if files sys/cdefs.h exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_c3c58/fast" Determining if the TCPS_ESTABLISHED exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_5ebf4/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Performing C++ SOURCE FILE Test HAVE_RT_MSGHDR succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_b0f23/fast" Source file was:
Determining if files sys/sysctl.h exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_00c23/fast" Determining if the function getpeereid exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_72b90/fast" Determining if the function getdomainname exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_30975/fast" Determining if the function uname exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_b3f75/fast" Performing C++ SOURCE FILE Test HAVE_CURLM_ADDED_ALREADY succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_6984b/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_CURL_HTTP_VERSION_2_0 succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_4622a/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_CURLPIPE_MULTIPLEX succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_a290c/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_CURL_SSLVERSION_TLSv1_012 succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_13baf/fast" Source file was:
Determining if files GSS/GSS.h exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_4d7b5/fast" Determining if the GSS_SPNEGO_MECHANISM exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_7538e/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if the GSS_KRB5_CRED_NO_CI_FLAGS_X exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_1df8d/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if files crt_externs.h exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_28f0a/fast" Performing C++ SOURCE FILE Test HAVE_NSGETENVIRON succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_25334/fast" Source file was:
Determining if the function TLSv1_1_method exists in the /usr/lib/libssl.dylib passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_f73c0/fast" Determining if the function TLSv1_2_method exists in the /usr/lib/libssl.dylib passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_90f68/fast" Determining if the function EC_GF2m_simple_method exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_270c2/fast" Cliffs-iMac:CMakeFiles cliffozewell$ sudo nano CMakeOutput.log The output was: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is AppleClang, found in "/Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/3.11.1/CompilerIdC/a.out" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. The output was: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" The CXX compiler identification is AppleClang, found in "/Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/3.11.1/CompilerIdCXX/a.out" Determining if the C compiler works passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_79508/fast" Detecting C compiler ABI info compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_076ae/fast" Parsed C implicit link information from above output: Detecting C [-std=c11] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_a3160/fast"
Detecting C [-std=c99] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_054e9/fast"
Detecting C [-std=c90] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_a2a52/fast"
Determining if the CXX compiler works passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_d93ed/fast" Detecting CXX compiler ABI info compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_84735/fast" Parsed CXX implicit link information from above output: Detecting CXX [-std=c++1z] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_f703b/fast"
Detecting CXX [-std=c++14] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_5b14d/fast"
Detecting CXX [-std=c++11] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_21ca8/fast"
Detecting CXX [-std=c++98] compiler features compiled with the following output: Run Build Command:"/usr/bin/make" "cmTC_143d5/fast"
Performing C SOURCE FILE Test HAVE_IN_PKTINFO succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_cc6f0/fast" Source file was:
Performing C SOURCE FILE Test HAVE_IP_MREQN succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_80313/fast" Source file was:
Determining if the function stat64 exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_afd4d/fast" Determining if the function getmntinfo exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_29b92/fast" Determining if the function strlcpy exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_d31a7/fast" Determining if the function ioctl exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_12c02/fast" Determining if the TIOCGWINSZ exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_a5b7e/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if the function tcgetattr exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_dd1d5/fast" Determining if the function tcsetattr exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_3d3dd/fast" Determining if the ECHO exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_62055/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if the ICANON exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_57b92/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if the TCSANOW exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_21ed8/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Performing C SOURCE FILE Test HAVE_STAT_BIRTHTIME succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_a24ec/fast" Source file was: #include <sys/types.h> int main() Performing C SOURCE FILE Test HAVE_DIRENT_NAME_LEN succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_ec65d/fast" Source file was: #include <dirent.h> int main() Performing C SOURCE FILE Test HAVE_STATFS_FSTYPENAME succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_f3636/fast" Source file was: #include <sys/mount.h> int main() Determining size of struct statfs passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_88f0d/fast" Performing C++ SOURCE FILE Test HAVE_READDIR_R succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_b0182/fast" Source file was:
Performing C++ SOURCE FILE Test KEVENT_HAS_VOID_UDATA succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_eb3e8/fast" Source file was:
Performing C SOURCE FILE Test HAVE_FDS_BITS succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_8c795/fast" Source file was: #include <sys/select.h> int main() Performing C++ SOURCE FILE Test HAVE_SENDFILE_6 succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_6a8c1/fast" Source file was:
Determining if the function fcopyfile exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_81e31/fast" Determining if the function kqueue exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_79b95/fast" Performing C++ SOURCE FILE Test HAVE_GETNAMEINFO_SIGNED_FLAGS succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_58ea4/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_CLOCK_MONOTONIC succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_238cd/fast" Return value: 1
Performing C++ SOURCE FILE Test HAVE_CLOCK_REALTIME succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_dae30/fast" Return value: 1
Determining if the function mach_absolute_time exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_1998a/fast" Determining if the function mach_timebase_info exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_f9564/fast" Determining if the function futimes exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_f70ab/fast" Determining if the function futimens exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_19e72/fast" Performing C++ SOURCE FILE Test BIND_ADDRLEN_UNSIGNED succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_ee899/fast" Source file was:
Performing C++ SOURCE FILE Test IPV6MR_INTERFACE_UNSIGNED succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_898b8/fast" Source file was:
Determining if the prototype kevent exists for KEVENT_REQUIRES_INT_PARAMS passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_d6699/fast" Performing C++ SOURCE FILE Test HAVE_MKSTEMPS succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_a5972/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_MKSTEMP succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_e623c/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_TCP_VAR_H succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_38552/fast" Source file was:
Determining if files sys/cdefs.h exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_c3c58/fast" Determining if the TCPS_ESTABLISHED exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_5ebf4/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Performing C++ SOURCE FILE Test HAVE_RT_MSGHDR succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_b0f23/fast" Source file was:
Determining if files sys/sysctl.h exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_00c23/fast" Determining if the function getpeereid exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_72b90/fast" Determining if the function getdomainname exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_30975/fast" Determining if the function uname exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_b3f75/fast" Performing C++ SOURCE FILE Test HAVE_CURLM_ADDED_ALREADY succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_6984b/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_CURL_HTTP_VERSION_2_0 succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_4622a/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_CURLPIPE_MULTIPLEX succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_a290c/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_CURL_SSLVERSION_TLSv1_012 succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_13baf/fast" Source file was:
Determining if files GSS/GSS.h exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_4d7b5/fast" Determining if the GSS_SPNEGO_MECHANISM exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_7538e/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if the GSS_KRB5_CRED_NO_CI_FLAGS_X exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_1df8d/fast" File /Users/cliffozewell/Desktop/repos/corefx-new/bin/obj/OSX.x64.Debug/native/CMakeFiles/CMakeTmp/CheckSymbolExists.c: int main(int argc, char** argv) Determining if files crt_externs.h exist passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_28f0a/fast" Performing C++ SOURCE FILE Test HAVE_NSGETENVIRON succeeded with the following output: Run Build Command:"/usr/bin/make" "cmTC_25334/fast" Source file was:
Determining if the function TLSv1_1_method exists in the /usr/lib/libssl.dylib passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_f73c0/fast" Determining if the function TLSv1_2_method exists in the /usr/lib/libssl.dylib passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_90f68/fast" Determining if the function EC_GF2m_simple_method exists passed with the following output: Run Build Command:"/usr/bin/make" "cmTC_270c2/fast" Cliffs-iMac:CMakeFiles cliffozewell$ |
@janvorli here is the output from CMakeError log: Cliffs-iMac:CMakeFiles cliffozewell$ cat CMakeError.log Run Build Command:"/usr/bin/make" "cmTC_d340f/fast" Source: int main(void){return 0;} Performing C SOURCE FILE Test HAVE_FLOCK64 failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_b51f7/fast" Source file was:
Determining if the function lseek64 exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_0097e/fast" Determining if the function mmap64 exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_974c1/fast" Determining if the function ftruncate64 exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_ef406/fast" Determining if the function posix_fadvise64 exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_efea1/fast" Determining if the function pipe2 exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_6ce98/fast" Determining if the function strcpy_s exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_f23ef/fast" Determining if the function posix_fadvise exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_44073/fast" Determining if the function sched_getaffinity exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_360f4/fast" Determining if the function sched_setaffinity exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_43c20/fast" Performing C SOURCE FILE Test HAVE_STATVFS_FSTYPENAME failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_ce571/fast" Source file was: #include <sys/mount.h> int main() Performing C++ SOURCE FILE Test HAVE_GNU_STRERROR_R failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_aa548/fast" Source file was:
Performing C SOURCE FILE Test HAVE_PRIVATE_FDS_BITS failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_d99f0/fast" Source file was: #include <sys/select.h> int main() Performing C++ SOURCE FILE Test HAVE_SENDFILE_4 failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_06878/fast" Source file was:
Determining if the function epoll_create1 exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_5d149/fast" Determining if the function accept4 exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_f31cb/fast" Performing C++ SOURCE FILE Test HAVE_GETHOSTBYADDR_R failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_e35d2/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_GETHOSTBYNAME_R failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_9bb03/fast" Source file was:
Performing C++ SOURCE FILE Test INOTIFY_RM_WATCH_WD_UNSIGNED failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_f5f76/fast" Source file was:
Performing C++ SOURCE FILE Test HAVE_SHM_OPEN_THAT_WORKS_WELL_ENOUGH_WITH_MMAP failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_b8576/fast" Return value: 255
Determining if the prototype getpriority exists for PRIORITY_REQUIRES_INT_WHO failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_2baed/fast" #include <sys/resource.h> static void cmakeRequireSymbol(int dummy, ...) { static void checkSymbol(void) { int getpriority(int which, int who) { #ifdef CLASSIC_C Performing C++ SOURCE FILE Test HAVE_TCP_H_TCPSTATE_ENUM failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_b8a99/fast" Source file was: #ifdef HAVE_SYS_CDEFS_H Determining if files linux/rtnetlink.h exist failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_92d04/fast" Source: int main(void){return 0;} Performing C++ SOURCE FILE Test HAVE_GETDOMAINNAME_SIZET failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_b4ed5/fast" Source file was:
Determining if the function inotify_init exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_4ebcb/fast" Determining if the function inotify_add_watch exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_dbfad/fast" Determining if the function inotify_rm_watch exists failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_422af/fast" Performing C++ SOURCE FILE Test HAVE_IN_EXCL_UNLINK failed with the following output: Run Build Command:"/usr/bin/make" "cmTC_11978/fast" Source file was:
Cliffs-iMac:CMakeFiles cliffozewell$ |
@janvorli also the path is now set correctly for Openssl |
now its throwing a zero as null pointer constant error: Cliffs-iMac:corefx-new cliffozewell$ ./build.sh define NULL __null
/Users/cliffozewell/Desktop/Repos/corefx-new/src/Native/Unix/System.Native/pal_console.cpp:419:63: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] /Library/Developer/CommandLineTools/usr/lib/clang/9.1.0/include/stddef.h:100:18: note: expanded from macro 'NULL' define NULL __null
/Library/Developer/CommandLineTools/usr/lib/clang/9.1.0/include/stddef.h:100:18: note: expanded from macro 'NULL' define NULL __null
[ 5%] Building CXX object System.Net.Http.Native/CMakeFiles/System.Net.Http.Native.dir/pal_easy.cpp.o define NULL __null
2 errors2 generated. |
Anyone there? |
I'm able to build on 10.13.5. I've seen the NULL error before but it worked for me after syncing and cleaning up my build tree (git clean -dfx) |
Ok I got it working
…Sent from my iPhone
On May 30, 2018, at 11:01 AM, Tomas Weinfurt <notifications@github.com<mailto:notifications@github.com>> wrote:
I'm able to build on 10.13.5. I've seen the NULL error before but it worked for me after syncing and cleaning up my build tree (git clean -dfx)
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/dotnet/corefx/issues/29380#issuecomment-393259776>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AjplEKd8JcvPpLaLl0NINoEb8p-9zdReks5t3t6sgaJpZM4TrBXM>.
|
Building in CLI
Here are my details for the environment:
dotnet: 2.2.100-preview1-008633
openssl: 1.0.2o_1
mono: JIT compiler version 5.8.1.0
cmake: version 3.11.1
xcode : 9.2
Any help would be greatly appreciated.
[EDIT] Fix log formatting by @karelz
The text was updated successfully, but these errors were encountered: