View difference between Paste ID: pV5N5AzV and u761YwTS
SHOW: | | - or go back to the newest paste.
1
Performing C SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output:
2-
Change Dir: /Users/pankil/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp
2+
Change Dir: /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp
3
4
Run Build Command:/usr/bin/make "cmTryCompileExec1583685134/fast"
5
/usr/bin/make -f CMakeFiles/cmTryCompileExec1583685134.dir/build.make CMakeFiles/cmTryCompileExec1583685134.dir/build
6-
/opt/local/bin/cmake -E cmake_progress_report /Users/pankil/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/CMakeFiles 1
6+
/opt/local/bin/cmake -E cmake_progress_report /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/CMakeFiles 1
7
Building C object CMakeFiles/cmTryCompileExec1583685134.dir/src.c.o
8-
/usr/bin/cc   -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -Werror  -DICONV_SECOND_ARGUMENT_IS_CONST   -o CMakeFiles/cmTryCompileExec1583685134.dir/src.c.o   -c /Users/pankil/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/src.c
8+
/usr/bin/cc   -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2 -Werror  -DICONV_SECOND_ARGUMENT_IS_CONST   -o CMakeFiles/cmTryCompileExec1583685134.dir/src.c.o   -c /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/src.c
9-
/Users/pankil/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/src.c:9:17: error: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Werror,-Wincompatible-pointer-types]
9+
/Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/src.c:9:17: error: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Werror,-Wincompatible-pointer-types]
10
    iconv(conv, &in, &ilen, &out, &olen);
11
                ^~~
12
/usr/include/iconv.h:73:30: note: passing argument to parameter here
13
        char ** __restrict /*inbuf*/,  size_t * __restrict /*inbytesleft*/,
14
                                    ^
15
1 error generated.
16
make[1]: *** [CMakeFiles/cmTryCompileExec1583685134.dir/src.c.o] Error 1
17
make: *** [cmTryCompileExec1583685134/fast] Error 2
18
19
Source file was:
20
21
  #include <iconv.h>
22
  int main(){
23
    iconv_t conv = 0;
24
    const char* in = 0;
25
    size_t ilen = 0;
26
    char* out = 0;
27
    size_t olen = 0;
28
    iconv(conv, &in, &ilen, &out, &olen);
29
    return 0;
30
  }
31
32
Determining if the function nanosleep exists in the rt failed with the following output:
33-
Change Dir: /Users/pankil/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp
33+
Change Dir: /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp
34
35
Run Build Command:/usr/bin/make "cmTryCompileExec506695253/fast"
36
/usr/bin/make -f CMakeFiles/cmTryCompileExec506695253.dir/build.make CMakeFiles/cmTryCompileExec506695253.dir/build
37-
/opt/local/bin/cmake -E cmake_progress_report /Users/pankil/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/CMakeFiles 1
37+
/opt/local/bin/cmake -E cmake_progress_report /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/CMakeFiles 1
38
Building C object CMakeFiles/cmTryCompileExec506695253.dir/CheckFunctionExists.c.o
39
/usr/bin/cc   -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2  -DCHECK_FUNCTION_EXISTS=nanosleep   -o CMakeFiles/cmTryCompileExec506695253.dir/CheckFunctionExists.c.o   -c /opt/local/share/cmake-2.8/Modules/CheckFunctionExists.c
40
Linking C executable cmTryCompileExec506695253
41
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec506695253.dir/link.txt --verbose=1
42
/usr/bin/cc    -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2  -DCHECK_FUNCTION_EXISTS=nanosleep -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTryCompileExec506695253.dir/CheckFunctionExists.c.o  -o cmTryCompileExec506695253  -lrt 
43
ld: library not found for -lrt
44
clang: error: linker command failed with exit code 1 (use -v to see invocation)
45
make[1]: *** [cmTryCompileExec506695253] Error 1
46
make: *** [cmTryCompileExec506695253/fast] Error 2
47
48
49
Determining if the function clock_gettime exists in the rt failed with the following output:
50-
Change Dir: /Users/pankil/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp
50+
Change Dir: /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp
51
52
Run Build Command:/usr/bin/make "cmTryCompileExec4093894644/fast"
53
/usr/bin/make -f CMakeFiles/cmTryCompileExec4093894644.dir/build.make CMakeFiles/cmTryCompileExec4093894644.dir/build
54-
/opt/local/bin/cmake -E cmake_progress_report /Users/pankil/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/CMakeFiles 1
54+
/opt/local/bin/cmake -E cmake_progress_report /Users/me/cloud/ocsync-buildlin/CMakeFiles/CMakeTmp/CMakeFiles 1
55
Building C object CMakeFiles/cmTryCompileExec4093894644.dir/CheckFunctionExists.c.o
56
/usr/bin/cc   -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2  -DCHECK_FUNCTION_EXISTS=clock_gettime   -o CMakeFiles/cmTryCompileExec4093894644.dir/CheckFunctionExists.c.o   -c /opt/local/share/cmake-2.8/Modules/CheckFunctionExists.c
57
Linking C executable cmTryCompileExec4093894644
58
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4093894644.dir/link.txt --verbose=1
59
/usr/bin/cc    -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_FORTIFY_SOURCE=2  -DCHECK_FUNCTION_EXISTS=clock_gettime -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTryCompileExec4093894644.dir/CheckFunctionExists.c.o  -o cmTryCompileExec4093894644  -lrt 
60
ld: library not found for -lrt
61
clang: error: linker command failed with exit code 1 (use -v to see invocation)
62
make[1]: *** [cmTryCompileExec4093894644] Error 1
63
make: *** [cmTryCompileExec4093894644/fast] Error 2