* 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 mmap-0.2.6.tar.gz to /var/tmp/portage/dev-ruby/ruby-mmap-0.2.6/work >>> Source unpacked in /var/tmp/portage/dev-ruby/ruby-mmap-0.2.6/work >>> Compiling source in /var/tmp/portage/dev-ruby/ruby-mmap-0.2.6/work/mmap-0.2.6 ... 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' all rdoc In file included from mmap.c:15: /usr/include/ruby19-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" mmap.c:16:20: error: intern.h: No such file or directory mmap.c:17:16: error: re.h: No such file or directory mmap.c: In function ‘mm_str’: mmap.c:337: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:338: error: ‘struct RString’ has no member named ‘len’ mmap.c:341: error: ‘struct RString’ has no member named ‘aux’ mmap.c: In function ‘mm_i_expand’: mmap.c:383: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ mmap.c: In function ‘mm_i_options’: mmap.c:486: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ mmap.c:493: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘off_t’ mmap.c: In function ‘mm_init’: mmap.c:654: error: ‘struct RArray’ has no member named ‘len’ mmap.c:656: error: ‘struct RArray’ has no member named ‘len’ mmap.c:658: error: ‘struct RArray’ has no member named ‘ptr’ mmap.c:660: error: ‘struct RArray’ has no member named ‘ptr’ mmap.c:711: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ mmap.c:711: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘off_t’ mmap.c:802: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ mmap.c: In function ‘mm_update’: mmap.c:963: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’ mmap.c:973: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’ mmap.c:980: error: ‘struct RString’ has no member named ‘len’ mmap.c: In function ‘mm_match’: mmap.c:1023: warning: implicit declaration of function ‘rb_reg_regcomp’ mmap.c:1024: warning: implicit declaration of function ‘rb_reg_search’ mmap.c: In function ‘mm_correct_backref’: mmap.c:1063: warning: implicit declaration of function ‘RMATCH’ mmap.c:1063: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1064: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1065: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1065: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1066: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1067: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1067: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1067: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1067: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1068: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1068: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1069: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1070: error: invalid type argument of ‘->’ (have ‘int’) mmap.c: In function ‘mm_sub_bang_int’: mmap.c:1108: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1115: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1116: warning: implicit declaration of function ‘rb_reg_regsub’ mmap.c:1117: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1121: error: ‘struct RString’ has no member named ‘len’ mmap.c:1122: error: ‘struct RString’ has no member named ‘len’ mmap.c:1122: error: ‘struct RString’ has no member named ‘len’ mmap.c:1123: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1125: error: ‘struct RString’ has no member named ‘len’ mmap.c:1129: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1129: error: ‘struct RString’ has no member named ‘len’ mmap.c:1130: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1131: error: ‘struct RString’ has no member named ‘len’ mmap.c:1133: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1134: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1134: error: ‘struct RString’ has no member named ‘len’ mmap.c:1135: error: ‘struct RString’ has no member named ‘len’ mmap.c: In function ‘mm_gsub_bang_int’: mmap.c:1206: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1213: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1215: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1219: error: ‘struct RString’ has no member named ‘len’ mmap.c:1220: error: ‘struct RString’ has no member named ‘len’ mmap.c:1220: error: ‘struct RString’ has no member named ‘len’ mmap.c:1222: error: ‘struct RString’ has no member named ‘len’ mmap.c:1226: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1226: error: ‘struct RString’ has no member named ‘len’ mmap.c:1227: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1228: error: ‘struct RString’ has no member named ‘len’ mmap.c:1230: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1231: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1231: error: ‘struct RString’ has no member named ‘len’ mmap.c:1232: error: ‘struct RString’ has no member named ‘len’ mmap.c:1232: error: ‘struct RString’ has no member named ‘len’ mmap.c:1233: error: ‘struct RString’ has no member named ‘len’ mmap.c:1235: warning: implicit declaration of function ‘mbclen2’ mmap.c:1235: error: ‘struct RString’ has no member named ‘ptr’ mmap.c:1236: error: ‘struct RString’ has no member named ‘len’ mmap.c:1239: error: ‘struct RString’ has no member named ‘len’ mmap.c:1241: error: ‘struct RString’ has no member named ‘len’ mmap.c: In function ‘mm_subpat_set’: mmap.c:1293: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1297: error: invalid type argument of ‘->’ (have ‘int’) mmap.c:1301: error: invalid type argument of ‘->’ (have ‘int’) mmap.c: In function ‘mm_aset’: mmap.c:1326: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’ mmap.c:1359: error: ‘struct RString’ has no member named ‘len’ mmap.c: In function ‘mm_insert’: mmap.c:1420: error: ‘struct RString’ has no member named ‘len’ mmap.c: In function ‘mm_append’: mmap.c:1493: error: ‘struct RString’ has no member named ‘len’ mmap.c: In function ‘mm_i_bang’: mmap.c:1784: error: ‘struct RString’ has no member named ‘len’ make: *** [mmap.o] Error 1 make: *** Waiting for unfinished jobs.... Parsing sources with 2 thread(s)... 100% [ 1/ 1] mmap.rb Generating Darkfish... Files: 1 Classes: 1 Modules: 0 Methods: 61 Elapsed: 0.4s * ERROR: dev-ruby/ruby-mmap-0.2.6 failed: * emake for ruby failed * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2583: Called ruby_src_compile 'all' 'rdoc' * environment, line 2527: Called ruby_emake 'all' 'rdoc' * 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-mmap-0.2.6', * the complete build log and the output of 'emerge -pqv =dev-ruby/ruby-mmap-0.2.6'. * The complete build log is located at '/var/log/portage/dev-ruby:ruby-mmap-0.2.6:20091107-001424.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/ruby-mmap-0.2.6/temp/environment'. * S: '/var/tmp/portage/dev-ruby/ruby-mmap-0.2.6/work/mmap-0.2.6'