Ticket #33462: output_1_failed.txt

File output_1_failed.txt, 111.9 KB (added by anddam (Andrea D'Amore), 12 years ago)
Line 
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
15make: 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
28src/bstr/bsafe.c:27:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
29        dst = dst;
30        ~~~ ^ ~~~
31src/bstr/bsafe.c:28:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
32        src = src;
33        ~~~ ^ ~~~
34src/bstr/bsafe.c:35:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
35        dst = dst;
36        ~~~ ^ ~~~
37src/bstr/bsafe.c:36:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
38        src = src;
39        ~~~ ^ ~~~
40src/bstr/bsafe.c:61:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
41        dst = dst;
42        ~~~ ^ ~~~
43src/bstr/bsafe.c:62:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
44        src = src;
45        ~~~ ^ ~~~
46src/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        ~ ^ ~
49src/bstr/bsafe.c:70:5: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
50        s1 = s1;
51        ~~ ^ ~~
52src/bstr/bsafe.c:71:5: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
53        s2 = s2;
54        ~~ ^ ~~
55src/adt/dict.c:949:35: warning: unused parameter 'dict_context' [-Wunused-parameter]
56static dnode_t *dnode_alloc(void *context)
57                                  ^
58src/adt/dict.c:56:17: note: expanded from macro 'context'
59#define context dict_context
60                ^
61src/adt/dict.c:954:45: warning: unused parameter 'dict_context' [-Wunused-parameter]
62static void dnode_free(dnode_t *node, void *context)
63                                            ^
64src/adt/dict.c:56:17: note: expanded from macro 'context'
65#define context dict_context
66                ^
67src/adt/hash.c:748:35: warning: unused parameter 'hash_context' [-Wunused-parameter]
68static hnode_t *hnode_alloc(void *context)
69                                  ^
70src/adt/hash.c:51:17: note: expanded from macro 'context'
71#define context hash_context
72                ^
73src/adt/hash.c:753:45: warning: unused parameter 'hash_context' [-Wunused-parameter]
74static void hnode_free(hnode_t *node, void *context)
75                                            ^
76src/adt/hash.c:51:17: note: expanded from macro 'context'
77#define context hash_context
78                ^
799 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
81src/bstr/bstraux.c:201:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign]
82        buff = buff;
83        ~~~~ ^ ~~~~
84src/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        ~~~~~~ ^ ~~~~~~
87src/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        ~~~~~ ^ ~~~~~
90src/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
982 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
1042 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
1154 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
126src/task/context.c:78:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
127        *(int*)0 = 0;
128        ^~~~~~~~
129src/task/context.c:78:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
1301 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
132src/task/fd.c:96:19: warning: unused parameter 'v' [-Wunused-parameter]
133void 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
140src/task/task.c:322:33: warning: unused parameter 'v' [-Wunused-parameter]
141static void taskmainstart(void *v)
142                                ^
1431 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
148src/control.c:51:41: warning: unused parameter 'hint' [-Wunused-parameter]
149static void cstr_free(void *data, void *hint)
150                                        ^
151src/control.c:188:60: warning: unused parameter 'args' [-Wunused-parameter]
152static tns_value_t *signal_server_cb(bstring name, hash_t *args)
153                                                           ^
154src/control.c:212:33: warning: unused parameter 'name' [-Wunused-parameter]
155tns_value_t *version_cb(bstring name, hash_t *args)
156                                ^
157src/control.c:212:47: warning: unused parameter 'args' [-Wunused-parameter]
158tns_value_t *version_cb(bstring name, hash_t *args)
159                                              ^
160src/control.c:217:30: warning: unused parameter 'name' [-Wunused-parameter]
161tns_value_t *help_cb(bstring name, hash_t *args)
162                             ^
163src/control.c:217:44: warning: unused parameter 'args' [-Wunused-parameter]
164tns_value_t *help_cb(bstring name, hash_t *args)
165                                           ^
166src/control.c:241:38: warning: unused parameter 'name' [-Wunused-parameter]
167tns_value_t *control_stop_cb(bstring name, hash_t *args)
168                                     ^
169src/control.c:241:52: warning: unused parameter 'args' [-Wunused-parameter]
170tns_value_t *control_stop_cb(bstring name, hash_t *args)
171                                                   ^
172src/control.c:248:30: warning: unused parameter 'name' [-Wunused-parameter]
173tns_value_t *kill_cb(bstring name, hash_t *args)
174                             ^
175src/control.c:275:32: warning: unused parameter 'name' [-Wunused-parameter]
176tns_value_t *status_cb(bstring name, hash_t *args)
177                               ^
178src/control.c:302:44: warning: unused parameter 'args' [-Wunused-parameter]
179tns_value_t *info_cb(bstring name, hash_t *args)
180                                           ^
181src/control.c:393:25: warning: unused parameter 'v' [-Wunused-parameter]
182void 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
1861 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
188src/handler.c:55:41: warning: unused parameter 'hint' [-Wunused-parameter]
189static 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
194src/host.c:46:45: warning: unused parameter 'map' [-Wunused-parameter]
195void 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
198src/io.c:49:33: warning: unused parameter 'iob' [-Wunused-parameter]
199static ssize_t null_send(IOBuf *iob, char *buffer, int len)
200                                ^
201src/io.c:49:44: warning: unused parameter 'buffer' [-Wunused-parameter]
202static ssize_t null_send(IOBuf *iob, char *buffer, int len)
203                                           ^
204src/io.c:54:33: warning: unused parameter 'iob' [-Wunused-parameter]
205static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
206                                ^
207src/io.c:54:44: warning: unused parameter 'buffer' [-Wunused-parameter]
208static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
209                                           ^
210src/io.c:59:40: warning: unused parameter 'iob' [-Wunused-parameter]
211static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
212                                       ^
213src/io.c:59:49: warning: unused parameter 'fd' [-Wunused-parameter]
214static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
215                                                ^
216src/io.c:210:22: warning: unused parameter 'p' [-Wunused-parameter]
217void ssl_debug(void *p, int level, const char *msg) {
218                     ^
219src/io.c:210:48: warning: unused parameter 'msg' [-Wunused-parameter]
220void ssl_debug(void *p, int level, const char *msg) {
221                                               ^
222src/mime.c:85:47: warning: unused parameter 'data' [-Wunused-parameter]
223void MIME_traverse_destroy(void *value, void *data)
224                                              ^
2251 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
228src/log.c:249:32: warning: unused parameter 'data' [-Wunused-parameter]
229static void free_log_msg(void *data, void *hint)
230                               ^
2311 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
233src/pattern.c:29:35: warning: unused parameter 'ms' [-Wunused-parameter]
234const char *classend (MatchState *ms, const char *p) {
235                                  ^
2361 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
23812 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
243src/request.c:60:38: warning: unused parameter 'notused' [-Wunused-parameter]
244static hnode_t *req_alloc_hash(void *notused)
245                                     ^
246src/request.c:65:48: warning: unused parameter 'notused' [-Wunused-parameter]
247static void req_free_hash(hnode_t *node, void *notused)
248                                               ^
249src/request.c:92:52: warning: unused parameter 'at' [-Wunused-parameter]
250static void header_done_cb(void *data, const char *at, size_t length)
251                                                   ^
252src/request.c:92:63: warning: unused parameter 'length' [-Wunused-parameter]
253static void header_done_cb(void *data, const char *at, size_t length)
254                                                              ^
255src/setting.c:82:50: warning: unused parameter 'data' [-Wunused-parameter]
256void Setting_traverse_destroy(void *value, void *data)
257                                                 ^
2588 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
260src/server.c:64:42: warning: unused parameter 'map' [-Wunused-parameter]
261void host_destroy_cb(Route *r, RouteMap *map)
262                                         ^
2631 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
2661 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
2691 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
272sqlite3 tests/config.sqlite < src/config/config.sql
273src/superpoll.c:319:52: warning: unused parameter 'sp' [-Wunused-parameter]
274static inline int SuperPoll_arm_idle_fd(SuperPoll *sp)
275                                                   ^
276src/superpoll.c:325:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter]
277static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd)
278                                                          ^
279src/superpoll.c:341:54: warning: unused parameter 'sp' [-Wunused-parameter]
280static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
281                                                     ^
282src/superpoll.c:341:70: warning: unused parameter 'result' [-Wunused-parameter]
283static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
284                                                                     ^
285src/tnetstrings.c:169:42: warning: unused parameter 'notused' [-Wunused-parameter]
286void tns_hnode_free(hnode_t *node, void *notused)
287                                         ^
288src/unixy.c:186:14: warning: 'daemon' is deprecated [-Wdeprecated-declarations]
289    int rc = daemon(0, 1);
290             ^
291src/tnetstrings.c:176:32: warning: unused parameter 'notused' [-Wunused-parameter]
292hnode_t *tns_hnode_alloc(void *notused)
293                               ^
294sqlite3 tests/config.sqlite < src/config/example.sql
295sqlite3 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
297make[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
300src/mongrel2.c:168:23: warning: unused parameter 'v' [-Wunused-parameter]
301void 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
3044 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
3061 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
3094 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
311src/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
3151 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
318src/parser.c:393:3: warning: unused variable 'state' [-Wunused-variable]
319  ParseARG_FETCH;
320  ^
321src/parser.c:87:37: note: expanded from macro 'ParseARG_FETCH'
322#define ParseARG_FETCH ParserState *state = yypParser->state
323                                    ^
3241 warning generated.
325cd ../.. && 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
327make[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'
328rm -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
330rm -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
332rm -f tests/test.pid
333rm -f tests/tests.log
334rm -f tests/empty.sqlite
335rm -f tools/lemon/lemon
336rm -f tools/m2sh/tests/tests.log
337find . -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
339make -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
341make[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'
342rm -rf src/*.o build tests/*_tests tests/*.o
343make[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'
344make -C tools/filters OPTLIB= clean
345make[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'
346rm -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
350make[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'
351make -C tests/filters OPTLIB= clean
352make[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'
353rm -f *.so
354make[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'
355make -C tools/config_modules OPTLIB= clean
3562 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'
357rm -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
361make[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
3641 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
3761 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
378mkdir -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
380ar 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
381ar: src/ast.o: No such file or directory
382ar: src/cli.o: No such file or directory
383ar: src/commands.o: No such file or directory
384ar: src/config_file.o: No such file or directory
385ar: src/constants.o: No such file or directory
386ar: src/lexer.o: No such file or directory
387ar: src/linenoise.o: No such file or directory
388ar: src/parser.o: No such file or directory
389ar: src/token.o: No such file or directory
390make[1]: *** [build/libm2sh.a] Error 1
391make[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
398src/task/context.c:78:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
399        *(int*)0 = 0;
400        ^~~~~~~~
401src/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
4031 warning generated.
404ar 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
406ar: build/libm2.a: No such file or directory
407make: *** [build/libm2.a] Error 1
408make: *** 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
410src/task/fd.c:96:19: warning: unused parameter 'v' [-Wunused-parameter]
411void 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
416src/task/task.c:322:33: warning: unused parameter 'v' [-Wunused-parameter]
417static 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
4201 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
425src/control.c:51:41: warning: unused parameter 'hint' [-Wunused-parameter]
426static void cstr_free(void *data, void *hint)
427                                        ^
428src/control.c:188:60: warning: unused parameter 'args' [-Wunused-parameter]
429static tns_value_t *signal_server_cb(bstring name, hash_t *args)
430                                                           ^
431src/control.c:212:33: warning: unused parameter 'name' [-Wunused-parameter]
432tns_value_t *version_cb(bstring name, hash_t *args)
433                                ^
434src/control.c:212:47: warning: unused parameter 'args' [-Wunused-parameter]
435tns_value_t *version_cb(bstring name, hash_t *args)
436                                              ^
437src/control.c:217:30: warning: unused parameter 'name' [-Wunused-parameter]
438tns_value_t *help_cb(bstring name, hash_t *args)
439                             ^
440src/control.c:217:44: warning: unused parameter 'args' [-Wunused-parameter]
441tns_value_t *help_cb(bstring name, hash_t *args)
442                                           ^
443src/control.c:241:38: warning: unused parameter 'name' [-Wunused-parameter]
444tns_value_t *control_stop_cb(bstring name, hash_t *args)
445                                     ^
446src/control.c:241:52: warning: unused parameter 'args' [-Wunused-parameter]
447tns_value_t *control_stop_cb(bstring name, hash_t *args)
448                                                   ^
449src/control.c:248:30: warning: unused parameter 'name' [-Wunused-parameter]
450tns_value_t *kill_cb(bstring name, hash_t *args)
451                             ^
452src/control.c:275:32: warning: unused parameter 'name' [-Wunused-parameter]
453tns_value_t *status_cb(bstring name, hash_t *args)
454                               ^
455src/control.c:302:44: warning: unused parameter 'args' [-Wunused-parameter]
456tns_value_t *info_cb(bstring name, hash_t *args)
457                                           ^
458src/control.c:393:25: warning: unused parameter 'v' [-Wunused-parameter]
459void Control_task(void *v)
460                        ^
4611 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
465src/handler.c:55:41: warning: unused parameter 'hint' [-Wunused-parameter]
466static 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
471src/io.c:49:33: warning: unused parameter 'iob' [-Wunused-parameter]
472static ssize_t null_send(IOBuf *iob, char *buffer, int len)
473                                ^
474src/io.c:49:44: warning: unused parameter 'buffer' [-Wunused-parameter]
475static ssize_t null_send(IOBuf *iob, char *buffer, int len)
476                                           ^
477src/io.c:54:33: warning: unused parameter 'iob' [-Wunused-parameter]
478static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
479                                ^
480src/io.c:54:44: warning: unused parameter 'buffer' [-Wunused-parameter]
481static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
482                                           ^
483src/io.c:59:40: warning: unused parameter 'iob' [-Wunused-parameter]
484static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
485                                       ^
486src/io.c:59:49: warning: unused parameter 'fd' [-Wunused-parameter]
487static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
488                                                ^
489src/io.c:210:22: warning: unused parameter 'p' [-Wunused-parameter]
490void ssl_debug(void *p, int level, const char *msg) {
491                     ^
492src/io.c:210:48: warning: unused parameter 'msg' [-Wunused-parameter]
493void ssl_debug(void *p, int level, const char *msg) {
494                                               ^
495src/host.c:46:45: warning: unused parameter 'map' [-Wunused-parameter]
496void 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
4991 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
501src/log.c:249:32: warning: unused parameter 'data' [-Wunused-parameter]
502static 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
5071 warning generated.
50812 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
511src/mime.c:85:47: warning: unused parameter 'data' [-Wunused-parameter]
512void MIME_traverse_destroy(void *value, void *data)
513                                              ^
514src/pattern.c:29:35: warning: unused parameter 'ms' [-Wunused-parameter]
515const char *classend (MatchState *ms, const char *p) {
516                                  ^
5171 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
519src/request.c:60:38: warning: unused parameter 'notused' [-Wunused-parameter]
520static hnode_t *req_alloc_hash(void *notused)
521                                     ^
522src/request.c:65:48: warning: unused parameter 'notused' [-Wunused-parameter]
523static void req_free_hash(hnode_t *node, void *notused)
524                                               ^
525src/request.c:92:52: warning: unused parameter 'at' [-Wunused-parameter]
526static void header_done_cb(void *data, const char *at, size_t length)
527                                                   ^
528src/request.c:92:63: warning: unused parameter 'length' [-Wunused-parameter]
529static void header_done_cb(void *data, const char *at, size_t length)
530                                                              ^
5318 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
5341 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
536src/server.c:64:42: warning: unused parameter 'map' [-Wunused-parameter]
537void 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
541src/setting.c:82:50: warning: unused parameter 'data' [-Wunused-parameter]
542void Setting_traverse_destroy(void *value, void *data)
543                                                 ^
5441 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
5471 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
549src/superpoll.c:319:52: warning: unused parameter 'sp' [-Wunused-parameter]
550static inline int SuperPoll_arm_idle_fd(SuperPoll *sp)
551                                                   ^
552src/superpoll.c:325:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter]
553static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd)
554                                                          ^
555src/superpoll.c:341:54: warning: unused parameter 'sp' [-Wunused-parameter]
556static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
557                                                     ^
558src/superpoll.c:341:70: warning: unused parameter 'result' [-Wunused-parameter]
559static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
560                                                                     ^
561src/tnetstrings.c:169:42: warning: unused parameter 'notused' [-Wunused-parameter]
562void tns_hnode_free(hnode_t *node, void *notused)
563                                         ^
564src/tnetstrings.c:176:32: warning: unused parameter 'notused' [-Wunused-parameter]
565hnode_t *tns_hnode_alloc(void *notused)
566                               ^
567sqlite3 tests/config.sqlite < src/config/config.sql
568make 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
569src/unixy.c:186:14: warning: 'daemon' is deprecated [-Wdeprecated-declarations]
570    int rc = daemon(0, 1);
571             ^
572make[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
575sqlite3 tests/config.sqlite < src/config/example.sql
5764 warnings generated.
5774 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
579sqlite3 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
581src/mongrel2.c:168:23: warning: unused parameter 'v' [-Wunused-parameter]
582void tickertask(void *v)
583                      ^
5841 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
589src/commands.c:326:14: warning: incompatible pointer to integer conversion initializing 'long' with an expression of type 'bstring' (aka 'struct tagbstring *');
5901 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
594cd ../.. && 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
596make[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'
597rm -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
598src/parser.c:393:3: warning: unused variable 'state' [-Wunused-variable]
599  ParseARG_FETCH;
600  ^
601src/parser.c:87:37: note: expanded from macro 'ParseARG_FETCH'
602#define ParseARG_FETCH ParserState *state = yypParser->state
603                                    ^
604rm -f tests/perf.log
605rm -f tests/test.pid
606rm -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
608rm -f tests/empty.sqlite
609rm -f tools/lemon/lemon
610rm -f tools/m2sh/tests/tests.log
611find . -name "*.gc*" -exec rm {} \;
612make -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
614make[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'
615rm -rf src/*.o build tests/*_tests tests/*.o
6161 warning generated.
617make[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'
618make -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
620make[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'
621rm -f *.so
622make[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'
623make -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
625make[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'
626rm -f *.so
627make[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'
628make -C tools/config_modules OPTLIB= clean
629make[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'
630rm -f *.so
631src/adt/dict.c:949:35: warning: unused parameter 'dict_context' [-Wunused-parameter]
632static dnode_t *dnode_alloc(void *context)
633                                  ^
634src/adt/dict.c:56:17: note: expanded from macro 'context'
635#define context dict_context
636                ^
637src/adt/dict.c:954:45: warning: unused parameter 'dict_context' [-Wunused-parameter]
638static void dnode_free(dnode_t *node, void *context)
639                                            ^
640src/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
644make[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
646src/adt/hash.c:748:35: warning: unused parameter 'hash_context' [-Wunused-parameter]
647static hnode_t *hnode_alloc(void *context)
648                                  ^
649src/adt/hash.c:51:17: note: expanded from macro 'context'
650#define context hash_context
651                ^
652src/adt/hash.c:753:45: warning: unused parameter 'hash_context' [-Wunused-parameter]
653static void hnode_free(hnode_t *node, void *context)
654                                            ^
655src/adt/hash.c:51:17: note: expanded from macro 'context'
656#define context hash_context
657                ^
6582 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
663src/bstr/bsafe.c:27:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
664        dst = dst;
665        ~~~ ^ ~~~
666src/bstr/bsafe.c:28:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
667        src = src;
668        ~~~ ^ ~~~
669src/bstr/bsafe.c:35:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
670        dst = dst;
671        ~~~ ^ ~~~
672src/bstr/bsafe.c:36:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
673        src = src;
674        ~~~ ^ ~~~
675src/bstr/bsafe.c:61:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
676        dst = dst;
677        ~~~ ^ ~~~
678src/bstr/bsafe.c:62:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
679        src = src;
680        ~~~ ^ ~~~
681src/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        ~ ^ ~
684src/bstr/bsafe.c:70:5: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
685        s1 = s1;
686        ~~ ^ ~~
687src/bstr/bsafe.c:71:5: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
688        s2 = s2;
689        ~~ ^ ~~
6909 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
692src/bstr/bstraux.c:201:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign]
693        buff = buff;
694        ~~~~ ^ ~~~~
695src/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        ~~~~~~ ^ ~~~~~~
698src/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        ~~~~~ ^ ~~~~~
701src/bstr/bstraux.c:204:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign]
702        parm = parm;
703        ~~~~ ^ ~~~~
7041 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
7092 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
7142 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
7204 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
7221 warning generated.
723mkdir -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
726ar 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
727ar: src/ast.o: No such file or directory
728ar: src/cli.o: No such file or directory
729ar: src/commands.o: No such file or directory
730ar: src/config_file.o: No such file or directory
731ar: src/constants.o: No such file or directory
732ar: src/lexer.o: No such file or directory
733ar: src/linenoise.o: No such file or directory
734ar: src/parser.o: No such file or directory
735ar: src/token.o: No such file or directory
736make[3]: *** [build/libm2sh.a] Error 1
737make[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
748ar 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
749ar: src/polarssl/version.o: No such file or directory
750ar: src/polarssl/x509parse.o: No such file or directory
751ar: src/polarssl/xtea.o: No such file or directory
752ar: src/task/context.o: No such file or directory
753ar: src/task/fd.o: No such file or directory
754ar: src/task/net.o: No such file or directory
755ar: src/task/qlock.o: No such file or directory
756ar: src/task/rendez.o: No such file or directory
757ar: src/task/task.o: No such file or directory
758ar: src/bsd_specific.o: No such file or directory
759ar: src/cache.o: No such file or directory
760ar: src/connection.o: No such file or directory
761ar: src/control.o: No such file or directory
762ar: src/dbg.o: No such file or directory
763ar: src/dir.o: No such file or directory
764ar: src/filter.o: No such file or directory
765ar: src/handler.o: No such file or directory
766ar: src/handler_parser.o: No such file or directory
767ar: src/headers.o: No such file or directory
768ar: src/host.o: No such file or directory
769ar: src/io.o: No such file or directory
770ar: src/log.o: No such file or directory
771ar: src/mime.o: No such file or directory
772ar: src/pattern.o: No such file or directory
773ar: src/proxy.o: No such file or directory
774ar: src/register.o: No such file or directory
775ar: src/request.o: No such file or directory
776ar: src/response.o: No such file or directory
777ar: src/routing.o: No such file or directory
778ar: src/server.o: No such file or directory
779ar: src/setting.o: No such file or directory
780ar: src/state.o: No such file or directory
781ar: src/superpoll.o: No such file or directory
782ar: src/tnetstrings.o: No such file or directory
783ar: src/unixy.o: No such file or directory
784ar: src/upload.o: No such file or directory
785ar: src/state.o: No such file or directory
786ar: src/task/asm.o: No such file or directory
787make[2]: *** [build/libm2.a] Error 1
788make[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
793src/task/context.c:78:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
794        *(int*)0 = 0;
795        ^~~~~~~~
796src/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
7981 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
801src/task/fd.c:96:19: warning: unused parameter 'v' [-Wunused-parameter]
802void 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
809src/task/task.c:322:33: warning: unused parameter 'v' [-Wunused-parameter]
810static 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
8131 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
817src/control.c:51:41: warning: unused parameter 'hint' [-Wunused-parameter]
818static void cstr_free(void *data, void *hint)
819                                        ^
820src/control.c:188:60: warning: unused parameter 'args' [-Wunused-parameter]
821static tns_value_t *signal_server_cb(bstring name, hash_t *args)
822                                                           ^
823src/control.c:212:33: warning: unused parameter 'name' [-Wunused-parameter]
824tns_value_t *version_cb(bstring name, hash_t *args)
825                                ^
826src/control.c:212:47: warning: unused parameter 'args' [-Wunused-parameter]
827tns_value_t *version_cb(bstring name, hash_t *args)
828                                              ^
829src/control.c:217:30: warning: unused parameter 'name' [-Wunused-parameter]
830tns_value_t *help_cb(bstring name, hash_t *args)
831                             ^
832src/control.c:217:44: warning: unused parameter 'args' [-Wunused-parameter]
833tns_value_t *help_cb(bstring name, hash_t *args)
834                                           ^
835src/control.c:241:38: warning: unused parameter 'name' [-Wunused-parameter]
836tns_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                                     ^
839src/control.c:241:52: warning: unused parameter 'args' [-Wunused-parameter]
840tns_value_t *control_stop_cb(bstring name, hash_t *args)
841                                                   ^
842src/control.c:248:30: warning: unused parameter 'name' [-Wunused-parameter]
843tns_value_t *kill_cb(bstring name, hash_t *args)
844                             ^
845src/control.c:275:32: warning: unused parameter 'name' [-Wunused-parameter]
846tns_value_t *status_cb(bstring name, hash_t *args)
847                               ^
848src/control.c:302:44: warning: unused parameter 'args' [-Wunused-parameter]
849tns_value_t *info_cb(bstring name, hash_t *args)
850                                           ^
851src/control.c:393:25: warning: unused parameter 'v' [-Wunused-parameter]
852void Control_task(void *v)
853                        ^
854src/handler.c:55:41: warning: unused parameter 'hint' [-Wunused-parameter]
855static void cstr_free(void *data, void *hint)
856                                        ^
8571 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
863src/io.c:49:33: warning: unused parameter 'iob' [-Wunused-parameter]
864static ssize_t null_send(IOBuf *iob, char *buffer, int len)
865                                ^
866src/io.c:49:44: warning: unused parameter 'buffer' [-Wunused-parameter]
867static ssize_t null_send(IOBuf *iob, char *buffer, int len)
868                                           ^
869src/io.c:54:33: warning: unused parameter 'iob' [-Wunused-parameter]
870static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
871                                ^
872src/io.c:54:44: warning: unused parameter 'buffer' [-Wunused-parameter]
873static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
874                                           ^
875src/io.c:59:40: warning: unused parameter 'iob' [-Wunused-parameter]
876static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
877                                       ^
878src/io.c:59:49: warning: unused parameter 'fd' [-Wunused-parameter]
879static 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
882src/io.c:210:22: warning: unused parameter 'p' [-Wunused-parameter]
883void ssl_debug(void *p, int level, const char *msg) {
884                     ^
885src/io.c:210:48: warning: unused parameter 'msg' [-Wunused-parameter]
886void ssl_debug(void *p, int level, const char *msg) {
887                                               ^
888src/host.c:46:45: warning: unused parameter 'map' [-Wunused-parameter]
889void 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
892src/log.c:249:32: warning: unused parameter 'data' [-Wunused-parameter]
893static void free_log_msg(void *data, void *hint)
894                               ^
895src/mime.c:85:47: warning: unused parameter 'data' [-Wunused-parameter]
896void MIME_traverse_destroy(void *value, void *data)
897                                              ^
8981 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
9001 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
902src/pattern.c:29:35: warning: unused parameter 'ms' [-Wunused-parameter]
903const 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
9061 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
90912 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
912src/request.c:60:38: warning: unused parameter 'notused' [-Wunused-parameter]
913static hnode_t *req_alloc_hash(void *notused)
914                                     ^
915src/request.c:65:48: warning: unused parameter 'notused' [-Wunused-parameter]
916static void req_free_hash(hnode_t *node, void *notused)
917                                               ^
918src/request.c:92:52: warning: unused parameter 'at' [-Wunused-parameter]
919static void header_done_cb(void *data, const char *at, size_t length)
920                                                   ^
921src/request.c:92:63: warning: unused parameter 'length' [-Wunused-parameter]
922static void header_done_cb(void *data, const char *at, size_t length)
923                                                              ^
9248 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
9261 warning generated.
927src/server.c:64:42: warning: unused parameter 'map' [-Wunused-parameter]
928void 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
931src/setting.c:82:50: warning: unused parameter 'data' [-Wunused-parameter]
932void 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
9351 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
9371 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
940src/superpoll.c:319:52: warning: unused parameter 'sp' [-Wunused-parameter]
941static inline int SuperPoll_arm_idle_fd(SuperPoll *sp)
942                                                   ^
943src/superpoll.c:325:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter]
944static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd)
945                                                          ^
946src/superpoll.c:341:54: warning: unused parameter 'sp' [-Wunused-parameter]
947static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
948                                                     ^
949src/superpoll.c:341:70: warning: unused parameter 'result' [-Wunused-parameter]
950static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
951                                                                     ^
952src/tnetstrings.c:169:42: warning: unused parameter 'notused' [-Wunused-parameter]
953void tns_hnode_free(hnode_t *node, void *notused)
954                                         ^
955src/tnetstrings.c:176:32: warning: unused parameter 'notused' [-Wunused-parameter]
956hnode_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
959sqlite3 tests/config.sqlite < src/config/config.sql
960src/unixy.c:186:14: warning: 'daemon' is deprecated [-Wdeprecated-declarations]
961    int rc = daemon(0, 1);
962             ^
963sqlite3 tests/config.sqlite < src/config/example.sql
964make 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
965sqlite3 tests/config.sqlite < src/config/mimetypes.sql
966make[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
9684 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
971src/mongrel2.c:168:23: warning: unused parameter 'v' [-Wunused-parameter]
972void 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
9751 warning generated.
9764 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
9801 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
983src/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
987src/parser.c:393:3: warning: unused variable 'state' [-Wunused-variable]
988  ParseARG_FETCH;
989  ^
990src/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
9941 warning generated.
9952 warnings generated.
9961 warning generated.
9971 warning generated.
998mkdir -p build
999ar 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
1000ranlib 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
1003ld: in ../../build/libm2.a, archive has no table of contents for architecture x86_64
1004clang: error: linker command failed with exit code 1 (use -v to see invocation)
1005make[5]: *** [tests/parser_tests] Error 1
1006make[5]: *** Waiting for unfinished jobs....
1007ld: in ../../build/libm2.a, archive has no table of contents for architecture x86_64
1008clang: error: linker command failed with exit code 1 (use -v to see invocation)
1009make[5]: *** [tests/cli_tests] Error 1
1010ar 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
1014ranlib build/libm2.a
1015ranlib: file: build/libm2.a(md2.o) has no symbols
1016ranlib: file: build/libm2.a(md4.o) has no symbols
1017ranlib: 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
1029clang: warning: argument unused during compilation: '-pthread'
1030tests/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    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1033tests/minunit.h:12:40: note: expanded from macro 'mu_assert'
1034#define mu_assert(test, message) if (!(test)) { log_err(message); return message; }
1035                                       ^
1036tests/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    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1039tests/minunit.h:12:40: note: expanded from macro 'mu_assert'
1040#define mu_assert(test, message) if (!(test)) { log_err(message); return message; }
1041                                       ^
1042tests/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    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1045tests/minunit.h:12:40: note: expanded from macro 'mu_assert'
1046#define mu_assert(test, message) if (!(test)) { log_err(message); return message; }
1047                                       ^
1048tests/cache_tests.c:110:1: warning: unused parameter 'argc' [-Wunused-parameter]
1049RUN_TESTS(all_tests);
1050^
1051tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1052#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1053                                          ^
1054tests/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                      ~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~
1057tests/dict_tests.c:53:32: warning: unused parameter 'c' [-Wunused-parameter]
1058static dnode_t *new_node(void *c)
1059                               ^
1060tests/dict_tests.c:64:31: warning: unused parameter 'n' [-Wunused-parameter]
1061static void del_node(dnode_t *n, void *c)
1062                              ^
1063tests/dict_tests.c:64:40: warning: unused parameter 'c' [-Wunused-parameter]
1064static void del_node(dnode_t *n, void *c)
1065                                       ^
1066tests/darray_tests.c:77:1: warning: unused parameter 'argc' [-Wunused-parameter]
1067RUN_TESTS(all_tests);
1068^
1069tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1070#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1071                                          ^
1072tests/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                ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1075tests/handler_parser_tests.c:47:1: warning: unused parameter 'argc' [-Wunused-parameter]
1076RUN_TESTS(all_tests);
1077^
1078tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1079#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1080                                          ^
1081tests/dict_tests.c:316:1: warning: unused parameter 'argc' [-Wunused-parameter]
1082RUN_TESTS(all_tests);
1083^
1084tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1085#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1086                                          ^
1087tests/db_tests.c:117:1: warning: unused parameter 'argc' [-Wunused-parameter]
1088RUN_TESTS(all_tests);
1089^
1090tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1091#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1092                                          ^
1093tests/config_tests.c:83:1: warning: unused parameter 'argc' [-Wunused-parameter]
1094RUN_TESTS(all_tests);
1095^
1096tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1097#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1098                                          ^
1099tests/filter_tests.c:84:1: warning: unused parameter 'argc' [-Wunused-parameter]
1100RUN_TESTS(all_tests);
1101^
1102tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1103#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1104                                          ^
1105tests/connection_tests.c:40:39: warning: unused parameter 'sample_file' [-Wunused-parameter]
1106int test_task_with_sample(const char *sample_file)
1107                                      ^
1108tests/dir_tests.c:92:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
1109tests/connection_tests.c:110:1: warning: unused parameter 'argc' [-Wunused-parameter]
1110RUN_TESTS(all_tests);
1111^
1112tests/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    ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1117src/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                              ^
1120tests/bstr_tests.c:2058:9: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
1121    ofs = ofs;
1122    ~~~ ^ ~~~
1123tests/bstr_tests.c:2073:9: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
1124    ofs = ofs;
1125    ~~~ ^ ~~~
1126tests/dir_tests.c:181:1: warning: unused parameter 'argc' [-Wunused-parameter]
1127RUN_TESTS(all_tests);
1128^
1129tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1130#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1131                                          ^
11321 warning generated.
11331 warning generated.
11342 warnings generated.
11354 warnings generated.
11362 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
11381 warning generated.
11391 warning generated.
1140tests/bstr_tests.c:3738:10: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
1141    argc = argc;
1142    ~~~~ ^ ~~~~
1143tests/bstr_tests.c:3739:10: warning: explicitly assigning a variable of type 'char **' to itself [-Wself-assign]
1144    argv = argv;
1145    ~~~~ ^ ~~~~
11465 warnings generated.
11472 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
1149tests/handler_tests.c:75:1: warning: unused parameter 'argc' [-Wunused-parameter]
1150RUN_TESTS(all_tests);
1151^
1152tests/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
11581 warning generated.
1159tests/hash_tests.c:47:32: warning: unused parameter 'c' [-Wunused-parameter]
1160static hnode_t *new_node(void *c)
1161                               ^
1162tests/hash_tests.c:58:31: warning: unused parameter 'n' [-Wunused-parameter]
1163static void del_node(hnode_t *n, void *c)
1164                              ^
1165tests/hash_tests.c:58:40: warning: unused parameter 'c' [-Wunused-parameter]
1166static void del_node(hnode_t *n, void *c)
1167                                       ^
1168tests/hash_tests.c:199:1: warning: unused parameter 'argc' [-Wunused-parameter]
1169RUN_TESTS(all_tests);
1170^
1171tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1172#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1173                                          ^
1174tests/http11_tests.c:6:29: warning: unused parameter 'data' [-Wunused-parameter]
1175void debug_element_cb(void *data, const char *at, size_t length)
1176                            ^
1177tests/http11_tests.c:6:47: warning: unused parameter 'at' [-Wunused-parameter]
1178void debug_element_cb(void *data, const char *at, size_t length)
1179                                              ^
1180tests/http11_tests.c:6:58: warning: unused parameter 'length' [-Wunused-parameter]
1181void debug_element_cb(void *data, const char *at, size_t length)
1182                                                         ^
1183tests/http11_tests.c:10:27: warning: unused parameter 'data' [-Wunused-parameter]
1184void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen)
1185                          ^
1186tests/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
1188void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen)
1189                                            ^
1190tests/http11_tests.c:10:59: warning: unused parameter 'flen' [-Wunused-parameter]
1191void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen)
1192                                                          ^
1193tests/http11_tests.c:10:77: warning: unused parameter 'value' [-Wunused-parameter]
1194void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen)
1195                                                                            ^
1196tests/http11_tests.c:10:91: warning: unused parameter 'vlen' [-Wunused-parameter]
1197void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen)
1198                                                                                          ^
1199tests/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++) {
1201tests/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               ~ ^ ~~~~~~~~~~~~~~~~~~~
1204tests/host_tests.c:22:1: warning: unused parameter 'argc' [-Wunused-parameter]
1205RUN_TESTS(all_tests);
1206^
1207tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1208#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1209                                          ^
1210tests/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                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1213tests/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               ~ ^ ~~~~~~~~~~~~~~~~~~~
1217tests/httpclient_tests.c:128:1: warning: unused parameter 'argc' [-Wunused-parameter]
1218RUN_TESTS(all_tests);
1219^
1220tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1221#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1222                                          ^
1223tests/http11_tests.c:118:1: warning: unused parameter 'argc' [-Wunused-parameter]
1224RUN_TESTS(all_tests);
1225^
1226tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1227#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1228                                          ^
12291 warning generated.
12304 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
123210 warnings generated.
12333 warnings generated.
1234tests/io_tests.c:170:1: warning: unused parameter 'argc' [-Wunused-parameter]
1235RUN_TESTS(all_tests);
1236^
1237tests/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
1243tests/list_tests.c:166:1: warning: unused parameter 'argc' [-Wunused-parameter]
1244RUN_TESTS(all_tests);
1245^
1246tests/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
1251tests/mime_tests.c:76:1: warning: unused parameter 'argc' [-Wunused-parameter]
1252RUN_TESTS(all_tests);
1253^
1254tests/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
1258tests/pattern_tests.c:196:1: warning: unused parameter 'argc' [-Wunused-parameter]
1259RUN_TESTS(all_tests);
1260^
1261tests/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
1265tests/proxy_tests.c:25:1: warning: unused parameter 'argc' [-Wunused-parameter]
1266RUN_TESTS(all_tests);
1267^
1268tests/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
12721 warning generated.
1273tests/register_tests.c:75:1: warning: unused parameter 'argc' [-Wunused-parameter]
1274RUN_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
1279tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1280#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1281                                          ^
12821 warning generated.
12831 warning generated.
1284tests/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    ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1287src/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                              ^
1290tests/response_tests.c:47:1: warning: unused parameter 'argc' [-Wunused-parameter]
1291RUN_TESTS(all_tests);
1292^
1293tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1294#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1295                                          ^
1296tests/request_tests.c:230:1: warning: unused parameter 'argc' [-Wunused-parameter]
1297RUN_TESTS(all_tests);
1298^
1299tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1300#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1301                                          ^
13021 warning generated.
1303tests/routing_tests.c:225:1: warning: unused parameter 'argc' [-Wunused-parameter]
1304RUN_TESTS(all_tests);
1305^
1306tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1307#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1308                                          ^
13091 warning generated.
13101 warning generated.
13111 warning generated.
13122 warnings generated.
13132 warnings generated.
1314make[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'
1315make[4]: *** [m2sh] Error 2
1316make[4]: *** Waiting for unfinished jobs....
1317tests/server_tests.c:79:1: warning: unused parameter 'argc' [-Wunused-parameter]
1318RUN_TESTS(all_tests);
1319^
1320tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
1321#define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
1322                                          ^
13231 warning generated.
13244 warnings generated.
1325make[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'
1326make[3]: *** [../../build/libm2.a] Error 2
1327make[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'
1328make[2]: *** [m2sh] Error 2
1329make[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'
1330make[1]: *** [../../build/libm2.a] Error 2
1331make[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'
1332make: *** [m2sh] Error 2
1333make: 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'
1334shell 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
1335Error: Target org.macports.build returned: shell command failed (see log for details)
1336Warning: the following items did not execute (for mongrel2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
1337Log for mongrel2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/main.log
1338Error: Status 1 encountered during processing.
1339To report a bug, see <http://guide.macports.org/#project.tickets>