1 | Performing C++ SOURCE FILE Test HAVE_OFX_BUG_39 failed with the following output: |
---|
2 | Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp |
---|
3 | |
---|
4 | Run Build Command(s):/usr/bin/make cmTC_4f122/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_4f122.dir/build.make CMakeFiles/cmTC_4f122.dir/build |
---|
5 | Building CXX object CMakeFiles/cmTC_4f122.dir/src.cxx.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_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.9 -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DHAVE_OFX_BUG_39 -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -o CMakeFiles/cmTC_4f122.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp/src.cxx |
---|
7 | Linking CXX executable cmTC_4f122 |
---|
8 | /opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4f122.dir/link.txt --verbose=1 |
---|
9 | /usr/bin/clang++ -pipe -Os -DNDEBUG -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.9 -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DHAVE_OFX_BUG_39 -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk CMakeFiles/cmTC_4f122.dir/src.cxx.o -o cmTC_4f122 -lofx |
---|
10 | |
---|
11 | |
---|
12 | ...and run output: |
---|
13 | |
---|
14 | Return value: 1 |
---|
15 | Source file was: |
---|
16 | |
---|
17 | #include <time.h> |
---|
18 | #include <stdlib.h> |
---|
19 | #include <string> |
---|
20 | extern time_t ofxdate_to_time_t(const std::string ofxdate); |
---|
21 | |
---|
22 | int main(int argc, char** argv) |
---|
23 | { |
---|
24 | const std::string timestr = "20160319000000"; |
---|
25 | struct tm ts; |
---|
26 | ts.tm_year = 116; |
---|
27 | ts.tm_mon = 2; |
---|
28 | ts.tm_mday = 19; |
---|
29 | #ifdef _WIN32 |
---|
30 | putenv("TZ=PST-8PDT-7,M 4.1.0/0,M 10.6.0/0"); |
---|
31 | #else |
---|
32 | setenv("TZ", "PST 08P DT 07 M 4.1.0, M 10.6.0", 1); |
---|
33 | #endif |
---|
34 | time_t t = ofxdate_to_time_t(timestr); |
---|
35 | if (t == mktime(&ts)) |
---|
36 | exit(1); |
---|
37 | exit(0); |
---|
38 | } |
---|
39 | |
---|
40 | Performing C SOURCE FILE Test have_stringop_truncation failed with the following output: |
---|
41 | Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp |
---|
42 | |
---|
43 | Run Build Command(s):/usr/bin/make cmTC_b5ba3/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_b5ba3.dir/build.make CMakeFiles/cmTC_b5ba3.dir/build |
---|
44 | Building C object CMakeFiles/cmTC_b5ba3.dir/src.c.o |
---|
45 | /usr/bin/clang -pipe -Os -DNDEBUG -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.9 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Dhave_stringop_truncation -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -Wstringop-truncation -o CMakeFiles/cmTC_b5ba3.dir/src.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp/src.c |
---|
46 | warning: unknown warning option '-Wstringop-truncation'; did you mean '-Wstring-conversion'? [-Wunknown-warning-option] |
---|
47 | 1 warning generated. |
---|
48 | Linking C executable cmTC_b5ba3 |
---|
49 | /opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b5ba3.dir/link.txt --verbose=1 |
---|
50 | /usr/bin/clang -pipe -Os -DNDEBUG -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.9 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Dhave_stringop_truncation -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk CMakeFiles/cmTC_b5ba3.dir/src.c.o -o cmTC_b5ba3 |
---|
51 | |
---|
52 | |
---|
53 | Source file was: |
---|
54 | int main(void) { return 0; } |
---|
55 | Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: |
---|
56 | Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp |
---|
57 | |
---|
58 | Run Build Command(s):/usr/bin/make cmTC_2c659/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_2c659.dir/build.make CMakeFiles/cmTC_2c659.dir/build |
---|
59 | Building C object CMakeFiles/cmTC_2c659.dir/src.c.o |
---|
60 | /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_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.9 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DCMAKE_HAVE_LIBC_PTHREAD -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -o CMakeFiles/cmTC_2c659.dir/src.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp/src.c |
---|
61 | /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_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] |
---|
62 | void* test_func(void* data) |
---|
63 | ^ |
---|
64 | /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp/src.c:3:1: note: declare 'static' if the function is not intended to be used outside of this translation unit |
---|
65 | void* test_func(void* data) |
---|
66 | ^ |
---|
67 | static |
---|
68 | 1 error generated. |
---|
69 | make[1]: *** [CMakeFiles/cmTC_2c659.dir/src.c.o] Error 1 |
---|
70 | make: *** [cmTC_2c659/fast] Error 2 |
---|
71 | |
---|
72 | |
---|
73 | Source file was: |
---|
74 | #include <pthread.h> |
---|
75 | |
---|
76 | void* test_func(void* data) |
---|
77 | { |
---|
78 | return data; |
---|
79 | } |
---|
80 | |
---|
81 | int main(void) |
---|
82 | { |
---|
83 | pthread_t thread; |
---|
84 | pthread_create(&thread, NULL, test_func, NULL); |
---|
85 | pthread_detach(thread); |
---|
86 | pthread_cancel(thread); |
---|
87 | pthread_join(thread, NULL); |
---|
88 | pthread_atfork(NULL, NULL, NULL); |
---|
89 | pthread_exit(NULL); |
---|
90 | |
---|
91 | return 0; |
---|
92 | } |
---|
93 | |
---|
94 | Determining if compiler accepts -pthread failed with the following output: |
---|
95 | Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp |
---|
96 | |
---|
97 | Run Build Command(s):/usr/bin/make cmTC_b1c2a/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_b1c2a.dir/build.make CMakeFiles/cmTC_b1c2a.dir/build |
---|
98 | Building C object CMakeFiles/cmTC_b1c2a.dir/CheckForPthreads.c.o |
---|
99 | /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_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.9 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -o CMakeFiles/cmTC_b1c2a.dir/CheckForPthreads.c.o -c /opt/local/share/cmake-3.17/Modules/CheckForPthreads.c |
---|
100 | /opt/local/share/cmake-3.17/Modules/CheckForPthreads.c:3:7: error: no previous prototype for function 'start_routine' [-Werror,-Wmissing-prototypes] |
---|
101 | void* start_routine(void* args) |
---|
102 | ^ |
---|
103 | /opt/local/share/cmake-3.17/Modules/CheckForPthreads.c:3:1: note: declare 'static' if the function is not intended to be used outside of this translation unit |
---|
104 | void* start_routine(void* args) |
---|
105 | ^ |
---|
106 | static |
---|
107 | 1 error generated. |
---|
108 | make[1]: *** [CMakeFiles/cmTC_b1c2a.dir/CheckForPthreads.c.o] Error 1 |
---|
109 | make: *** [cmTC_b1c2a/fast] Error 2 |
---|
110 | |
---|
111 | |
---|
112 | |
---|
113 | Determining if the function pthread_create exists in the pthreads failed with the following output: |
---|
114 | Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp |
---|
115 | |
---|
116 | Run Build Command(s):/usr/bin/make cmTC_cc512/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_cc512.dir/build.make CMakeFiles/cmTC_cc512.dir/build |
---|
117 | Building C object CMakeFiles/cmTC_cc512.dir/CheckFunctionExists.c.o |
---|
118 | /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_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.9 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DCHECK_FUNCTION_EXISTS=pthread_create -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -o CMakeFiles/cmTC_cc512.dir/CheckFunctionExists.c.o -c /opt/local/share/cmake-3.17/Modules/CheckFunctionExists.c |
---|
119 | /opt/local/share/cmake-3.17/Modules/CheckFunctionExists.c:7:3: error: declaration of built-in function 'pthread_create' requires inclusion of the header <pthread.h> [-Werror,-Wbuiltin-requires-header] |
---|
120 | CHECK_FUNCTION_EXISTS(void); |
---|
121 | ^ |
---|
122 | <command line>:2:31: note: expanded from here |
---|
123 | #define CHECK_FUNCTION_EXISTS pthread_create |
---|
124 | ^ |
---|
125 | 1 error generated. |
---|
126 | make[1]: *** [CMakeFiles/cmTC_cc512.dir/CheckFunctionExists.c.o] Error 1 |
---|
127 | make: *** [cmTC_cc512/fast] Error 2 |
---|
128 | |
---|
129 | |
---|
130 | |
---|
131 | Determining if the function pthread_create exists in the pthread failed with the following output: |
---|
132 | Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/build/CMakeFiles/CMakeTmp |
---|
133 | |
---|
134 | Run Build Command(s):/usr/bin/make cmTC_f58bd/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_f58bd.dir/build.make CMakeFiles/cmTC_f58bd.dir/build |
---|
135 | Building C object CMakeFiles/cmTC_f58bd.dir/CheckFunctionExists.c.o |
---|
136 | /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_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-3.9 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DCHECK_FUNCTION_EXISTS=pthread_create -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -o CMakeFiles/cmTC_f58bd.dir/CheckFunctionExists.c.o -c /opt/local/share/cmake-3.17/Modules/CheckFunctionExists.c |
---|
137 | /opt/local/share/cmake-3.17/Modules/CheckFunctionExists.c:7:3: error: declaration of built-in function 'pthread_create' requires inclusion of the header <pthread.h> [-Werror,-Wbuiltin-requires-header] |
---|
138 | CHECK_FUNCTION_EXISTS(void); |
---|
139 | ^ |
---|
140 | <command line>:2:31: note: expanded from here |
---|
141 | #define CHECK_FUNCTION_EXISTS pthread_create |
---|
142 | ^ |
---|
143 | 1 error generated. |
---|
144 | make[1]: *** [CMakeFiles/cmTC_f58bd.dir/CheckFunctionExists.c.o] Error 1 |
---|
145 | make: *** [cmTC_f58bd/fast] Error 2 |
---|
146 | |
---|
147 | |
---|
148 | |
---|