Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---> Computing dependencies for mongrel2.
- ---> Fetching archive for mongrel2
- ---> mongrel2-1.7.5_1.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/mongrel2
- ---> Attempting to fetch mongrel2-1.7.5_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/mongrel2
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- ---> Fetching mongrel2
- ---> Verifying checksum(s) for mongrel2
- ---> Checksumming mongrel2-1.7.5.tar.bz2
- ---> Extracting mongrel2
- ---> Extracting mongrel2-1.7.5.tar.bz2
- ---> Configuring mongrel2
- ---> Building mongrel2
- make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5'
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/bstr/bsafe.c:27:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
- dst = dst;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:28:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
- src = src;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:35:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
- dst = dst;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:36:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
- src = src;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:61:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
- dst = dst;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:62:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
- src = src;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:63:4: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign]
- n = n;
- ~ ^ ~
- src/bstr/bsafe.c:70:5: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
- s1 = s1;
- ~~ ^ ~~
- src/bstr/bsafe.c:71:5: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
- s2 = s2;
- ~~ ^ ~~
- src/adt/dict.c:949:35: warning: unused parameter 'dict_context' [-Wunused-parameter]
- static dnode_t *dnode_alloc(void *context)
- ^
- src/adt/dict.c:56:17: note: expanded from macro 'context'
- #define context dict_context
- ^
- src/adt/dict.c:954:45: warning: unused parameter 'dict_context' [-Wunused-parameter]
- static void dnode_free(dnode_t *node, void *context)
- ^
- src/adt/dict.c:56:17: note: expanded from macro 'context'
- #define context dict_context
- ^
- src/adt/hash.c:748:35: warning: unused parameter 'hash_context' [-Wunused-parameter]
- static hnode_t *hnode_alloc(void *context)
- ^
- src/adt/hash.c:51:17: note: expanded from macro 'context'
- #define context hash_context
- ^
- src/adt/hash.c:753:45: warning: unused parameter 'hash_context' [-Wunused-parameter]
- static void hnode_free(hnode_t *node, void *context)
- ^
- src/adt/hash.c:51:17: note: expanded from macro 'context'
- #define context hash_context
- ^
- 9 warnings generated.
- /usr/bin/clang -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
- src/bstr/bstraux.c:201:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign]
- buff = buff;
- ~~~~ ^ ~~~~
- src/bstr/bstraux.c:202:9: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign]
- elsize = elsize;
- ~~~~~~ ^ ~~~~~~
- src/bstr/bstraux.c:203:8: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign]
- nelem = nelem;
- ~~~~~ ^ ~~~~~
- src/bstr/bstraux.c:204:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign]
- parm = parm;
- ~~~~ ^ ~~~~
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- 2 warnings generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- 2 warnings generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- 4 warnings generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/task/context.c:78:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
- *(int*)0 = 0;
- ^~~~~~~~
- src/task/context.c:78:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
- 1 warning generated.
- /usr/bin/clang -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
- src/task/fd.c:96:19: warning: unused parameter 'v' [-Wunused-parameter]
- void fdtask(void *v)
- ^
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/task/task.c:322:33: warning: unused parameter 'v' [-Wunused-parameter]
- static void taskmainstart(void *v)
- ^
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/control.c:51:41: warning: unused parameter 'hint' [-Wunused-parameter]
- static void cstr_free(void *data, void *hint)
- ^
- src/control.c:188:60: warning: unused parameter 'args' [-Wunused-parameter]
- static tns_value_t *signal_server_cb(bstring name, hash_t *args)
- ^
- src/control.c:212:33: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *version_cb(bstring name, hash_t *args)
- ^
- src/control.c:212:47: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *version_cb(bstring name, hash_t *args)
- ^
- src/control.c:217:30: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *help_cb(bstring name, hash_t *args)
- ^
- src/control.c:217:44: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *help_cb(bstring name, hash_t *args)
- ^
- src/control.c:241:38: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *control_stop_cb(bstring name, hash_t *args)
- ^
- src/control.c:241:52: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *control_stop_cb(bstring name, hash_t *args)
- ^
- src/control.c:248:30: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *kill_cb(bstring name, hash_t *args)
- ^
- src/control.c:275:32: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *status_cb(bstring name, hash_t *args)
- ^
- src/control.c:302:44: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *info_cb(bstring name, hash_t *args)
- ^
- src/control.c:393:25: warning: unused parameter 'v' [-Wunused-parameter]
- void Control_task(void *v)
- ^
- /usr/bin/clang -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
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- src/handler.c:55:41: warning: unused parameter 'hint' [-Wunused-parameter]
- static void cstr_free(void *data, void *hint)
- ^
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/host.c:46:45: warning: unused parameter 'map' [-Wunused-parameter]
- void backend_destroy_cb(Route *r, RouteMap *map)
- ^
- /usr/bin/clang -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
- src/io.c:49:33: warning: unused parameter 'iob' [-Wunused-parameter]
- static ssize_t null_send(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:49:44: warning: unused parameter 'buffer' [-Wunused-parameter]
- static ssize_t null_send(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:54:33: warning: unused parameter 'iob' [-Wunused-parameter]
- static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:54:44: warning: unused parameter 'buffer' [-Wunused-parameter]
- static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:59:40: warning: unused parameter 'iob' [-Wunused-parameter]
- static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
- ^
- src/io.c:59:49: warning: unused parameter 'fd' [-Wunused-parameter]
- static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
- ^
- src/io.c:210:22: warning: unused parameter 'p' [-Wunused-parameter]
- void ssl_debug(void *p, int level, const char *msg) {
- ^
- src/io.c:210:48: warning: unused parameter 'msg' [-Wunused-parameter]
- void ssl_debug(void *p, int level, const char *msg) {
- ^
- src/mime.c:85:47: warning: unused parameter 'data' [-Wunused-parameter]
- void MIME_traverse_destroy(void *value, void *data)
- ^
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/log.c:249:32: warning: unused parameter 'data' [-Wunused-parameter]
- static void free_log_msg(void *data, void *hint)
- ^
- 1 warning generated.
- /usr/bin/clang -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
- src/pattern.c:29:35: warning: unused parameter 'ms' [-Wunused-parameter]
- const char *classend (MatchState *ms, const char *p) {
- ^
- 1 warning generated.
- /usr/bin/clang -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
- 12 warnings generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/request.c:60:38: warning: unused parameter 'notused' [-Wunused-parameter]
- static hnode_t *req_alloc_hash(void *notused)
- ^
- src/request.c:65:48: warning: unused parameter 'notused' [-Wunused-parameter]
- static void req_free_hash(hnode_t *node, void *notused)
- ^
- src/request.c:92:52: warning: unused parameter 'at' [-Wunused-parameter]
- static void header_done_cb(void *data, const char *at, size_t length)
- ^
- src/request.c:92:63: warning: unused parameter 'length' [-Wunused-parameter]
- static void header_done_cb(void *data, const char *at, size_t length)
- ^
- src/setting.c:82:50: warning: unused parameter 'data' [-Wunused-parameter]
- void Setting_traverse_destroy(void *value, void *data)
- ^
- 8 warnings generated.
- /usr/bin/clang -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
- src/server.c:64:42: warning: unused parameter 'map' [-Wunused-parameter]
- void host_destroy_cb(Route *r, RouteMap *map)
- ^
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- 1 warning generated.
- /usr/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
- /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
- sqlite3 tests/config.sqlite < src/config/config.sql
- src/superpoll.c:319:52: warning: unused parameter 'sp' [-Wunused-parameter]
- static inline int SuperPoll_arm_idle_fd(SuperPoll *sp)
- ^
- src/superpoll.c:325:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter]
- static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd)
- ^
- src/superpoll.c:341:54: warning: unused parameter 'sp' [-Wunused-parameter]
- static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
- ^
- src/superpoll.c:341:70: warning: unused parameter 'result' [-Wunused-parameter]
- static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
- ^
- src/tnetstrings.c:169:42: warning: unused parameter 'notused' [-Wunused-parameter]
- void tns_hnode_free(hnode_t *node, void *notused)
- ^
- src/unixy.c:186:14: warning: 'daemon' is deprecated [-Wdeprecated-declarations]
- int rc = daemon(0, 1);
- ^
- src/tnetstrings.c:176:32: warning: unused parameter 'notused' [-Wunused-parameter]
- hnode_t *tns_hnode_alloc(void *notused)
- ^
- sqlite3 tests/config.sqlite < src/config/example.sql
- sqlite3 tests/config.sqlite < src/config/mimetypes.sql
- /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
- make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh'
- /usr/bin/clang -O2 ../lemon/lemon.c -o ../lemon/lemon
- /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
- src/mongrel2.c:168:23: warning: unused parameter 'v' [-Wunused-parameter]
- void tickertask(void *v)
- ^
- /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
- 4 warnings generated.
- /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
- 1 warning generated.
- /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
- /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
- 4 warnings generated.
- /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
- src/commands.c:326:14: warning: incompatible pointer to integer conversion initializing 'long' with an expression of type 'bstring' (aka 'struct tagbstring *');
- long timestamp = ((tns_value_t *)darray_get(entries, 3))->value.string;
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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
- 1 warning generated.
- /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
- /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
- src/parser.c:393:3: warning: unused variable 'state' [-Wunused-variable]
- ParseARG_FETCH;
- ^
- src/parser.c:87:37: note: expanded from macro 'ParseARG_FETCH'
- #define ParseARG_FETCH ParserState *state = yypParser->state
- ^
- 1 warning generated.
- cd ../.. && make clean all
- /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
- make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5'
- rm -rf build bin lib src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/polarssl/aes.o src/polarssl/arc4.o src/polarssl/base64.o src/polarssl/bignum.o src/polarssl/camellia.o src/polarssl/certs.o src/polarssl/debug.o src/polarssl/des.o src/polarssl/dhm.o src/polarssl/havege.o src/polarssl/md2.o src/polarssl/md4.o src/polarssl/md5.o src/polarssl/net.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/sha1.o src/polarssl/sha2.o src/polarssl/sha4.o src/polarssl/ssl_cli.o src/polarssl/ssl_srv.o src/polarssl/ssl_tls.o src/polarssl/timing.o src/polarssl/version.o src/polarssl/x509parse.o src/polarssl/xtea.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/mime.o src/mongrel2.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/state.o src/http11/http11_parser.o src/task/asm.o tests/bstr_tests tests/cache_tests tests/config_tests tests/connection_tests tests/darray_tests tests/db_tests tests/dict_tests tests/dir_tests tests/filter_tests tests/handler_parser_tests tests/handler_tests tests/hash_tests tests/host_tests tests/http11_tests tests/httpclient_tests tests/io_tests tests/list_tests tests/mime_tests tests/pattern_tests tests/proxy_tests tests/register_tests tests/request_tests tests/response_tests tests/routing_tests tests/server_tests tests/setting_tests tests/state_tests tests/superpoll_tests tests/tnetstrings_tests tests/tst_tests tests/unixy_tests tests/config.sqlite
- /usr/bin/clang -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
- rm -f tests/perf.log
- /usr/bin/clang -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
- rm -f tests/test.pid
- rm -f tests/tests.log
- rm -f tests/empty.sqlite
- rm -f tools/lemon/lemon
- rm -f tools/m2sh/tests/tests.log
- find . -name "*.gc*" -exec rm {} \;
- /usr/bin/clang -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
- make -C tools/m2sh OPTLIB= clean
- /usr/bin/clang -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
- make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh'
- rm -rf src/*.o build tests/*_tests tests/*.o
- make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh'
- make -C tools/filters OPTLIB= clean
- make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/filters'
- rm -f *.so
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/filters'
- make -C tests/filters OPTLIB= clean
- make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tests/filters'
- rm -f *.so
- make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tests/filters'
- make -C tools/config_modules OPTLIB= clean
- 2 warningsmake[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/config_modules'
- rm -f *.so
- generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/config_modules'
- /usr/bin/clang -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
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- mkdir -p build
- /usr/bin/clang -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
- ar rcs build/libm2sh.a src/ast.o src/cli.o src/commands.o src/config_file.o src/constants.o src/lexer.o src/linenoise.o src/parser.o src/token.o
- ar: src/ast.o: No such file or directory
- ar: src/cli.o: No such file or directory
- ar: src/commands.o: No such file or directory
- ar: src/config_file.o: No such file or directory
- ar: src/constants.o: No such file or directory
- ar: src/lexer.o: No such file or directory
- ar: src/linenoise.o: No such file or directory
- ar: src/parser.o: No such file or directory
- ar: src/token.o: No such file or directory
- make[1]: *** [build/libm2sh.a] Error 1
- make[1]: *** Waiting for unfinished jobs....
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/task/context.c:78:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
- *(int*)0 = 0;
- ^~~~~~~~
- src/task/context.c:78:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
- /usr/bin/clang -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
- 1 warning generated.
- ar rcs build/libm2.a src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/polarssl/aes.o src/polarssl/arc4.o src/polarssl/base64.o src/polarssl/bignum.o src/polarssl/camellia.o src/polarssl/certs.o src/polarssl/debug.o src/polarssl/des.o src/polarssl/dhm.o src/polarssl/havege.o src/polarssl/md2.o src/polarssl/md4.o src/polarssl/md5.o src/polarssl/net.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/sha1.o src/polarssl/sha2.o src/polarssl/sha4.o src/polarssl/ssl_cli.o src/polarssl/ssl_srv.o src/polarssl/ssl_tls.o src/polarssl/timing.o src/polarssl/version.o src/polarssl/x509parse.o src/polarssl/xtea.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/mime.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/state.o src/http11/http11_parser.o src/task/asm.o
- /usr/bin/clang -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
- ar: build/libm2.a: No such file or directory
- make: *** [build/libm2.a] Error 1
- make: *** Waiting for unfinished jobs....
- /usr/bin/clang -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
- src/task/fd.c:96:19: warning: unused parameter 'v' [-Wunused-parameter]
- void fdtask(void *v)
- ^
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/task/task.c:322:33: warning: unused parameter 'v' [-Wunused-parameter]
- static void taskmainstart(void *v)
- ^
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/control.c:51:41: warning: unused parameter 'hint' [-Wunused-parameter]
- static void cstr_free(void *data, void *hint)
- ^
- src/control.c:188:60: warning: unused parameter 'args' [-Wunused-parameter]
- static tns_value_t *signal_server_cb(bstring name, hash_t *args)
- ^
- src/control.c:212:33: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *version_cb(bstring name, hash_t *args)
- ^
- src/control.c:212:47: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *version_cb(bstring name, hash_t *args)
- ^
- src/control.c:217:30: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *help_cb(bstring name, hash_t *args)
- ^
- src/control.c:217:44: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *help_cb(bstring name, hash_t *args)
- ^
- src/control.c:241:38: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *control_stop_cb(bstring name, hash_t *args)
- ^
- src/control.c:241:52: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *control_stop_cb(bstring name, hash_t *args)
- ^
- src/control.c:248:30: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *kill_cb(bstring name, hash_t *args)
- ^
- src/control.c:275:32: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *status_cb(bstring name, hash_t *args)
- ^
- src/control.c:302:44: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *info_cb(bstring name, hash_t *args)
- ^
- src/control.c:393:25: warning: unused parameter 'v' [-Wunused-parameter]
- void Control_task(void *v)
- ^
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/handler.c:55:41: warning: unused parameter 'hint' [-Wunused-parameter]
- static void cstr_free(void *data, void *hint)
- ^
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/io.c:49:33: warning: unused parameter 'iob' [-Wunused-parameter]
- static ssize_t null_send(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:49:44: warning: unused parameter 'buffer' [-Wunused-parameter]
- static ssize_t null_send(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:54:33: warning: unused parameter 'iob' [-Wunused-parameter]
- static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:54:44: warning: unused parameter 'buffer' [-Wunused-parameter]
- static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:59:40: warning: unused parameter 'iob' [-Wunused-parameter]
- static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
- ^
- src/io.c:59:49: warning: unused parameter 'fd' [-Wunused-parameter]
- static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
- ^
- src/io.c:210:22: warning: unused parameter 'p' [-Wunused-parameter]
- void ssl_debug(void *p, int level, const char *msg) {
- ^
- src/io.c:210:48: warning: unused parameter 'msg' [-Wunused-parameter]
- void ssl_debug(void *p, int level, const char *msg) {
- ^
- src/host.c:46:45: warning: unused parameter 'map' [-Wunused-parameter]
- void backend_destroy_cb(Route *r, RouteMap *map)
- ^
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- src/log.c:249:32: warning: unused parameter 'data' [-Wunused-parameter]
- static void free_log_msg(void *data, void *hint)
- ^
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- 1 warning generated.
- 12 warnings generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/mime.c:85:47: warning: unused parameter 'data' [-Wunused-parameter]
- void MIME_traverse_destroy(void *value, void *data)
- ^
- src/pattern.c:29:35: warning: unused parameter 'ms' [-Wunused-parameter]
- const char *classend (MatchState *ms, const char *p) {
- ^
- 1 warning generated.
- /usr/bin/clang -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
- src/request.c:60:38: warning: unused parameter 'notused' [-Wunused-parameter]
- static hnode_t *req_alloc_hash(void *notused)
- ^
- src/request.c:65:48: warning: unused parameter 'notused' [-Wunused-parameter]
- static void req_free_hash(hnode_t *node, void *notused)
- ^
- src/request.c:92:52: warning: unused parameter 'at' [-Wunused-parameter]
- static void header_done_cb(void *data, const char *at, size_t length)
- ^
- src/request.c:92:63: warning: unused parameter 'length' [-Wunused-parameter]
- static void header_done_cb(void *data, const char *at, size_t length)
- ^
- 8 warnings generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- src/server.c:64:42: warning: unused parameter 'map' [-Wunused-parameter]
- void host_destroy_cb(Route *r, RouteMap *map)
- ^
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/setting.c:82:50: warning: unused parameter 'data' [-Wunused-parameter]
- void Setting_traverse_destroy(void *value, void *data)
- ^
- 1 warning generated.
- /usr/bin/clang -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
- /usr/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
- 1 warning generated.
- /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
- src/superpoll.c:319:52: warning: unused parameter 'sp' [-Wunused-parameter]
- static inline int SuperPoll_arm_idle_fd(SuperPoll *sp)
- ^
- src/superpoll.c:325:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter]
- static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd)
- ^
- src/superpoll.c:341:54: warning: unused parameter 'sp' [-Wunused-parameter]
- static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
- ^
- src/superpoll.c:341:70: warning: unused parameter 'result' [-Wunused-parameter]
- static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
- ^
- src/tnetstrings.c:169:42: warning: unused parameter 'notused' [-Wunused-parameter]
- void tns_hnode_free(hnode_t *node, void *notused)
- ^
- src/tnetstrings.c:176:32: warning: unused parameter 'notused' [-Wunused-parameter]
- hnode_t *tns_hnode_alloc(void *notused)
- ^
- sqlite3 tests/config.sqlite < src/config/config.sql
- 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
- src/unixy.c:186:14: warning: 'daemon' is deprecated [-Wdeprecated-declarations]
- int rc = daemon(0, 1);
- ^
- make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh'
- /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
- /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
- sqlite3 tests/config.sqlite < src/config/example.sql
- 4 warnings generated.
- 4 warnings generated.
- /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
- sqlite3 tests/config.sqlite < src/config/mimetypes.sql
- /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
- src/mongrel2.c:168:23: warning: unused parameter 'v' [-Wunused-parameter]
- void tickertask(void *v)
- ^
- 1 warning generated.
- /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
- /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
- /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
- /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
- src/commands.c:326:14: warning: incompatible pointer to integer conversion initializing 'long' with an expression of type 'bstring' (aka 'struct tagbstring *');
- 1 warning generated.
- long timestamp = ((tns_value_t *)darray_get(entries, 3))->value.string;
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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
- cd ../.. && make clean all
- /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
- make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5'
- rm -rf build bin lib src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/polarssl/aes.o src/polarssl/arc4.o src/polarssl/base64.o src/polarssl/bignum.o src/polarssl/camellia.o src/polarssl/certs.o src/polarssl/debug.o src/polarssl/des.o src/polarssl/dhm.o src/polarssl/havege.o src/polarssl/md2.o src/polarssl/md4.o src/polarssl/md5.o src/polarssl/net.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/sha1.o src/polarssl/sha2.o src/polarssl/sha4.o src/polarssl/ssl_cli.o src/polarssl/ssl_srv.o src/polarssl/ssl_tls.o src/polarssl/timing.o src/polarssl/version.o src/polarssl/x509parse.o src/polarssl/xtea.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/mime.o src/mongrel2.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/state.o src/http11/http11_parser.o src/task/asm.o tests/bstr_tests tests/cache_tests tests/config_tests tests/connection_tests tests/darray_tests tests/db_tests tests/dict_tests tests/dir_tests tests/filter_tests tests/handler_parser_tests tests/handler_tests tests/hash_tests tests/host_tests tests/http11_tests tests/httpclient_tests tests/io_tests tests/list_tests tests/mime_tests tests/pattern_tests tests/proxy_tests tests/register_tests tests/request_tests tests/response_tests tests/routing_tests tests/server_tests tests/setting_tests tests/state_tests tests/superpoll_tests tests/tnetstrings_tests tests/tst_tests tests/unixy_tests tests/config.sqlite
- src/parser.c:393:3: warning: unused variable 'state' [-Wunused-variable]
- ParseARG_FETCH;
- ^
- src/parser.c:87:37: note: expanded from macro 'ParseARG_FETCH'
- #define ParseARG_FETCH ParserState *state = yypParser->state
- ^
- rm -f tests/perf.log
- rm -f tests/test.pid
- rm -f tests/tests.log
- /usr/bin/clang -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
- rm -f tests/empty.sqlite
- rm -f tools/lemon/lemon
- rm -f tools/m2sh/tests/tests.log
- find . -name "*.gc*" -exec rm {} \;
- make -C tools/m2sh OPTLIB= clean
- /usr/bin/clang -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
- make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh'
- rm -rf src/*.o build tests/*_tests tests/*.o
- 1 warning generated.
- make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh'
- make -C tools/filters OPTLIB= clean
- /usr/bin/clang -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
- make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/filters'
- rm -f *.so
- make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/filters'
- make -C tests/filters OPTLIB= clean
- /usr/bin/clang -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
- make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tests/filters'
- rm -f *.so
- make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tests/filters'
- make -C tools/config_modules OPTLIB= clean
- make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/config_modules'
- rm -f *.so
- src/adt/dict.c:949:35: warning: unused parameter 'dict_context' [-Wunused-parameter]
- static dnode_t *dnode_alloc(void *context)
- ^
- src/adt/dict.c:56:17: note: expanded from macro 'context'
- #define context dict_context
- ^
- src/adt/dict.c:954:45: warning: unused parameter 'dict_context' [-Wunused-parameter]
- static void dnode_free(dnode_t *node, void *context)
- ^
- src/adt/dict.c:56:17: note: expanded from macro 'context'
- #define context dict_context
- ^
- /usr/bin/clang -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
- make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/config_modules'
- /usr/bin/clang -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
- src/adt/hash.c:748:35: warning: unused parameter 'hash_context' [-Wunused-parameter]
- static hnode_t *hnode_alloc(void *context)
- ^
- src/adt/hash.c:51:17: note: expanded from macro 'context'
- #define context hash_context
- ^
- src/adt/hash.c:753:45: warning: unused parameter 'hash_context' [-Wunused-parameter]
- static void hnode_free(hnode_t *node, void *context)
- ^
- src/adt/hash.c:51:17: note: expanded from macro 'context'
- #define context hash_context
- ^
- 2 warnings generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/bstr/bsafe.c:27:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
- dst = dst;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:28:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
- src = src;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:35:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
- dst = dst;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:36:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
- src = src;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:61:6: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
- dst = dst;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:62:6: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
- src = src;
- ~~~ ^ ~~~
- src/bstr/bsafe.c:63:4: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign]
- n = n;
- ~ ^ ~
- src/bstr/bsafe.c:70:5: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign]
- s1 = s1;
- ~~ ^ ~~
- src/bstr/bsafe.c:71:5: warning: explicitly assigning a variable of type 'const char *' to itself [-Wself-assign]
- s2 = s2;
- ~~ ^ ~~
- 9 warnings generated.
- /usr/bin/clang -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
- src/bstr/bstraux.c:201:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign]
- buff = buff;
- ~~~~ ^ ~~~~
- src/bstr/bstraux.c:202:9: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign]
- elsize = elsize;
- ~~~~~~ ^ ~~~~~~
- src/bstr/bstraux.c:203:8: warning: explicitly assigning a variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign]
- nelem = nelem;
- ~~~~~ ^ ~~~~~
- src/bstr/bstraux.c:204:7: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign]
- parm = parm;
- ~~~~ ^ ~~~~
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- 2 warnings generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- 2 warnings generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- 4 warnings generated.
- /usr/bin/clang -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
- 1 warning generated.
- mkdir -p build
- /usr/bin/clang -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
- /usr/bin/clang -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
- ar rcs build/libm2sh.a src/ast.o src/cli.o src/commands.o src/config_file.o src/constants.o src/lexer.o src/linenoise.o src/parser.o src/token.o
- ar: src/ast.o: No such file or directory
- ar: src/cli.o: No such file or directory
- ar: src/commands.o: No such file or directory
- ar: src/config_file.o: No such file or directory
- ar: src/constants.o: No such file or directory
- ar: src/lexer.o: No such file or directory
- ar: src/linenoise.o: No such file or directory
- ar: src/parser.o: No such file or directory
- ar: src/token.o: No such file or directory
- make[3]: *** [build/libm2sh.a] Error 1
- make[3]: *** Waiting for unfinished jobs....
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- ar rcs build/libm2.a src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/polarssl/aes.o src/polarssl/arc4.o src/polarssl/base64.o src/polarssl/bignum.o src/polarssl/camellia.o src/polarssl/certs.o src/polarssl/debug.o src/polarssl/des.o src/polarssl/dhm.o src/polarssl/havege.o src/polarssl/md2.o src/polarssl/md4.o src/polarssl/md5.o src/polarssl/net.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/sha1.o src/polarssl/sha2.o src/polarssl/sha4.o src/polarssl/ssl_cli.o src/polarssl/ssl_srv.o src/polarssl/ssl_tls.o src/polarssl/timing.o src/polarssl/version.o src/polarssl/x509parse.o src/polarssl/xtea.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/mime.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/state.o src/http11/http11_parser.o src/task/asm.o
- ar: src/polarssl/version.o: No such file or directory
- ar: src/polarssl/x509parse.o: No such file or directory
- ar: src/polarssl/xtea.o: No such file or directory
- ar: src/task/context.o: No such file or directory
- ar: src/task/fd.o: No such file or directory
- ar: src/task/net.o: No such file or directory
- ar: src/task/qlock.o: No such file or directory
- ar: src/task/rendez.o: No such file or directory
- ar: src/task/task.o: No such file or directory
- ar: src/bsd_specific.o: No such file or directory
- ar: src/cache.o: No such file or directory
- ar: src/connection.o: No such file or directory
- ar: src/control.o: No such file or directory
- ar: src/dbg.o: No such file or directory
- ar: src/dir.o: No such file or directory
- ar: src/filter.o: No such file or directory
- ar: src/handler.o: No such file or directory
- ar: src/handler_parser.o: No such file or directory
- ar: src/headers.o: No such file or directory
- ar: src/host.o: No such file or directory
- ar: src/io.o: No such file or directory
- ar: src/log.o: No such file or directory
- ar: src/mime.o: No such file or directory
- ar: src/pattern.o: No such file or directory
- ar: src/proxy.o: No such file or directory
- ar: src/register.o: No such file or directory
- ar: src/request.o: No such file or directory
- ar: src/response.o: No such file or directory
- ar: src/routing.o: No such file or directory
- ar: src/server.o: No such file or directory
- ar: src/setting.o: No such file or directory
- ar: src/state.o: No such file or directory
- ar: src/superpoll.o: No such file or directory
- ar: src/tnetstrings.o: No such file or directory
- ar: src/unixy.o: No such file or directory
- ar: src/upload.o: No such file or directory
- ar: src/state.o: No such file or directory
- ar: src/task/asm.o: No such file or directory
- make[2]: *** [build/libm2.a] Error 1
- make[2]: *** Waiting for unfinished jobs....
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/task/context.c:78:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
- *(int*)0 = 0;
- ^~~~~~~~
- src/task/context.c:78:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/task/fd.c:96:19: warning: unused parameter 'v' [-Wunused-parameter]
- void fdtask(void *v)
- ^
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/task/task.c:322:33: warning: unused parameter 'v' [-Wunused-parameter]
- static void taskmainstart(void *v)
- ^
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/control.c:51:41: warning: unused parameter 'hint' [-Wunused-parameter]
- static void cstr_free(void *data, void *hint)
- ^
- src/control.c:188:60: warning: unused parameter 'args' [-Wunused-parameter]
- static tns_value_t *signal_server_cb(bstring name, hash_t *args)
- ^
- src/control.c:212:33: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *version_cb(bstring name, hash_t *args)
- ^
- src/control.c:212:47: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *version_cb(bstring name, hash_t *args)
- ^
- src/control.c:217:30: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *help_cb(bstring name, hash_t *args)
- ^
- src/control.c:217:44: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *help_cb(bstring name, hash_t *args)
- ^
- src/control.c:241:38: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *control_stop_cb(bstring name, hash_t *args)
- /usr/bin/clang -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
- ^
- src/control.c:241:52: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *control_stop_cb(bstring name, hash_t *args)
- ^
- src/control.c:248:30: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *kill_cb(bstring name, hash_t *args)
- ^
- src/control.c:275:32: warning: unused parameter 'name' [-Wunused-parameter]
- tns_value_t *status_cb(bstring name, hash_t *args)
- ^
- src/control.c:302:44: warning: unused parameter 'args' [-Wunused-parameter]
- tns_value_t *info_cb(bstring name, hash_t *args)
- ^
- src/control.c:393:25: warning: unused parameter 'v' [-Wunused-parameter]
- void Control_task(void *v)
- ^
- src/handler.c:55:41: warning: unused parameter 'hint' [-Wunused-parameter]
- static void cstr_free(void *data, void *hint)
- ^
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/io.c:49:33: warning: unused parameter 'iob' [-Wunused-parameter]
- static ssize_t null_send(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:49:44: warning: unused parameter 'buffer' [-Wunused-parameter]
- static ssize_t null_send(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:54:33: warning: unused parameter 'iob' [-Wunused-parameter]
- static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:54:44: warning: unused parameter 'buffer' [-Wunused-parameter]
- static ssize_t null_recv(IOBuf *iob, char *buffer, int len)
- ^
- src/io.c:59:40: warning: unused parameter 'iob' [-Wunused-parameter]
- static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
- ^
- src/io.c:59:49: warning: unused parameter 'fd' [-Wunused-parameter]
- static ssize_t null_stream_file(IOBuf *iob, int fd, off_t len)
- ^
- /usr/bin/clang -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
- src/io.c:210:22: warning: unused parameter 'p' [-Wunused-parameter]
- void ssl_debug(void *p, int level, const char *msg) {
- ^
- src/io.c:210:48: warning: unused parameter 'msg' [-Wunused-parameter]
- void ssl_debug(void *p, int level, const char *msg) {
- ^
- src/host.c:46:45: warning: unused parameter 'map' [-Wunused-parameter]
- void backend_destroy_cb(Route *r, RouteMap *map)
- ^
- /usr/bin/clang -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
- src/log.c:249:32: warning: unused parameter 'data' [-Wunused-parameter]
- static void free_log_msg(void *data, void *hint)
- ^
- src/mime.c:85:47: warning: unused parameter 'data' [-Wunused-parameter]
- void MIME_traverse_destroy(void *value, void *data)
- ^
- 1 warning generated.
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- src/pattern.c:29:35: warning: unused parameter 'ms' [-Wunused-parameter]
- const char *classend (MatchState *ms, const char *p) {
- ^
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- 12 warnings generated.
- /usr/bin/clang -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
- /usr/bin/clang -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
- src/request.c:60:38: warning: unused parameter 'notused' [-Wunused-parameter]
- static hnode_t *req_alloc_hash(void *notused)
- ^
- src/request.c:65:48: warning: unused parameter 'notused' [-Wunused-parameter]
- static void req_free_hash(hnode_t *node, void *notused)
- ^
- src/request.c:92:52: warning: unused parameter 'at' [-Wunused-parameter]
- static void header_done_cb(void *data, const char *at, size_t length)
- ^
- src/request.c:92:63: warning: unused parameter 'length' [-Wunused-parameter]
- static void header_done_cb(void *data, const char *at, size_t length)
- ^
- 8 warnings generated.
- /usr/bin/clang -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
- 1 warning generated.
- src/server.c:64:42: warning: unused parameter 'map' [-Wunused-parameter]
- void host_destroy_cb(Route *r, RouteMap *map)
- ^
- /usr/bin/clang -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
- src/setting.c:82:50: warning: unused parameter 'data' [-Wunused-parameter]
- void Setting_traverse_destroy(void *value, void *data)
- ^
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- 1 warning generated.
- /usr/bin/clang -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
- /usr/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
- src/superpoll.c:319:52: warning: unused parameter 'sp' [-Wunused-parameter]
- static inline int SuperPoll_arm_idle_fd(SuperPoll *sp)
- ^
- src/superpoll.c:325:59: warning: unused parameter 'total_open_fd' [-Wunused-parameter]
- static inline int SuperPoll_setup_idle(SuperPoll *sp, int total_open_fd)
- ^
- src/superpoll.c:341:54: warning: unused parameter 'sp' [-Wunused-parameter]
- static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
- ^
- src/superpoll.c:341:70: warning: unused parameter 'result' [-Wunused-parameter]
- static inline int SuperPoll_add_idle_hits(SuperPoll *sp, PollResult *result)
- ^
- src/tnetstrings.c:169:42: warning: unused parameter 'notused' [-Wunused-parameter]
- void tns_hnode_free(hnode_t *node, void *notused)
- ^
- src/tnetstrings.c:176:32: warning: unused parameter 'notused' [-Wunused-parameter]
- hnode_t *tns_hnode_alloc(void *notused)
- ^
- /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
- sqlite3 tests/config.sqlite < src/config/config.sql
- src/unixy.c:186:14: warning: 'daemon' is deprecated [-Wdeprecated-declarations]
- int rc = daemon(0, 1);
- ^
- sqlite3 tests/config.sqlite < src/config/example.sql
- 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
- sqlite3 tests/config.sqlite < src/config/mimetypes.sql
- make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh'
- /usr/bin/clang -O2 ../lemon/lemon.c -o ../lemon/lemon
- 4 warnings generated.
- /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
- /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
- src/mongrel2.c:168:23: warning: unused parameter 'v' [-Wunused-parameter]
- void tickertask(void *v)
- ^
- /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
- 1 warning generated.
- 4 warnings generated.
- /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
- /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
- /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
- 1 warning generated.
- /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
- /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
- src/commands.c:326:14: warning: incompatible pointer to integer conversion initializing 'long' with an expression of type 'bstring' (aka 'struct tagbstring *');
- long timestamp = ((tns_value_t *)darray_get(entries, 3))->value.string;
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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
- src/parser.c:393:3: warning: unused variable 'state' [-Wunused-variable]
- ParseARG_FETCH;
- ^
- src/parser.c:87:37: note: expanded from macro 'ParseARG_FETCH'
- #define ParseARG_FETCH ParserState *state = yypParser->state
- ^
- /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
- 1 warning generated.
- 2 warnings generated.
- 1 warning generated.
- 1 warning generated.
- mkdir -p build
- ar rcs build/libm2sh.a src/ast.o src/cli.o src/commands.o src/config_file.o src/constants.o src/lexer.o src/linenoise.o src/parser.o src/token.o
- ranlib build/libm2sh.a
- /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
- /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
- ld: in ../../build/libm2.a, archive has no table of contents for architecture x86_64
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- make[5]: *** [tests/parser_tests] Error 1
- make[5]: *** Waiting for unfinished jobs....
- ld: in ../../build/libm2.a, archive has no table of contents for architecture x86_64
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- make[5]: *** [tests/cli_tests] Error 1
- ar rcs build/libm2.a src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/tst.o src/bstr/bsafe.o src/bstr/bstraux.o src/bstr/bstrlib.o src/config/config.o src/config/db.o src/config/module.o src/http11/http11_parser.o src/http11/httpclient_parser.o src/mem/halloc.o src/polarssl/aes.o src/polarssl/arc4.o src/polarssl/base64.o src/polarssl/bignum.o src/polarssl/camellia.o src/polarssl/certs.o src/polarssl/debug.o src/polarssl/des.o src/polarssl/dhm.o src/polarssl/havege.o src/polarssl/md2.o src/polarssl/md4.o src/polarssl/md5.o src/polarssl/net.o src/polarssl/padlock.o src/polarssl/rsa.o src/polarssl/sha1.o src/polarssl/sha2.o src/polarssl/sha4.o src/polarssl/ssl_cli.o src/polarssl/ssl_srv.o src/polarssl/ssl_tls.o src/polarssl/timing.o src/polarssl/version.o src/polarssl/x509parse.o src/polarssl/xtea.o src/task/context.o src/task/fd.o src/task/net.o src/task/qlock.o src/task/rendez.o src/task/task.o src/bsd_specific.o src/cache.o src/connection.o src/control.o src/dbg.o src/dir.o src/filter.o src/handler.o src/handler_parser.o src/headers.o src/host.o src/io.o src/log.o src/mime.o src/pattern.o src/proxy.o src/register.o src/request.o src/response.o src/routing.o src/server.o src/setting.o src/state.o src/superpoll.o src/tnetstrings.o src/unixy.o src/upload.o src/state.o src/http11/http11_parser.o src/task/asm.o
- /usr/bin/ranlib: file: build/libm2.a(md2.o) has no symbols
- /usr/bin/ranlib: file: build/libm2.a(md4.o) has no symbols
- /usr/bin/ranlib: file: build/libm2.a(padlock.o) has no symbols
- ranlib build/libm2.a
- ranlib: file: build/libm2.a(md2.o) has no symbols
- ranlib: file: build/libm2.a(md4.o) has no symbols
- ranlib: file: build/libm2.a(padlock.o) has no symbols
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- clang: warning: argument unused during compilation: '-pthread'
- tests/darray_tests.c:39:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
- mu_assert(array->max == old_max + array->expand_rate, "Wrong size after expand.");
- ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- tests/minunit.h:12:40: note: expanded from macro 'mu_assert'
- #define mu_assert(test, message) if (!(test)) { log_err(message); return message; }
- ^
- tests/darray_tests.c:42:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
- mu_assert(array->max == array->expand_rate + 1, "Should stay at the expand_rate at least.");
- ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- tests/minunit.h:12:40: note: expanded from macro 'mu_assert'
- #define mu_assert(test, message) if (!(test)) { log_err(message); return message; }
- ^
- tests/darray_tests.c:45:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
- mu_assert(array->max == array->expand_rate + 1, "Should stay at the expand_rate at least.");
- ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- tests/minunit.h:12:40: note: expanded from macro 'mu_assert'
- #define mu_assert(test, message) if (!(test)) { log_err(message); return message; }
- ^
- tests/cache_tests.c:110:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/handler_parser_tests.c:15:36: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
- return rc == 1 && target_count == parser->target_count;
- ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
- tests/dict_tests.c:53:32: warning: unused parameter 'c' [-Wunused-parameter]
- static dnode_t *new_node(void *c)
- ^
- tests/dict_tests.c:64:31: warning: unused parameter 'n' [-Wunused-parameter]
- static void del_node(dnode_t *n, void *c)
- ^
- tests/dict_tests.c:64:40: warning: unused parameter 'c' [-Wunused-parameter]
- static void del_node(dnode_t *n, void *c)
- ^
- tests/darray_tests.c:77:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/dict_tests.c:164:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
- for (i = 0; i < sizeof darray / sizeof *darray; i++)
- ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- tests/handler_parser_tests.c:47:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/dict_tests.c:316:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/db_tests.c:117:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/config_tests.c:83:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/filter_tests.c:84:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/connection_tests.c:40:39: warning: unused parameter 'sample_file' [-Wunused-parameter]
- int test_task_with_sample(const char *sample_file)
- ^
- tests/dir_tests.c:92:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
- tests/connection_tests.c:110:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- check(nparsed == blength(rp), "Failed to parse all of request.");
- ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/dbg.h:70:31: note: expanded from macro 'check'
- #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; }
- ^
- tests/bstr_tests.c:2058:9: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
- ofs = ofs;
- ~~~ ^ ~~~
- tests/bstr_tests.c:2073:9: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
- ofs = ofs;
- ~~~ ^ ~~~
- tests/dir_tests.c:181:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- 1 warning generated.
- 1 warning generated.
- 2 warnings generated.
- 4 warnings generated.
- 2 warnings generated.
- /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
- 1 warning generated.
- 1 warning generated.
- tests/bstr_tests.c:3738:10: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
- argc = argc;
- ~~~~ ^ ~~~~
- tests/bstr_tests.c:3739:10: warning: explicitly assigning a variable of type 'char **' to itself [-Wself-assign]
- argv = argv;
- ~~~~ ^ ~~~~
- 5 warnings generated.
- 2 warnings generated.
- /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
- tests/handler_tests.c:75:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- /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
- /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
- /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
- 1 warning generated.
- tests/hash_tests.c:47:32: warning: unused parameter 'c' [-Wunused-parameter]
- static hnode_t *new_node(void *c)
- ^
- tests/hash_tests.c:58:31: warning: unused parameter 'n' [-Wunused-parameter]
- static void del_node(hnode_t *n, void *c)
- ^
- tests/hash_tests.c:58:40: warning: unused parameter 'c' [-Wunused-parameter]
- static void del_node(hnode_t *n, void *c)
- ^
- tests/hash_tests.c:199:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/http11_tests.c:6:29: warning: unused parameter 'data' [-Wunused-parameter]
- void debug_element_cb(void *data, const char *at, size_t length)
- ^
- tests/http11_tests.c:6:47: warning: unused parameter 'at' [-Wunused-parameter]
- void debug_element_cb(void *data, const char *at, size_t length)
- ^
- tests/http11_tests.c:6:58: warning: unused parameter 'length' [-Wunused-parameter]
- void debug_element_cb(void *data, const char *at, size_t length)
- ^
- tests/http11_tests.c:10:27: warning: unused parameter 'data' [-Wunused-parameter]
- void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen)
- ^
- tests/http11_tests.c:10:45: warning: unused parameter 'field' [-Wunused-parameter]
- /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
- void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen)
- ^
- tests/http11_tests.c:10:59: warning: unused parameter 'flen' [-Wunused-parameter]
- void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen)
- ^
- tests/http11_tests.c:10:77: warning: unused parameter 'value' [-Wunused-parameter]
- void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen)
- ^
- tests/http11_tests.c:10:91: warning: unused parameter 'vlen' [-Wunused-parameter]
- void debug_field_cb(void *data, const char *field, size_t flen, const char *value, size_t vlen)
- ^
- tests/http11_tests.c:61:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
- for(i = 0; i < test_files.gl_pathc; i++) {
- tests/httpclient_tests.c:69:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
- for(i = 0; i < test_files.gl_pathc; i++) {
- ~ ^ ~~~~~~~~~~~~~~~~~~~
- tests/host_tests.c:22:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/httpclient_tests.c:99:40: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
- mu_assert(p.body_start > start, "Didn't go past start.");
- ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- tests/minunit.h:12:40: note: expanded from macro 'mu_assert'
- #define mu_assert(test, message) if (!(test)) { log_err(message); return message; }
- ^
- ~ ^ ~~~~~~~~~~~~~~~~~~~
- tests/httpclient_tests.c:128:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/http11_tests.c:118:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- 1 warning generated.
- 4 warnings generated.
- /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
- 10 warnings generated.
- 3 warnings generated.
- tests/io_tests.c:170:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- /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
- /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
- /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
- tests/list_tests.c:166:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- /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
- /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
- tests/mime_tests.c:76:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- /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
- tests/pattern_tests.c:196:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- /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
- tests/proxy_tests.c:25:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- /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
- 1 warning generated.
- tests/register_tests.c:75:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^tests/request_tests.c:23:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
- for(i = 0; i < test_files.gl_pathc; i++) {
- ~ ^ ~~~~~~~~~~~~~~~~~~~
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- 1 warning generated.
- 1 warning generated.
- tests/routing_tests.c:13:29: warning: comparison of integers of different signs: 'listcount_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
- check(list_count(found) == expected_count, "Didn't find right number of routes: got %d, expected %d.",
- ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/dbg.h:70:31: note: expanded from macro 'check'
- #define check(A, M, ...) if(!(A)) { log_err(M, ##__VA_ARGS__); errno=0; goto error; }
- ^
- tests/response_tests.c:47:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- tests/request_tests.c:230:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- 1 warning generated.
- tests/routing_tests.c:225:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- 1 warning generated.
- 1 warning generated.
- 1 warning generated.
- 2 warnings generated.
- 2 warnings generated.
- make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh'
- make[4]: *** [m2sh] Error 2
- make[4]: *** Waiting for unfinished jobs....
- tests/server_tests.c:79:1: warning: unused parameter 'argc' [-Wunused-parameter]
- RUN_TESTS(all_tests);
- ^
- tests/minunit.h:15:43: note: expanded from macro 'RUN_TESTS'
- #define RUN_TESTS(name) void taskmain(int argc, char *argv[]) {\
- ^
- 1 warning generated.
- 4 warnings generated.
- make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5'
- make[3]: *** [../../build/libm2.a] Error 2
- make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh'
- make[2]: *** [m2sh] Error 2
- make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5'
- make[1]: *** [../../build/libm2.a] Error 2
- make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5/tools/m2sh'
- make: *** [m2sh] Error 2
- make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5'
- shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/work/mongrel2-1.7.5" && /usr/bin/make -j12 -w all PREFIX=/opt/local CC=/usr/bin/clang OPTFLAGS="-O2 -I/opt/local/include -arch x86_64" OPTLIBS="-L/opt/local/lib -L/opt/local/lib -arch x86_64" " returned error 2
- Error: Target org.macports.build returned: shell command failed (see log for details)
- Warning: the following items did not execute (for mongrel2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
- Log for mongrel2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mongrel2/mongrel2/main.log
- Error: Status 1 encountered during processing.
- To report a bug, see <http://guide.macports.org/#project.tickets>
Add Comment
Please, Sign In to add comment