Compilation failed for ruby binding: [ebuild N ] net-analyzer/rrdtool-1.3.8 USE="nls perl python rrdcgi ruby -doc -tcl" i686-pc-linux-gnu-gcc -shared -o RRD.so main.o -L. -L/usr/lib -Wl,-R/usr/lib -L../../src/.libs -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,--rpath -Wl,/usr/lib -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby19 -lrrd -lpthread -lrt -ldl -lcrypt -lm -lc main.o: In function `string_arr_new': main.c:(.text+0x484): undefined reference to `STR2CSTR' collect2: ld returned 1 exit status make[4]: *** [RRD.so] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-analyzer/rrdtool-1.3.8/work/rrdtool-1.3.8/bindings/ruby' make[3]: *** [ruby] Error 2 Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 i686) CBUILD="i686-pc-linux-gnu" Haven't tried different use flags.
Don't CC architecture teams, please.
1) Please attach the entire build log. 2) Please post your `emerge --info net-analyzer/rrdtool' output too.
Created attachment 286691 [details] build log
Created attachment 286693 [details] emerge --info
This looks like incompatibility between rrdtool and ruby 1.9+ versions. I'm going to close this since rrdtool 1.4.8 (and several earlier versions) compile fine with ruby 1.9 and we no longer support ruby 1.8.