1 | Performing C SOURCE FILE Test have_stringop_truncation failed with the following output: |
---|
2 | Change 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 | |
---|
4 | Run 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 |
---|
5 | Building 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 |
---|
7 | warning: unknown warning option '-Wstringop-truncation'; did you mean '-Wstring-conversion'? [-Wunknown-warning-option] |
---|
8 | 1 warning generated. |
---|
9 | Linking 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 | |
---|
14 | Source file was: |
---|
15 | int main(void) { return 0; } |
---|
16 | Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: |
---|
17 | Change 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 | |
---|
19 | Run 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 |
---|
20 | Building 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] |
---|
23 | void* test_func(void* data) |
---|
24 | ^ |
---|
25 | 1 error generated. |
---|
26 | make[1]: *** [CMakeFiles/cmTC_ec983.dir/src.c.o] Error 1 |
---|
27 | make: *** [cmTC_ec983/fast] Error 2 |
---|
28 | |
---|
29 | |
---|
30 | Source file was: |
---|
31 | #include <pthread.h> |
---|
32 | |
---|
33 | void* test_func(void* data) |
---|
34 | { |
---|
35 | return data; |
---|
36 | } |
---|
37 | |
---|
38 | int 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 | |
---|
50 | Determining if compiler accepts -pthread failed with the following output: |
---|
51 | Change 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 | |
---|
53 | Run 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 |
---|
54 | Building 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] |
---|
57 | void* start_routine(void* args) |
---|
58 | ^ |
---|
59 | 1 error generated. |
---|
60 | make[1]: *** [CMakeFiles/cmTC_3a069.dir/CheckForPthreads.c.o] Error 1 |
---|
61 | make: *** [cmTC_3a069/fast] Error 2 |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | Determining if the function pthread_create exists in the pthreads failed with the following output: |
---|
66 | Change 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 | |
---|
68 | Run 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 |
---|
69 | Building 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 |
---|
71 | Linking 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 |
---|
74 | ld: library not found for -lpthreads |
---|
75 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
76 | make[1]: *** [cmTC_b9329] Error 1 |
---|
77 | make: *** [cmTC_b9329/fast] Error 2 |
---|
78 | |
---|
79 | |
---|
80 | |
---|