Skip to content

Instantly share code, notes, and snippets.

@mcandre
Created February 28, 2011 20:55
Show Gist options
  • Save mcandre/848020 to your computer and use it in GitHub Desktop.
Save mcandre/848020 to your computer and use it in GitHub Desktop.
Error: Failure while executing: make install
$ brew install -v ffcall
==> Build Environment
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2
==> Downloading http://www.haible.de/bruno/gnu/ffcall-1.10.tar.gz
File already downloaded and cached to /Users/andrew/Library/Caches/Homebrew
/usr/bin/tar xf /Users/andrew/Library/Caches/Homebrew/ffcall-1.10.tar.gz
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/ffcall/1.10
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/ffcall/1.10
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in avcall
configure: running /bin/sh './configure' --prefix=/usr/local/Cellar/ffcall/1.10 '--disable-debug' '--disable-dependency-tracking' '--prefix=/usr/local/Cellar/ffcall/1.10' --cache-file=/dev/null --srcdir=.
checking for gcc... /usr/bin/cc
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/cc accepts -g... yes
checking for /usr/bin/cc option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/cc -E
checking for egrep... grep -E
checking whether /usr/bin/cc needs -traditional... no
checking whether using GNU C... yes
checking for underscore in external names... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to copy files... cp -p
checking how to make hard links... ln
checking build system type... i686-apple-darwin10.6.0
checking host system type... i686-apple-darwin10.6.0
checking for ld used by GCC... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking for /usr/bin/cc option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse /usr/bin/nm output... ok
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for strip... strip
checking for objdir... .libs
checking for /usr/bin/cc option to produce PIC... -fno-common
checking if /usr/bin/cc PIC flag -fno-common works... yes
checking if /usr/bin/cc static flag -static works... no
checking if /usr/bin/cc supports -c -o file.o... yes
checking if /usr/bin/cc supports -c -o file.lo... yes
checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/cc) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin10.6.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking for pcc non-reentrant struct return convention... no
checking whether small structs are returned in registers... yes
checking whether floats are returned in integer registers... no
checking for long long type... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating avcall.h
configure: configuring in vacall
configure: running /bin/sh './configure' --prefix=/usr/local/Cellar/ffcall/1.10 '--disable-debug' '--disable-dependency-tracking' '--prefix=/usr/local/Cellar/ffcall/1.10' --cache-file=/dev/null --srcdir=.
checking for gcc... /usr/bin/cc
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/cc accepts -g... yes
checking for /usr/bin/cc option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/cc -E
checking for egrep... grep -E
checking whether /usr/bin/cc needs -traditional... no
checking whether using GNU C... yes
checking for underscore in external names... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to copy files... cp -p
checking how to make hard links... ln
checking build system type... i686-apple-darwin10.6.0
checking host system type... i686-apple-darwin10.6.0
checking for pcc non-reentrant struct return convention... no
checking whether small structs are returned in registers... yes
checking whether floats are returned in integer registers... no
checking for long long type... yes
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 whether char is unsigned... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vacall.h
config.status: creating config.h
configure: configuring in trampoline
configure: running /bin/sh './configure' --prefix=/usr/local/Cellar/ffcall/1.10 '--disable-debug' '--disable-dependency-tracking' '--prefix=/usr/local/Cellar/ffcall/1.10' --cache-file=/dev/null --srcdir=.
checking for gcc... /usr/bin/cc
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/cc accepts -g... yes
checking for /usr/bin/cc option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/cc -E
checking for egrep... grep -E
checking whether /usr/bin/cc needs -traditional... no
checking whether using GNU C... yes
checking for underscore in external names... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to copy files... cp -p
checking how to make hard links... ln
checking whether ln -s works... yes
checking for working void... yes
checking for working "return void"... yes
checking for ANSI C header files... yes
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 for unistd_h... (cached) yes
checking for getpagesize... yes
checking for getpagesize declaration...
extern int getpagesize (void);
checking for vm_allocate... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for O_RDWR in fcntl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for working mmap... no
checking for mprotect... yes
checking for working mprotect... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for working shared memory... no
checking build system type... i686-apple-darwin10.6.0
checking host system type... i686-apple-darwin10.6.0
checking whether code in malloc'ed memory is executable... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in callback
configure: running /bin/sh './configure' --prefix=/usr/local/Cellar/ffcall/1.10 '--disable-debug' '--disable-dependency-tracking' '--prefix=/usr/local/Cellar/ffcall/1.10' --cache-file=/dev/null --srcdir=.
checking for gcc... /usr/bin/cc
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/cc accepts -g... yes
checking for /usr/bin/cc option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/cc -E
checking for egrep... grep -E
checking whether /usr/bin/cc needs -traditional... no
checking whether using GNU C... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to copy files... cp -p
checking how to make hard links... ln
checking whether ln -s works... yes
checking build system type... i686-apple-darwin10.6.0
checking host system type... i686-apple-darwin10.6.0
checking for ld used by GCC... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking for /usr/bin/cc option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse /usr/bin/nm output... ok
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for strip... strip
checking for objdir... .libs
checking for /usr/bin/cc option to produce PIC... -fno-common
checking if /usr/bin/cc PIC flag -fno-common works... yes
checking if /usr/bin/cc static flag -static works... no
checking if /usr/bin/cc supports -c -o file.o... yes
checking if /usr/bin/cc supports -c -o file.lo... yes
checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/cc) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin10.6.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in vacall_r
configure: running /bin/sh './configure' --prefix=/usr/local/Cellar/ffcall/1.10 '--disable-debug' '--disable-dependency-tracking' '--prefix=/usr/local/Cellar/ffcall/1.10' '--cache-file=/dev/null' '--srcdir=.' 'CC=/usr/bin/cc' 'CFLAGS=-O3 -march=core2 -msse4.1 -w -pipe' --cache-file=/dev/null --srcdir=.
checking for gcc... /usr/bin/cc
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/cc accepts -g... yes
checking for /usr/bin/cc option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/cc -E
checking for egrep... grep -E
checking whether /usr/bin/cc needs -traditional... no
checking whether using GNU C... yes
checking for underscore in external names... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to copy files... cp -p
checking how to make hard links... ln
checking build system type... i686-apple-darwin10.6.0
checking host system type... i686-apple-darwin10.6.0
checking for ld used by GCC... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking for /usr/bin/cc option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse /usr/bin/nm output... ok
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for strip... strip
checking for objdir... .libs
checking for /usr/bin/cc option to produce PIC... -fno-common
checking if /usr/bin/cc PIC flag -fno-common works... yes
checking if /usr/bin/cc static flag -static works... no
checking if /usr/bin/cc supports -c -o file.o... yes
checking if /usr/bin/cc supports -c -o file.lo... yes
checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/cc) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin10.6.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking for pcc non-reentrant struct return convention... no
checking whether small structs are returned in registers... yes
checking whether floats are returned in integer registers... no
checking for long long type... yes
checking whether char is unsigned... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vacall_r.h
config.status: creating config.h
configure: configuring in trampoline_r
configure: running /bin/sh './configure' --prefix=/usr/local/Cellar/ffcall/1.10 '--disable-debug' '--disable-dependency-tracking' '--prefix=/usr/local/Cellar/ffcall/1.10' '--cache-file=/dev/null' '--srcdir=.' 'CC=/usr/bin/cc' 'CFLAGS=-O3 -march=core2 -msse4.1 -w -pipe' --cache-file=/dev/null --srcdir=.
checking for gcc... /usr/bin/cc
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/cc accepts -g... yes
checking for /usr/bin/cc option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/cc -E
checking for egrep... grep -E
checking whether /usr/bin/cc needs -traditional... no
checking whether using GNU C... yes
checking for underscore in external names... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to copy files... cp -p
checking how to make hard links... ln
checking whether ln -s works... yes
checking build system type... i686-apple-darwin10.6.0
checking host system type... i686-apple-darwin10.6.0
checking for ld used by GCC... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking for /usr/bin/cc option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... file_magic Mach-O dynamically linked shared library
checking command to parse /usr/bin/nm output... ok
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for strip... strip
checking for objdir... .libs
checking for /usr/bin/cc option to produce PIC... -fno-common
checking if /usr/bin/cc PIC flag -fno-common works... yes
checking if /usr/bin/cc static flag -static works... no
checking if /usr/bin/cc supports -c -o file.o... yes
checking if /usr/bin/cc supports -c -o file.lo... yes
checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/cc) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin10.6.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking for working void... yes
checking for working "return void"... yes
checking for ANSI C header files... yes
checking for unistd_h... (cached) yes
checking for getpagesize... yes
checking for getpagesize declaration...
extern int getpagesize (void);
checking for vm_allocate... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for O_RDWR in fcntl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for working mmap... no
checking for mprotect... yes
checking for working mprotect... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for working shared memory... no
checking whether code in malloc'ed memory is executable... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
==> make install
make install
cd avcall; make install
/usr/bin/cc -E `if test true = true; then echo '-DASM_UNDERSCORE'; fi` ./avcall-i386-macro.S | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,% ,%,g' -e 's,\. ,.,g' > avcall-i386.s
/bin/sh ./libtool --mode=compile /usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -c ./structcpy.c
/bin/sh ./libtool --mode=compile /usr/bin/cc -x none -c avcall-i386.s
/usr/bin/cc -O3 -march=core2 -msse4.1 -w -pipe -c ./structcpy.c -o structcpy.o
/usr/bin/cc -x none -c avcall-i386.s -o avcall-i386.o
avcall-i386.s:7:suffix or operands invalid for `push'
avcall-i386.s:9:suffix or operands invalid for `push'
avcall-i386.s:10:suffix or operands invalid for `push'
avcall-i386.s:39:suffix or operands invalid for `call'
avcall-i386.s:47:suffix or operands invalid for `call'
avcall-i386.s:53:suffix or operands invalid for `call'
avcall-i386.s:168:suffix or operands invalid for `pop'
avcall-i386.s:169:suffix or operands invalid for `pop'
avcall-i386.s:171:suffix or operands invalid for `pop'
echo timestamp > structcpy.lo
make[1]: *** [avcall-i386.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2
Exit status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/ffcall.rb#L13
==> Environment
HOMEBREW_VERSION: 0.7.1
HEAD: 9c3dd1a2cdf6ea2c61406d4b50f378bd2ab91dba
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.6.6
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.2.5
GCC-4.0: build 5494
GCC-4.2: build 5664
LLVM: build 2333
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2
Error: Failure while executing: make install
Please follow the instructions to report this bug at:
https://github.com/mxcl/homebrew/wiki/new-issue
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment