Skip to content

Instantly share code, notes, and snippets.

@rajsahae
Created July 31, 2013 20:21
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 rajsahae/6125788 to your computer and use it in GitHub Desktop.
Save rajsahae/6125788 to your computer and use it in GitHub Desktop.
make failure when installing ruby-1.9.3-p448 with rvm on debian wheezy system
rsahae@rsahae-test:~$ cat ~/.rvm/log/ruby-1.9.3-p448/1375233743_make.log
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/i686-linux -I./include -I.
DLDFLAGS = -Wl,-soname,libruby.so.1.9
SOLIBS = -lpthread -lrt -ldl -lcrypt -lm
linking miniruby
generating encdb.h
rbconfig.rb unchanged
generating enc.mk
encdb.h unchanged
generating prelude.c
making srcs under enc
compiling prelude.c
make[1]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448'
make[1]: Nothing to be done for `srcs'.
make[1]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448'
generating transdb.h
linking static-library libruby-static.a
linking shared-library libruby.so.1.9.1
transdb.h unchanged
making enc
making trans
make[1]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448'
make[1]: Nothing to be done for `enc'.
make[1]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448'
make[1]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448'
make[1]: Nothing to be done for `./enc/trans'.
make[1]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448'
making encs
make[1]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448'
make[1]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448'
make[1]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/bug-3571'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/array/resize'
installing default bug libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/bug-3571'
installing default resize libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/array/resize'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/funcall'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/bug-3662'
installing default funcall libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/funcall'
installing default bug libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/bug-3662'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/load/dot.dot'
installing default dot.dot libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/load/dot.dot'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/old_thread_select'
installing default old_thread_select libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/old_thread_select'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/st/numhash'
installing default numhash libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/st/numhash'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/string'
installing default string libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/string'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/win32/dln'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/win32/dln'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/wait_for_single_fd'
installing default wait_for_single_fd libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/wait_for_single_fd'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/win32/fd_setsize'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/-test-/win32/fd_setsize'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/bigdecimal'
installing default bigdecimal libraries
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/continuation'
installing default continuation libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/continuation'
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/bigdecimal'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/coverage'
installing default coverage libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/coverage'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/curses'
installing default curses libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/curses'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/date'
installing default date_core libraries
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/dbm'
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/date'
installing default dbm libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/dbm'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest/bubblebabble'
installing digest libraries
installing default bubblebabble libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest/bubblebabble'
installing default digest libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest/md5'
installing default md5 libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest/md5'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest/rmd160'
installing default rmd160 libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest/rmd160'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest/sha1'
installing default sha1 libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest/sha1'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest/sha2'
installing default sha2 libraries
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/dl'
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/digest/sha2'
installing dl libraries
installing default dl libraries
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/dl/callback'
compiling callback-8.c
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/dl'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/dl/win32'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/dl/win32'
installing default callback libraries
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/etc'
installing default etc libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/etc'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/fcntl'
installing default fcntl libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/fcntl'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/fiber'
installing default fiber libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/fiber'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/fiddle'
installing default fiddle libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/fiddle'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/gdbm'
installing default gdbm libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/gdbm'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/iconv'
installing default iconv libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/iconv'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/io/console'
installing default console libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/io/console'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/io/nonblock'
installing default nonblock libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/io/nonblock'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/io/wait'
installing default wait libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/io/wait'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/json'
installing default libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/json'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/json/generator'
installing default generator libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/json/generator'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/json/parser'
installing default parser libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/json/parser'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/mathn/complex'
installing default complex libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/mathn/complex'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/mathn/rational'
installing default rational libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/mathn/rational'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/nkf'
installing default nkf libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/nkf'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/objspace'
installing default objspace libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/objspace'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/openssl'
installing default openssl libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/openssl'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/pathname'
installing default pathname libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/pathname'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/psych'
compiling psych.c
compiling to_ruby.c
compiling emitter.c
compiling yaml_tree.c
compiling parser.c
linking shared-object psych.so
installing default psych libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/psych'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/pty'
compiling pty.c
linking shared-object pty.so
installing default pty libraries
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/pty'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/racc/cparse'
compiling cparse.c
installing default cparse libraries
linking shared-object racc/cparse.so
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/racc/cparse'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/readline'
compiling readline.c
installing default readline libraries
linking shared-object readline.so
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/readline'
make[2]: Entering directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/ripper'
compiling ripper.c
linking shared-object dl/callback.so
callback-7.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [../../../.ext/i686-linux/dl/callback.so] Error 1
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/dl/callback'
make[1]: *** [ext/dl/callback/all] Error 2
make[1]: *** Waiting for unfinished jobs....
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
installing default ripper libraries
linking shared-object ripper.so
make[2]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448/ext/ripper'
make[1]: Leaving directory `/home/rsahae/.rvm/src/ruby-1.9.3-p448'
make: *** [build-ext] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment