Skip to content

Instantly share code, notes, and snippets.

@devcamcar
Created February 22, 2015 01:49
Show Gist options
  • Save devcamcar/03f3ec8b4fee4cdec55e to your computer and use it in GitHub Desktop.
Save devcamcar/03f3ec8b4fee4cdec55e to your computer and use it in GitHub Desktop.
Failed compiling packages > ruby/1: Action Failed get_task: Task 3e4ea128-3626-4470-4d31-f8c821745035 result: Compiling package ruby: Running packaging script: Command exited with 2; Truncated stdout: compiling bigdecimal.c
compiling set_len.c
installing default string libraries
linking shared-object -test-/string/string.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/-test-/string'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/continuation'
compiling continuation.c
installing default continuation libraries
linking shared-object continuation.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/continuation'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/coverage'
compiling coverage.c
installing default coverage libraries
linking shared-object coverage.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/coverage'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/date'
compiling date_strftime.c
compiling date_strptime.c
compiling date_parse.c
linking shared-object bigdecimal.so
installing default bigdecimal libraries
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/bigdecimal'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/dbm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/dbm'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest'
compiling digest.c
linking shared-object digest.so
installing digest libraries
installing default digest libraries
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest/bubblebabble'
compiling bubblebabble.c
installing default bubblebabble libraries
linking shared-object digest/bubblebabble.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest/bubblebabble'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest/md5'
compiling md5init.c
compiling md5ossl.c
installing default md5 libraries
linking shared-object digest/md5.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest/md5'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest/rmd160'
compiling rmd160init.c
compiling rmd160.c
installing default rmd160 libraries
linking shared-object digest/rmd160.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest/rmd160'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest/sha1'
compiling sha1init.c
compiling sha1ossl.c
compiling date_core.c
installing default sha1 libraries
linking shared-object digest/sha1.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest/sha1'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest/sha2'
compiling sha2init.c
compiling sha2ossl.c
installing default sha2 libraries
linking shared-object digest/sha2.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/digest/sha2'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/dl'
compiling cptr.c
compiling cfunc.c
compiling handle.c
compiling dl.c
installing dl libraries
linking shared-object dl.so
installing default dl libraries
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/dl'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/dl/callback'
compiling callback.c
compiling callback-0.c
linking shared-object date_core.so
installing default date_core libraries
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/date'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/etc'
compiling etc.c
installing default etc libraries
linking shared-object etc.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/etc'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/fcntl'
compiling fcntl.c
compiling callback-1.c
installing default fcntl libraries
linking shared-object fcntl.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/fcntl'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/fiber'
compiling fiber.c
installing default fiber libraries
linking shared-object fiber.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/fiber'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/fiddle'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/fiddle'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/gdbm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/gdbm'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/io/console'
compiling console.c
linking shared-object io/console.so
installing default console libraries
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/io/console'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/io/nonblock'
compiling nonblock.c
installing default nonblock libraries
linking shared-object io/nonblock.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/io/nonblock'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/io/wait'
compiling wait.c
installing default wait libraries
linking shared-object io/wait.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/io/wait'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/json'
installing default libraries
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/json'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/json/generator'
compiling generator.c
compiling callback-2.c
installing default generator libraries
linking shared-object json/ext/generator.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/json/generator'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/json/parser'
compiling parser.c
installing default parser libraries
linking shared-object json/ext/parser.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/json/parser'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/mathn/complex'
compiling complex.c
installing default complex libraries
linking shared-object mathn/complex.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/mathn/complex'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/mathn/rational'
compiling rational.c
installing default rational libraries
linking shared-object mathn/rational.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/mathn/rational'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/nkf'
compiling nkf.c
compiling callback-3.c
installing default nkf libraries
linking shared-object nkf.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/nkf'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/objspace'
compiling objspace.c
compiling object_tracing.c
compiling objspace_dump.c
compiling callback-4.c
installing default objspace libraries
linking shared-object objspace.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/objspace'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/openssl'
compiling ossl_config.c
compiling ossl_ssl_session.c
compiling ossl_rand.c
compiling ossl_x509revoked.c
compiling ossl_digest.c
compiling ossl_pkey_rsa.c
compiling callback-5.c
compiling openssl_missing.c
compiling ossl_pkcs5.c
compiling ossl.c
compiling ossl_pkey_dh.c
compiling ossl_x509cert.c
compiling callback-6.c
compiling ossl_x509name.c
compiling ossl_x509.c
compiling ossl_x509crl.c
compiling ossl_pkey_ec.c
compiling callback-7.c
compiling ossl_pkey.c
compiling ossl_ocsp.c
compiling ossl_pkey_dsa.c
compiling ossl_x509attr.c
compiling callback-8.c
compiling ossl_bio.c
compiling ossl_ns_spki.c
compiling ossl_pkcs12.c
compiling ossl_x509req.c
compiling ossl_hmac.c
installing default callback libraries
linking shared-object dl/callback.so
compiling ossl_x509store.c
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/dl/callback'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/pathname'
compiling pathname.c
compiling ossl_cipher.c
installing default pathname libraries
linking shared-object pathname.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/pathname'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/psych'
compiling psych_emitter.c
compiling ossl_ssl.c
compiling psych_yaml_tree.c
compiling psych_to_ruby.c
compiling psych.c
compiling psych_parser.c
compiling ossl_asn1.c
linking shared-object psych.so
installing default psych libraries
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/psych'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/pty'
compiling pty.c
installing default pty libraries
linking shared-object pty.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/pty'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/racc/cparse'
compiling cparse.c
installing default cparse libraries
linking shared-object racc/cparse.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/racc/cparse'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/rbconfig/sizeof'
compiling sizes.c
installing default sizeof libraries
linking shared-object rbconfig/sizeof.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/rbconfig/sizeof'
make[2]: Entering directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/readline'
compiling readline.c
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/readline'
compiling ossl_bn.c
compiling ossl_engine.c
compiling ossl_x509ext.c
compiling ossl_pkcs7.c
installing default openssl libraries
linking shared-object openssl.so
make[2]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1/ext/openssl'
make[1]: Leaving directory `/var/vcap/data/compile/ruby/ruby-2.1.1'
, Stderr: + set -u
++ grep -c '^processor' /proc/cpuinfo
+ CPUS=2
++ head -1
++ sed 's/ruby\/ruby-\(.*\)\.tar\.gz/\1/'
++ ls -r ruby/ruby-2.1.1.tar.gz
+ RUBY_VERSION=2.1.1
++ ls -r ruby/rubygems-2.2.2.tgz
++ head -1
++ sed 's/ruby\/rubygems-\(.*\)\.tgz/\1/'
+ RUBYGEMS_VERSION=2.2.2
++ ls -r ruby/bundler-1.5.3.gem
++ sed 's/ruby\/bundler-\(.*\)\.gem/\1/'
++ head -1
+ BUNDLER_VERSION=1.5.3
+ echo 'Extracting Ruby 2.1.1...'
+ tar xzvf /var/vcap/data/compile/ruby/ruby/ruby-2.1.1.tar.gz
+ [[ 0 != 0 ]]
+ echo 'Extracting Rubygems 2.2.2...'
+ tar xzvf /var/vcap/data/compile/ruby/ruby/rubygems-2.2.2.tgz
+ [[ 0 != 0 ]]
+ echo 'Building Ruby 2.1.1...'
+ cd /var/vcap/data/compile/ruby/ruby-2.1.1
+ ./configure --prefix=/var/vcap/packages/ruby --disable-install-doc
+ make -j2
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
In file included from vm_core.h:25:0,
from eval_intern.h:5,
from iseq.c:14:
iseq.c: In function 'iseq_load':
iseq.c:540:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
^
ruby_atomic.h:13:36: note: in definition of macro 'ATOMIC_CAS'
({ __typeof__(oldval) oldvaldup = (oldval); /* oldval should not be modified */ \
^
ruby_atomic.h:166:53: note: in expansion of macro 'ATOMIC_SIZE_CAS'
# define ATOMIC_PTR_CAS(var, oldval, val) (void *)ATOMIC_SIZE_CAS(*(size_t *)&(var), (size_t)(oldval), (size_t)(val))
^
iseq.c:540:15: note: in expansion of macro 'ATOMIC_PTR_CAS'
cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
^
cptr.c: In function 'rb_dlptr_inspect':
cptr.c:391:10: warning: unused variable 'str' [-Wunused-variable]
char str[1024];
^
readline.c: In function 'Init_readline':
readline.c:1977:26: error: 'Function' undeclared (first use in this function)
rl_pre_input_hook = (Function *)readline_pre_input_hook;
^
readline.c:1977:26: note: each undeclared identifier is reported only once for each function it appears in
readline.c:1977:36: error: expected expression before ')' token
rl_pre_input_hook = (Function *)readline_pre_input_hook;
^
readline.c: At top level:
readline.c:634:1: warning: 'readline_pre_input_hook' defined but not used [-Wunused-function]
readline_pre_input_hook(void)
^
make[2]: *** [readline.o] Error 1
make[1]: *** [ext/readline/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [build-ext] Error 2
(00:06:29)
Error 100: getaddrinfo: Name or service not known (SocketError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment