* Your CXXFLAGS contains "-fvisibility-inlines-hidden" which can break packages. * * Before you file a bug, please remove these flags and * re-compile the package in question as well as all its dependencies >>> Unpacking source... >>> Unpacking ruby-prof-0.7.3.tgz to /var/tmp/portage/dev-ruby/ruby-prof-0.7.3/work >>> Source unpacked in /var/tmp/portage/dev-ruby/ruby-prof-0.7.3/work >>> Compiling source in /var/tmp/portage/dev-ruby/ruby-prof-0.7.3/work/ruby-prof-0.7.3 ... checking for sys/times.h... yes checking for rb_os_allocated_objects()... no checking for rb_gc_allocated_size()... no checking for rb_gc_collections()... no checking for rb_gc_time()... no checking for rb_heap_total_mem()... no checking for rb_gc_heap_info()... no checking for rb_gc_malloc_allocations()... no checking for rb_gc_malloc_allocated_size()... no creating Makefile make -j12 -s CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ 'DLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common' ruby_prof.c:867: error: expected declaration specifiers or ‘...’ before ‘NODE’ ruby_prof.c: In function ‘prof_event_hook’: ruby_prof.c:1114: error: ‘node’ undeclared (first use in this function) ruby_prof.c:1114: error: (Each undeclared identifier is reported only once ruby_prof.c:1114: error: for each function it appears in.) ruby_prof.c:1114: error: too many arguments to function ‘get_method’ ruby_prof.c:1120: warning: passing argument 5 of ‘get_method’ makes pointer from integer without a cast ruby_prof.c:867: note: expected ‘struct st_table *’ but argument is of type ‘int’ ruby_prof.c:1120: error: too many arguments to function ‘get_method’ make: *** [ruby_prof.o] Error 1 * ERROR: dev-ruby/ruby-prof-0.7.3 failed: * emake for ruby failed * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2585: Called ruby_emake * environment, line 2506: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" DLDFLAGS="${LDFLAGS}" "$@" || die "emake for ruby failed"; * * If you need support, post the output of 'emerge --info =dev-ruby/ruby-prof-0.7.3', * the complete build log and the output of 'emerge -pqv =dev-ruby/ruby-prof-0.7.3'. * The complete build log is located at '/var/log/portage/dev-ruby:ruby-prof-0.7.3:20091107-001302.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/ruby-prof-0.7.3/temp/environment'. * S: '/var/tmp/portage/dev-ruby/ruby-prof-0.7.3/work/ruby-prof-0.7.3'