Ticket #60310: gnucash CMakeError.log

File gnucash CMakeError.log, 11.7 KB (added by hapaguy (Brian Kurt Fujikawa), 5 years ago)
Line 
1Performing C++ SOURCE FILE Test HAVE_OFX_BUG_39 failed with the following output:
2Change 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
4Run 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
5Building 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
7Linking 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
14Return value: 1
15Source file was:
16
17#include <time.h>
18#include <stdlib.h>
19#include <string>
20extern time_t ofxdate_to_time_t(const std::string ofxdate);
21
22int 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
40Performing C SOURCE FILE Test have_stringop_truncation failed with the following output:
41Change 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
43Run 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
44Building 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
46warning: unknown warning option '-Wstringop-truncation'; did you mean '-Wstring-conversion'? [-Wunknown-warning-option]
471 warning generated.
48Linking 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
53Source file was:
54int main(void) { return 0; }
55Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
56Change 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
58Run 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
59Building 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]
62void* 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
65void* test_func(void* data)
66^
67static
681 error generated.
69make[1]: *** [CMakeFiles/cmTC_2c659.dir/src.c.o] Error 1
70make: *** [cmTC_2c659/fast] Error 2
71
72
73Source file was:
74#include <pthread.h>
75
76void* test_func(void* data)
77{
78  return data;
79}
80
81int 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
94Determining if compiler accepts -pthread failed with the following output:
95Change 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
97Run 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
98Building 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]
101void* 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
104void* start_routine(void* args)
105^
106static
1071 error generated.
108make[1]: *** [CMakeFiles/cmTC_b1c2a.dir/CheckForPthreads.c.o] Error 1
109make: *** [cmTC_b1c2a/fast] Error 2
110
111
112
113Determining if the function pthread_create exists in the pthreads failed with the following output:
114Change 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
116Run 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
117Building 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                              ^
1251 error generated.
126make[1]: *** [CMakeFiles/cmTC_cc512.dir/CheckFunctionExists.c.o] Error 1
127make: *** [cmTC_cc512/fast] Error 2
128
129
130
131Determining if the function pthread_create exists in the pthread failed with the following output:
132Change 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
134Run 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
135Building 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                              ^
1431 error generated.
144make[1]: *** [CMakeFiles/cmTC_f58bd.dir/CheckFunctionExists.c.o] Error 1
145make: *** [cmTC_f58bd/fast] Error 2
146
147
148