Skip to content

Instantly share code, notes, and snippets.

@ilovezfs
Last active July 25, 2018 14:09
Show Gist options
  • Save ilovezfs/cef882b73213f0386e76acc9fd924fbb to your computer and use it in GitHub Desktop.
Save ilovezfs/cef882b73213f0386e76acc9fd924fbb to your computer and use it in GitHub Desktop.
iMac-TMP:~ joe$ brew install -dvs mongrel2 --HEAD
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mongrel2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mbedtls.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/zeromq.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/asciidoc.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/docbook-xsl.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/docbook.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xmlto.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gnu-getopt.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gettext.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libpgm.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libsodium.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/norm.rb
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180725-25239-zfevg5.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/cask/lib:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mongrel2.rb --verbose --debug --HEAD
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mongrel2.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mbedtls.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/zeromq.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/asciidoc.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/autoconf.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/docbook-xsl.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/docbook.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/xmlto.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gnu-getopt.rb
/usr/local/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gettext.rb
==> Cloning https://github.com/mongrel2/mongrel2.git
Updating /Users/joe/Library/Caches/Homebrew/mongrel2--git
git config remote.origin.url https://github.com/mongrel2/mongrel2.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
==> Checking out branch master
git checkout -f master --
Already on 'master'
Your branch is up to date with 'origin/master'.
git reset --hard origin/master
HEAD is now at 20f1442 Merge branch 'release/v1.12.0'
git submodule foreach --recursive git submodule sync
Entering 'src/mbedtls'
git submodule update --init --recursive
==> hdiutil imageinfo /Users/joe/Library/Caches/Homebrew/mongrel2--git
==> Downloading https://github.com/mongrel2/mongrel2/pull/328.patch?full_index=1
==> Downloading from https://patch-diff.githubusercontent.com/raw/mongrel2/mongrel2/pull/328.patch?full_index=1
/usr/bin/curl -q --show-error --user-agent Homebrew/1.7.1-20-ga1f0ff4 (Macintosh; Intel Mac OS X 10.11.6) curl/7.43.0 --fail --location --remote-time --continue-at - --output /Users/joe/Library/Caches/Homebrew/mongrel2--patch-6fb955d7a8088a635a80d35132a3130ea39da160e3383718549c329dd36aab59.patch.incomplete https://patch-diff.githubusercontent.com/raw/mongrel2/mongrel2/pull/328.patch?full_index=1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4805 0 4805 0 0 12138 0 --:--:-- --:--:-- --:--:-- 12133
==> Verifying mongrel2--patch-6fb955d7a8088a635a80d35132a3130ea39da160e3383718549c329dd36aab59.patch checksum
==> Patching
==> hdiutil imageinfo /Users/joe/Library/Caches/Homebrew/mongrel2--patch-6fb955d7a8088a635a80d35132a3130ea39da160e3383718549c329dd36aab59.patch
cp -p /Users/joe/Library/Caches/Homebrew/mongrel2--patch-6fb955d7a8088a635a80d35132a3130ea39da160e3383718549c329dd36aab59.patch /private/tmp/mongrel2--patch-20180725-25241-w5iunr/328.patch
==> Applying 328.patch
patch -g 0 -f -p1 -i /private/tmp/mongrel2--patch-20180725-25241-w5iunr/328.patch
patching file docs/site/global.json
patching file src/mongrel2.c
patching file src/server.c
==> make all
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/adt/darray.o src/adt/darray.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/adt/dict.o src/adt/dict.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/adt/hash.o src/adt/hash.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/adt/list.o src/adt/list.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/adt/radixmap.o src/adt/radixmap.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/adt/tst.o src/adt/tst.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/bstr/bsafe.o src/bstr/bsafe.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/bstr/bstraux.o src/bstr/bstraux.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/bstr/bstrlib.o src/bstr/bstrlib.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/config/config.o src/config/config.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/config/db.o src/config/db.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/config/module.o src/config/module.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/http11/http11_parser.o src/http11/http11_parser.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/http11/httpclient_parser.o src/http11/httpclient_parser.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/mem/halloc.o src/mem/halloc.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/task/context.o src/task/context.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/task/fd.o src/task/fd.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/task/net.o src/task/net.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/task/qlock.o src/task/qlock.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/task/rendez.o src/task/rendez.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/task/task.o src/task/task.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/bsd_specific.o src/bsd_specific.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/cache.o src/cache.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/chunked.o src/chunked.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/connection.o src/connection.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/control.o src/control.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/dbg.o src/dbg.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/dir.o src/dir.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/filter.o src/filter.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/handler.o src/handler.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/handler_parser.o src/handler_parser.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/headers.o src/headers.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/host.o src/host.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/io.o src/io.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/log.o src/log.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/logrotate.o src/logrotate.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/mime.o src/mime.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/pattern.o src/pattern.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/proxy.o src/proxy.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/register.o src/register.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/request.o src/request.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/response.o src/response.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/routing.o src/routing.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/server.o src/server.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/setting.o src/setting.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/state.o src/state.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/superpoll.o src/superpoll.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/tnetstrings.o src/tnetstrings.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/unixy.o src/unixy.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/upload.o src/upload.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/websocket.o src/websocket.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c -o src/xrequest.o src/xrequest.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -c src/task/asm.S -o src/task/asm.o
ar rcs build/libm2.a src/adt/darray.o src/adt/dict.o src/adt/hash.o src/adt/list.o src/adt/radixmap.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/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/chunked.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/logrotate.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/websocket.o src/xrequest.o src/state.o src/http11/http11_parser.o src/task/asm.o
ranlib build/libm2.a
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/mongrel2.o src/mongrel2.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread src/mongrel2.o -o bin/mongrel2 build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
sqlite3 tests/config.sqlite < src/config/config.sql
sqlite3 tests/config.sqlite < src/config/example.sql
sqlite3 tests/config.sqlite < src/config/mimetypes.sql
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/bstr_tests tests/bstr_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/cache_tests tests/cache_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/cert_tests tests/cert_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/chunked_tests tests/chunked_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/config_tests tests/config_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/connection_tests tests/connection_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/darray_tests tests/darray_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/db_tests tests/db_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/dict_tests tests/dict_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/dir_tests tests/dir_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/filter_tests tests/filter_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/handler_parser_tests tests/handler_parser_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/handler_tests tests/handler_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/hash_tests tests/hash_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/host_tests tests/host_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/http11_tests tests/http11_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/httpclient_tests tests/httpclient_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/io_tests tests/io_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/list_tests tests/list_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/mime_tests tests/mime_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/pattern_tests tests/pattern_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/proxy_tests tests/proxy_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/radixmap_tests tests/radixmap_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/register_tests tests/register_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/request_tests tests/request_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/response_tests tests/response_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/routing_tests tests/routing_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/server_tests tests/server_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/setting_tests tests/setting_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/state_tests tests/state_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/superpoll_tests tests/superpoll_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/tnetstrings_tests tests/tnetstrings_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/tst_tests tests/tst_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/unixy_tests tests/unixy_tests.c build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tests/filters all
clang -I../../src -I../../src/mbedtls/include -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -undefined dynamic_lookup -o test_filter.so test_filter.c ../../build/libm2.a
clang -I../../src -I../../src/mbedtls/include -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -undefined dynamic_lookup -o test_filter_a.so test_filter_a.c ../../build/libm2.a
clang -I../../src -I../../src/mbedtls/include -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -undefined dynamic_lookup -o test_filter_b.so test_filter_b.c ../../build/libm2.a
clang -I../../src -I../../src/mbedtls/include -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -undefined dynamic_lookup -o test_filter_c.so test_filter_c.c ../../build/libm2.a
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/filters all
clang -I../../src -I../../src/mbedtls/include -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -g -fPIC -shared -nostartfiles -L../../build -undefined dynamic_lookup -o null.so null.c ../../build/libm2.a
clang -I../../src -I../../src/mbedtls/include -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -g -fPIC -shared -nostartfiles -L../../build -undefined dynamic_lookup -o rewrite.so rewrite.c ../../build/libm2.a
clang -I../../src -I../../src/mbedtls/include -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -g -fPIC -shared -nostartfiles -L../../build -undefined dynamic_lookup -o sendfile.so sendfile.c ../../build/libm2.a
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/config_modules all
clang -I../../src -I../../src/mbedtls/include -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -undefined dynamic_lookup -o null.so null.c ../../build/libm2.a
clang -I../../src -I../../src/mbedtls/include -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -fPIC -shared -nostartfiles -L../../build -undefined dynamic_lookup -o zmq.so zmq.c ../../build/libm2.a
sh ./tests/runtests.sh
Running unit tests:
tests/bstr_tests PASS
tests/cache_tests PASS
tests/cert_tests PASS
tests/chunked_tests PASS
Wed, 25 Jul 2018 14:05:45 GMT [INFO] (null.c:45) Got the good path.
Wed, 25 Jul 2018 14:05:45 GMT [INFO] (null.c:48) Got the bad path: badpath
tests/config_tests PASS
tests/connection_tests PASS
tests/darray_tests PASS
tests/db_tests PASS
tests/dict_tests PASS
tests/dir_tests PASS
tests/filter_tests PASS
tests/handler_parser_tests PASS
tests/handler_tests PASS
tests/hash_tests PASS
tests/host_tests PASS
tests/http11_tests PASS
tests/httpclient_tests PASS
tests/io_tests PASS
tests/list_tests PASS
tests/mime_tests PASS
tests/pattern_tests PASS
tests/proxy_tests PASS
tests/radixmap_tests PASS
tests/register_tests PASS
tests/request_tests PASS
tests/response_tests PASS
tests/routing_tests PASS
tests/server_tests PASS
tests/setting_tests PASS
tests/state_tests PASS
tests/superpoll_tests PASS
tests/tnetstrings_tests PASS
tests/tst_tests PASS
tests/unixy_tests PASS
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/m2sh all
clang -O2 ../lemon/lemon.c -o ../lemon/lemon
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/ast.o src/ast.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/cli.o src/cli.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/commands.o src/commands.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/config_file.o src/config_file.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/constants.o src/constants.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/lexer.o src/lexer.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/linenoise.o src/linenoise.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/parser.o src/parser.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/query_print.o src/query_print.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/token.o src/token.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/commands/access.o src/commands/access.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/commands/config.o src/commands/config.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/commands/helpers.o src/commands/helpers.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/commands/logging.o src/commands/logging.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/commands/querying.o src/commands/querying.c
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/commands/running.o src/commands/running.c
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/query_print.o src/token.o src/commands/access.o src/commands/config.o src/commands/helpers.o src/commands/logging.o src/commands/querying.o src/commands/running.o
ranlib build/libm2sh.a
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/cli_tests tests/cli_tests.c build/libm2sh.a ../../build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o tests/parser_tests tests/parser_tests.c build/libm2sh.a ../../build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
sh ./tests/runtests.sh
Running unit tests:
tests/cli_tests PASS
tests/parser_tests PASS
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o src/m2sh.o src/m2sh.c
mkdir -p build
clang -DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -o build/m2sh src/ast.o src/cli.o src/commands.o src/config_file.o src/constants.o src/lexer.o src/linenoise.o src/m2sh.o src/parser.o src/query_print.o src/token.o src/commands/access.o src/commands/config.o src/commands/helpers.o src/commands/logging.o src/commands/querying.o src/commands/running.o ../../build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local" -C tools/procer all
clang -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o procer.o procer.c
clang -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o profile.o profile.c
clang -DNDEBUG -pthread -g -I../../src -Wall -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -c -o rampart.o rampart.c
clang -g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread -undefined dynamic_lookup -o procer procer.o profile.o rampart.o ../../build/libm2.a -lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto
==> make install PREFIX=/usr/local/Cellar/mongrel2/HEAD-20f1442
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local/Cellar/mongrel2/HEAD-20f1442" -C tests/filters all
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local/Cellar/mongrel2/HEAD-20f1442" -C tools/filters all
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local/Cellar/mongrel2/HEAD-20f1442" -C tools/config_modules all
make[1]: Nothing to be done for `all'.
sh ./tests/runtests.sh
Running unit tests:
tests/bstr_tests PASS
tests/cache_tests PASS
tests/cert_tests PASS
tests/chunked_tests PASS
Wed, 25 Jul 2018 14:05:49 GMT [INFO] (null.c:45) Got the good path.
Wed, 25 Jul 2018 14:05:49 GMT [INFO] (null.c:48) Got the bad path: badpath
tests/config_tests PASS
tests/connection_tests PASS
tests/darray_tests PASS
tests/db_tests PASS
tests/dict_tests PASS
tests/dir_tests PASS
tests/filter_tests PASS
tests/handler_parser_tests PASS
tests/handler_tests PASS
tests/hash_tests PASS
tests/host_tests PASS
tests/http11_tests PASS
tests/httpclient_tests PASS
tests/io_tests PASS
tests/list_tests PASS
tests/mime_tests PASS
tests/pattern_tests PASS
tests/proxy_tests PASS
tests/radixmap_tests PASS
tests/register_tests PASS
tests/request_tests PASS
tests/response_tests PASS
tests/routing_tests PASS
tests/server_tests PASS
tests/setting_tests PASS
tests/state_tests PASS
tests/superpoll_tests PASS
tests/tnetstrings_tests PASS
tests/tst_tests PASS
tests/unixy_tests PASS
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local/Cellar/mongrel2/HEAD-20f1442" -C tools/m2sh all
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local/Cellar/mongrel2/HEAD-20f1442" -C tools/procer all
make[1]: Nothing to be done for `all'.
install bin/mongrel2 //usr/local/Cellar/mongrel2/HEAD-20f1442/bin/ \
|| ( install -d //usr/local/Cellar/mongrel2/HEAD-20f1442/bin/ \
&& install bin/mongrel2 //usr/local/Cellar/mongrel2/HEAD-20f1442/bin/ )
install: //usr/local/Cellar/mongrel2/HEAD-20f1442/bin/: No such file or directory
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local/Cellar/mongrel2/HEAD-20f1442" -C tools/m2sh install
install build/m2sh /usr/local/Cellar/mongrel2/HEAD-20f1442/bin
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local/Cellar/mongrel2/HEAD-20f1442" -C tools/config_modules install
install -d //usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/config_modules/
install *.so //usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/config_modules/
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local/Cellar/mongrel2/HEAD-20f1442" -C tools/filters install
install -d //usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/filters/
install *.so //usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/filters/
/Applications/Xcode.app/Contents/Developer/usr/bin/make OPTFLAGS="-g -O2 -Wall -Wextra -I./src -DNDEBUG -D_FILE_OFFSET_BITS=64 -pthread " LIBS="-lzmq -ldl -lsqlite3 -lmbedtls -lmbedx509 -lmbedcrypto" DESTDIR="" PREFIX="/usr/local/Cellar/mongrel2/HEAD-20f1442" -C tools/procer install
install procer /usr/local/Cellar/mongrel2/HEAD-20f1442/bin/
==> Cleaning
Fixing /usr/local/Cellar/mongrel2/HEAD-20f1442/bin/m2sh permissions from 755 to 555
Fixing /usr/local/Cellar/mongrel2/HEAD-20f1442/bin/mongrel2 permissions from 755 to 555
Fixing /usr/local/Cellar/mongrel2/HEAD-20f1442/bin/procer permissions from 755 to 555
Fixing /usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/config_modules/null.so permissions from 755 to 444
Fixing /usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/config_modules/zmq.so permissions from 755 to 444
Fixing /usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/filters/null.so permissions from 755 to 444
Fixing /usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/filters/rewrite.so permissions from 755 to 444
Fixing /usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/filters/sendfile.so permissions from 755 to 444
==> Finishing up
ln -s ../Cellar/mongrel2/HEAD-20f1442/bin/m2sh m2sh
ln -s ../Cellar/mongrel2/HEAD-20f1442/bin/mongrel2 mongrel2
ln -s ../Cellar/mongrel2/HEAD-20f1442/bin/procer procer
ln -s ../Cellar/mongrel2/HEAD-20f1442/lib/mongrel2 mongrel2
Changing dylib ID of /usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/config_modules/null.so
from null.so
to /usr/local/opt/mongrel2/lib/mongrel2/config_modules/null.so
Changing dylib ID of /usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/config_modules/zmq.so
from zmq.so
to /usr/local/opt/mongrel2/lib/mongrel2/config_modules/zmq.so
Changing dylib ID of /usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/filters/null.so
from null.so
to /usr/local/opt/mongrel2/lib/mongrel2/filters/null.so
Changing dylib ID of /usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/filters/rewrite.so
from rewrite.so
to /usr/local/opt/mongrel2/lib/mongrel2/filters/rewrite.so
Changing dylib ID of /usr/local/Cellar/mongrel2/HEAD-20f1442/lib/mongrel2/filters/sendfile.so
from sendfile.so
to /usr/local/opt/mongrel2/lib/mongrel2/filters/sendfile.so
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180725-26227-z6lgb.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/cask/lib:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/postinstall.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mongrel2.rb -dvs --HEAD
/usr/local/Homebrew/Library/Homebrew/postinstall.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mongrel2.rb
==> Summary
🍺 /usr/local/Cellar/mongrel2/HEAD-20f1442: 14 files, 1.1MB, built in 24 seconds
iMac-TMP:~ joe$ brew test -vd mongrel2
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mongrel2.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mbedtls.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/zeromq.rb
Testing mongrel2
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180725-26279-rc8lr3.sb /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/gems/2.3.0/gems/power_assert-0.2.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/gems/2.3.0/gems/test-unit-3.1.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/cask/lib:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/test.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mongrel2.rb -vd --HEAD
/usr/local/Homebrew/Library/Homebrew/test.rb (Formulary::FromPathLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mongrel2.rb
==> /usr/local/Cellar/mongrel2/HEAD-20f1442/bin/m2sh help
Mongrel2 m2sh has these commands available:
load Load a config.
config Alias for load.
shell Starts an interactive shell.
access Prints the access log.
servers Lists the servers in a config database.
hosts Lists the hosts in a server.
routes Lists the routes in a host.
commit Adds a message to the log.
log Prints the commit log.
start Starts a server.
stop Stops a server.
reload Reloads a server.
running Tells you what's running.
control Connects to the control port.
route Tests out routing patterns.
version Prints the Mongrel2 and m2sh version.
help Get help, lists commands.
uuid Prints out a randomly generated UUID.
iMac-TMP:~ joe$ brew linkage mongrel2
System libraries:
/usr/lib/libSystem.B.dylib
/usr/lib/libsqlite3.dylib
Homebrew libraries:
/usr/local/opt/mbedtls/lib/libmbedcrypto.3.dylib (mbedtls)
/usr/local/opt/mbedtls/lib/libmbedtls.11.dylib (mbedtls)
/usr/local/opt/mbedtls/lib/libmbedx509.0.dylib (mbedtls)
/usr/local/opt/zeromq/lib/libzmq.5.dylib (zeromq)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment