Skip to content

Instantly share code, notes, and snippets.

Created July 31, 2012 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3216401 to your computer and use it in GitHub Desktop.
Save anonymous/3216401 to your computer and use it in GitHub Desktop.
Homebrew failing to build 'joe'
KK:~ kris$ brew --config
HOMEBREW_VERSION: 0.9.2
HEAD: 20ad5702c5bdb89e7a52c0b7407d58dbbf6a9afd
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.8-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 4.0 build 421
MacPorts or Fink? false
X11: 2.7.2 @ /opt/X11
System Ruby: 1.8.7-358
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
KK:~ kris$ brew doctor
Your system is raring to brew.
KK:~ kris$ brew install -v joe
==> Downloading http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/joe-3.7/joe-3.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/joe-3.7.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/joe-3.7.tar.gz
==> ./configure --prefix=/usr/local/Cellar/joe/3.7
./configure --prefix=/usr/local/Cellar/joe/3.7
checking build system type... i686-apple-darwin12.0.0
checking host system type... i686-apple-darwin12.0.0
checking target system type... i686-apple-darwin12.0.0
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 to enable maintainer-specific portions of Makefiles... no
checking for gcc... /usr/bin/clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/clang... gcc3
checking how to run the C preprocessor... /usr/bin/clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for library containing openpty... none required
checking for library containing login_tty... none required
checking for library containing tgetflag... -lncurses
checking for library containing snprintf... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking POSIX termios... yes
checking whether termios.h defines TIOCGWINSZ... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking unistd.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/dirent.h usability... yes
checking sys/dirent.h presence... yes
checking for sys/dirent.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/types.h usability... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
checking sys/stat.h usability... yes
checking sys/stat.h presence... yes
checking for sys/stat.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking selinux/selinux.h usability... no
checking selinux/selinux.h presence... no
checking for selinux/selinux.h... no
checking selinux/context.h usability... no
checking selinux/context.h presence... no
checking for selinux/context.h... no
checking for function prototypes... yes
checking for an ANSI C-conforming const... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of void *... 8
checking for sighandler_t... no
checking whether /usr/bin/clang needs -traditional... no
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether lstat accepts an empty string... no
checking whether setpgrp() takes no arguments... yes
checking for pid_t... yes
checking for size_t... yes
checking for off_t... yes
checking size of off_t... 8
checking for ssize_t... yes
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for getcwd... yes
checking for getwd... yes
checking for isblank... yes
checking whether isblank() works correctly with side effect expressions... yes
checking for alarm... yes
checking for mkdir... yes
checking for mkstemp... yes
checking for putenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strdup... yes
checking for utime... yes
checking for setpgid... yes
checking for setitimer... yes
checking for sigaction... yes
checking for sigvec... yes
checking for siginterrupt... yes
checking for sigprocmask... yes
checking whether sighandlers must be reinstalled... no
checking for aspell... ispell
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rc/Makefile
config.status: creating man/Makefile
config.status: creating man/ru/Makefile
config.status: creating syntax/Makefile
config.status: creating po/Makefile
config.status: creating syntax/c.jsf
config.status: creating syntax/perl.jsf
config.status: creating syntax/verilog.jsf
config.status: creating syntax/sh.jsf
config.status: creating syntax/python.jsf
config.status: creating syntax/conf.jsf
config.status: creating syntax/php.jsf
config.status: creating syntax/mail.jsf
config.status: creating syntax/pascal.jsf
config.status: creating syntax/html.jsf
config.status: creating syntax/vhdl.jsf
config.status: creating syntax/fortran.jsf
config.status: creating syntax/java.jsf
config.status: creating syntax/xml.jsf
config.status: creating syntax/tcl.jsf
config.status: creating charmaps/klingon
config.status: creating syntax/lisp.jsf
config.status: creating syntax/csh.jsf
config.status: creating syntax/mason.jsf
config.status: creating syntax/diff.jsf
config.status: creating syntax/asm.jsf
config.status: creating syntax/css.jsf
config.status: creating syntax/tex.jsf
config.status: creating syntax/ocaml.jsf
config.status: creating syntax/4gl.jsf
config.status: creating syntax/sml.jsf
config.status: creating syntax/sql.jsf
config.status: creating syntax/awk.jsf
config.status: creating syntax/cobol.jsf
config.status: creating syntax/sed.jsf
config.status: creating syntax/ps.jsf
config.status: creating syntax/ada.jsf
config.status: creating syntax/troff.jsf
config.status: creating syntax/haskell.jsf
config.status: creating syntax/rexx.jsf
config.status: creating syntax/skill.jsf
config.status: creating syntax/lua.jsf
config.status: creating syntax/ruby.jsf
config.status: creating syntax/m4.jsf
config.status: creating syntax/joerc.jsf
config.status: creating syntax/spec.jsf
config.status: creating syntax/matlab.jsf
config.status: creating syntax/jsf.jsf
config.status: creating syntax/jsf_check.jsf
config.status: creating autoconf.h
config.status: executing depfiles commands
==> make install
make install
Making install in man
Making install in ru
sed 's,@JOERC\@,/usr/local/Cellar/joe/3.7/etc/joe,; s,@JOEDOC\@,/usr/local/Cellar/joe/3.7/share/doc/joe,; s,@JOEDATA\@,/usr/local/Cellar/joe/3.7/share/joe,; s,@SPELL\@,ispell,; s,@BINDIR\@,/usr/local/Cellar/joe/3.7/bin,' ./joe.1.in > joe.1
sed: RE error: illegal byte sequence
make[2]: *** [joe.1] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
config.log was copied to /Users/kris/Library/Logs/Homebrew
==> Exit Status: 2
https://github.com/mxcl/master/blob/master/Library/Formula/joe.rb#L10
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: 20ad5702c5bdb89e7a52c0b7407d58dbbf6a9afd
CPU: dual-core 64-bit penryn
OS X: 10.8-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
X11: 2.7.2 @ /opt/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.8
MAKEFLAGS: -j2
PKG_CONFIG_PATH: /usr/local/Library/Homebrew/pkgconfig
Error: Failed executing: make install (joe.rb:10)
This may help you fix or report the issue if `brew doctor` does not:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment