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

ERROR: Error installing fluent-plugin-kubernetes-objects: #111

Open
jpiazza35 opened this issue Oct 11, 2023 · 0 comments
Open

ERROR: Error installing fluent-plugin-kubernetes-objects: #111

jpiazza35 opened this issue Oct 11, 2023 · 0 comments

Comments

@jpiazza35
Copy link

i am trying to install fluent-plugin-kubernetes-objects and when i go into the pod i see this error

Successfully installed fluent-plugin-multi-format-parser-1.0.0
Parsing documentation for fluent-plugin-multi-format-parser-1.0.0
Done installing documentation for fluent-plugin-multi-format-parser after 0 seconds
1 gem installed
Building native extensions. This could take a while...
ERROR: Error installing fluent-plugin-kubernetes-objects:
ERROR: Failed to build gem native extension.

current directory: /opt/bitnami/fluentd/gems/http-parser-1.2.3/ext

/opt/bitnami/ruby/bin/ruby -rrubygems /opt/bitnami/ruby/lib/ruby/gems/3.1.0/gems/rake-13.0.6/exe/rake RUBYARCHDIR=/opt/bitnami/fluentd/extensions/x86_64-linux/3.1.0-static/http-parser-1.2.3 RUBYLIBDIR=/opt/bitnami/fluentd/extensions/x86_64-linux/3.1.0-static/http-parser-1.2.3
gcc -fexceptions -O -fno-omit-frame-pointer -fno-strict-aliasing -Wall -Wextra -O3 -fPIC -o x86_64-linux/http-parser/http_parser.o -c ./http-parser/http_parser.c
mkdir -p x86_64-linux/http-parser
rake aborted!
Command failed with status (127): [gcc -fexceptions -O -fno-omit-frame-pointe...]
/opt/bitnami/fluentd/gems/ffi-compiler-1.0.1/lib/ffi-compiler/compile_task.rb:133:in `block (2 levels) in define_task!'
Tasks: TOP => default => x86_64-linux/libhttp-parser-ext.so => x86_64-linux/http-parser/http_parser.o
(See full trace by running task with --trace)

rake failed, exit code 1

Gem files will remain installed in /opt/bitnami/fluentd/gems/http-parser-1.2.3 for inspection.
Results logged to /opt/bitnami/fluentd/extensions/x86_64-linux/3.1.0-static/http-parser-1.2.3/gem_make.out

the configuration initscript section is like below :

initScripts:
install-plugins.sh: |
#!/bin/sh
echo hello
apt-get update && apt-get install -y build-essential
gem install fluent-plugin-multi-format-parser
gem install fluent-plugin-kubernetes-objects

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