1 | ---> Computing dependencies for mongrel2. |
---|
2 | ---> Fetching archive for mongrel2 |
---|
3 | ---> mongrel2-1.7.5_1.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/mongrel2 |
---|
4 | ---> Attempting to fetch mongrel2-1.7.5_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/mongrel2 |
---|
5 | % Total % Received % Xferd Average Speed Time Time Time Current |
---|
6 | Dload Upload Total Spent Left Speed |
---|
7 | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 |
---|
8 | ---> Fetching mongrel2 |
---|
9 | ---> Verifying checksum(s) for mongrel2 |
---|
10 | ---> Checksumming mongrel2-1.7.5.tar.bz2 |
---|
11 | ---> Extracting mongrel2 |
---|
12 | ---> Extracting mongrel2-1.7.5.tar.bz2 |
---|
13 | ---> Configuring mongrel2 |
---|
14 | ---> Building mongrel2 |
---|
15 | make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5' |
---|
16 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/darray.o src/adt/darray.c |
---|
17 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/dict.o src/adt/dict.c |
---|
18 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/hash.o src/adt/hash.c |
---|
19 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/list.o src/adt/list.c |
---|
20 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/tst.o src/adt/tst.c |
---|
21 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bstr/bsafe.o src/bstr/bsafe.c |
---|
22 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bstr/bstraux.o src/bstr/bstraux.c |
---|
23 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bstr/bstrlib.o src/bstr/bstrlib.c |
---|
24 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/config/config.o src/config/config.c |
---|
25 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/config/db.o src/config/db.c |
---|
26 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/config/module.o src/config/module.c |
---|
27 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/http11/http11_parser.o src/http11/http11_parser.c |
---|
28 | src/bstr/bsafe.c:27:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] |
---|
29 | dst = dst; |
---|
30 | ~~~ ^ ~~~ |
---|
31 | src/bstr/bsafe.c:28:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] |
---|
32 | src = src; |
---|
33 | ~~~ ^ ~~~ |
---|
34 | src/bstr/bsafe.c:35:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] |
---|
35 | dst = dst; |
---|
36 | ~~~ ^ ~~~ |
---|
37 | src/bstr/bsafe.c:36:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] |
---|
38 | src = src; |
---|
39 | ~~~ ^ ~~~ |
---|
40 | src/bstr/bsafe.c:61:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] |
---|
41 | dst = dst; |
---|
42 | ~~~ ^ ~~~ |
---|
43 | src/bstr/bsafe.c:62:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] |
---|
44 | src = src; |
---|
45 | ~~~ ^ ~~~ |
---|
46 | src/bstr/bsafe.c:63:4: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] |
---|
47 | n = n; |
---|
48 | ~ ^ ~ |
---|
49 | src/bstr/bsafe.c:70:5: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] |
---|
50 | s1 = s1; |
---|
51 | ~~ ^ ~~ |
---|
52 | src/bstr/bsafe.c:71:5: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] |
---|
53 | s2 = s2; |
---|
54 | ~~ ^ ~~ |
---|
55 | src/adt/dict.c:949:35: warning: unused parameter 'dict_context' [-Wunused-parameter] |
---|
56 | static dnode_t *dnode_alloc(void *context) |
---|
57 | ^ |
---|
58 | src/adt/dict.c:56:17: note: expanded from macro 'context' |
---|
59 | #define context dict_context |
---|
60 | ^ |
---|
61 | src/adt/dict.c:954:45: warning: unused parameter 'dict_context' [-Wunused-parameter] |
---|
62 | static void dnode_free(dnode_t *node, void *context) |
---|
63 | ^ |
---|
64 | src/adt/dict.c:56:17: note: expanded from macro 'context' |
---|
65 | #define context dict_context |
---|
66 | ^ |
---|
67 | src/adt/hash.c:748:35: warning: unused parameter 'hash_context' [-Wunused-parameter] |
---|
68 | static hnode_t *hnode_alloc(void *context) |
---|
69 | ^ |
---|
70 | src/adt/hash.c:51:17: note: expanded from macro 'context' |
---|
71 | #define context hash_context |
---|
72 | ^ |
---|
73 | src/adt/hash.c:753:45: warning: unused parameter 'hash_context' [-Wunused-parameter] |
---|
74 | static void hnode_free(hnode_t *node, void *context) |
---|
75 | ^ |
---|
76 | src/adt/hash.c:51:17: note: expanded from macro 'context' |
---|
77 | #define context hash_context |
---|
78 | ^ |
---|
79 | 9 warnings generated. |
---|
80 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/http11/httpclient_parser.o src/http11/httpclient_parser.c |
---|
81 | src/bstr/bstraux.c:201:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign] |
---|
82 | buff = buff; |
---|
83 | ~~~~ ^ ~~~~ |
---|
84 | src/bstr/bstraux.c:202:9: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] |
---|
85 | elsize = elsize; |
---|
86 | ~~~~~~ ^ ~~~~~~ |
---|
87 | src/bstr/bstraux.c:203:8: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] |
---|
88 | nelem = nelem; |
---|
89 | ~~~~~ ^ ~~~~~ |
---|
90 | src/bstr/bstraux.c:204:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign] |
---|
91 | parm = parm; |
---|
92 | ~~~~ ^ ~~~~ |
---|
93 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/mem/halloc.o src/mem/halloc.c |
---|
94 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/aes.o src/polarssl/aes.c |
---|
95 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/arc4.o src/polarssl/arc4.c |
---|
96 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/base64.o src/polarssl/base64.c |
---|
97 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/bignum.o src/polarssl/bignum.c |
---|
98 | 2 warnings generated. |
---|
99 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/camellia.o src/polarssl/camellia.c |
---|
100 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/certs.o src/polarssl/certs.c |
---|
101 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/debug.o src/polarssl/debug.c |
---|
102 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/des.o src/polarssl/des.c |
---|
103 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/dhm.o src/polarssl/dhm.c |
---|
104 | 2 warnings generated. |
---|
105 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/havege.o src/polarssl/havege.c |
---|
106 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md2.o src/polarssl/md2.c |
---|
107 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md4.o src/polarssl/md4.c |
---|
108 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md5.o src/polarssl/md5.c |
---|
109 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/net.o src/polarssl/net.c |
---|
110 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/padlock.o src/polarssl/padlock.c |
---|
111 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/rsa.o src/polarssl/rsa.c |
---|
112 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha1.o src/polarssl/sha1.c |
---|
113 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha2.o src/polarssl/sha2.c |
---|
114 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha4.o src/polarssl/sha4.c |
---|
115 | 4 warnings generated. |
---|
116 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_cli.o src/polarssl/ssl_cli.c |
---|
117 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_srv.o src/polarssl/ssl_srv.c |
---|
118 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_tls.o src/polarssl/ssl_tls.c |
---|
119 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/timing.o src/polarssl/timing.c |
---|
120 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/version.o src/polarssl/version.c |
---|
121 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/x509parse.o src/polarssl/x509parse.c |
---|
122 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/xtea.o src/polarssl/xtea.c |
---|
123 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/context.o src/task/context.c |
---|
124 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/fd.o src/task/fd.c |
---|
125 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/net.o src/task/net.c |
---|
126 | src/task/context.c:78:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] |
---|
127 | *(int*)0 = 0; |
---|
128 | ^~~~~~~~ |
---|
129 | src/task/context.c:78:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile' |
---|
130 | 1 warning generated. |
---|
131 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/qlock.o src/task/qlock.c |
---|
132 | src/task/fd.c:96:19: warning: unused parameter 'v' [-Wunused-parameter] |
---|
133 | void fdtask(void *v) |
---|
134 | ^ |
---|
135 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/rendez.o src/task/rendez.c |
---|
136 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/task.o src/task/task.c |
---|
137 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bsd_specific.o src/bsd_specific.c |
---|
138 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/cache.o src/cache.c |
---|
139 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/connection.o src/connection.c |
---|
140 | src/task/task.c:322:33: warning: unused parameter 'v' [-Wunused-parameter] |
---|
141 | static void taskmainstart(void *v) |
---|
142 | ^ |
---|
143 | 1 warning generated. |
---|
144 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/control.o src/control.c |
---|
145 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/dbg.o src/dbg.c |
---|
146 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/dir.o src/dir.c |
---|
147 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/filter.o src/filter.c |
---|
148 | src/control.c:51:41: warning: unused parameter 'hint' [-Wunused-parameter] |
---|
149 | static void cstr_free(void *data, void *hint) |
---|
150 | ^ |
---|
151 | src/control.c:188:60: warning: unused parameter 'args' [-Wunused-parameter] |
---|
152 | static tns_value_t *signal_server_cb(bstring name, hash_t *args) |
---|
153 | ^ |
---|
154 | src/control.c:212:33: warning: unused parameter 'name' [-Wunused-parameter] |
---|
155 | tns_value_t *version_cb(bstring name, hash_t *args) |
---|
156 | ^ |
---|
157 | src/control.c:212:47: warning: unused parameter 'args' [-Wunused-parameter] |
---|
158 | tns_value_t *version_cb(bstring name, hash_t *args) |
---|
159 | ^ |
---|
160 | src/control.c:217:30: warning: unused parameter 'name' [-Wunused-parameter] |
---|
161 | tns_value_t *help_cb(bstring name, hash_t *args) |
---|
162 | ^ |
---|
163 | src/control.c:217:44: warning: unused parameter 'args' [-Wunused-parameter] |
---|
164 | tns_value_t *help_cb(bstring name, hash_t *args) |
---|
165 | ^ |
---|
166 | src/control.c:241:38: warning: unused parameter 'name' [-Wunused-parameter] |
---|
167 | tns_value_t *control_stop_cb(bstring name, hash_t *args) |
---|
168 | ^ |
---|
169 | src/control.c:241:52: warning: unused parameter 'args' [-Wunused-parameter] |
---|
170 | tns_value_t *control_stop_cb(bstring name, hash_t *args) |
---|
171 | ^ |
---|
172 | src/control.c:248:30: warning: unused parameter 'name' [-Wunused-parameter] |
---|
173 | tns_value_t *kill_cb(bstring name, hash_t *args) |
---|
174 | ^ |
---|
175 | src/control.c:275:32: warning: unused parameter 'name' [-Wunused-parameter] |
---|
176 | tns_value_t *status_cb(bstring name, hash_t *args) |
---|
177 | ^ |
---|
178 | src/control.c:302:44: warning: unused parameter 'args' [-Wunused-parameter] |
---|
179 | tns_value_t *info_cb(bstring name, hash_t *args) |
---|
180 | ^ |
---|
181 | src/control.c:393:25: warning: unused parameter 'v' [-Wunused-parameter] |
---|
182 | void Control_task(void *v) |
---|
183 | ^ |
---|
184 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/handler.o src/handler.c |
---|
185 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/handler_parser.o src/handler_parser.c |
---|
186 | 1 warning generated. |
---|
187 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/headers.o src/headers.c |
---|
188 | src/handler.c:55:41: warning: unused parameter 'hint' [-Wunused-parameter] |
---|
189 | static void cstr_free(void *data, void *hint) |
---|
190 | ^ |
---|
191 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/host.o src/host.c |
---|
192 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/io.o src/io.c |
---|
193 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/log.o src/log.c |
---|
194 | src/host.c:46:45: warning: unused parameter 'map' [-Wunused-parameter] |
---|
195 | void backend_destroy_cb(Route *r, RouteMap *map) |
---|
196 | ^ |
---|
197 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/mime.o src/mime.c |
---|
198 | src/io.c:49:33: warning: unused parameter 'iob' [-Wunused-parameter] |
---|
199 | static ssize_t null_send(IOBuf *iob, char *buffer, int len) |
---|
200 | ^ |
---|
201 | src/io.c:49:44: warning: unused parameter 'buffer' [-Wunused-parameter] |
---|
202 | static ssize_t null_send(IOBuf *iob, char *buffer, int len) |
---|
203 | ^ |
---|
204 | src/io.c:54:33: warning: unused parameter 'iob' [-Wunused-parameter] |
---|
205 | static ssize_t null_recv(IOBuf *iob, char *buffer, int len) |
---|
206 | ^ |
---|
207 | src/io.c:54:44: warning: unused parameter 'buffer' [-Wunused-parameter] |
---|
208 | static ssize_t null_recv(IOBuf *iob, char *buffer, int len) |
---|
209 | ^ |
---|
210 | src/io.c:59:40: warning: unused parameter 'iob' [-Wunused-parameter] |
---|
211 | static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len) |
---|
212 | ^ |
---|
213 | src/io.c:59:49: warning: unused parameter 'fd' [-Wunused-parameter] |
---|
214 | static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len) |
---|
215 | ^ |
---|
216 | src/io.c:210:22: warning: unused parameter 'p' [-Wunused-parameter] |
---|
217 | void ssl_debug(void *p, int level, const char *msg) { |
---|
218 | ^ |
---|
219 | src/io.c:210:48: warning: unused parameter 'msg' [-Wunused-parameter] |
---|
220 | void ssl_debug(void *p, int level, const char *msg) { |
---|
221 | ^ |
---|
222 | src/mime.c:85:47: warning: unused parameter 'data' [-Wunused-parameter] |
---|
223 | void MIME_traverse_destroy(void *value, void *data) |
---|
224 | ^ |
---|
225 | 1 warning generated. |
---|
226 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/pattern.o src/pattern.c |
---|
227 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/proxy.o src/proxy.c |
---|
228 | src/log.c:249:32: warning: unused parameter 'data' [-Wunused-parameter] |
---|
229 | static void free_log_msg(void *data, void *hint) |
---|
230 | ^ |
---|
231 | 1 warning generated. |
---|
232 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/register.o src/register.c |
---|
233 | src/pattern.c:29:35: warning: unused parameter 'ms' [-Wunused-parameter] |
---|
234 | const char *classend (MatchState *ms, const char *p) { |
---|
235 | ^ |
---|
236 | 1 warning generated. |
---|
237 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/request.o src/request.c |
---|
238 | 12 warnings generated. |
---|
239 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/response.o src/response.c |
---|
240 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/routing.o src/routing.c |
---|
241 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/server.o src/server.c |
---|
242 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/setting.o src/setting.c |
---|
243 | src/request.c:60:38: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
244 | static hnode_t *req_alloc_hash(void *notused) |
---|
245 | ^ |
---|
246 | src/request.c:65:48: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
247 | static void req_free_hash(hnode_t *node, void *notused) |
---|
248 | ^ |
---|
249 | src/request.c:92:52: warning: unused parameter 'at' [-Wunused-parameter] |
---|
250 | static void header_done_cb(void *data, const char *at, size_t length) |
---|
251 | ^ |
---|
252 | src/request.c:92:63: warning: unused parameter 'length' [-Wunused-parameter] |
---|
253 | static void header_done_cb(void *data, const char *at, size_t length) |
---|
254 | ^ |
---|
255 | src/setting.c:82:50: warning: unused parameter 'data' [-Wunused-parameter] |
---|
256 | void Setting_traverse_destroy(void *value, void *data) |
---|
257 | ^ |
---|
258 | 8 warnings generated. |
---|
259 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/state.o src/state.c |
---|
260 | src/server.c:64:42: warning: unused parameter 'map' [-Wunused-parameter] |
---|
261 | void host_destroy_cb(Route *r, RouteMap *map) |
---|
262 | ^ |
---|
263 | 1 warning generated. |
---|
264 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/superpoll.o src/superpoll.c |
---|
265 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/tnetstrings.o src/tnetstrings.c |
---|
266 | 1 warning generated. |
---|
267 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/unixy.o src/unixy.c |
---|
268 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/upload.o src/upload.c |
---|
269 | 1 warning generated. |
---|
270 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c src/task/asm.S -o src/task/asm.o |
---|
271 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -c -o src/mongrel2.o src/mongrel2.c |
---|
272 | sqlite3 tests/config.sqlite < src/config/config.sql |
---|
273 | src/superpoll.c:319:52: warning: unused parameter 'sp' [-Wunused-parameter] |
---|
274 | static inline int SuperPoll_arm_idle_fd(SuperPoll *sp) |
---|
275 | ^ |
---|
276 | src/superpoll.c:325:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter] |
---|
277 | static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd) |
---|
278 | ^ |
---|
279 | src/superpoll.c:341:54: warning: unused parameter 'sp' [-Wunused-parameter] |
---|
280 | static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result) |
---|
281 | ^ |
---|
282 | src/superpoll.c:341:70: warning: unused parameter 'result' [-Wunused-parameter] |
---|
283 | static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result) |
---|
284 | ^ |
---|
285 | src/tnetstrings.c:169:42: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
286 | void tns_hnode_free(hnode_t *node, void *notused) |
---|
287 | ^ |
---|
288 | src/unixy.c:186:14: warning: 'daemon' is deprecated [-Wdeprecated-declarations] |
---|
289 | int rc = daemon(0, 1); |
---|
290 | ^ |
---|
291 | src/tnetstrings.c:176:32: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
292 | hnode_t *tns_hnode_alloc(void *notused) |
---|
293 | ^ |
---|
294 | sqlite3 tests/config.sqlite < src/config/example.sql |
---|
295 | sqlite3 tests/config.sqlite < src/config/mimetypes.sql |
---|
296 | /usr/bin/make OPTFLAGS=" -O2 -I/opt/local/include -arch x86_64" OPTLIBS="-L/opt/local/lib -L/opt/local/lib -arch x86_64" LIBS="-lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64" DESTDIR="" PREFIX="/opt/local" -C tools/m2sh all |
---|
297 | make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh' |
---|
298 | /usr/bin/clang -O2 ../lemon/lemon.c -o ../lemon/lemon |
---|
299 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/ast.o src/ast.c |
---|
300 | src/mongrel2.c:168:23: warning: unused parameter 'v' [-Wunused-parameter] |
---|
301 | void tickertask(void *v) |
---|
302 | ^ |
---|
303 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/cli.o src/cli.c |
---|
304 | 4 warnings generated. |
---|
305 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/commands.o src/commands.c |
---|
306 | 1 warning generated. |
---|
307 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/config_file.o src/config_file.c |
---|
308 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/constants.o src/constants.c |
---|
309 | 4 warnings generated. |
---|
310 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/lexer.o src/lexer.c |
---|
311 | src/commands.c:326:14: warning: incompatible pointer to integer conversion initializing 'long' with an expression of type 'bstring' (aka 'struct tagbstring *'); |
---|
312 | long timestamp = ((tns_value_t *)darray_get(entries, 3))->value.string; |
---|
313 | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
314 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/linenoise.o src/linenoise.c |
---|
315 | 1 warning generated. |
---|
316 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/parser.o src/parser.c |
---|
317 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/token.o src/token.c |
---|
318 | src/parser.c:393:3: warning: unused variable 'state' [-Wunused-variable] |
---|
319 | ParseARG_FETCH; |
---|
320 | ^ |
---|
321 | src/parser.c:87:37: note: expanded from macro 'ParseARG_FETCH' |
---|
322 | #define ParseARG_FETCH ParserState *state = yypParser->state |
---|
323 | ^ |
---|
324 | 1 warning generated. |
---|
325 | cd ../.. && make clean all |
---|
326 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/m2sh.o src/m2sh.c |
---|
327 | make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5' |
---|
328 | rm -rf build bin lib src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/polarssl/aes.o src/polarssl/arc4.o src/polarssl/base64.o src/polarssl/bignum.o src/polarssl/camellia.o src/polarssl/certs.o src/polarssl/debug.o src/polarssl/des.o src/polarssl/dhm.o src/polarssl/havege.o src/polarssl/md2.o src/polarssl/md4.o src/polarssl/md5.o src/polarssl/net.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/sha1.o src/polarssl/sha2.o src/polarssl/sha4.o src/polarssl/ssl_cli.o src/polarssl/ssl_srv.o src/polarssl/ssl_tls.o src/polarssl/timing.o src/polarssl/version.o src/polarssl/x509parse.o src/polarssl/xtea.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/mime.o src/mongrel2.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/state.o src/http11/http11_parser.o src/task/asm.o tests/bstr_tests tests/cache_tests tests/config_tests tests/connection_tests tests/darray_tests tests/db_tests tests/dict_tests tests/dir_tests tests/filter_tests tests/handler_parser_tests tests/handler_tests tests/hash_tests tests/host_tests tests/http11_tests tests/httpclient_tests tests/io_tests tests/list_tests tests/mime_tests tests/pattern_tests tests/proxy_tests tests/register_tests tests/request_tests tests/response_tests tests/routing_tests tests/server_tests tests/setting_tests tests/state_tests tests/superpoll_tests tests/tnetstrings_tests tests/tst_tests tests/unixy_tests tests/config.sqlite |
---|
329 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/http11/httpclient_parser.o src/http11/httpclient_parser.c |
---|
330 | rm -f tests/perf.log |
---|
331 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/mem/halloc.o src/mem/halloc.c |
---|
332 | rm -f tests/test.pid |
---|
333 | rm -f tests/tests.log |
---|
334 | rm -f tests/empty.sqlite |
---|
335 | rm -f tools/lemon/lemon |
---|
336 | rm -f tools/m2sh/tests/tests.log |
---|
337 | find . -name "*.gc*" -exec rm {} \; |
---|
338 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/aes.o src/polarssl/aes.c |
---|
339 | make -C tools/m2sh OPTLIB= clean |
---|
340 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/arc4.o src/polarssl/arc4.c |
---|
341 | make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh' |
---|
342 | rm -rf src/*.o build tests/*_tests tests/*.o |
---|
343 | make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh' |
---|
344 | make -C tools/filters OPTLIB= clean |
---|
345 | make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/filters' |
---|
346 | rm -f *.so |
---|
347 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/base64.o src/polarssl/base64.c |
---|
348 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/bignum.o src/polarssl/bignum.c |
---|
349 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/camellia.o src/polarssl/camellia.c |
---|
350 | make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/filters' |
---|
351 | make -C tests/filters OPTLIB= clean |
---|
352 | make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tests/filters' |
---|
353 | rm -f *.so |
---|
354 | make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tests/filters' |
---|
355 | make -C tools/config_modules OPTLIB= clean |
---|
356 | 2 warningsmake[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/config_modules' |
---|
357 | rm -f *.so |
---|
358 | generated. |
---|
359 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/certs.o src/polarssl/certs.c |
---|
360 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/debug.o src/polarssl/debug.c |
---|
361 | make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/config_modules' |
---|
362 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/des.o src/polarssl/des.c |
---|
363 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/dhm.o src/polarssl/dhm.c |
---|
364 | 1 warning generated. |
---|
365 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/havege.o src/polarssl/havege.c |
---|
366 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md2.o src/polarssl/md2.c |
---|
367 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md4.o src/polarssl/md4.c |
---|
368 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md5.o src/polarssl/md5.c |
---|
369 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/net.o src/polarssl/net.c |
---|
370 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/padlock.o src/polarssl/padlock.c |
---|
371 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/rsa.o src/polarssl/rsa.c |
---|
372 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha1.o src/polarssl/sha1.c |
---|
373 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha2.o src/polarssl/sha2.c |
---|
374 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha4.o src/polarssl/sha4.c |
---|
375 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_cli.o src/polarssl/ssl_cli.c |
---|
376 | 1 warning generated. |
---|
377 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_srv.o src/polarssl/ssl_srv.c |
---|
378 | mkdir -p build |
---|
379 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_tls.o src/polarssl/ssl_tls.c |
---|
380 | ar rcs build/libm2sh.a src/ast.o src/cli.o src/commands.o src/config_file.o src/constants.o src/lexer.o src/linenoise.o src/parser.o src/token.o |
---|
381 | ar: src/ast.o: No such file or directory |
---|
382 | ar: src/cli.o: No such file or directory |
---|
383 | ar: src/commands.o: No such file or directory |
---|
384 | ar: src/config_file.o: No such file or directory |
---|
385 | ar: src/constants.o: No such file or directory |
---|
386 | ar: src/lexer.o: No such file or directory |
---|
387 | ar: src/linenoise.o: No such file or directory |
---|
388 | ar: src/parser.o: No such file or directory |
---|
389 | ar: src/token.o: No such file or directory |
---|
390 | make[1]: *** [build/libm2sh.a] Error 1 |
---|
391 | make[1]: *** Waiting for unfinished jobs.... |
---|
392 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/timing.o src/polarssl/timing.c |
---|
393 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/version.o src/polarssl/version.c |
---|
394 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/x509parse.o src/polarssl/x509parse.c |
---|
395 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/xtea.o src/polarssl/xtea.c |
---|
396 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/context.o src/task/context.c |
---|
397 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/fd.o src/task/fd.c |
---|
398 | src/task/context.c:78:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] |
---|
399 | *(int*)0 = 0; |
---|
400 | ^~~~~~~~ |
---|
401 | src/task/context.c:78:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile' |
---|
402 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/net.o src/task/net.c |
---|
403 | 1 warning generated. |
---|
404 | ar rcs build/libm2.a src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/polarssl/aes.o src/polarssl/arc4.o src/polarssl/base64.o src/polarssl/bignum.o src/polarssl/camellia.o src/polarssl/certs.o src/polarssl/debug.o src/polarssl/des.o src/polarssl/dhm.o src/polarssl/havege.o src/polarssl/md2.o src/polarssl/md4.o src/polarssl/md5.o src/polarssl/net.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/sha1.o src/polarssl/sha2.o src/polarssl/sha4.o src/polarssl/ssl_cli.o src/polarssl/ssl_srv.o src/polarssl/ssl_tls.o src/polarssl/timing.o src/polarssl/version.o src/polarssl/x509parse.o src/polarssl/xtea.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/mime.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/state.o src/http11/http11_parser.o src/task/asm.o |
---|
405 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/qlock.o src/task/qlock.c |
---|
406 | ar: build/libm2.a: No such file or directory |
---|
407 | make: *** [build/libm2.a] Error 1 |
---|
408 | make: *** Waiting for unfinished jobs.... |
---|
409 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/rendez.o src/task/rendez.c |
---|
410 | src/task/fd.c:96:19: warning: unused parameter 'v' [-Wunused-parameter] |
---|
411 | void fdtask(void *v) |
---|
412 | ^ |
---|
413 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/task.o src/task/task.c |
---|
414 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bsd_specific.o src/bsd_specific.c |
---|
415 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/cache.o src/cache.c |
---|
416 | src/task/task.c:322:33: warning: unused parameter 'v' [-Wunused-parameter] |
---|
417 | static void taskmainstart(void *v) |
---|
418 | ^ |
---|
419 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/connection.o src/connection.c |
---|
420 | 1 warning generated. |
---|
421 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/control.o src/control.c |
---|
422 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/dbg.o src/dbg.c |
---|
423 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/dir.o src/dir.c |
---|
424 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/filter.o src/filter.c |
---|
425 | src/control.c:51:41: warning: unused parameter 'hint' [-Wunused-parameter] |
---|
426 | static void cstr_free(void *data, void *hint) |
---|
427 | ^ |
---|
428 | src/control.c:188:60: warning: unused parameter 'args' [-Wunused-parameter] |
---|
429 | static tns_value_t *signal_server_cb(bstring name, hash_t *args) |
---|
430 | ^ |
---|
431 | src/control.c:212:33: warning: unused parameter 'name' [-Wunused-parameter] |
---|
432 | tns_value_t *version_cb(bstring name, hash_t *args) |
---|
433 | ^ |
---|
434 | src/control.c:212:47: warning: unused parameter 'args' [-Wunused-parameter] |
---|
435 | tns_value_t *version_cb(bstring name, hash_t *args) |
---|
436 | ^ |
---|
437 | src/control.c:217:30: warning: unused parameter 'name' [-Wunused-parameter] |
---|
438 | tns_value_t *help_cb(bstring name, hash_t *args) |
---|
439 | ^ |
---|
440 | src/control.c:217:44: warning: unused parameter 'args' [-Wunused-parameter] |
---|
441 | tns_value_t *help_cb(bstring name, hash_t *args) |
---|
442 | ^ |
---|
443 | src/control.c:241:38: warning: unused parameter 'name' [-Wunused-parameter] |
---|
444 | tns_value_t *control_stop_cb(bstring name, hash_t *args) |
---|
445 | ^ |
---|
446 | src/control.c:241:52: warning: unused parameter 'args' [-Wunused-parameter] |
---|
447 | tns_value_t *control_stop_cb(bstring name, hash_t *args) |
---|
448 | ^ |
---|
449 | src/control.c:248:30: warning: unused parameter 'name' [-Wunused-parameter] |
---|
450 | tns_value_t *kill_cb(bstring name, hash_t *args) |
---|
451 | ^ |
---|
452 | src/control.c:275:32: warning: unused parameter 'name' [-Wunused-parameter] |
---|
453 | tns_value_t *status_cb(bstring name, hash_t *args) |
---|
454 | ^ |
---|
455 | src/control.c:302:44: warning: unused parameter 'args' [-Wunused-parameter] |
---|
456 | tns_value_t *info_cb(bstring name, hash_t *args) |
---|
457 | ^ |
---|
458 | src/control.c:393:25: warning: unused parameter 'v' [-Wunused-parameter] |
---|
459 | void Control_task(void *v) |
---|
460 | ^ |
---|
461 | 1 warning generated. |
---|
462 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/handler.o src/handler.c |
---|
463 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/handler_parser.o src/handler_parser.c |
---|
464 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/headers.o src/headers.c |
---|
465 | src/handler.c:55:41: warning: unused parameter 'hint' [-Wunused-parameter] |
---|
466 | static void cstr_free(void *data, void *hint) |
---|
467 | ^ |
---|
468 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/host.o src/host.c |
---|
469 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/io.o src/io.c |
---|
470 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/log.o src/log.c |
---|
471 | src/io.c:49:33: warning: unused parameter 'iob' [-Wunused-parameter] |
---|
472 | static ssize_t null_send(IOBuf *iob, char *buffer, int len) |
---|
473 | ^ |
---|
474 | src/io.c:49:44: warning: unused parameter 'buffer' [-Wunused-parameter] |
---|
475 | static ssize_t null_send(IOBuf *iob, char *buffer, int len) |
---|
476 | ^ |
---|
477 | src/io.c:54:33: warning: unused parameter 'iob' [-Wunused-parameter] |
---|
478 | static ssize_t null_recv(IOBuf *iob, char *buffer, int len) |
---|
479 | ^ |
---|
480 | src/io.c:54:44: warning: unused parameter 'buffer' [-Wunused-parameter] |
---|
481 | static ssize_t null_recv(IOBuf *iob, char *buffer, int len) |
---|
482 | ^ |
---|
483 | src/io.c:59:40: warning: unused parameter 'iob' [-Wunused-parameter] |
---|
484 | static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len) |
---|
485 | ^ |
---|
486 | src/io.c:59:49: warning: unused parameter 'fd' [-Wunused-parameter] |
---|
487 | static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len) |
---|
488 | ^ |
---|
489 | src/io.c:210:22: warning: unused parameter 'p' [-Wunused-parameter] |
---|
490 | void ssl_debug(void *p, int level, const char *msg) { |
---|
491 | ^ |
---|
492 | src/io.c:210:48: warning: unused parameter 'msg' [-Wunused-parameter] |
---|
493 | void ssl_debug(void *p, int level, const char *msg) { |
---|
494 | ^ |
---|
495 | src/host.c:46:45: warning: unused parameter 'map' [-Wunused-parameter] |
---|
496 | void backend_destroy_cb(Route *r, RouteMap *map) |
---|
497 | ^ |
---|
498 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/mime.o src/mime.c |
---|
499 | 1 warning generated. |
---|
500 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/pattern.o src/pattern.c |
---|
501 | src/log.c:249:32: warning: unused parameter 'data' [-Wunused-parameter] |
---|
502 | static void free_log_msg(void *data, void *hint) |
---|
503 | ^ |
---|
504 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/proxy.o src/proxy.c |
---|
505 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/register.o src/register.c |
---|
506 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/request.o src/request.c |
---|
507 | 1 warning generated. |
---|
508 | 12 warnings generated. |
---|
509 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/response.o src/response.c |
---|
510 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/routing.o src/routing.c |
---|
511 | src/mime.c:85:47: warning: unused parameter 'data' [-Wunused-parameter] |
---|
512 | void MIME_traverse_destroy(void *value, void *data) |
---|
513 | ^ |
---|
514 | src/pattern.c:29:35: warning: unused parameter 'ms' [-Wunused-parameter] |
---|
515 | const char *classend (MatchState *ms, const char *p) { |
---|
516 | ^ |
---|
517 | 1 warning generated. |
---|
518 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/server.o src/server.c |
---|
519 | src/request.c:60:38: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
520 | static hnode_t *req_alloc_hash(void *notused) |
---|
521 | ^ |
---|
522 | src/request.c:65:48: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
523 | static void req_free_hash(hnode_t *node, void *notused) |
---|
524 | ^ |
---|
525 | src/request.c:92:52: warning: unused parameter 'at' [-Wunused-parameter] |
---|
526 | static void header_done_cb(void *data, const char *at, size_t length) |
---|
527 | ^ |
---|
528 | src/request.c:92:63: warning: unused parameter 'length' [-Wunused-parameter] |
---|
529 | static void header_done_cb(void *data, const char *at, size_t length) |
---|
530 | ^ |
---|
531 | 8 warnings generated. |
---|
532 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/setting.o src/setting.c |
---|
533 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/state.o src/state.c |
---|
534 | 1 warning generated. |
---|
535 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/superpoll.o src/superpoll.c |
---|
536 | src/server.c:64:42: warning: unused parameter 'map' [-Wunused-parameter] |
---|
537 | void host_destroy_cb(Route *r, RouteMap *map) |
---|
538 | ^ |
---|
539 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/tnetstrings.o src/tnetstrings.c |
---|
540 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/unixy.o src/unixy.c |
---|
541 | src/setting.c:82:50: warning: unused parameter 'data' [-Wunused-parameter] |
---|
542 | void Setting_traverse_destroy(void *value, void *data) |
---|
543 | ^ |
---|
544 | 1 warning generated. |
---|
545 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/upload.o src/upload.c |
---|
546 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c src/task/asm.S -o src/task/asm.o |
---|
547 | 1 warning generated. |
---|
548 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -c -o src/mongrel2.o src/mongrel2.c |
---|
549 | src/superpoll.c:319:52: warning: unused parameter 'sp' [-Wunused-parameter] |
---|
550 | static inline int SuperPoll_arm_idle_fd(SuperPoll *sp) |
---|
551 | ^ |
---|
552 | src/superpoll.c:325:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter] |
---|
553 | static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd) |
---|
554 | ^ |
---|
555 | src/superpoll.c:341:54: warning: unused parameter 'sp' [-Wunused-parameter] |
---|
556 | static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result) |
---|
557 | ^ |
---|
558 | src/superpoll.c:341:70: warning: unused parameter 'result' [-Wunused-parameter] |
---|
559 | static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result) |
---|
560 | ^ |
---|
561 | src/tnetstrings.c:169:42: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
562 | void tns_hnode_free(hnode_t *node, void *notused) |
---|
563 | ^ |
---|
564 | src/tnetstrings.c:176:32: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
565 | hnode_t *tns_hnode_alloc(void *notused) |
---|
566 | ^ |
---|
567 | sqlite3 tests/config.sqlite < src/config/config.sql |
---|
568 | make OPTFLAGS=" -O2 -I/opt/local/include -arch x86_64" OPTLIBS="-L/opt/local/lib -L/opt/local/lib -arch x86_64" LIBS="-lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64" DESTDIR="" PREFIX="/opt/local" -C tools/m2sh all |
---|
569 | src/unixy.c:186:14: warning: 'daemon' is deprecated [-Wdeprecated-declarations] |
---|
570 | int rc = daemon(0, 1); |
---|
571 | ^ |
---|
572 | make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh' |
---|
573 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/ast.o src/ast.c |
---|
574 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/cli.o src/cli.c |
---|
575 | sqlite3 tests/config.sqlite < src/config/example.sql |
---|
576 | 4 warnings generated. |
---|
577 | 4 warnings generated. |
---|
578 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/commands.o src/commands.c |
---|
579 | sqlite3 tests/config.sqlite < src/config/mimetypes.sql |
---|
580 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/config_file.o src/config_file.c |
---|
581 | src/mongrel2.c:168:23: warning: unused parameter 'v' [-Wunused-parameter] |
---|
582 | void tickertask(void *v) |
---|
583 | ^ |
---|
584 | 1 warning generated. |
---|
585 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/constants.o src/constants.c |
---|
586 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/lexer.o src/lexer.c |
---|
587 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/linenoise.o src/linenoise.c |
---|
588 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/parser.o src/parser.c |
---|
589 | src/commands.c:326:14: warning: incompatible pointer to integer conversion initializing 'long' with an expression of type 'bstring' (aka 'struct tagbstring *'); |
---|
590 | 1 warning generated. |
---|
591 | long timestamp = ((tns_value_t *)darray_get(entries, 3))->value.string; |
---|
592 | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
593 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/token.o src/token.c |
---|
594 | cd ../.. && make clean all |
---|
595 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/m2sh.o src/m2sh.c |
---|
596 | make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5' |
---|
597 | rm -rf build bin lib src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/polarssl/aes.o src/polarssl/arc4.o src/polarssl/base64.o src/polarssl/bignum.o src/polarssl/camellia.o src/polarssl/certs.o src/polarssl/debug.o src/polarssl/des.o src/polarssl/dhm.o src/polarssl/havege.o src/polarssl/md2.o src/polarssl/md4.o src/polarssl/md5.o src/polarssl/net.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/sha1.o src/polarssl/sha2.o src/polarssl/sha4.o src/polarssl/ssl_cli.o src/polarssl/ssl_srv.o src/polarssl/ssl_tls.o src/polarssl/timing.o src/polarssl/version.o src/polarssl/x509parse.o src/polarssl/xtea.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/mime.o src/mongrel2.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/state.o src/http11/http11_parser.o src/task/asm.o tests/bstr_tests tests/cache_tests tests/config_tests tests/connection_tests tests/darray_tests tests/db_tests tests/dict_tests tests/dir_tests tests/filter_tests tests/handler_parser_tests tests/handler_tests tests/hash_tests tests/host_tests tests/http11_tests tests/httpclient_tests tests/io_tests tests/list_tests tests/mime_tests tests/pattern_tests tests/proxy_tests tests/register_tests tests/request_tests tests/response_tests tests/routing_tests tests/server_tests tests/setting_tests tests/state_tests tests/superpoll_tests tests/tnetstrings_tests tests/tst_tests tests/unixy_tests tests/config.sqlite |
---|
598 | src/parser.c:393:3: warning: unused variable 'state' [-Wunused-variable] |
---|
599 | ParseARG_FETCH; |
---|
600 | ^ |
---|
601 | src/parser.c:87:37: note: expanded from macro 'ParseARG_FETCH' |
---|
602 | #define ParseARG_FETCH ParserState *state = yypParser->state |
---|
603 | ^ |
---|
604 | rm -f tests/perf.log |
---|
605 | rm -f tests/test.pid |
---|
606 | rm -f tests/tests.log |
---|
607 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/darray.o src/adt/darray.c |
---|
608 | rm -f tests/empty.sqlite |
---|
609 | rm -f tools/lemon/lemon |
---|
610 | rm -f tools/m2sh/tests/tests.log |
---|
611 | find . -name "*.gc*" -exec rm {} \; |
---|
612 | make -C tools/m2sh OPTLIB= clean |
---|
613 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/dict.o src/adt/dict.c |
---|
614 | make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh' |
---|
615 | rm -rf src/*.o build tests/*_tests tests/*.o |
---|
616 | 1 warning generated. |
---|
617 | make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh' |
---|
618 | make -C tools/filters OPTLIB= clean |
---|
619 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/hash.o src/adt/hash.c |
---|
620 | make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/filters' |
---|
621 | rm -f *.so |
---|
622 | make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/filters' |
---|
623 | make -C tests/filters OPTLIB= clean |
---|
624 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/list.o src/adt/list.c |
---|
625 | make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tests/filters' |
---|
626 | rm -f *.so |
---|
627 | make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tests/filters' |
---|
628 | make -C tools/config_modules OPTLIB= clean |
---|
629 | make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/config_modules' |
---|
630 | rm -f *.so |
---|
631 | src/adt/dict.c:949:35: warning: unused parameter 'dict_context' [-Wunused-parameter] |
---|
632 | static dnode_t *dnode_alloc(void *context) |
---|
633 | ^ |
---|
634 | src/adt/dict.c:56:17: note: expanded from macro 'context' |
---|
635 | #define context dict_context |
---|
636 | ^ |
---|
637 | src/adt/dict.c:954:45: warning: unused parameter 'dict_context' [-Wunused-parameter] |
---|
638 | static void dnode_free(dnode_t *node, void *context) |
---|
639 | ^ |
---|
640 | src/adt/dict.c:56:17: note: expanded from macro 'context' |
---|
641 | #define context dict_context |
---|
642 | ^ |
---|
643 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/adt/tst.o src/adt/tst.c |
---|
644 | make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/config_modules' |
---|
645 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bstr/bsafe.o src/bstr/bsafe.c |
---|
646 | src/adt/hash.c:748:35: warning: unused parameter 'hash_context' [-Wunused-parameter] |
---|
647 | static hnode_t *hnode_alloc(void *context) |
---|
648 | ^ |
---|
649 | src/adt/hash.c:51:17: note: expanded from macro 'context' |
---|
650 | #define context hash_context |
---|
651 | ^ |
---|
652 | src/adt/hash.c:753:45: warning: unused parameter 'hash_context' [-Wunused-parameter] |
---|
653 | static void hnode_free(hnode_t *node, void *context) |
---|
654 | ^ |
---|
655 | src/adt/hash.c:51:17: note: expanded from macro 'context' |
---|
656 | #define context hash_context |
---|
657 | ^ |
---|
658 | 2 warnings generated. |
---|
659 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bstr/bstraux.o src/bstr/bstraux.c |
---|
660 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bstr/bstrlib.o src/bstr/bstrlib.c |
---|
661 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/config/config.o src/config/config.c |
---|
662 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/config/db.o src/config/db.c |
---|
663 | src/bstr/bsafe.c:27:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] |
---|
664 | dst = dst; |
---|
665 | ~~~ ^ ~~~ |
---|
666 | src/bstr/bsafe.c:28:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] |
---|
667 | src = src; |
---|
668 | ~~~ ^ ~~~ |
---|
669 | src/bstr/bsafe.c:35:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] |
---|
670 | dst = dst; |
---|
671 | ~~~ ^ ~~~ |
---|
672 | src/bstr/bsafe.c:36:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] |
---|
673 | src = src; |
---|
674 | ~~~ ^ ~~~ |
---|
675 | src/bstr/bsafe.c:61:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] |
---|
676 | dst = dst; |
---|
677 | ~~~ ^ ~~~ |
---|
678 | src/bstr/bsafe.c:62:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] |
---|
679 | src = src; |
---|
680 | ~~~ ^ ~~~ |
---|
681 | src/bstr/bsafe.c:63:4: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] |
---|
682 | n = n; |
---|
683 | ~ ^ ~ |
---|
684 | src/bstr/bsafe.c:70:5: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] |
---|
685 | s1 = s1; |
---|
686 | ~~ ^ ~~ |
---|
687 | src/bstr/bsafe.c:71:5: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign] |
---|
688 | s2 = s2; |
---|
689 | ~~ ^ ~~ |
---|
690 | 9 warnings generated. |
---|
691 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/config/module.o src/config/module.c |
---|
692 | src/bstr/bstraux.c:201:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign] |
---|
693 | buff = buff; |
---|
694 | ~~~~ ^ ~~~~ |
---|
695 | src/bstr/bstraux.c:202:9: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] |
---|
696 | elsize = elsize; |
---|
697 | ~~~~~~ ^ ~~~~~~ |
---|
698 | src/bstr/bstraux.c:203:8: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] |
---|
699 | nelem = nelem; |
---|
700 | ~~~~~ ^ ~~~~~ |
---|
701 | src/bstr/bstraux.c:204:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign] |
---|
702 | parm = parm; |
---|
703 | ~~~~ ^ ~~~~ |
---|
704 | 1 warning generated. |
---|
705 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/http11/http11_parser.o src/http11/http11_parser.c |
---|
706 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/http11/httpclient_parser.o src/http11/httpclient_parser.c |
---|
707 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/mem/halloc.o src/mem/halloc.c |
---|
708 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/aes.o src/polarssl/aes.c |
---|
709 | 2 warnings generated. |
---|
710 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/arc4.o src/polarssl/arc4.c |
---|
711 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/base64.o src/polarssl/base64.c |
---|
712 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/bignum.o src/polarssl/bignum.c |
---|
713 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/camellia.o src/polarssl/camellia.c |
---|
714 | 2 warnings generated. |
---|
715 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/certs.o src/polarssl/certs.c |
---|
716 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/debug.o src/polarssl/debug.c |
---|
717 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/des.o src/polarssl/des.c |
---|
718 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/dhm.o src/polarssl/dhm.c |
---|
719 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/havege.o src/polarssl/havege.c |
---|
720 | 4 warnings generated. |
---|
721 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md2.o src/polarssl/md2.c |
---|
722 | 1 warning generated. |
---|
723 | mkdir -p build |
---|
724 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md4.o src/polarssl/md4.c |
---|
725 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/md5.o src/polarssl/md5.c |
---|
726 | ar rcs build/libm2sh.a src/ast.o src/cli.o src/commands.o src/config_file.o src/constants.o src/lexer.o src/linenoise.o src/parser.o src/token.o |
---|
727 | ar: src/ast.o: No such file or directory |
---|
728 | ar: src/cli.o: No such file or directory |
---|
729 | ar: src/commands.o: No such file or directory |
---|
730 | ar: src/config_file.o: No such file or directory |
---|
731 | ar: src/constants.o: No such file or directory |
---|
732 | ar: src/lexer.o: No such file or directory |
---|
733 | ar: src/linenoise.o: No such file or directory |
---|
734 | ar: src/parser.o: No such file or directory |
---|
735 | ar: src/token.o: No such file or directory |
---|
736 | make[3]: *** [build/libm2sh.a] Error 1 |
---|
737 | make[3]: *** Waiting for unfinished jobs.... |
---|
738 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/net.o src/polarssl/net.c |
---|
739 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/padlock.o src/polarssl/padlock.c |
---|
740 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/rsa.o src/polarssl/rsa.c |
---|
741 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha1.o src/polarssl/sha1.c |
---|
742 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha2.o src/polarssl/sha2.c |
---|
743 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/sha4.o src/polarssl/sha4.c |
---|
744 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_cli.o src/polarssl/ssl_cli.c |
---|
745 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_srv.o src/polarssl/ssl_srv.c |
---|
746 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/ssl_tls.o src/polarssl/ssl_tls.c |
---|
747 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/timing.o src/polarssl/timing.c |
---|
748 | ar rcs build/libm2.a src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/polarssl/aes.o src/polarssl/arc4.o src/polarssl/base64.o src/polarssl/bignum.o src/polarssl/camellia.o src/polarssl/certs.o src/polarssl/debug.o src/polarssl/des.o src/polarssl/dhm.o src/polarssl/havege.o src/polarssl/md2.o src/polarssl/md4.o src/polarssl/md5.o src/polarssl/net.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/sha1.o src/polarssl/sha2.o src/polarssl/sha4.o src/polarssl/ssl_cli.o src/polarssl/ssl_srv.o src/polarssl/ssl_tls.o src/polarssl/timing.o src/polarssl/version.o src/polarssl/x509parse.o src/polarssl/xtea.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/mime.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/state.o src/http11/http11_parser.o src/task/asm.o |
---|
749 | ar: src/polarssl/version.o: No such file or directory |
---|
750 | ar: src/polarssl/x509parse.o: No such file or directory |
---|
751 | ar: src/polarssl/xtea.o: No such file or directory |
---|
752 | ar: src/task/context.o: No such file or directory |
---|
753 | ar: src/task/fd.o: No such file or directory |
---|
754 | ar: src/task/net.o: No such file or directory |
---|
755 | ar: src/task/qlock.o: No such file or directory |
---|
756 | ar: src/task/rendez.o: No such file or directory |
---|
757 | ar: src/task/task.o: No such file or directory |
---|
758 | ar: src/bsd_specific.o: No such file or directory |
---|
759 | ar: src/cache.o: No such file or directory |
---|
760 | ar: src/connection.o: No such file or directory |
---|
761 | ar: src/control.o: No such file or directory |
---|
762 | ar: src/dbg.o: No such file or directory |
---|
763 | ar: src/dir.o: No such file or directory |
---|
764 | ar: src/filter.o: No such file or directory |
---|
765 | ar: src/handler.o: No such file or directory |
---|
766 | ar: src/handler_parser.o: No such file or directory |
---|
767 | ar: src/headers.o: No such file or directory |
---|
768 | ar: src/host.o: No such file or directory |
---|
769 | ar: src/io.o: No such file or directory |
---|
770 | ar: src/log.o: No such file or directory |
---|
771 | ar: src/mime.o: No such file or directory |
---|
772 | ar: src/pattern.o: No such file or directory |
---|
773 | ar: src/proxy.o: No such file or directory |
---|
774 | ar: src/register.o: No such file or directory |
---|
775 | ar: src/request.o: No such file or directory |
---|
776 | ar: src/response.o: No such file or directory |
---|
777 | ar: src/routing.o: No such file or directory |
---|
778 | ar: src/server.o: No such file or directory |
---|
779 | ar: src/setting.o: No such file or directory |
---|
780 | ar: src/state.o: No such file or directory |
---|
781 | ar: src/superpoll.o: No such file or directory |
---|
782 | ar: src/tnetstrings.o: No such file or directory |
---|
783 | ar: src/unixy.o: No such file or directory |
---|
784 | ar: src/upload.o: No such file or directory |
---|
785 | ar: src/state.o: No such file or directory |
---|
786 | ar: src/task/asm.o: No such file or directory |
---|
787 | make[2]: *** [build/libm2.a] Error 1 |
---|
788 | make[2]: *** Waiting for unfinished jobs.... |
---|
789 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/version.o src/polarssl/version.c |
---|
790 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/x509parse.o src/polarssl/x509parse.c |
---|
791 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/polarssl/xtea.o src/polarssl/xtea.c |
---|
792 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/context.o src/task/context.c |
---|
793 | src/task/context.c:78:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] |
---|
794 | *(int*)0 = 0; |
---|
795 | ^~~~~~~~ |
---|
796 | src/task/context.c:78:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile' |
---|
797 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/fd.o src/task/fd.c |
---|
798 | 1 warning generated. |
---|
799 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/net.o src/task/net.c |
---|
800 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/qlock.o src/task/qlock.c |
---|
801 | src/task/fd.c:96:19: warning: unused parameter 'v' [-Wunused-parameter] |
---|
802 | void fdtask(void *v) |
---|
803 | ^ |
---|
804 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/rendez.o src/task/rendez.c |
---|
805 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/task/task.o src/task/task.c |
---|
806 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/bsd_specific.o src/bsd_specific.c |
---|
807 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/cache.o src/cache.c |
---|
808 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/connection.o src/connection.c |
---|
809 | src/task/task.c:322:33: warning: unused parameter 'v' [-Wunused-parameter] |
---|
810 | static void taskmainstart(void *v) |
---|
811 | ^ |
---|
812 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/control.o src/control.c |
---|
813 | 1 warning generated. |
---|
814 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/dbg.o src/dbg.c |
---|
815 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/dir.o src/dir.c |
---|
816 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/filter.o src/filter.c |
---|
817 | src/control.c:51:41: warning: unused parameter 'hint' [-Wunused-parameter] |
---|
818 | static void cstr_free(void *data, void *hint) |
---|
819 | ^ |
---|
820 | src/control.c:188:60: warning: unused parameter 'args' [-Wunused-parameter] |
---|
821 | static tns_value_t *signal_server_cb(bstring name, hash_t *args) |
---|
822 | ^ |
---|
823 | src/control.c:212:33: warning: unused parameter 'name' [-Wunused-parameter] |
---|
824 | tns_value_t *version_cb(bstring name, hash_t *args) |
---|
825 | ^ |
---|
826 | src/control.c:212:47: warning: unused parameter 'args' [-Wunused-parameter] |
---|
827 | tns_value_t *version_cb(bstring name, hash_t *args) |
---|
828 | ^ |
---|
829 | src/control.c:217:30: warning: unused parameter 'name' [-Wunused-parameter] |
---|
830 | tns_value_t *help_cb(bstring name, hash_t *args) |
---|
831 | ^ |
---|
832 | src/control.c:217:44: warning: unused parameter 'args' [-Wunused-parameter] |
---|
833 | tns_value_t *help_cb(bstring name, hash_t *args) |
---|
834 | ^ |
---|
835 | src/control.c:241:38: warning: unused parameter 'name' [-Wunused-parameter] |
---|
836 | tns_value_t *control_stop_cb(bstring name, hash_t *args) |
---|
837 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/handler.o src/handler.c |
---|
838 | ^ |
---|
839 | src/control.c:241:52: warning: unused parameter 'args' [-Wunused-parameter] |
---|
840 | tns_value_t *control_stop_cb(bstring name, hash_t *args) |
---|
841 | ^ |
---|
842 | src/control.c:248:30: warning: unused parameter 'name' [-Wunused-parameter] |
---|
843 | tns_value_t *kill_cb(bstring name, hash_t *args) |
---|
844 | ^ |
---|
845 | src/control.c:275:32: warning: unused parameter 'name' [-Wunused-parameter] |
---|
846 | tns_value_t *status_cb(bstring name, hash_t *args) |
---|
847 | ^ |
---|
848 | src/control.c:302:44: warning: unused parameter 'args' [-Wunused-parameter] |
---|
849 | tns_value_t *info_cb(bstring name, hash_t *args) |
---|
850 | ^ |
---|
851 | src/control.c:393:25: warning: unused parameter 'v' [-Wunused-parameter] |
---|
852 | void Control_task(void *v) |
---|
853 | ^ |
---|
854 | src/handler.c:55:41: warning: unused parameter 'hint' [-Wunused-parameter] |
---|
855 | static void cstr_free(void *data, void *hint) |
---|
856 | ^ |
---|
857 | 1 warning generated. |
---|
858 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/handler_parser.o src/handler_parser.c |
---|
859 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/headers.o src/headers.c |
---|
860 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/host.o src/host.c |
---|
861 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/io.o src/io.c |
---|
862 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/log.o src/log.c |
---|
863 | src/io.c:49:33: warning: unused parameter 'iob' [-Wunused-parameter] |
---|
864 | static ssize_t null_send(IOBuf *iob, char *buffer, int len) |
---|
865 | ^ |
---|
866 | src/io.c:49:44: warning: unused parameter 'buffer' [-Wunused-parameter] |
---|
867 | static ssize_t null_send(IOBuf *iob, char *buffer, int len) |
---|
868 | ^ |
---|
869 | src/io.c:54:33: warning: unused parameter 'iob' [-Wunused-parameter] |
---|
870 | static ssize_t null_recv(IOBuf *iob, char *buffer, int len) |
---|
871 | ^ |
---|
872 | src/io.c:54:44: warning: unused parameter 'buffer' [-Wunused-parameter] |
---|
873 | static ssize_t null_recv(IOBuf *iob, char *buffer, int len) |
---|
874 | ^ |
---|
875 | src/io.c:59:40: warning: unused parameter 'iob' [-Wunused-parameter] |
---|
876 | static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len) |
---|
877 | ^ |
---|
878 | src/io.c:59:49: warning: unused parameter 'fd' [-Wunused-parameter] |
---|
879 | static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len) |
---|
880 | ^ |
---|
881 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/mime.o src/mime.c |
---|
882 | src/io.c:210:22: warning: unused parameter 'p' [-Wunused-parameter] |
---|
883 | void ssl_debug(void *p, int level, const char *msg) { |
---|
884 | ^ |
---|
885 | src/io.c:210:48: warning: unused parameter 'msg' [-Wunused-parameter] |
---|
886 | void ssl_debug(void *p, int level, const char *msg) { |
---|
887 | ^ |
---|
888 | src/host.c:46:45: warning: unused parameter 'map' [-Wunused-parameter] |
---|
889 | void backend_destroy_cb(Route *r, RouteMap *map) |
---|
890 | ^ |
---|
891 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/pattern.o src/pattern.c |
---|
892 | src/log.c:249:32: warning: unused parameter 'data' [-Wunused-parameter] |
---|
893 | static void free_log_msg(void *data, void *hint) |
---|
894 | ^ |
---|
895 | src/mime.c:85:47: warning: unused parameter 'data' [-Wunused-parameter] |
---|
896 | void MIME_traverse_destroy(void *value, void *data) |
---|
897 | ^ |
---|
898 | 1 warning generated. |
---|
899 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/proxy.o src/proxy.c |
---|
900 | 1 warning generated. |
---|
901 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/register.o src/register.c |
---|
902 | src/pattern.c:29:35: warning: unused parameter 'ms' [-Wunused-parameter] |
---|
903 | const char *classend (MatchState *ms, const char *p) { |
---|
904 | ^ |
---|
905 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/request.o src/request.c |
---|
906 | 1 warning generated. |
---|
907 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/response.o src/response.c |
---|
908 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/routing.o src/routing.c |
---|
909 | 12 warnings generated. |
---|
910 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/server.o src/server.c |
---|
911 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/setting.o src/setting.c |
---|
912 | src/request.c:60:38: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
913 | static hnode_t *req_alloc_hash(void *notused) |
---|
914 | ^ |
---|
915 | src/request.c:65:48: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
916 | static void req_free_hash(hnode_t *node, void *notused) |
---|
917 | ^ |
---|
918 | src/request.c:92:52: warning: unused parameter 'at' [-Wunused-parameter] |
---|
919 | static void header_done_cb(void *data, const char *at, size_t length) |
---|
920 | ^ |
---|
921 | src/request.c:92:63: warning: unused parameter 'length' [-Wunused-parameter] |
---|
922 | static void header_done_cb(void *data, const char *at, size_t length) |
---|
923 | ^ |
---|
924 | 8 warnings generated. |
---|
925 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/state.o src/state.c |
---|
926 | 1 warning generated. |
---|
927 | src/server.c:64:42: warning: unused parameter 'map' [-Wunused-parameter] |
---|
928 | void host_destroy_cb(Route *r, RouteMap *map) |
---|
929 | ^ |
---|
930 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/superpoll.o src/superpoll.c |
---|
931 | src/setting.c:82:50: warning: unused parameter 'data' [-Wunused-parameter] |
---|
932 | void Setting_traverse_destroy(void *value, void *data) |
---|
933 | ^ |
---|
934 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/tnetstrings.o src/tnetstrings.c |
---|
935 | 1 warning generated. |
---|
936 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/unixy.o src/unixy.c |
---|
937 | 1 warning generated. |
---|
938 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c -o src/upload.o src/upload.c |
---|
939 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -fPIC -c src/task/asm.S -o src/task/asm.o |
---|
940 | src/superpoll.c:319:52: warning: unused parameter 'sp' [-Wunused-parameter] |
---|
941 | static inline int SuperPoll_arm_idle_fd(SuperPoll *sp) |
---|
942 | ^ |
---|
943 | src/superpoll.c:325:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter] |
---|
944 | static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd) |
---|
945 | ^ |
---|
946 | src/superpoll.c:341:54: warning: unused parameter 'sp' [-Wunused-parameter] |
---|
947 | static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result) |
---|
948 | ^ |
---|
949 | src/superpoll.c:341:70: warning: unused parameter 'result' [-Wunused-parameter] |
---|
950 | static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result) |
---|
951 | ^ |
---|
952 | src/tnetstrings.c:169:42: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
953 | void tns_hnode_free(hnode_t *node, void *notused) |
---|
954 | ^ |
---|
955 | src/tnetstrings.c:176:32: warning: unused parameter 'notused' [-Wunused-parameter] |
---|
956 | hnode_t *tns_hnode_alloc(void *notused) |
---|
957 | ^ |
---|
958 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -c -o src/mongrel2.o src/mongrel2.c |
---|
959 | sqlite3 tests/config.sqlite < src/config/config.sql |
---|
960 | src/unixy.c:186:14: warning: 'daemon' is deprecated [-Wdeprecated-declarations] |
---|
961 | int rc = daemon(0, 1); |
---|
962 | ^ |
---|
963 | sqlite3 tests/config.sqlite < src/config/example.sql |
---|
964 | make OPTFLAGS=" -O2 -I/opt/local/include -arch x86_64" OPTLIBS="-L/opt/local/lib -L/opt/local/lib -arch x86_64" LIBS="-lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64" DESTDIR="" PREFIX="/opt/local" -C tools/m2sh all |
---|
965 | sqlite3 tests/config.sqlite < src/config/mimetypes.sql |
---|
966 | make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh' |
---|
967 | /usr/bin/clang -O2 ../lemon/lemon.c -o ../lemon/lemon |
---|
968 | 4 warnings generated. |
---|
969 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/ast.o src/ast.c |
---|
970 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/cli.o src/cli.c |
---|
971 | src/mongrel2.c:168:23: warning: unused parameter 'v' [-Wunused-parameter] |
---|
972 | void tickertask(void *v) |
---|
973 | ^ |
---|
974 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/commands.o src/commands.c |
---|
975 | 1 warning generated. |
---|
976 | 4 warnings generated. |
---|
977 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/config_file.o src/config_file.c |
---|
978 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/constants.o src/constants.c |
---|
979 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/lexer.o src/lexer.c |
---|
980 | 1 warning generated. |
---|
981 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/linenoise.o src/linenoise.c |
---|
982 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/parser.o src/parser.c |
---|
983 | src/commands.c:326:14: warning: incompatible pointer to integer conversion initializing 'long' with an expression of type 'bstring' (aka 'struct tagbstring *'); |
---|
984 | long timestamp = ((tns_value_t *)darray_get(entries, 3))->value.string; |
---|
985 | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
986 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/token.o src/token.c |
---|
987 | src/parser.c:393:3: warning: unused variable 'state' [-Wunused-variable] |
---|
988 | ParseARG_FETCH; |
---|
989 | ^ |
---|
990 | src/parser.c:87:37: note: expanded from macro 'ParseARG_FETCH' |
---|
991 | #define ParseARG_FETCH ParserState *state = yypParser->state |
---|
992 | ^ |
---|
993 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -c -o src/m2sh.o src/m2sh.c |
---|
994 | 1 warning generated. |
---|
995 | 2 warnings generated. |
---|
996 | 1 warning generated. |
---|
997 | 1 warning generated. |
---|
998 | mkdir -p build |
---|
999 | ar rcs build/libm2sh.a src/ast.o src/cli.o src/commands.o src/config_file.o src/constants.o src/lexer.o src/linenoise.o src/parser.o src/token.o |
---|
1000 | ranlib build/libm2sh.a |
---|
1001 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -o tests/cli_tests tests/cli_tests.c build/libm2sh.a ../../build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1002 | /usr/bin/clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -O2 -I/opt/local/include -arch x86_64 -o tests/parser_tests tests/parser_tests.c build/libm2sh.a ../../build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1003 | ld: in ../../build/libm2.a, archive has no table of contents for architecture x86_64 |
---|
1004 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
1005 | make[5]: *** [tests/parser_tests] Error 1 |
---|
1006 | make[5]: *** Waiting for unfinished jobs.... |
---|
1007 | ld: in ../../build/libm2.a, archive has no table of contents for architecture x86_64 |
---|
1008 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
1009 | make[5]: *** [tests/cli_tests] Error 1 |
---|
1010 | ar rcs build/libm2.a src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/polarssl/aes.o src/polarssl/arc4.o src/polarssl/base64.o src/polarssl/bignum.o src/polarssl/camellia.o src/polarssl/certs.o src/polarssl/debug.o src/polarssl/des.o src/polarssl/dhm.o src/polarssl/havege.o src/polarssl/md2.o src/polarssl/md4.o src/polarssl/md5.o src/polarssl/net.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/sha1.o src/polarssl/sha2.o src/polarssl/sha4.o src/polarssl/ssl_cli.o src/polarssl/ssl_srv.o src/polarssl/ssl_tls.o src/polarssl/timing.o src/polarssl/version.o src/polarssl/x509parse.o src/polarssl/xtea.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/mime.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/state.o src/http11/http11_parser.o src/task/asm.o |
---|
1011 | /usr/bin/ranlib: file: build/libm2.a(md2.o) has no symbols |
---|
1012 | /usr/bin/ranlib: file: build/libm2.a(md4.o) has no symbols |
---|
1013 | /usr/bin/ranlib: file: build/libm2.a(padlock.o) has no symbols |
---|
1014 | ranlib build/libm2.a |
---|
1015 | ranlib: file: build/libm2.a(md2.o) has no symbols |
---|
1016 | ranlib: file: build/libm2.a(md4.o) has no symbols |
---|
1017 | ranlib: file: build/libm2.a(padlock.o) has no symbols |
---|
1018 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 src/mongrel2.o -o bin/mongrel2 build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1019 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/bstr_tests tests/bstr_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1020 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/cache_tests tests/cache_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1021 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/config_tests tests/config_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1022 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/connection_tests tests/connection_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1023 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/darray_tests tests/darray_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1024 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/db_tests tests/db_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1025 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/dict_tests tests/dict_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1026 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/dir_tests tests/dir_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1027 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/filter_tests tests/filter_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1028 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/handler_parser_tests tests/handler_parser_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1029 | clang: warning: argument unused during compilation: '-pthread' |
---|
1030 | tests/darray_tests.c:39:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] |
---|
1031 | mu_assert(array->max == old_max + array->expand_rate, "Wrong size after expand."); |
---|
1032 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1033 | tests/minunit.h:12:40: note: expanded from macro 'mu_assert' |
---|
1034 | #define mu_assert(test, message) if (!(test)) { log_err(message); return message; } |
---|
1035 | ^ |
---|
1036 | tests/darray_tests.c:42:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] |
---|
1037 | mu_assert(array->max == array->expand_rate + 1, "Should stay at the expand_rate at least."); |
---|
1038 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1039 | tests/minunit.h:12:40: note: expanded from macro 'mu_assert' |
---|
1040 | #define mu_assert(test, message) if (!(test)) { log_err(message); return message; } |
---|
1041 | ^ |
---|
1042 | tests/darray_tests.c:45:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] |
---|
1043 | mu_assert(array->max == array->expand_rate + 1, "Should stay at the expand_rate at least."); |
---|
1044 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1045 | tests/minunit.h:12:40: note: expanded from macro 'mu_assert' |
---|
1046 | #define mu_assert(test, message) if (!(test)) { log_err(message); return message; } |
---|
1047 | ^ |
---|
1048 | tests/cache_tests.c:110:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1049 | RUN_TESTS(all_tests); |
---|
1050 | ^ |
---|
1051 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1052 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1053 | ^ |
---|
1054 | tests/handler_parser_tests.c:15:36: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] |
---|
1055 | return rc == 1 && target_count == parser->target_count; |
---|
1056 | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ |
---|
1057 | tests/dict_tests.c:53:32: warning: unused parameter 'c' [-Wunused-parameter] |
---|
1058 | static dnode_t *new_node(void *c) |
---|
1059 | ^ |
---|
1060 | tests/dict_tests.c:64:31: warning: unused parameter 'n' [-Wunused-parameter] |
---|
1061 | static void del_node(dnode_t *n, void *c) |
---|
1062 | ^ |
---|
1063 | tests/dict_tests.c:64:40: warning: unused parameter 'c' [-Wunused-parameter] |
---|
1064 | static void del_node(dnode_t *n, void *c) |
---|
1065 | ^ |
---|
1066 | tests/darray_tests.c:77:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1067 | RUN_TESTS(all_tests); |
---|
1068 | ^ |
---|
1069 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1070 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1071 | ^ |
---|
1072 | tests/dict_tests.c:164:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] |
---|
1073 | for (i = 0; i < sizeof darray / sizeof *darray; i++) |
---|
1074 | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1075 | tests/handler_parser_tests.c:47:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1076 | RUN_TESTS(all_tests); |
---|
1077 | ^ |
---|
1078 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1079 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1080 | ^ |
---|
1081 | tests/dict_tests.c:316:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1082 | RUN_TESTS(all_tests); |
---|
1083 | ^ |
---|
1084 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1085 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1086 | ^ |
---|
1087 | tests/db_tests.c:117:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1088 | RUN_TESTS(all_tests); |
---|
1089 | ^ |
---|
1090 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1091 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1092 | ^ |
---|
1093 | tests/config_tests.c:83:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1094 | RUN_TESTS(all_tests); |
---|
1095 | ^ |
---|
1096 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1097 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1098 | ^ |
---|
1099 | tests/filter_tests.c:84:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1100 | RUN_TESTS(all_tests); |
---|
1101 | ^ |
---|
1102 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1103 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1104 | ^ |
---|
1105 | tests/connection_tests.c:40:39: warning: unused parameter 'sample_file' [-Wunused-parameter] |
---|
1106 | int test_task_with_sample(const char *sample_file) |
---|
1107 | ^ |
---|
1108 | tests/dir_tests.c:92:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] |
---|
1109 | tests/connection_tests.c:110:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1110 | RUN_TESTS(all_tests); |
---|
1111 | ^ |
---|
1112 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1113 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1114 | ^ |
---|
1115 | check(nparsed == blength(rp), "Failed to parse all of request."); |
---|
1116 | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1117 | src/dbg.h:70:31: note: expanded from macro 'check' |
---|
1118 | #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } |
---|
1119 | ^ |
---|
1120 | tests/bstr_tests.c:2058:9: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] |
---|
1121 | ofs = ofs; |
---|
1122 | ~~~ ^ ~~~ |
---|
1123 | tests/bstr_tests.c:2073:9: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] |
---|
1124 | ofs = ofs; |
---|
1125 | ~~~ ^ ~~~ |
---|
1126 | tests/dir_tests.c:181:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1127 | RUN_TESTS(all_tests); |
---|
1128 | ^ |
---|
1129 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1130 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1131 | ^ |
---|
1132 | 1 warning generated. |
---|
1133 | 1 warning generated. |
---|
1134 | 2 warnings generated. |
---|
1135 | 4 warnings generated. |
---|
1136 | 2 warnings generated. |
---|
1137 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/handler_tests tests/handler_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1138 | 1 warning generated. |
---|
1139 | 1 warning generated. |
---|
1140 | tests/bstr_tests.c:3738:10: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] |
---|
1141 | argc = argc; |
---|
1142 | ~~~~ ^ ~~~~ |
---|
1143 | tests/bstr_tests.c:3739:10: warning: explicitly assigning a variable of type 'char **' to itself [-Wself-assign] |
---|
1144 | argv = argv; |
---|
1145 | ~~~~ ^ ~~~~ |
---|
1146 | 5 warnings generated. |
---|
1147 | 2 warnings generated. |
---|
1148 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/hash_tests tests/hash_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1149 | tests/handler_tests.c:75:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1150 | RUN_TESTS(all_tests); |
---|
1151 | ^ |
---|
1152 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1153 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1154 | ^ |
---|
1155 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/host_tests tests/host_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1156 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/http11_tests tests/http11_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1157 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/httpclient_tests tests/httpclient_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1158 | 1 warning generated. |
---|
1159 | tests/hash_tests.c:47:32: warning: unused parameter 'c' [-Wunused-parameter] |
---|
1160 | static hnode_t *new_node(void *c) |
---|
1161 | ^ |
---|
1162 | tests/hash_tests.c:58:31: warning: unused parameter 'n' [-Wunused-parameter] |
---|
1163 | static void del_node(hnode_t *n, void *c) |
---|
1164 | ^ |
---|
1165 | tests/hash_tests.c:58:40: warning: unused parameter 'c' [-Wunused-parameter] |
---|
1166 | static void del_node(hnode_t *n, void *c) |
---|
1167 | ^ |
---|
1168 | tests/hash_tests.c:199:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1169 | RUN_TESTS(all_tests); |
---|
1170 | ^ |
---|
1171 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1172 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1173 | ^ |
---|
1174 | tests/http11_tests.c:6:29: warning: unused parameter 'data' [-Wunused-parameter] |
---|
1175 | void debug_element_cb(void *data, const char *at, size_t length) |
---|
1176 | ^ |
---|
1177 | tests/http11_tests.c:6:47: warning: unused parameter 'at' [-Wunused-parameter] |
---|
1178 | void debug_element_cb(void *data, const char *at, size_t length) |
---|
1179 | ^ |
---|
1180 | tests/http11_tests.c:6:58: warning: unused parameter 'length' [-Wunused-parameter] |
---|
1181 | void debug_element_cb(void *data, const char *at, size_t length) |
---|
1182 | ^ |
---|
1183 | tests/http11_tests.c:10:27: warning: unused parameter 'data' [-Wunused-parameter] |
---|
1184 | void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen) |
---|
1185 | ^ |
---|
1186 | tests/http11_tests.c:10:45: warning: unused parameter 'field' [-Wunused-parameter] |
---|
1187 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/io_tests tests/io_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1188 | void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen) |
---|
1189 | ^ |
---|
1190 | tests/http11_tests.c:10:59: warning: unused parameter 'flen' [-Wunused-parameter] |
---|
1191 | void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen) |
---|
1192 | ^ |
---|
1193 | tests/http11_tests.c:10:77: warning: unused parameter 'value' [-Wunused-parameter] |
---|
1194 | void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen) |
---|
1195 | ^ |
---|
1196 | tests/http11_tests.c:10:91: warning: unused parameter 'vlen' [-Wunused-parameter] |
---|
1197 | void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen) |
---|
1198 | ^ |
---|
1199 | tests/http11_tests.c:61:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] |
---|
1200 | for(i = 0; i < test_files.gl_pathc; i++) { |
---|
1201 | tests/httpclient_tests.c:69:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] |
---|
1202 | for(i = 0; i < test_files.gl_pathc; i++) { |
---|
1203 | ~ ^ ~~~~~~~~~~~~~~~~~~~ |
---|
1204 | tests/host_tests.c:22:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1205 | RUN_TESTS(all_tests); |
---|
1206 | ^ |
---|
1207 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1208 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1209 | ^ |
---|
1210 | tests/httpclient_tests.c:99:40: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] |
---|
1211 | mu_assert(p.body_start > start, "Didn't go past start."); |
---|
1212 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1213 | tests/minunit.h:12:40: note: expanded from macro 'mu_assert' |
---|
1214 | #define mu_assert(test, message) if (!(test)) { log_err(message); return message; } |
---|
1215 | ^ |
---|
1216 | ~ ^ ~~~~~~~~~~~~~~~~~~~ |
---|
1217 | tests/httpclient_tests.c:128:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1218 | RUN_TESTS(all_tests); |
---|
1219 | ^ |
---|
1220 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1221 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1222 | ^ |
---|
1223 | tests/http11_tests.c:118:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1224 | RUN_TESTS(all_tests); |
---|
1225 | ^ |
---|
1226 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1227 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1228 | ^ |
---|
1229 | 1 warning generated. |
---|
1230 | 4 warnings generated. |
---|
1231 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/list_tests tests/list_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1232 | 10 warnings generated. |
---|
1233 | 3 warnings generated. |
---|
1234 | tests/io_tests.c:170:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1235 | RUN_TESTS(all_tests); |
---|
1236 | ^ |
---|
1237 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1238 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1239 | ^ |
---|
1240 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/mime_tests tests/mime_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1241 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/pattern_tests tests/pattern_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1242 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/proxy_tests tests/proxy_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1243 | tests/list_tests.c:166:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1244 | RUN_TESTS(all_tests); |
---|
1245 | ^ |
---|
1246 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1247 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1248 | ^ |
---|
1249 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/register_tests tests/register_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1250 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/request_tests tests/request_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1251 | tests/mime_tests.c:76:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1252 | RUN_TESTS(all_tests); |
---|
1253 | ^ |
---|
1254 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1255 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1256 | ^ |
---|
1257 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/response_tests tests/response_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1258 | tests/pattern_tests.c:196:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1259 | RUN_TESTS(all_tests); |
---|
1260 | ^ |
---|
1261 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1262 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1263 | ^ |
---|
1264 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/routing_tests tests/routing_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1265 | tests/proxy_tests.c:25:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1266 | RUN_TESTS(all_tests); |
---|
1267 | ^ |
---|
1268 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1269 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1270 | ^ |
---|
1271 | /usr/bin/clang -g -O2 -Wall -Wextra -Isrc -pthread -DNDEBUG -O2 -I/opt/local/include -arch x86_64 -D_FILE_OFFSET_BITS=64 -o tests/server_tests tests/server_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -L/opt/local/lib -L/opt/local/lib -arch x86_64 |
---|
1272 | 1 warning generated. |
---|
1273 | tests/register_tests.c:75:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1274 | RUN_TESTS(all_tests); |
---|
1275 | ^tests/request_tests.c:23:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] |
---|
1276 | for(i = 0; i < test_files.gl_pathc; i++) { |
---|
1277 | ~ ^ ~~~~~~~~~~~~~~~~~~~ |
---|
1278 | |
---|
1279 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1280 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1281 | ^ |
---|
1282 | 1 warning generated. |
---|
1283 | 1 warning generated. |
---|
1284 | tests/routing_tests.c:13:29: warning: comparison of integers of different signs: 'listcount_t' (aka 'unsigned long') and 'int' [-Wsign-compare] |
---|
1285 | check(list_count(found) == expected_count, "Didn't find right number of routes: got %d, expected %d.", |
---|
1286 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1287 | src/dbg.h:70:31: note: expanded from macro 'check' |
---|
1288 | #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; } |
---|
1289 | ^ |
---|
1290 | tests/response_tests.c:47:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1291 | RUN_TESTS(all_tests); |
---|
1292 | ^ |
---|
1293 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1294 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1295 | ^ |
---|
1296 | tests/request_tests.c:230:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1297 | RUN_TESTS(all_tests); |
---|
1298 | ^ |
---|
1299 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1300 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1301 | ^ |
---|
1302 | 1 warning generated. |
---|
1303 | tests/routing_tests.c:225:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1304 | RUN_TESTS(all_tests); |
---|
1305 | ^ |
---|
1306 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1307 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1308 | ^ |
---|
1309 | 1 warning generated. |
---|
1310 | 1 warning generated. |
---|
1311 | 1 warning generated. |
---|
1312 | 2 warnings generated. |
---|
1313 | 2 warnings generated. |
---|
1314 | make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh' |
---|
1315 | make[4]: *** [m2sh] Error 2 |
---|
1316 | make[4]: *** Waiting for unfinished jobs.... |
---|
1317 | tests/server_tests.c:79:1: warning: unused parameter 'argc' [-Wunused-parameter] |
---|
1318 | RUN_TESTS(all_tests); |
---|
1319 | ^ |
---|
1320 | tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS' |
---|
1321 | #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\ |
---|
1322 | ^ |
---|
1323 | 1 warning generated. |
---|
1324 | 4 warnings generated. |
---|
1325 | make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5' |
---|
1326 | make[3]: *** [../../build/libm2.a] Error 2 |
---|
1327 | make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh' |
---|
1328 | make[2]: *** [m2sh] Error 2 |
---|
1329 | make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5' |
---|
1330 | make[1]: *** [../../build/libm2.a] Error 2 |
---|
1331 | make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh' |
---|
1332 | make: *** [m2sh] Error 2 |
---|
1333 | make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5' |
---|
1334 | shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5" && /usr/bin/make -j12 -w all PREFIX=/opt/local CC=/usr/bin/clang OPTFLAGS="-O2 -I/opt/local/include -arch x86_64" OPTLIBS="-L/opt/local/lib -L/opt/local/lib -arch x86_64" " returned error 2 |
---|
1335 | Error: Target org.macports.build returned: shell command failed (see log for details) |
---|
1336 | Warning: the following items did not execute (for mongrel2): org.macports.activate org.macports.build org.macports.destroot org.macports.install |
---|
1337 | Log for mongrel2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/main.log |
---|
1338 | Error: Status 1 encountered during processing. |
---|
1339 | To report a bug, see <http://guide.macports.org/#project.tickets> |
---|