Skip to content

Instantly share code, notes, and snippets.

@jonjonw
Created December 17, 2013 18:28
Show Gist options
  • Save jonjonw/8010127 to your computer and use it in GitHub Desktop.
Save jonjonw/8010127 to your computer and use it in GitHub Desktop.
lsyncd compile error
$ HOMEBREW_MAKE_JOBS=1 brew install -v lsyncd 2>&1
==> Downloading https://github.com/axkibe/lsyncd/archive/release-2.1.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/lsyncd-2.1.5.tar.gz
==> Verifying lsyncd-2.1.5.tar.gz checksum
tar xf /Library/Caches/Homebrew/lsyncd-2.1.5.tar.gz
==> Downloading http://www.opensource.apple.com/tarballs/xnu/xnu-2422.1.72.tar.gz
Already downloaded: /Library/Caches/Homebrew/lsyncd--xnu-2422.1.72.tar.gz
==> Verifying lsyncd--xnu-2422.1.72.tar.gz checksum
tar xf /Library/Caches/Homebrew/lsyncd--xnu-2422.1.72.tar.gz
==> autoreconf --install
configure.ac:14: installing './compile'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
==> ./configure --disable-dependency-tracking --with-fsevents --without-inotify --prefix=/usr/local/Cellar/lsyncd/2.1.5
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of clang... none
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/local/opt/pkg-config/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LUA52... no
checking for LUA52... no
checking for LUA52... no
checking for lua5.2... no
checking for lua52... no
checking for luac5.2... no
checking for luac52... no
checking for LUA51... no
checking for LUA51... no
checking for LUA51... no
checking for lua5.1... no
checking for lua51... no
checking for luac5.1... no
checking for luac51... no
checking for LUA... yes
checking for lua... /usr/local/opt/lua/bin/lua
checking for luac... /usr/local/opt/lua/bin/luac
checking whether Lua library was compiled with compat support... yes
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
compiling without inotify
compiling with fsevents. WARNING experimental!
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure:
Summary:
Using Lua (unknown version)
==> make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
clang -DHAVE_CONFIG_H -I. -I./xnu -g -O2 -Wall -I/usr/local/include -c -o lsyncd.o lsyncd.c
clang -DHAVE_CONFIG_H -I. -I./xnu -g -O2 -Wall -I/usr/local/include -c -o fsevents.o fsevents.c
/usr/local/opt/lua/bin/luac -o runner.out lsyncd.lua
/usr/local/opt/lua/bin/lua ./bin2carray.lua runner.out runner runner.c
clang -DHAVE_CONFIG_H -I. -I./xnu -g -O2 -Wall -I/usr/local/include -c -o runner.o runner.c
/usr/local/opt/lua/bin/luac -o defaults.out default.lua default-rsync.lua default-rsyncssh.lua default-direct.lua
/usr/local/opt/lua/bin/lua ./bin2carray.lua defaults.out defaults defaults.c
clang -DHAVE_CONFIG_H -I. -I./xnu -g -O2 -Wall -I/usr/local/include -c -o defaults.o defaults.c
clang -g -O2 -Wall -I/usr/local/include -o lsyncd lsyncd.o fsevents.o -L/usr/local/lib -llua -lm runner.o defaults.o
/usr/local/Cellar/asciidoc/8.6.9/bin/a2x --format=manpage doc/lsyncd.1.txt
a2x: ERROR: "xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 "/usr/local/Cellar/asciidoc/8.6.9/etc/asciidoc/docbook-xsl/manpage.xsl" "/private/tmp/lsyncd-32ut/lsyncd-release-2.1.5/doc/lsyncd.1.xml" returned non-zero exit status 5
make[1]: *** [doc/lsyncd.1] Error 1
make: *** [all] Error 2
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 47690628499053b5dbc114bd2effd13970574b68
CPU: quad-core 64-bit haswell
OS X: 10.9-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CPPFLAGS: -I./xnu
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /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
PKG_CONFIG_PATH: /usr/local/opt/lua/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_MAKE_JOBS: 1
HOMEBREW_VERBOSE: 1
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/asciidoc/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/lua/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: lsyncd did not build
Logs:
/Users/jwiersma/Library/Logs/Homebrew/lsyncd/01.autoreconf
/Users/jwiersma/Library/Logs/Homebrew/lsyncd/02.configure
/Users/jwiersma/Library/Logs/Homebrew/lsyncd/02.configure.cc
/Users/jwiersma/Library/Logs/Homebrew/lsyncd/03.make
/Users/jwiersma/Library/Logs/Homebrew/lsyncd/03.make.cc
/Users/jwiersma/Library/Logs/Homebrew/lsyncd/config.log
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:560:in `initialize': Operation timed out - connect(2) (Errno::ETIMEDOUT)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:560:in `open'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:542:in `start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:518:in `open'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:26:in `open'
from /usr/local/Library/Homebrew/utils.rb:264:in `open'
from /usr/local/Library/Homebrew/utils.rb:281:in `each_issue_matching'
from /usr/local/Library/Homebrew/utils.rb:293:in `issues_for_formula'
from /usr/local/Library/Homebrew/exceptions.rb:178:in `issues'
from /usr/local/Library/Homebrew/exceptions.rb:212:in `dump'
from /usr/local/Library/brew.rb:134
$ cat ~/Library/Logs/Homebrew/lsyncd/03.make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
clang -DHAVE_CONFIG_H -I. -I./xnu -g -O2 -Wall -I/usr/local/include -c -o lsyncd.o lsyncd.c
clang -DHAVE_CONFIG_H -I. -I./xnu -g -O2 -Wall -I/usr/local/include -c -o fsevents.o fsevents.c
/usr/local/opt/lua/bin/luac -o runner.out lsyncd.lua
/usr/local/opt/lua/bin/lua ./bin2carray.lua runner.out runner runner.c
clang -DHAVE_CONFIG_H -I. -I./xnu -g -O2 -Wall -I/usr/local/include -c -o runner.o runner.c
/usr/local/opt/lua/bin/luac -o defaults.out default.lua default-rsync.lua default-rsyncssh.lua default-direct.lua
/usr/local/opt/lua/bin/lua ./bin2carray.lua defaults.out defaults defaults.c
clang -DHAVE_CONFIG_H -I. -I./xnu -g -O2 -Wall -I/usr/local/include -c -o defaults.o defaults.c
clang -g -O2 -Wall -I/usr/local/include -o lsyncd lsyncd.o fsevents.o -L/usr/local/lib -llua -lm runner.o defaults.o
/usr/local/Cellar/asciidoc/8.6.9/bin/a2x --format=manpage doc/lsyncd.1.txt
a2x: ERROR: "xsltproc" --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 "/usr/local/Cellar/asciidoc/8.6.9/etc/asciidoc/docbook-xsl/manpage.xsl" "/private/tmp/lsyncd-32ut/lsyncd-release-2.1.5/doc/lsyncd.1.xml" returned non-zero exit status 5
make[1]: *** [doc/lsyncd.1] Error 1
make: *** [all] Error 2
$ brew doctor
Warning: You have a curlrc file
If you have trouble downloading packages with Homebrew, then maybe this
is the problem? If the following command doesn't work, then try removing
your curlrc:
curl http://github.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment