Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383055 - net-analyzer/rrdtool[ruby] - fails to compile
Summary: net-analyzer/rrdtool[ruby] - fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 09:19 UTC by Vasiliy Yeremeyev
Modified: 2014-05-19 18:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,227.84 KB, text/plain)
2011-09-16 16:13 UTC, Vasiliy Yeremeyev
Details
emerge --info (emerge.info,5.12 KB, text/plain)
2011-09-16 16:13 UTC, Vasiliy Yeremeyev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasiliy Yeremeyev 2011-09-15 09:19:13 UTC
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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-09-16 14:34:25 UTC
Don't CC architecture teams, please.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-09-16 14:35:12 UTC
1) Please attach the entire build log.
2) Please post your `emerge --info net-analyzer/rrdtool' output too.
Comment 3 Vasiliy Yeremeyev 2011-09-16 16:13:14 UTC
Created attachment 286691 [details]
build log
Comment 4 Vasiliy Yeremeyev 2011-09-16 16:13:42 UTC
Created attachment 286693 [details]
emerge --info
Comment 5 Hans de Graaff gentoo-dev Security 2014-05-19 18:18:51 UTC
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.