Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems installing fluent-plugin-splunk-ex on ubuntu buster/sid #7

Open
tommyjakobsen opened this issue Dec 10, 2019 · 0 comments
Open

Comments

@tommyjakobsen
Copy link

I've tried to modify the /opt/td-agent/embedded/bin/gem to not use the embedded ruby, but it fails with the same error message

running: td-agent 3.5.1

Component Installed Version Version GUID Overridden From

cacerts 2019-10-16 sha256:5cd8052fcf548ba7e08899d8458a32942bf70450c9af67a0850b4c711804a2e4
config_guess master git:84f04b02a7e2fc8eaa9d52deee5f6d57b06fe447
fluentd 9c577a78e69fb3bc1fc1faf0ef425091b9180987 git:9c577a78e69fb3bc1fc1faf0ef425091b9180987 master
jemalloc 4.5.0 sha256:9409d85664b4f135b77518b0b118c549009dc10f6cba14557d170476611f6780 4.2.1
libedit 20120601-3.0 md5:e50f6a7afb4de00c81650f7b1a0f5aea
libffi 3.2.1 md5:83b89587607e3eb65c70d361f13bab43
libiconv 1.15 sha256:ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178
liblzma 5.2.3 md5:ef68674fb47a8b8e741b34e429d86e9d
libtool 2.4 md5:b32b04148ecdd7344abc6fe8bd1bb021
libxml2 2.9.9 sha256:94fb70890143e3c6549f265cee93ec064c80a84c42ad0f23e85ee1fd6540a871
libxslt 1.1.30 sha256:ba65236116de8326d83378b2bd929879fa185195bc530b9d1aba72107910b6b3
libyaml 0.1.7 sha256:8088e457264a98ba451a90b8661fcb4f9d6f478f7265d48322a196cec2480729
makedepend 1.0.5 md5:efb2d7c7e22840947863efaedc175747
ncurses 5.9 md5:8cb9c412e5f2d96bc6f459aa8c6282a1
nokogiri 3.5.1
openssl 1.0.2t sha256:14cb464efe7ac6b54799b34456bd69558a749a4931ecfd9cf9f71d7881cac7bc
pkg-config-lite 0.28-1 md5:61f05feb6bab0a6bbfab4b6e3b2f44b6
postgresql 9.6.9 sha256:b97952e3af02dc1e446f9c4188ff53021cc0eed7ed96f254ae6daf968c443e2e 9.2.10
preparation 1.0.0
ruby 2.4.9 sha256:f99b6b5e3aa53d579a49eb719dd0d3834d59124159a6d4351d1e039156b1c6ae
rubygems 3.5.1
td 3.5.1
td-agent 3.5.1
td-agent-cleanup 3.5.1
td-agent-files 3.5.1
util-macros 1.18.0 md5:fd0ba21b3179703c071bbb4c3e5fb0f4
version-manifest 0.0.1
xproto 7.0.25 md5:a47db46cb117805bd6947aa5928a7436
zlib 1.2.11 sha256:c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1

Failing installation:

gem install fluent-plugin-splunk-ex

Building native extensions. This could take a while...
ERROR: Error installing fluent-plugin-splunk-ex:
ERROR: Failed to build gem native extension.

current directory: /var/lib/gems/2.5.0/gems/msgpack-0.5.12/ext/msgpack

/usr/bin/ruby2.5 -r ./siteconf20191210-1208-ozz1t6.rb extconf.rb
checking for ruby/st.h... yes
checking for st.h... yes
checking for rb_str_replace() in ruby.h... yes
checking for rb_intern_str() in ruby.h... yes
checking for rb_sym2str() in ruby.h... yes
checking for rb_str_intern() in ruby.h... yes
creating Makefile

current directory: /var/lib/gems/2.5.0/gems/msgpack-0.5.12/ext/msgpack
make "DESTDIR=" clean

current directory: /var/lib/gems/2.5.0/gems/msgpack-0.5.12/ext/msgpack
make "DESTDIR="
compiling buffer.c
compiling buffer_class.c
compiling core_ext.c
core_ext.c: In function ‘MessagePack_core_ext_module_init’:
core_ext.c:121:22: error: ‘rb_cFixnum’ undeclared (first use in this function); did you mean ‘rb_isalnum’?
rb_define_method(rb_cFixnum, "to_msgpack", Fixnum_to_msgpack, -1);
^~~~~~~~~~
rb_isalnum
core_ext.c:121:22: note: each undeclared identifier is reported only once for each function it appears in
core_ext.c:122:22: error: ‘rb_cBignum’ undeclared (first use in this function); did you mean ‘rb_cFixnum’?
rb_define_method(rb_cBignum, "to_msgpack", Bignum_to_msgpack, -1);
^~~~~~~~~~
rb_cFixnum
Makefile:242: recipe for target 'core_ext.o' failed
make: *** [core_ext.o] Error 1

make failed, exit code 2

Gem files will remain installed in /var/lib/gems/2.5.0/gems/msgpack-0.5.12 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/msgpack-0.5.12/gem_make.out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant