Created
February 24, 2012 19:35
-
-
Save conradz/1903186 to your computer and use it in GitHub Desktop.
rubinius build failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conrad@Conrad-PC ~ | |
$ ruby -v | |
ruby 1.9.3p0 (2011-10-30) [i386-mingw32] | |
Conrad@Conrad-PC ~ | |
$ rake -V | |
rake, version 0.9.2.2 | |
Conrad@Conrad-PC ~ | |
$ cd /c/Projects | |
Conrad@Conrad-PC /c/Projects | |
$ git clone https://github.com/rubinius/rubinius.git | |
Cloning into rubinius... | |
remote: Counting objects: 212939, done. | |
remote: Compressing objects: 100% (52912/52912), done. | |
remote: Total 212939 (delta 147426), reused 211145 (delta 145959) | |
Receiving objects: 100% (212939/212939), 114.09 MiB | 555 KiB/s, done. | |
Resolving deltas: 100% (147426/147426), done. | |
Conrad@Conrad-PC /c/Projects | |
$ cd rubinius | |
Conrad@Conrad-PC /c/Projects/rubinius | |
$ ruby configure | |
Configuring LLVM... | |
Checking for existing LLVM library tree: not found. | |
Checking for 'llvm-config': not found | |
Checking for prebuilt LLVM package... | |
Downloading llvm-2.8-i686-pc-mingw32.tar.bz2... | |
[ 100% (5800829 of 5800829) ]: done! | |
Downloading llvm-2.8-i686-pc-mingw32.tar.bz2.md5... | |
[ 100% (33 of 33) ]: done! | |
MD5 checksum for prebuilt LLVM verified. | |
Prebuilt packages updated. | |
Unpacking prebuilt LLVM: llvm-2.8-i686-pc-mingw32.tar.bz2: done! | |
Checking sizeof(short): 2 bytes | |
Checking sizeof(int): 4 bytes | |
Checking sizeof(void*): 4 bytes | |
Checking sizeof(size_t): 4 bytes | |
Checking sizeof(long): 4 bytes | |
Checking sizeof(long long): 8 bytes | |
Checking sizeof(float): 4 bytes | |
Checking sizeof(double): 8 bytes | |
Checking sizeof(off_t): 4 bytes | |
Checking sizeof(time_t): 4 bytes | |
Checking for libc version: msvcrt.dll found! | |
Checking platform endianness: little endian | |
Checking tr1/hash definition: found | |
Checking for x86_32: yes | |
Checking for function 'backtrace': not found | |
Checking for function 'readline': not found | |
Checking for function 'readline': not found | |
Checking for function 'yaml_parser_initialize': not found | |
Checking for function 'clock_gettime': not found | |
Checking for function 'nl_langinfo': not found | |
Checking for struct tm has member tm_gmtoff: not found | |
Checking for struct tm has member tm_zone: not found | |
Checking for global 'timezone': found! | |
Checking for global 'tzname': found! | |
Checking for global 'daylight': found! | |
Checking for header 'alloca.h': not found | |
Checking for header 'string.h': found! | |
Checking for header 'sys/time.h': found! | |
Checking for header 'sys/times.h': not found | |
Checking for header 'sys/types.h': found! | |
Checking for header 'unistd.h': found! | |
Checking for header 'stdarg.h': found! | |
Checking curses library: not found | |
Configured. Run 'rake' to build and run VM tests and rubyspecs. | |
After building, you may add 'c:/Projects/rubinius/bin' to your PATH or run comma | |
nds directly from that directory. Available commands are: | |
rbx, ruby, rake, gem, irb, rdoc, ri | |
Conrad@Conrad-PC /c/Projects/rubinius | |
$ rake | |
GEN vm/gen/config_variables.h | |
c:/Ruby193/bin/ruby.exe vm/codegen/config_vars.rb vm/gen/config_variables.h | |
c:/Ruby193/bin/ruby.exe vm/codegen/encoding_extract.rb c:/Projects/rubinius/vend | |
or/oniguruma vm/gen/encoding_database.cpp | |
mkdir -p c:/Projects/rubinius/lib/19/encoding/converter | |
c:/Ruby193/bin/ruby.exe vm/codegen/transcoders_extract.rb c:/Projects/rubinius/v | |
endor/oniguruma/enc/trans vm/gen/transcoder_database.cpp | |
c:/Ruby193/bin/ruby.exe vm/codegen/field_extract.rb vm/builtin/basicobject.hpp v | |
m/builtin/object.hpp vm/builtin/integer.hpp vm/builtin/fixnum.hpp vm/builtin/arr | |
ay.hpp vm/builtin/bignum.hpp vm/builtin/executable.hpp vm/builtin/access_variabl | |
e.hpp vm/builtin/alias.hpp vm/builtin/block_environment.hpp vm/builtin/block_as_ | |
method.hpp vm/builtin/bytearray.hpp vm/builtin/io.hpp vm/builtin/channel.hpp vm/ | |
builtin/module.hpp vm/builtin/class.hpp vm/builtin/compiledmethod.hpp vm/builtin | |
/data.hpp vm/builtin/dir.hpp vm/builtin/exception.hpp vm/builtin/float.hpp vm/bu | |
iltin/immediates.hpp vm/builtin/iseq.hpp vm/builtin/list.hpp vm/builtin/lookupta | |
ble.hpp vm/builtin/ffi_pointer.hpp vm/builtin/methodtable.hpp vm/builtin/nativef | |
unction.hpp vm/builtin/packed_object.hpp vm/builtin/randomizer.hpp vm/builtin/re | |
gexp.hpp vm/builtin/staticscope.hpp vm/builtin/encoding.hpp vm/builtin/string.hp | |
p vm/builtin/symbol.hpp vm/builtin/thread.hpp vm/builtin/tuple.hpp vm/builtin/co | |
mpactlookuptable.hpp vm/builtin/time.hpp vm/builtin/nativemethod.hpp vm/builtin/ | |
system.hpp vm/builtin/autoload.hpp vm/builtin/proc.hpp vm/builtin/variable_scope | |
.hpp vm/builtin/location.hpp vm/builtin/capi_handle.hpp vm/builtin/global_cache_ | |
entry.hpp vm/builtin/weakref.hpp vm/builtin/fiber.hpp vm/builtin/thunk.hpp vm/bu | |
iltin/call_unit.hpp vm/builtin/call_unit_adapter.hpp vm/builtin/cache.hpp vm/bui | |
ltin/atomic.hpp | |
GEN vm/gen/instruction_names.cpp | |
GEN vm/gen/instruction_names.hpp | |
GEN vm/gen/instruction_sizes.hpp | |
GEN vm/gen/instruction_prototypes.hpp | |
GEN vm/gen/instruction_defines.hpp | |
GEN vm/gen/instruction_locations.hpp | |
GEN vm/gen/instruction_implementations.hpp | |
GEN vm/gen/instruction_visitors.hpp | |
GEN vm/gen/instruction_effects.hpp | |
1: LB vendor/libffi | |
checking build system type... i686-pc-mingw32 | |
checking host system type... i686-pc-mingw32 | |
checking target system type... i686-pc-mingw32 | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p | |
checking for gawk... gawk | |
checking whether make sets $(MAKE)... yes | |
checking for gcc... gcc | |
checking for C compiler default output file name... a.exe | |
checking whether the C compiler works... yes | |
checking whether we are cross compiling... no | |
checking for suffix of executables... .exe | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking for style of include used by make... GNU | |
checking dependency style of gcc... gcc3 | |
checking dependency style of gcc... gcc3 | |
checking whether gcc and cc understand -c and -o together... yes | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -E | |
checking for fgrep... /usr/bin/grep -F | |
checking for ld used by gcc... c:/mingw/mingw32/bin/ld.exe | |
checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes | |
checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm | |
checking the name lister (/mingw/bin/nm) interface... BSD nm | |
checking whether ln -s works... no, using cp -p | |
checking the maximum length of command line arguments... 8192 | |
checking whether the shell understands some XSI constructs... yes | |
checking whether the shell understands "+="... yes | |
checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... -r | |
checking for objdump... objdump | |
checking how to recognize dependent libraries... file_magic ^x86 archive import| | |
^x86 DLL | |
checking for ar... ar | |
checking for strip... strip | |
checking for ranlib... ranlib | |
checking command to parse /mingw/bin/nm output from gcc object... ok | |
checking how to run the C preprocessor... gcc -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 for dlfcn.h... no | |
checking for objdir... .libs | |
checking if gcc supports -fno-rtti -fno-exceptions... no | |
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC | |
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes | |
checking if gcc static flag -static works... yes | |
checking if gcc supports -c -o file.o... yes | |
checking if gcc supports -c -o file.o... (cached) yes | |
checking whether the gcc linker (c:/mingw/mingw32/bin/ld.exe) supports shared li | |
braries... yes | |
checking whether -lc should be explicitly linked in... yes | |
checking dynamic linker characteristics... Win32 ld.exe | |
checking how to hardcode library paths into programs... immediate | |
checking whether stripping libraries is possible... yes | |
checking if libtool supports shared libraries... yes | |
checking whether to build shared libraries... yes | |
checking whether to build static libraries... yes | |
checking whether to enable maintainer-specific portions of Makefiles... no | |
checking sys/mman.h usability... no | |
checking sys/mman.h presence... no | |
checking for sys/mman.h... no | |
checking for mmap... no | |
checking for sys/mman.h... (cached) no | |
checking for mmap... (cached) no | |
checking for ANSI C header files... (cached) yes | |
checking for memcpy... yes | |
checking for working alloca.h... no | |
checking for alloca... yes | |
checking size of double... 8 | |
checking size of long double... 12 | |
checking whether byte ordering is bigendian... no | |
checking assembler .cfi pseudo-op support... yes | |
checking assembler supports pc related relocs... yes | |
checking whether .eh_frame section should be read-only... no | |
checking for __attribute__((visibility("hidden")))... no | |
configure: creating ./config.status | |
config.status: creating include/Makefile | |
config.status: creating include/ffi.h | |
config.status: creating Makefile | |
config.status: creating testsuite/Makefile | |
config.status: creating man/Makefile | |
config.status: creating libffi.pc | |
config.status: creating fficonfig.h | |
config.status: linking src/x86/ffitarget.h to include/ffitarget.h | |
config.status: executing depfiles commands | |
config.status: executing libtool commands | |
config.status: executing include commands | |
config.status: executing src commands | |
make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-g -O2" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" | |
"CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/insta | |
ll -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/ins | |
tall -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" | |
"MAKEINFO=/bin/sh /c/Projects/rubinius/vendor/libffi/missing --run makeinfo " " | |
PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/sh" "exec_prefix=/us | |
r/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "prefix=/usr/lo | |
cal" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=c:/mingw/mingw32/bin/ld.exe" "NM=/mi | |
ngw/bin/nm" "RANLIB=ranlib" "DESTDIR=" all-recursive | |
make[1]: Entering directory `/c/Projects/rubinius/vendor/libffi' | |
Making all in include | |
make[2]: Entering directory `/c/Projects/rubinius/vendor/libffi/include' | |
make[2]: Nothing to be done for `all'. | |
make[2]: Leaving directory `/c/Projects/rubinius/vendor/libffi/include' | |
Making all in testsuite | |
make[2]: Entering directory `/c/Projects/rubinius/vendor/libffi/testsuite' | |
make[2]: Nothing to be done for `all'. | |
make[2]: Leaving directory `/c/Projects/rubinius/vendor/libffi/testsuite' | |
make[2]: Entering directory `/c/Projects/rubinius/vendor/libffi' | |
depbase=`echo src/debug.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. | |
-I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/debug.lo -M | |
D -MP -MF $depbase.Tpo -c -o src/debug.lo src/debug.c &&\ | |
mv -f $depbase.Tpo $depbase.Plo | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/debug.lo -MD -MP -MF src/.deps/debug.Tpo -c sr | |
c/debug.c -DDLL_EXPORT -DPIC -o src/.libs/debug.o | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/debug.lo -MD -MP -MF src/.deps/debug.Tpo -c sr | |
c/debug.c -o src/debug.o >/dev/null 2>&1 | |
depbase=`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. | |
-I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/prep_cif.lo | |
-MD -MP -MF $depbase.Tpo -c -o src/prep_cif.lo src/prep_cif.c &&\ | |
mv -f $depbase.Tpo $depbase.Plo | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo | |
-c src/prep_cif.c -DDLL_EXPORT -DPIC -o src/.libs/prep_cif.o | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo | |
-c src/prep_cif.c -o src/prep_cif.o >/dev/null 2>&1 | |
depbase=`echo src/types.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. | |
-I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/types.lo -M | |
D -MP -MF $depbase.Tpo -c -o src/types.lo src/types.c &&\ | |
mv -f $depbase.Tpo $depbase.Plo | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/types.lo -MD -MP -MF src/.deps/types.Tpo -c sr | |
c/types.c -DDLL_EXPORT -DPIC -o src/.libs/types.o | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/types.lo -MD -MP -MF src/.deps/types.Tpo -c sr | |
c/types.c -o src/types.o >/dev/null 2>&1 | |
depbase=`echo src/raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. | |
-I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/raw_api.lo | |
-MD -MP -MF $depbase.Tpo -c -o src/raw_api.lo src/raw_api.c &&\ | |
mv -f $depbase.Tpo $depbase.Plo | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo - | |
c src/raw_api.c -DDLL_EXPORT -DPIC -o src/.libs/raw_api.o | |
src/raw_api.c: In function 'ffi_ptrarray_to_raw': | |
src/raw_api.c:175:4: warning: implicit declaration of function 'bcopy' [-Wimplic | |
it-function-declaration] | |
src/raw_api.c:175:4: warning: incompatible implicit declaration of built-in func | |
tion 'bcopy' [enabled by default] | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo - | |
c src/raw_api.c -o src/raw_api.o >/dev/null 2>&1 | |
depbase=`echo src/java_raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. | |
-I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/java_raw_ap | |
i.lo -MD -MP -MF $depbase.Tpo -c -o src/java_raw_api.lo src/java_raw_api.c &&\ | |
mv -f $depbase.Tpo $depbase.Plo | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw | |
_api.Tpo -c src/java_raw_api.c -DDLL_EXPORT -DPIC -o src/.libs/java_raw_api.o | |
src/java_raw_api.c: In function 'ffi_java_ptrarray_to_raw': | |
src/java_raw_api.c:225:4: warning: implicit declaration of function 'bcopy' [-Wi | |
mplicit-function-declaration] | |
src/java_raw_api.c:225:4: warning: incompatible implicit declaration of built-in | |
function 'bcopy' [enabled by default] | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw | |
_api.Tpo -c src/java_raw_api.c -o src/java_raw_api.o >/dev/null 2>&1 | |
depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. | |
-I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/closures.lo | |
-MD -MP -MF $depbase.Tpo -c -o src/closures.lo src/closures.c &&\ | |
mv -f $depbase.Tpo $depbase.Plo | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wa | |
ll -g -fexceptions -g -O2 -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo | |
-c src/closures.c -DDLL_EXPORT -DPIC -o src/.libs/closures.o | |
In file included from src/closures.c:107:0: | |
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/string.h:38:40: error: | |
expected declaration specifiers or '...' before '(' token | |
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/string.h:38:40: error: | |
expected declaration specifiers or '...' before '(' token | |
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/string.h:38:40: error: | |
expected declaration specifiers or '...' before '(' token | |
In file included from src/closures.c:205:0: | |
src/dlmalloc.c: In function 'internal_realloc': | |
src/dlmalloc.c:3832:9: warning: implicit declaration of function 'bcopy' [-Wimpl | |
icit-function-declaration] | |
src/dlmalloc.c:3832:9: warning: incompatible implicit declaration of built-in fu | |
nction 'bcopy' [enabled by default] | |
make[2]: *** [src/closures.lo] Error 1 | |
make[2]: Leaving directory `/c/Projects/rubinius/vendor/libffi' | |
make[1]: *** [all-recursive] Error 1 | |
make[1]: Leaving directory `/c/Projects/rubinius/vendor/libffi' | |
make: *** [all] Error 2 | |
Error: make | |
rake aborted! | |
Error compiling | |
Tasks: TOP => default => spec => spec18 => build => build:build => vm/vm.exe | |
(See full trace by running task with --trace) | |
Conrad@Conrad-PC /c/Projects/rubinius | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment