Ticket #58855: CMakeError.log

File CMakeError.log, 8.5 KB (added by LenoreHorner, 5 years ago)

CMake error log

Line 
1Performing C SOURCE FILE Test have_stringop_truncation failed with the following output:
2Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp
3
4Run Build Command(s):/usr/bin/make cmTC_90ac8/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_90ac8.dir/build.make CMakeFiles/cmTC_90ac8.dir/build
5Building C object CMakeFiles/cmTC_90ac8.dir/src.c.o
6/usr/bin/clang   -pipe -Os -DNDEBUG -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.5 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -Dhave_stringop_truncation -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14   -Wstringop-truncation -o CMakeFiles/cmTC_90ac8.dir/src.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp/src.c
7warning: unknown warning option '-Wstringop-truncation'; did you mean '-Wstring-conversion'? [-Wunknown-warning-option]
81 warning generated.
9Linking C executable cmTC_90ac8
10/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_90ac8.dir/link.txt --verbose=1
11/usr/bin/clang -pipe -Os -DNDEBUG -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.5 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -Dhave_stringop_truncation -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk  CMakeFiles/cmTC_90ac8.dir/src.c.o  -o cmTC_90ac8
12
13
14Source file was:
15int main(void) { return 0; }
16Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
17Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp
18
19Run Build Command(s):/usr/bin/make cmTC_ec983/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_ec983.dir/build.make CMakeFiles/cmTC_ec983.dir/build
20Building C object CMakeFiles/cmTC_ec983.dir/src.c.o
21/usr/bin/clang   -Wno-error=deprecated-declarations -std=gnu11 -Wno-error=parentheses -Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused -pipe -Os -DNDEBUG -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.5 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -DCMAKE_HAVE_LIBC_PTHREAD -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14   -o CMakeFiles/cmTC_ec983.dir/src.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp/src.c
22/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp/src.c:3:7: error: no previous prototype for function 'test_func' [-Werror,-Wmissing-prototypes]
23void* test_func(void* data)
24      ^
251 error generated.
26make[1]: *** [CMakeFiles/cmTC_ec983.dir/src.c.o] Error 1
27make: *** [cmTC_ec983/fast] Error 2
28
29
30Source file was:
31#include <pthread.h>
32
33void* test_func(void* data)
34{
35  return data;
36}
37
38int main(void)
39{
40  pthread_t thread;
41  pthread_create(&thread, NULL, test_func, NULL);
42  pthread_detach(thread);
43  pthread_join(thread, NULL);
44  pthread_atfork(NULL, NULL, NULL);
45  pthread_exit(NULL);
46
47  return 0;
48}
49
50Determining if compiler accepts -pthread failed with the following output:
51Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp
52
53Run Build Command(s):/usr/bin/make cmTC_3a069/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_3a069.dir/build.make CMakeFiles/cmTC_3a069.dir/build
54Building C object CMakeFiles/cmTC_3a069.dir/CheckForPthreads.c.o
55/usr/bin/clang   -Wno-error=deprecated-declarations -std=gnu11 -Wno-error=parentheses -Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused -pipe -Os -DNDEBUG -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.5 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14   -o CMakeFiles/cmTC_3a069.dir/CheckForPthreads.c.o   -c /opt/local/share/cmake-3.15/Modules/CheckForPthreads.c
56/opt/local/share/cmake-3.15/Modules/CheckForPthreads.c:3:7: error: no previous prototype for function 'start_routine' [-Werror,-Wmissing-prototypes]
57void* start_routine(void* args)
58      ^
591 error generated.
60make[1]: *** [CMakeFiles/cmTC_3a069.dir/CheckForPthreads.c.o] Error 1
61make: *** [cmTC_3a069/fast] Error 2
62
63
64
65Determining if the function pthread_create exists in the pthreads failed with the following output:
66Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp
67
68Run Build Command(s):/usr/bin/make cmTC_b9329/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_b9329.dir/build.make CMakeFiles/cmTC_b9329.dir/build
69Building C object CMakeFiles/cmTC_b9329.dir/CheckFunctionExists.c.o
70/usr/bin/clang   -Wno-error=deprecated-declarations -std=gnu11 -Wno-error=parentheses -Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused -pipe -Os -DNDEBUG -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.5 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -DCHECK_FUNCTION_EXISTS=pthread_create -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14   -o CMakeFiles/cmTC_b9329.dir/CheckFunctionExists.c.o   -c /opt/local/share/cmake-3.15/Modules/CheckFunctionExists.c
71Linking C executable cmTC_b9329
72/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b9329.dir/link.txt --verbose=1
73/usr/bin/clang -Wno-error=deprecated-declarations -std=gnu11 -Wno-error=parentheses -Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused -pipe -Os -DNDEBUG -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.5 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -DCHECK_FUNCTION_EXISTS=pthread_create -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk  CMakeFiles/cmTC_b9329.dir/CheckFunctionExists.c.o  -o cmTC_b9329 -lpthreads
74ld: library not found for -lpthreads
75clang: error: linker command failed with exit code 1 (use -v to see invocation)
76make[1]: *** [cmTC_b9329] Error 1
77make: *** [cmTC_b9329/fast] Error 2
78
79
80