Skip to content

Instantly share code, notes, and snippets.

@nijikon
Created January 8, 2017 08:55
Show Gist options
  • Save nijikon/a38f0662b03d45d9bff942860020847a to your computer and use it in GitHub Desktop.
Save nijikon/a38f0662b03d45d9bff942860020847a to your computer and use it in GitHub Desktop.
redsocks on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for redsocks on macOS 10.11.6
Build date: 2017-01-08 09:54:24
HOMEBREW_VERSION: 1.1.6-41-gf7bccee21-dirty
ORIGIN: https://github.com/Homebrew/brew
HEAD: f7bccee2145547d21b2629cab8b5fddff3299bda
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 4eaf86607ec7091e06d3316913257ecc52faaa13
Core tap last commit: 46 seconds ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.11.0 => /usr/local/bin/git
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.24.0_1/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/n/.rvm/rubies/ruby-2.4.0/bin/ruby
Java: 1.8.0_45
macOS: 10.11.6-x86_64
Xcode: 8.2.1
CLT: 8.2.0.0.1.1480973914
X11: 2.7.9 => /opt/X11
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
cloog018
[email protected]
Warning: You have uncommitted modifications to Homebrew
If this is a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason.
cd /usr/local/Homebrew/Library && git stash && git clean -d -f
2017-01-08 09:54:24 +0100
make
mkdir -p gen
touch gen/.build
Unknown system, only generic firewall code is compiled
rm -f gen/version.c.tmp
echo '/* this file is auto-generated during build */' > gen/version.c.tmp
echo '#include "../version.h"' >> gen/version.c.tmp
echo 'const char* redsocks_version = ' >> gen/version.c.tmp
if [ -d .git ]; then \
echo '"redsocks.git/'`git describe --tags`'"'; \
if [ `git status --porcelain | grep -v -c '^??'` != 0 ]; then \
echo '"'"-unclean-$(date --rfc-3339=seconds | tr ' ' 'T')-${USER}@$(uname -n)"'"'; \
fi \
else \
echo '"redsocks/0.5"'; \
fi >> gen/version.c.tmp
echo ';' >> gen/version.c.tmp
mv -f gen/version.c.tmp gen/version.c
gcc -MM parser.c main.c redsocks.c log.c http-connect.c socks4.c socks5.c http-relay.c base.c base64.c md5.c http-auth.c utils.c redudp.c dnstc.c gen/version.c 2>/dev/null >.depend || \
( \
for I in base.h base64.h dnstc.h http-auth.h libc-compat.h libevent-compat.h list.h log.h main.h md5.h parser.h redsocks.h redudp.h socks5.h utils.h version.h; do \
export ${I//[-.]/_}_DEPS="`sed '/^\#[ \t]*include \?"\(.*\)".*/!d;s//\1/' $I`"; \
done; \
echo -n >.depend; \
for SRC in parser.c main.c redsocks.c log.c http-connect.c socks4.c socks5.c http-relay.c base.c base64.c md5.c http-auth.c utils.c redudp.c dnstc.c gen/version.c; do \
echo -n "${SRC%.c}.o: " >>.depend; \
export SRC_DEPS="`sed '/\#[ \t]*include \?"\(.*\)".*/!d;s//\1/' $SRC | sort`"; \
while true; do \
export SRC_DEPS_OLD="$SRC_DEPS"; \
export SRC_DEEP_DEPS=""; \
for HDR in $SRC_DEPS; do \
eval export SRC_DEEP_DEPS="\"$SRC_DEEP_DEPS \$${HDR//[-.]/_}_DEPS\""; \
done; \
export SRC_DEPS="`echo $SRC_DEPS $SRC_DEEP_DEPS | sed 's/ */\n/g' | sort -u`"; \
test "$SRC_DEPS" = "$SRC_DEPS_OLD" && break; \
done; \
echo $SRC $SRC_DEPS >>.depend; \
done; \
)
clang -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o parser.o parser.c
clang -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o main.o main.c
clang -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o redsocks.o redsocks.c
clang -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o log.o log.c
redsocks.c:130:52: error: use of undeclared identifier 'INADDR_LOOPBACK'
instance->config.bindaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
^
redsocks.c:130:52: error: use of undeclared identifier 'INADDR_LOOPBACK'
redsocks.c:130:52: error: use of undeclared identifier 'INADDR_LOOPBACK'
redsocks.c:130:52: error: use of undeclared identifier 'INADDR_LOOPBACK'
redsocks.c:130:52: error: use of undeclared identifier 'INADDR_LOOPBACK'
redsocks.c:130:52: error: use of undeclared identifier 'INADDR_LOOPBACK'
redsocks.c:132:53: error: use of undeclared identifier 'INADDR_LOOPBACK'
instance->config.relayaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
^
redsocks.c:132:53: error: use of undeclared identifier 'INADDR_LOOPBACK'
redsocks.c:132:53: error: use of undeclared identifier 'INADDR_LOOPBACK'
redsocks.c:132:53: error: use of undeclared identifier 'INADDR_LOOPBACK'
redsocks.c:132:53: error: use of undeclared identifier 'INADDR_LOOPBACK'
redsocks.c:132:53: error: use of undeclared identifier 'INADDR_LOOPBACK'
redsocks.c:438:72: error: use of undeclared identifier 'SPLICE_F_MOVE'
const ssize_t sent = splice(c->pisrc->read, NULL, out, NULL, avail, SPLICE_F_MOVE|SPLICE_F_NONBLOCK);
^
redsocks.c:438:86: error: use of undeclared identifier 'SPLICE_F_NONBLOCK'
const ssize_t sent = splice(c->pisrc->read, NULL, out, NULL, avail, SPLICE_F_MOVE|SPLICE_F_NONBLOCK);
^
redsocks.c:506:70: error: use of undeclared identifier 'SPLICE_F_MOVE'
const ssize_t got = splice(in, NULL, c->dst->write, NULL, pipesize, SPLICE_F_MOVE|SPLICE_F_NONBLOCK);
^
redsocks.c:506:84: error: use of undeclared identifier 'SPLICE_F_NONBLOCK'
const ssize_t got = splice(in, NULL, c->dst->write, NULL, pipesize, SPLICE_F_MOVE|SPLICE_F_NONBLOCK);
^
redsocks.c:997:31: error: expected expression
if (timercmp(&idle, &zero, <=) || timercmp(&max_idle, &idle, <=)) {
^
redsocks.c:997:33: error: expected expression
if (timercmp(&idle, &zero, <=) || timercmp(&max_idle, &idle, <=)) {
^
redsocks.c:997:65: error: expected expression
if (timercmp(&idle, &zero, <=) || timercmp(&max_idle, &idle, <=)) {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [redsocks.o] Error 1
make: *** Waiting for unfinished jobs....
HOMEBREW_VERSION: 1.1.6-41-gf7bccee21-dirty
ORIGIN: https://github.com/Homebrew/brew
HEAD: f7bccee2145547d21b2629cab8b5fddff3299bda
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 4eaf86607ec7091e06d3316913257ecc52faaa13
Core tap last commit: 10 seconds ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.10.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_45
macOS: 10.11.6-x86_64
Xcode: 8.2.1
CLT: 8.2.0.0.1.1480973914
X11: 2.7.9 => /opt/X11
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.11
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11
HOMEBREW_VERBOSE: 1
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/openssl/bin:/usr/local/opt/libevent/bin:/usr/bin:/bin:/usr/sbin:/sbin
gcc called with: -MM parser.c main.c redsocks.c log.c http-connect.c socks4.c socks5.c http-relay.c base.c base64.c md5.c http-auth.c utils.c redudp.c dnstc.c gen/version.c
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
superenv executed: clang -pipe -w -Os -march=native -MM parser.c main.c redsocks.c log.c http-connect.c socks4.c socks5.c http-relay.c base.c base64.c md5.c http-auth.c utils.c redudp.c dnstc.c gen/version.c -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
clang called with: -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o redsocks.o redsocks.c
superenv removed: -g -O2 -Wall
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include
superenv executed: clang -pipe -w -Os -march=native -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o redsocks.o redsocks.c -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include
clang called with: -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o parser.o parser.c
superenv removed: -g -O2 -Wall
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include
superenv executed: clang -pipe -w -Os -march=native -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o parser.o parser.c -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include
clang called with: -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o main.o main.c
superenv removed: -g -O2 -Wall
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include
superenv executed: clang -pipe -w -Os -march=native -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o main.o main.c -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include
clang called with: -g -O2 -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall -c -o log.o log.c
superenv removed: -g -O2 -Wall
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include
superenv executed: clang -pipe -w -Os -march=native -std=c99 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o log.o log.c -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/openssl/include
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment